瀏覽代碼

Update v5.8 patches

Changes:
- SAM:
  - Internal restructuring, cleanup, and documentation.

Links:
- SAM: https://github.com/linux-surface/surface-aggregator-module/commit/6de853a5cd044faa0a3e2e726925e22fadf08f49
- kernel: https://github.com/linux-surface/kernel/commit/12216a9ad72bc94fe92eb8a569b2122e612480db
Maximilian Luz 4 年之前
父節點
當前提交
9a5fdd5e61

+ 4 - 4
patches/5.8/0001-surface3-oemb.patch

@@ -1,4 +1,4 @@
-From 066e779c7a5805e345f1a9dcdbcca1206b4ece67 Mon Sep 17 00:00:00 2001
+From 4248e18d4612d02fd522eb8576037bd7781aece0 Mon Sep 17 00:00:00 2001
 From: Chih-Wei Huang <cwhuang@linux.org.tw>
 Date: Tue, 18 Sep 2018 11:01:37 +0800
 Subject: [PATCH 1/6] surface3-oemb
@@ -10,7 +10,7 @@ Subject: [PATCH 1/6] surface3-oemb
  3 files changed, 24 insertions(+)
 
 diff --git a/drivers/platform/x86/surface3-wmi.c b/drivers/platform/x86/surface3-wmi.c
-index 130b6f52a6001..801083aa56d6d 100644
+index 130b6f52a600..801083aa56d6 100644
 --- a/drivers/platform/x86/surface3-wmi.c
 +++ b/drivers/platform/x86/surface3-wmi.c
 @@ -37,6 +37,13 @@ static const struct dmi_system_id surface3_dmi_table[] = {
@@ -28,7 +28,7 @@ index 130b6f52a6001..801083aa56d6d 100644
  	{ }
  };
 diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
