Re: [PATCH] iommu/amd: Apply the same IVRS IOAPIC workaround to Acer Aspire A315-41

2019-10-30 Thread Joerg Roedel
On Mon, Oct 21, 2019 at 05:17:21PM +0200, Takashi Iwai wrote:
> Acer Aspire A315-41 requires the very same workaround as the existing
> quirk for Dell Latitude 5495.  Add the new entry for that.
> 
> BugLink: https://bugzilla.suse.com/show_bug.cgi?id=1137799
> Signed-off-by: Takashi Iwai 
> ---
>  drivers/iommu/amd_iommu_quirks.c | 13 +
>  1 file changed, 13 insertions(+)

Applied for v5.4, thanks Takashi.

___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu


[PATCH] iommu/amd: Apply the same IVRS IOAPIC workaround to Acer Aspire A315-41

2019-10-21 Thread Takashi Iwai
Acer Aspire A315-41 requires the very same workaround as the existing
quirk for Dell Latitude 5495.  Add the new entry for that.

BugLink: https://bugzilla.suse.com/show_bug.cgi?id=1137799
Signed-off-by: Takashi Iwai 
---
 drivers/iommu/amd_iommu_quirks.c | 13 +
 1 file changed, 13 insertions(+)

diff --git a/drivers/iommu/amd_iommu_quirks.c b/drivers/iommu/amd_iommu_quirks.c
index c235f79b7a20..5120ce4fdce3 100644
--- a/drivers/iommu/amd_iommu_quirks.c
+++ b/drivers/iommu/amd_iommu_quirks.c
@@ -73,6 +73,19 @@ static const struct dmi_system_id ivrs_quirks[] __initconst 
= {
},
.driver_data = (void *)_ioapic_quirks[DELL_LATITUDE_5495],
},
+   {
+   /*
+* Acer Aspire A315-41 requires the very same workaround as
+* Dell Latitude 5495
+*/
+   .callback = ivrs_ioapic_quirk_cb,
+   .ident = "Acer Aspire A315-41",
+   .matches = {
+   DMI_MATCH(DMI_SYS_VENDOR, "Acer"),
+   DMI_MATCH(DMI_PRODUCT_NAME, "Aspire A315-41"),
+   },
+   .driver_data = (void *)_ioapic_quirks[DELL_LATITUDE_5495],
+   },
{
.callback = ivrs_ioapic_quirk_cb,
.ident = "Lenovo ideapad 330S-15ARR",
-- 
2.16.4