|
@@ -1,4 +1,4 @@
|
|
|
-From 986fe56f682f93925b2964f59fe78c7043758e47 Mon Sep 17 00:00:00 2001
|
|
|
+From b0bad62ef0029a6d12f11c60c95dcb4fa8d3bb77 Mon Sep 17 00:00:00 2001
|
|
|
From: Dorian Stoll <dorian.stoll@tmsp.io>
|
|
|
Date: Thu, 30 Jul 2020 13:21:53 +0200
|
|
|
Subject: [PATCH] misc: mei: Add missing IPTS device IDs
|
|
@@ -10,7 +10,7 @@ Patchset: ipts
|
|
|
2 files changed, 2 insertions(+)
|
|
|
|
|
|
diff --git a/drivers/misc/mei/hw-me-regs.h b/drivers/misc/mei/hw-me-regs.h
|
|
|
-index bdc65d50b945f..08723c01d7275 100644
|
|
|
+index bdc65d50b945..08723c01d727 100644
|
|
|
--- a/drivers/misc/mei/hw-me-regs.h
|
|
|
+++ b/drivers/misc/mei/hw-me-regs.h
|
|
|
@@ -92,6 +92,7 @@
|
|
@@ -22,7 +22,7 @@ index bdc65d50b945f..08723c01d7275 100644
|
|
|
|
|
|
#define MEI_DEV_ID_JSP_N 0x4DE0 /* Jasper Lake Point N */
|
|
|
diff --git a/drivers/misc/mei/pci-me.c b/drivers/misc/mei/pci-me.c
|
|
|
-index 676d566f38ddf..6b37dd1f8b2a3 100644
|
|
|
+index 676d566f38dd..6b37dd1f8b2a 100644
|
|
|
--- a/drivers/misc/mei/pci-me.c
|
|
|
+++ b/drivers/misc/mei/pci-me.c
|
|
|
@@ -97,6 +97,7 @@ static const struct pci_device_id mei_me_pci_tbl[] = {
|
|
@@ -34,9 +34,9 @@ index 676d566f38ddf..6b37dd1f8b2a3 100644
|
|
|
|
|
|
{MEI_PCI_DEVICE(MEI_DEV_ID_TGP_LP, MEI_ME_PCH15_CFG)},
|
|
|
--
|
|
|
-2.42.0
|
|
|
+2.43.0
|
|
|
|
|
|
-From 72ee1cbf26ccc575dbfbaee5e7305ab13e1aeb1e Mon Sep 17 00:00:00 2001
|
|
|
+From dc44fd317439da9ba7c30e28fc4948677af4d72f Mon Sep 17 00:00:00 2001
|
|
|
From: Liban Hannan <liban.p@gmail.com>
|
|
|
Date: Tue, 12 Apr 2022 23:31:12 +0100
|
|
|
Subject: [PATCH] iommu: ipts: use IOMMU passthrough mode for IPTS
|
|
@@ -58,7 +58,7 @@ Patchset: ipts
|
|
|
1 file changed, 24 insertions(+)
|
|
|
|
|
|
diff --git a/drivers/iommu/intel/iommu.c b/drivers/iommu/intel/iommu.c
|
|
|
-index 3685ba90ec88e..5a627e081797c 100644
|
|
|
+index 4c3707384bd9..65762e0ef3d3 100644
|
|
|
--- a/drivers/iommu/intel/iommu.c
|
|
|
+++ b/drivers/iommu/intel/iommu.c
|
|
|
@@ -38,6 +38,8 @@
|
|
@@ -85,7 +85,7 @@ index 3685ba90ec88e..5a627e081797c 100644
|
|
|
|
|
|
const struct iommu_ops intel_iommu_ops;
|
|
|
|
|
|
-@@ -2542,6 +2546,9 @@ static int device_def_domain_type(struct device *dev)
|
|
|
+@@ -2543,6 +2547,9 @@ static int device_def_domain_type(struct device *dev)
|
|
|
|
|
|
if ((iommu_identity_mapping & IDENTMAP_GFX) && IS_GFX_DEVICE(pdev))
|
|
|
return IOMMU_DOMAIN_IDENTITY;
|
|
@@ -95,7 +95,7 @@ index 3685ba90ec88e..5a627e081797c 100644
|
|
|
}
|
|
|
|
|
|
return 0;
|
|
|
-@@ -2849,6 +2856,9 @@ static int __init init_dmars(void)
|
|
|
+@@ -2850,6 +2857,9 @@ static int __init init_dmars(void)
|
|
|
if (!dmar_map_gfx)
|
|
|
iommu_identity_mapping |= IDENTMAP_GFX;
|
|
|
|
|
@@ -105,7 +105,7 @@ index 3685ba90ec88e..5a627e081797c 100644
|
|
|
check_tylersburg_isoch();
|
|
|
|
|
|
ret = si_domain_init(hw_pass_through);
|
|
|
-@@ -4828,6 +4838,17 @@ static void quirk_iommu_igfx(struct pci_dev *dev)
|
|
|
+@@ -4829,6 +4839,17 @@ static void quirk_iommu_igfx(struct pci_dev *dev)
|
|
|
dmar_map_gfx = 0;
|
|
|
}
|
|
|
|
|
@@ -123,7 +123,7 @@ index 3685ba90ec88e..5a627e081797c 100644
|
|
|
/* G4x/GM45 integrated gfx dmar support is totally busted. */
|
|
|
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2a40, quirk_iommu_igfx);
|
|
|
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x2e00, quirk_iommu_igfx);
|
|
|
-@@ -4863,6 +4884,9 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x1632, quirk_iommu_igfx);
|
|
|
+@@ -4864,6 +4885,9 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x1632, quirk_iommu_igfx);
|
|
|
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x163A, quirk_iommu_igfx);
|
|
|
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x163D, quirk_iommu_igfx);
|
|
|
|
|
@@ -134,9 +134,9 @@ index 3685ba90ec88e..5a627e081797c 100644
|
|
|
{
|
|
|
if (risky_device(dev))
|
|
|
--
|
|
|
-2.42.0
|
|
|
+2.43.0
|
|
|
|
|
|
-From 8330f9f39ce8c9796259a8aeffe919fa950e18f5 Mon Sep 17 00:00:00 2001
|
|
|
+From 919735ad3e69f194fcd374a455cb9695d1c92209 Mon Sep 17 00:00:00 2001
|
|
|
From: Dorian Stoll <dorian.stoll@tmsp.io>
|
|
|
Date: Sun, 11 Dec 2022 12:00:59 +0100
|
|
|
Subject: [PATCH] hid: Add support for Intel Precise Touch and Stylus
|
|
@@ -203,7 +203,7 @@ Patchset: ipts
|
|
|
create mode 100644 drivers/hid/ipts/thread.h
|
|
|
|
|
|
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
|
|
|
-index 790aa908e2a78..0b9d245d10e54 100644
|
|
|
+index 790aa908e2a7..0b9d245d10e5 100644
|
|
|
--- a/drivers/hid/Kconfig
|
|
|
+++ b/drivers/hid/Kconfig
|
|
|
@@ -1345,4 +1345,6 @@ source "drivers/hid/amd-sfh-hid/Kconfig"
|
|
@@ -214,7 +214,7 @@ index 790aa908e2a78..0b9d245d10e54 100644
|
|
|
+
|
|
|
endif # HID_SUPPORT
|
|
|
diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile
|
|
|
-index 8a06d0f840bcb..2ef21b257d0b5 100644
|
|
|
+index 8a06d0f840bc..2ef21b257d0b 100644
|
|
|
--- a/drivers/hid/Makefile
|
|
|
+++ b/drivers/hid/Makefile
|
|
|
@@ -169,3 +169,5 @@ obj-$(INTEL_ISH_FIRMWARE_DOWNLOADER) += intel-ish-hid/
|
|
@@ -225,7 +225,7 @@ index 8a06d0f840bcb..2ef21b257d0b5 100644
|
|
|
+obj-$(CONFIG_HID_IPTS) += ipts/
|
|
|
diff --git a/drivers/hid/ipts/Kconfig b/drivers/hid/ipts/Kconfig
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..297401bd388dd
|
|
|
+index 000000000000..297401bd388d
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/Kconfig
|
|
|
@@ -0,0 +1,14 @@
|
|
@@ -245,7 +245,7 @@ index 0000000000000..297401bd388dd
|
|
|
+ module will be called ipts.
|
|
|
diff --git a/drivers/hid/ipts/Makefile b/drivers/hid/ipts/Makefile
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..883896f68e6ad
|
|
|
+index 000000000000..883896f68e6a
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/Makefile
|
|
|
@@ -0,0 +1,16 @@
|
|
@@ -267,7 +267,7 @@ index 0000000000000..883896f68e6ad
|
|
|
+ipts-objs += thread.o
|
|
|
diff --git a/drivers/hid/ipts/cmd.c b/drivers/hid/ipts/cmd.c
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..63a4934bbc5fa
|
|
|
+index 000000000000..63a4934bbc5f
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/cmd.c
|
|
|
@@ -0,0 +1,61 @@
|
|
@@ -334,7 +334,7 @@ index 0000000000000..63a4934bbc5fa
|
|
|
+}
|
|
|
diff --git a/drivers/hid/ipts/cmd.h b/drivers/hid/ipts/cmd.h
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..2b4079075b642
|
|
|
+index 000000000000..2b4079075b64
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/cmd.h
|
|
|
@@ -0,0 +1,60 @@
|
|
@@ -400,7 +400,7 @@ index 0000000000000..2b4079075b642
|
|
|
+#endif /* IPTS_CMD_H */
|
|
|
diff --git a/drivers/hid/ipts/context.h b/drivers/hid/ipts/context.h
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..ba33259f1f7c5
|
|
|
+index 000000000000..ba33259f1f7c
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/context.h
|
|
|
@@ -0,0 +1,52 @@
|
|
@@ -458,7 +458,7 @@ index 0000000000000..ba33259f1f7c5
|
|
|
+#endif /* IPTS_CONTEXT_H */
|
|
|
diff --git a/drivers/hid/ipts/control.c b/drivers/hid/ipts/control.c
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..5360842d260ba
|
|
|
+index 000000000000..5360842d260b
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/control.c
|
|
|
@@ -0,0 +1,486 @@
|
|
@@ -950,7 +950,7 @@ index 0000000000000..5360842d260ba
|
|
|
+}
|
|
|
diff --git a/drivers/hid/ipts/control.h b/drivers/hid/ipts/control.h
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..26629c5144edb
|
|
|
+index 000000000000..26629c5144ed
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/control.h
|
|
|
@@ -0,0 +1,126 @@
|
|
@@ -1082,7 +1082,7 @@ index 0000000000000..26629c5144edb
|
|
|
+#endif /* IPTS_CONTROL_H */
|
|
|
diff --git a/drivers/hid/ipts/desc.h b/drivers/hid/ipts/desc.h
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..307438c7c80cd
|
|
|
+index 000000000000..307438c7c80c
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/desc.h
|
|
|
@@ -0,0 +1,80 @@
|
|
@@ -1168,7 +1168,7 @@ index 0000000000000..307438c7c80cd
|
|
|
+#endif /* IPTS_DESC_H */
|
|
|
diff --git a/drivers/hid/ipts/eds1.c b/drivers/hid/ipts/eds1.c
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..ecbb3a8bdaf60
|
|
|
+index 000000000000..ecbb3a8bdaf6
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/eds1.c
|
|
|
@@ -0,0 +1,103 @@
|
|
@@ -1277,7 +1277,7 @@ index 0000000000000..ecbb3a8bdaf60
|
|
|
+}
|
|
|
diff --git a/drivers/hid/ipts/eds1.h b/drivers/hid/ipts/eds1.h
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..eeeb6575e3e89
|
|
|
+index 000000000000..eeeb6575e3e8
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/eds1.h
|
|
|
@@ -0,0 +1,35 @@
|
|
@@ -1318,7 +1318,7 @@ index 0000000000000..eeeb6575e3e89
|
|
|
+ enum hid_report_type report_type, enum hid_class_request request_type);
|
|
|
diff --git a/drivers/hid/ipts/eds2.c b/drivers/hid/ipts/eds2.c
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..198dc65d78876
|
|
|
+index 000000000000..198dc65d7887
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/eds2.c
|
|
|
@@ -0,0 +1,144 @@
|
|
@@ -1468,7 +1468,7 @@ index 0000000000000..198dc65d78876
|
|
|
+}
|
|
|
diff --git a/drivers/hid/ipts/eds2.h b/drivers/hid/ipts/eds2.h
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..064e3716907ab
|
|
|
+index 000000000000..064e3716907a
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/eds2.h
|
|
|
@@ -0,0 +1,35 @@
|
|
@@ -1509,7 +1509,7 @@ index 0000000000000..064e3716907ab
|
|
|
+ enum hid_report_type report_type, enum hid_class_request request_type);
|
|
|
diff --git a/drivers/hid/ipts/hid.c b/drivers/hid/ipts/hid.c
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..e34a1a4f9fa77
|
|
|
+index 000000000000..e34a1a4f9fa7
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/hid.c
|
|
|
@@ -0,0 +1,225 @@
|
|
@@ -1740,7 +1740,7 @@ index 0000000000000..e34a1a4f9fa77
|
|
|
+}
|
|
|
diff --git a/drivers/hid/ipts/hid.h b/drivers/hid/ipts/hid.h
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..1ebe77447903a
|
|
|
+index 000000000000..1ebe77447903
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/hid.h
|
|
|
@@ -0,0 +1,24 @@
|
|
@@ -1770,7 +1770,7 @@ index 0000000000000..1ebe77447903a
|
|
|
+#endif /* IPTS_HID_H */
|
|
|
diff --git a/drivers/hid/ipts/main.c b/drivers/hid/ipts/main.c
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..fb5b5c13ee3ea
|
|
|
+index 000000000000..fb5b5c13ee3e
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/main.c
|
|
|
@@ -0,0 +1,126 @@
|
|
@@ -1902,7 +1902,7 @@ index 0000000000000..fb5b5c13ee3ea
|
|
|
+MODULE_LICENSE("GPL");
|
|
|
diff --git a/drivers/hid/ipts/mei.c b/drivers/hid/ipts/mei.c
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..1e0395ceae4a4
|
|
|
+index 000000000000..1e0395ceae4a
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/mei.c
|
|
|
@@ -0,0 +1,188 @@
|
|
@@ -2096,7 +2096,7 @@ index 0000000000000..1e0395ceae4a4
|
|
|
+}
|
|
|
diff --git a/drivers/hid/ipts/mei.h b/drivers/hid/ipts/mei.h
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..973bade6b0fdd
|
|
|
+index 000000000000..973bade6b0fd
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/mei.h
|
|
|
@@ -0,0 +1,66 @@
|
|
@@ -2168,7 +2168,7 @@ index 0000000000000..973bade6b0fdd
|
|
|
+#endif /* IPTS_MEI_H */
|
|
|
diff --git a/drivers/hid/ipts/receiver.c b/drivers/hid/ipts/receiver.c
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..ef66c3c9db807
|
|
|
+index 000000000000..ef66c3c9db80
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/receiver.c
|
|
|
@@ -0,0 +1,250 @@
|
|
@@ -2424,7 +2424,7 @@ index 0000000000000..ef66c3c9db807
|
|
|
+}
|
|
|
diff --git a/drivers/hid/ipts/receiver.h b/drivers/hid/ipts/receiver.h
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..3de7da62d40c1
|
|
|
+index 000000000000..3de7da62d40c
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/receiver.h
|
|
|
@@ -0,0 +1,16 @@
|
|
@@ -2446,7 +2446,7 @@ index 0000000000000..3de7da62d40c1
|
|
|
+#endif /* IPTS_RECEIVER_H */
|
|
|
diff --git a/drivers/hid/ipts/resources.c b/drivers/hid/ipts/resources.c
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..cc14653b2a9f5
|
|
|
+index 000000000000..cc14653b2a9f
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/resources.c
|
|
|
@@ -0,0 +1,131 @@
|
|
@@ -2583,7 +2583,7 @@ index 0000000000000..cc14653b2a9f5
|
|
|
+}
|
|
|
diff --git a/drivers/hid/ipts/resources.h b/drivers/hid/ipts/resources.h
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..2068e13285f0e
|
|
|
+index 000000000000..2068e13285f0
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/resources.h
|
|
|
@@ -0,0 +1,41 @@
|
|
@@ -2630,7 +2630,7 @@ index 0000000000000..2068e13285f0e
|
|
|
+#endif /* IPTS_RESOURCES_H */
|
|
|
diff --git a/drivers/hid/ipts/spec-data.h b/drivers/hid/ipts/spec-data.h
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..e8dd98895a7ee
|
|
|
+index 000000000000..e8dd98895a7e
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/spec-data.h
|
|
|
@@ -0,0 +1,100 @@
|
|
@@ -2736,7 +2736,7 @@ index 0000000000000..e8dd98895a7ee
|
|
|
+#endif /* IPTS_SPEC_DATA_H */
|
|
|
diff --git a/drivers/hid/ipts/spec-device.h b/drivers/hid/ipts/spec-device.h
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..41845f9d90257
|
|
|
+index 000000000000..41845f9d9025
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/spec-device.h
|
|
|
@@ -0,0 +1,290 @@
|
|
@@ -3032,7 +3032,7 @@ index 0000000000000..41845f9d90257
|
|
|
+#endif /* IPTS_SPEC_DEVICE_H */
|
|
|
diff --git a/drivers/hid/ipts/spec-hid.h b/drivers/hid/ipts/spec-hid.h
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..5a58d4a0a610f
|
|
|
+index 000000000000..5a58d4a0a610
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/spec-hid.h
|
|
|
@@ -0,0 +1,34 @@
|
|
@@ -3072,7 +3072,7 @@ index 0000000000000..5a58d4a0a610f
|
|
|
+#endif /* IPTS_SPEC_HID_H */
|
|
|
diff --git a/drivers/hid/ipts/thread.c b/drivers/hid/ipts/thread.c
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..355e92bea26f8
|
|
|
+index 000000000000..355e92bea26f
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/thread.c
|
|
|
@@ -0,0 +1,84 @@
|
|
@@ -3162,7 +3162,7 @@ index 0000000000000..355e92bea26f8
|
|
|
+}
|
|
|
diff --git a/drivers/hid/ipts/thread.h b/drivers/hid/ipts/thread.h
|
|
|
new file mode 100644
|
|
|
-index 0000000000000..1f966b8b32c45
|
|
|
+index 000000000000..1f966b8b32c4
|
|
|
--- /dev/null
|
|
|
+++ b/drivers/hid/ipts/thread.h
|
|
|
@@ -0,0 +1,59 @@
|
|
@@ -3226,5 +3226,5 @@ index 0000000000000..1f966b8b32c45
|
|
|
+
|
|
|
+#endif /* IPTS_THREAD_H */
|
|
|
--
|
|
|
-2.42.0
|
|
|
+2.43.0
|
|
|
|