-index e2e1d5b03b381..5ff38592ba6db 100644
+index e2e1d5b03b38..5ff38592ba6d 100644
 --- a/sound/soc/codecs/rt5645.c
 +++ b/sound/soc/codecs/rt5645.c
 @@ -3687,6 +3687,15 @@ static const struct dmi_system_id dmi_platform_data[] = {
@@ -48,7 +48,7 @@ index e2e1d5b03b381..5ff38592ba6db 100644
  		/*
  		 * Match for the GPDwin which unfortunately uses somewhat
 diff --git a/sound/soc/intel/common/soc-acpi-intel-cht-match.c b/sound/soc/intel/common/soc-acpi-intel-cht-match.c
-index 2752dc9557334..ef36a316e2ed6 100644
+index 2752dc955733..ef36a316e2ed 100644
 --- a/sound/soc/intel/common/soc-acpi-intel-cht-match.c
 +++ b/sound/soc/intel/common/soc-acpi-intel-cht-match.c
 @@ -27,6 +27,14 @@ static const struct dmi_system_id cht_table[] = {

+ 6 - 6
patches/5.8/0002-wifi.patch

@@ -1,4 +1,4 @@
-From ca3d192b0e00bebf0ff2352a00a9120d1a2e4e7c Mon Sep 17 00:00:00 2001
+From 002b3d0ffa9aa7541e6752b15d8d6779be2f5d08 Mon Sep 17 00:00:00 2001
 From: kitakar5525 <34676735+kitakar5525@users.noreply.github.com>
 Date: Thu, 20 Feb 2020 16:51:11 +0900
 Subject: [PATCH 2/6] wifi
@@ -12,7 +12,7 @@ Subject: [PATCH 2/6] wifi
  5 files changed, 87 insertions(+), 60 deletions(-)
 
 diff --git a/drivers/net/wireless/marvell/mwifiex/cfg80211.c b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
-index 4e4f59c17ded3..528eedfbf41c9 100644
+index 4e4f59c17ded..528eedfbf41c 100644
 --- a/drivers/net/wireless/marvell/mwifiex/cfg80211.c
 +++ b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
 @@ -25,6 +25,11 @@
@@ -56,7 +56,7 @@ index 4e4f59c17ded3..528eedfbf41c9 100644
  }
  
 diff --git a/drivers/net/wireless/marvell/mwifiex/fw.h b/drivers/net/wireless/marvell/mwifiex/fw.h
-index 8047e307892e3..d9f8bdbc817b2 100644
+index 8047e307892e..d9f8bdbc817b 100644
 --- a/drivers/net/wireless/marvell/mwifiex/fw.h
 +++ b/drivers/net/wireless/marvell/mwifiex/fw.h
 @@ -954,7 +954,7 @@ struct mwifiex_tkip_param {
@@ -69,7 +69,7 @@ index 8047e307892e3..d9f8bdbc817b2 100644
  
  struct mwifiex_wapi_param {
 diff --git a/drivers/net/wireless/marvell/mwifiex/pcie.c b/drivers/net/wireless/marvell/mwifiex/pcie.c
-index 87b4ccca4b9a2..3bdad5e80ecbb 100644
+index 87b4ccca4b9a..3bdad5e80ecb 100644
 --- a/drivers/net/wireless/marvell/mwifiex/pcie.c
 +++ b/drivers/net/wireless/marvell/mwifiex/pcie.c
 @@ -146,38 +146,45 @@ static bool mwifiex_pcie_ok_to_access_hw(struct mwifiex_adapter *adapter)
@@ -203,7 +203,7 @@ index 87b4ccca4b9a2..3bdad5e80ecbb 100644
  		 pdev->vendor, pdev->device, pdev->revision);
  
 diff --git a/drivers/net/wireless/marvell/mwifiex/sta_cmd.c b/drivers/net/wireless/marvell/mwifiex/sta_cmd.c
-index 8bd355d7974e9..256c8c38deee3 100644
+index 8bd355d7974e..256c8c38deee 100644
 --- a/drivers/net/wireless/marvell/mwifiex/sta_cmd.c
 +++ b/drivers/net/wireless/marvell/mwifiex/sta_cmd.c
 @@ -2247,7 +2247,6 @@ int mwifiex_sta_prepare_cmd(struct mwifiex_private *priv, uint16_t cmd_no,
@@ -266,7 +266,7 @@ index 8bd355d7974e9..256c8c38deee3 100644
  	if (priv->bss_type != MWIFIEX_BSS_TYPE_UAP) {
  		/* Send cmd to FW to enable/disable 11D function */
 diff --git a/drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c b/drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c
-index 962d8bfe6f101..119ccacd1fcc4 100644
+index 962d8bfe6f10..119ccacd1fcc 100644
 --- a/drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c
 +++ b/drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c
 @@ -619,7 +619,7 @@ static int mwifiex_ret_802_11_key_material_v2(struct mwifiex_private *priv,

+ 18 - 18
patches/5.8/0003-ipts.patch

@@ -1,4 +1,4 @@
-From 4ad6656739cd57b52360b9909af2ab762968a632 Mon Sep 17 00:00:00 2001
+From 41b560b65cfa204af0e8d5b6682805dc10b26461 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 3/6] ipts
@@ -37,7 +37,7 @@ Subject: [PATCH 3/6] ipts
  create mode 100644 drivers/misc/ipts/uapi.h
 
 diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
-index e1b1ba5e2b925..be901ffc66fee 100644
+index e1b1ba5e2b92..be901ffc66fe 100644
 --- a/drivers/misc/Kconfig
 +++ b/drivers/misc/Kconfig
 @@ -472,4 +472,5 @@ source "drivers/misc/ocxl/Kconfig"
@@ -47,7 +47,7 @@ index e1b1ba5e2b925..be901ffc66fee 100644
 +source "drivers/misc/ipts/Kconfig"
  endmenu
 diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
-index c7bd01ac62917..f97938d777e13 100644
+index c7bd01ac6291..f97938d777e1 100644
 --- a/drivers/misc/Makefile
 +++ b/drivers/misc/Makefile
 @@ -57,3 +57,4 @@ obj-$(CONFIG_PVPANIC)   	+= pvpanic.o
@@ -57,7 +57,7 @@ index c7bd01ac62917..f97938d777e13 100644
 +obj-$(CONFIG_MISC_IPTS)		+= ipts/
 diff --git a/drivers/misc/ipts/Kconfig b/drivers/misc/ipts/Kconfig
 new file mode 100644
-index 0000000000000..7dce12245a4f1
+index 000000000000..7dce12245a4f
 --- /dev/null
 +++ b/drivers/misc/ipts/Kconfig
 @@ -0,0 +1,13 @@
@@ -76,7 +76,7 @@ index 0000000000000..7dce12245a4f1
 +	  module will be called ipts.
 diff --git a/drivers/misc/ipts/Makefile b/drivers/misc/ipts/Makefile
 new file mode 100644
-index 0000000000000..a7232badd8b89
+index 000000000000..a7232badd8b8
 --- /dev/null
 +++ b/drivers/misc/ipts/Makefile
 @@ -0,0 +1,11 @@
@@ -93,7 +93,7 @@ index 0000000000000..a7232badd8b89
 +ipts-objs += uapi.o
 diff --git a/drivers/misc/ipts/context.h b/drivers/misc/ipts/context.h
 new file mode 100644
-index 0000000000000..d24fd6ac026b9
+index 000000000000..d24fd6ac026b
 --- /dev/null
 +++ b/drivers/misc/ipts/context.h
 @@ -0,0 +1,125 @@
@@ -224,7 +224,7 @@ index 0000000000000..d24fd6ac026b9
 +#endif /* _IPTS_CONTEXT_H_ */
 diff --git a/drivers/misc/ipts/control.c b/drivers/misc/ipts/control.c
 new file mode 100644
-index 0000000000000..857bcf4987525
+index 000000000000..857bcf498752
 --- /dev/null
 +++ b/drivers/misc/ipts/control.c
 @@ -0,0 +1,63 @@
@@ -293,7 +293,7 @@ index 0000000000000..857bcf4987525
 +}
 diff --git a/drivers/misc/ipts/control.h b/drivers/misc/ipts/control.h
 new file mode 100644
