Message ID | 20170109101428.liv4d5bkcn36czdv@pd.tnic (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
SGksIEJvcmlzbGF2DQoNCj4gRnJvbTogQm9yaXNsYXYgUGV0a292IFttYWlsdG86YnBAYWxpZW44 LmRlXQ0KPiBTdWJqZWN0OiBSZTogW1BBVENIXSBBQ1BJIC8gT1NMOiBGaXggcmN1IHN5bmNocm9u aXphdGlvbiBsb2dpYw0KPiANCj4gT24gTW9uLCBKYW4gMDksIDIwMTcgYXQgMDU6NTY6MDlQTSAr MDgwMCwgTHYgWmhlbmcgd3JvdGU6DQo+ID4gVGhlIHJjdSBzeW5jaHJvbml6YXRpb24gbG9naWMg aXMgb3JpZ2luYWxseSBwcm92aWRlZCB0byBwcm90ZWN0DQo+ID4gYXBlaV9yZWFkKCkvYXBlaV93 cml0ZSgpIGFzIGluIHRoZSBBUEVJIGRyaXZlcnMsIHRoZXJlIGlzIE5NSSBldmVudCBzb3VyY2UN Cj4gPiByZXF1aXJpbmcgbm9uIHNwaW5sb2NrIGJhc2VkIHN5bmNocm9uaXphdGlvbiBtZWNoYW5p c20uDQo+ID4NCj4gPiBBZnRlciB0aGF0LCBBQ1BJIGRldmVsb3BlcnMgdGhpbmsgRkFEVCByZWdp c3RlcnMgbWF5IGFsc28gcmVxdWlyZSBzYW1lDQo+ID4gZmFjaWxpdHksIHNvIHRoZXkgbW92ZWQg dGhlIFJDVSBzdHVmZnMgdG8gZ2VuZXJpYyBBQ1BJIGxheWVyLg0KPiA+DQo+ID4gU28gbm93IG5v bi10YXNrLWNvbnRleHQgQUNQSSBtYXAgbG9va3VwIGlzIG9ubHkgcHJvdGVjdGVkIGJ5IFJDVS4N Cj4gPg0KPiA+IFRoaXMgdHJpZ2dlcnMgcHJvYmxlbSBhcyBhY3BpX29zX21hcF9tZW1vcnkoKS9h Y3BpX29zX3VubWFwX21lbW9yeSgpIGNhbiBiZQ0KPiA+IHVzZWQgdG8gbWFwL3VubWFwIHRhYmxl cy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dm9pZCBkb2luZyB0aGF0IGJlY2F1 c2Ugd2UncmUgY2FsbGVkIHRvbyBlYXJseSBhbmQNCj4gKwkgKiBhY3BpX3B1dF90YWJsZSgpIGVu ZHMgdXAgaW4gUkNVIChzZWUgYWNwaV9vc19tYXBfY2xlYW51cCgpKSB3aGljaCBpcw0KPiArCSAq IG5vdCBpbml0aWFsaXplZCB5ZXQuDQo+ICAJYWNwaV9wdXRfdGFibGUoaXZyc19iYXNlKTsNCj4g IAlpdnJzX2Jhc2UgPSBOVUxMOw0KPiArCSovDQo+IA0KPiAgCXJldHVybiByZXQ7DQo+ICB9DQo+ IC0tDQo+IDIuMTEuMA0KPiANCj4gDQo+IC0tDQo+IFJlZ2FyZHMvR3J1c3MsDQo+ICAgICBCb3Jp cy4NCj4gDQo+IEdvb2QgbWFpbGluZyBwcmFjdGljZXMgZm9yIDQwMDogYXZvaWQgdG9wLXBvc3Rp bmcgYW5kIHRyaW0gdGhlIHJlcGx5Lg0K -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c index 6799cf9713f7..b7c228002ec7 100644 --- a/drivers/iommu/amd_iommu_init.c +++ b/drivers/iommu/amd_iommu_init.c @@ -2337,8 +2337,14 @@ static int __init early_amd_iommu_init(void) out: /* Don't leak any ACPI memory */ + + /* + * Temporarily avoid doing that because we're called too early and + * acpi_put_table() ends up in RCU (see acpi_os_map_cleanup()) which is + * not initialized yet. acpi_put_table(ivrs_base); ivrs_base = NULL; + */ return ret; }