-index 0000000000000..718cde10dd2cd
+index 000000000000..718cde10dd2c
 --- /dev/null
 +++ b/drivers/misc/ipts/control.h
 @@ -0,0 +1,17 @@
@@ -316,7 +316,7 @@ index 0000000000000..718cde10dd2cd
 +#endif /* _IPTS_CONTROL_H_ */
 diff --git a/drivers/misc/ipts/init.c b/drivers/misc/ipts/init.c
 new file mode 100644
-index 0000000000000..c2f237feed11e
+index 000000000000..c2f237feed11
 --- /dev/null
 +++ b/drivers/misc/ipts/init.c
 @@ -0,0 +1,87 @@
@@ -409,7 +409,7 @@ index 0000000000000..c2f237feed11e
 +MODULE_LICENSE("GPL");
 diff --git a/drivers/misc/ipts/protocol.h b/drivers/misc/ipts/protocol.h
 new file mode 100644
-index 0000000000000..c8b412899ec4d
+index 000000000000..c8b412899ec4
 --- /dev/null
 +++ b/drivers/misc/ipts/protocol.h
 @@ -0,0 +1,236 @@
@@ -651,7 +651,7 @@ index 0000000000000..c8b412899ec4d
 +#endif /* _IPTS_PROTOCOL_H_ */
 diff --git a/drivers/misc/ipts/receiver.c b/drivers/misc/ipts/receiver.c
 new file mode 100644
-index 0000000000000..bf78b64249a5b
+index 000000000000..bf78b64249a5
 --- /dev/null
 +++ b/drivers/misc/ipts/receiver.c
 @@ -0,0 +1,202 @@
@@ -859,7 +859,7 @@ index 0000000000000..bf78b64249a5b
 +}
 diff --git a/drivers/misc/ipts/receiver.h b/drivers/misc/ipts/receiver.h
 new file mode 100644
-index 0000000000000..d7939ddbaae95
+index 000000000000..d7939ddbaae9
 --- /dev/null
 +++ b/drivers/misc/ipts/receiver.h
 @@ -0,0 +1,10 @@
@@ -875,7 +875,7 @@ index 0000000000000..d7939ddbaae95
 +#endif /* _IPTS_RECEIVER_H_ */
 diff --git a/drivers/misc/ipts/resources.c b/drivers/misc/ipts/resources.c
 new file mode 100644
-index 0000000000000..9f2b60bb7a70e
+index 000000000000..9f2b60bb7a70
 --- /dev/null
 +++ b/drivers/misc/ipts/resources.c
 @@ -0,0 +1,133 @@
@@ -1014,7 +1014,7 @@ index 0000000000000..9f2b60bb7a70e
 +}
 diff --git a/drivers/misc/ipts/resources.h b/drivers/misc/ipts/resources.h
 new file mode 100644
-index 0000000000000..cf9807b0dbe62
+index 000000000000..cf9807b0dbe6
 --- /dev/null
 +++ b/drivers/misc/ipts/resources.h
 @@ -0,0 +1,11 @@
@@ -1031,7 +1031,7 @@ index 0000000000000..cf9807b0dbe62
 +#endif /* _IPTS_RESOURCES_H_ */
 diff --git a/drivers/misc/ipts/uapi.c b/drivers/misc/ipts/uapi.c
 new file mode 100644
-index 0000000000000..f6f7b2cabd836
+index 000000000000..f6f7b2cabd83
 --- /dev/null
 +++ b/drivers/misc/ipts/uapi.c
 @@ -0,0 +1,297 @@
@@ -1334,7 +1334,7 @@ index 0000000000000..f6f7b2cabd836
 +}
 diff --git a/drivers/misc/ipts/uapi.h b/drivers/misc/ipts/uapi.h
 new file mode 100644
-index 0000000000000..7d7eabc74b17d
+index 000000000000..7d7eabc74b17
 --- /dev/null
 +++ b/drivers/misc/ipts/uapi.h
 @@ -0,0 +1,11 @@
@@ -1350,7 +1350,7 @@ index 0000000000000..7d7eabc74b17d
 +
 +#endif /* _IPTS_UAPI_H_ */
 diff --git a/drivers/misc/mei/hw-me-regs.h b/drivers/misc/mei/hw-me-regs.h
-index 7becfc768bbcc..0824ef27b08bb 100644
+index 7becfc768bbc..0824ef27b08b 100644
 --- a/drivers/misc/mei/hw-me-regs.h
 +++ b/drivers/misc/mei/hw-me-regs.h
 @@ -59,6 +59,7 @@
@@ -1378,7 +1378,7 @@ index 7becfc768bbcc..0824ef27b08bb 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 2a3f2fd5df507..319158fd43930 100644
+index 2a3f2fd5df50..319158fd4393 100644
 --- a/drivers/misc/mei/pci-me.c
 +++ b/drivers/misc/mei/pci-me.c
 @@ -68,6 +68,7 @@ static const struct pci_device_id mei_me_pci_tbl[] = {

文件差異過大導致無法顯示
+ 441 - 123
patches/5.8/0004-surface-sam.patch


+ 5 - 5
patches/5.8/0005-surface-sam-over-hid.patch

@@ -1,4 +1,4 @@
-From 2c2d6aff72e97d6ce46164d42de267cf3e0dce2d Mon Sep 17 00:00:00 2001
+From 0007600e30673281468607934800bd079cad215e Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Sat, 25 Jul 2020 17:19:53 +0200
 Subject: [PATCH 5/6] surface-sam-over-hid
@@ -12,7 +12,7 @@ Subject: [PATCH 5/6] surface-sam-over-hid
  create mode 100644 drivers/platform/x86/sb1_dgpu_sw.c
 
 diff --git a/drivers/i2c/i2c-core-acpi.c b/drivers/i2c/i2c-core-acpi.c
-index 2ade99b105b91..60b9cb51d5f7e 100644
+index 2ade99b105b9..60b9cb51d5f7 100644
 --- a/drivers/i2c/i2c-core-acpi.c
 +++ b/drivers/i2c/i2c-core-acpi.c
 @@ -574,6 +574,28 @@ static int acpi_gsb_i2c_write_bytes(struct i2c_client *client,
@@ -65,7 +65,7 @@ index 2ade99b105b91..60b9cb51d5f7e 100644
  		dev_warn(&adapter->dev, "protocol 0x%02x not supported for client 0x%02x\n",
  			 accessor_type, client->addr);
 diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
-index 0581a54cf562f..14db2795ff638 100644
+index 0581a54cf562..14db2795ff63 100644
 --- a/drivers/platform/x86/Kconfig
 +++ b/drivers/platform/x86/Kconfig
 @@ -879,6 +879,13 @@ config SURFACE_PRO3_BUTTON
@@ -83,7 +83,7 @@ index 0581a54cf562f..14db2795ff638 100644
  	tristate "MSI Laptop Extras"
  	depends on ACPI
 diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile
-index 2b85852a1a872..5156523b58639 100644
+index 2b85852a1a87..5156523b5863 100644
 --- a/drivers/platform/x86/Makefile
 +++ b/drivers/platform/x86/Makefile
 @@ -85,6 +85,7 @@ obj-$(CONFIG_SURFACE3_WMI)		+= surface3-wmi.o
@@ -96,7 +96,7 @@ index 2b85852a1a872..5156523b58639 100644
  obj-$(CONFIG_MSI_LAPTOP)	+= msi-laptop.o
 diff --git a/drivers/platform/x86/sb1_dgpu_sw.c b/drivers/platform/x86/sb1_dgpu_sw.c
 new file mode 100644
-index 0000000000000..8c66ed5110fda
+index 000000000000..8c66ed5110fd
 --- /dev/null
 +++ b/drivers/platform/x86/sb1_dgpu_sw.c
 @@ -0,0 +1,162 @@

+ 4 - 4
patches/5.8/0006-surface-gpe.patch

@@ -1,4 +1,4 @@
-From 9ec51d0d15ab736230deeeb6a9699163666e159e Mon Sep 17 00:00:00 2001
+From 2a3e106d1bc291b1f9656aaa129eca69b2509028 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Sun, 16 Aug 2020 23:39:56 +0200
 Subject: [PATCH 6/6] surface-gpe
@@ -11,7 +11,7 @@ Subject: [PATCH 6/6] surface-gpe
  create mode 100644 drivers/platform/x86/surface_gpe.c
 
 diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig
-index 14db2795ff638..c64267319696c 100644
+index 14db2795ff63..c64267319696 100644
 --- a/drivers/platform/x86/Kconfig
 +++ b/drivers/platform/x86/Kconfig
 @@ -886,6 +886,15 @@ config SURFACE_BOOK1_DGPU_SWITCH
@@ -31,7 +31,7 @@ index 14db2795ff638..c64267319696c 100644
  	tristate "MSI Laptop Extras"
  	depends on ACPI
 diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile
-index 5156523b58639..ef0c3fcab3194 100644
+index 5156523b5863..ef0c3fcab319 100644
 --- a/drivers/platform/x86/Makefile
 +++ b/drivers/platform/x86/Makefile
 @@ -86,6 +86,7 @@ obj-$(CONFIG_SURFACE_3_BUTTON)		+= surface3_button.o
@@ -44,7 +44,7 @@ index 5156523b58639..ef0c3fcab3194 100644
  obj-$(CONFIG_MSI_LAPTOP)	+= msi-laptop.o
 diff --git a/drivers/platform/x86/surface_gpe.c b/drivers/platform/x86/surface_gpe.c
 new file mode 100644
-index 0000000000000..10e563f253b9e
+index 000000000000..10e563f253b9
 --- /dev/null
 +++ b/drivers/platform/x86/surface_gpe.c
 @@ -0,0 +1,303 @@

+ 6 - 6
pkg/arch/kernel/PKGBUILD

@@ -40,12 +40,12 @@ sha256sums=('03f5e769e7b3365a5eaeea1369912f7f142f8c35f596367878831b0cd0330af1'
             '181330a9cf4517abbbe29b93165bc859ad8ca14a43582f4e1d69aae2b5ecc2c9'
             '1f65b3f042db87952468e99be3f1f688f62dda18401bf9716cb734f5571288b5'
             '8dbaa21d2c03621b0c5d96c4fbcc7a839bea5a34a5f2279a409c3b404756e753'
-            '119fb1a8af1dd4f96cd6ce111be8b97c6269a47ee06ae4c2f7eef41ec20729aa'
-            '313546bef7d4b3744ec64652411e67ea3460e47c8036c6b616f510d68a1deb55'
-            '4459f22b346b14bca1f856666e92e2c771d0d844b8c1a709a7ab10e22564a075'
-            '951710d7a544a8bd6f8750ead837a62b4b5f3cb7751d703208f74defe75eec95'
-            '1d1f9a5c527f87d47fb417b4968d71e1b3cc57abb673a39c8248c3681d2cc978'
-            '5a8be55468498b00c77fe7c777d750a86ee7379c1a0baeaa6d4e14d6fc26c5d4')
+            '362368cb8b635d9f8ad06c5efbabe8e42347ab85d3f911df3b6d81041a67806b'
+            '445908dac8aa09cc141c2b67af6e3fb50c61ccadbe7e87be606f3e91db7cabfe'
+            'b7f1296eb5fcf6e0ddb31acc0b7ec7e672aeb075814f6d770abc1dd18ca95d3d'
+            '6a9a7ffdea6ac0e63d123538de3e0d32f819a1c0f98317e39a3fa13c463f0807'
+            'b2167ee13afadfb58b2bbe0ee5fe9b26319662b97dbb78f17d6521329f1aaffc'
+            '05a714876d7e2b97b14779ac5e1e66c95af5eb69c82574339afb803a43f1918b')
 
 
 export KBUILD_BUILD_HOST=archlinux

部分文件因文件數量過多而無法顯示