Re: [LEDE-DEV] [PATCH v1] kernel: bump 4.9 to 4.9.75

2018-01-08 Thread Kus
Thank you. I think we ought to demand a product recall for everything Intel. 

signature.asc
Description: PGP signature
___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [PATCH v1] kernel: bump 4.9 to 4.9.75

2018-01-08 Thread Alberto Bursi
AFAIK AMD processors that don't need that are from Zen onwards. Older 
ones are impacted.


-Alberto


On 08/01/2018 12:27, Nick Lowe wrote:

Hi Kevin,

I am not following :-) For AMD, there should not be a tradeoff as
there is no need for the page table isolation.

Regards,

Nick

On Mon, Jan 8, 2018 at 11:21 AM, Kevin Darbyshire-Bryant
 wrote:



On 8 Jan 2018, at 11:12, Nick Lowe  wrote:

Agreed. So this will seemingly regress something like an APU2 and
therefore probably should not be merged to LEDE as-is?

I’ll let an adult decide the performance/security tradeoff.

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev



___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [PATCH v1] kernel: bump 4.9 to 4.9.75

2018-01-08 Thread Nick Lowe
Sorry, it was back ported to 4.9.75 :-)

On Mon, Jan 8, 2018 at 12:34 PM, Nick Lowe  wrote:
> It looks like PCID and INVPCID support is likely to be back ported to
> the 4.9.76 Linux Kernel: https://patchwork.kernel.org/patch/10143225/

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [PATCH v1] kernel: bump 4.9 to 4.9.75

2018-01-08 Thread Nick Lowe
It looks like PCID and INVPCID support is likely to be back ported to
the 4.9.76 Linux Kernel: https://patchwork.kernel.org/patch/10143225/

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [PATCH v1] kernel: bump 4.9 to 4.9.75

2018-01-08 Thread Nick Lowe
Hi all,

I am a moron, I missed:

+skip:
+ if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD)
+ goto disable;

It uses a different path...

Regards,

NIck

On Mon, Jan 8, 2018 at 11:27 AM, Nick Lowe  wrote:
> Hi Kevin,
>
> I am not following :-) For AMD, there should not be a tradeoff as
> there is no need for the page table isolation.
>
> Regards,
>
> Nick
>
> On Mon, Jan 8, 2018 at 11:21 AM, Kevin Darbyshire-Bryant
>  wrote:
>>
>>
>>> On 8 Jan 2018, at 11:12, Nick Lowe  wrote:
>>>
>>> Agreed. So this will seemingly regress something like an APU2 and
>>> therefore probably should not be merged to LEDE as-is?
>>
>> I’ll let an adult decide the performance/security tradeoff.

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [PATCH v1] kernel: bump 4.9 to 4.9.75

2018-01-08 Thread Nick Lowe
Hi Kevin,

I am not following :-) For AMD, there should not be a tradeoff as
there is no need for the page table isolation.

Regards,

Nick

On Mon, Jan 8, 2018 at 11:21 AM, Kevin Darbyshire-Bryant
 wrote:
>
>
>> On 8 Jan 2018, at 11:12, Nick Lowe  wrote:
>>
>> Agreed. So this will seemingly regress something like an APU2 and
>> therefore probably should not be merged to LEDE as-is?
>
> I’ll let an adult decide the performance/security tradeoff.

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [PATCH v1] kernel: bump 4.9 to 4.9.75

2018-01-08 Thread Kevin Darbyshire-Bryant


> On 8 Jan 2018, at 11:12, Nick Lowe  wrote:
> 
> Agreed. So this will seemingly regress something like an APU2 and
> therefore probably should not be merged to LEDE as-is?

I’ll let an adult decide the performance/security tradeoff.


signature.asc
Description: Message signed with OpenPGP
___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [PATCH v1] kernel: bump 4.9 to 4.9.75

2018-01-08 Thread Arjen de Korte

Citeren Kevin Darbyshire-Bryant :


On 8 Jan 2018, at 11:04, Nick Lowe  wrote:

Hi,

Where in 4.9.75 does it avoid the page table isolation mitigation for AMD?

Committed to the 4.14 and 4.15 branch is:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.15-rc7=694d99d40972f12e59a3696effee8a376b79d7c8

X86_BUG_CPU_INSECURE becomes X86_BUG_CPU_MELTDOWN via:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.15-rc7=de791821c295cc61419a06fe5562288417d1bc58


I guess Greg hasn’t yet put that into 4.9 stable queue.


https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/arch/x86/mm/kaiser.c?h=v4.9.75=8018307a45a90ab2eecfd03d48b7efb31707df37


___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [PATCH v1] kernel: bump 4.9 to 4.9.75

2018-01-08 Thread Nick Lowe
Agreed. So this will seemingly regress something like an APU2 and
therefore probably should not be merged to LEDE as-is?

Nick

On Mon, Jan 8, 2018 at 11:08 AM, Kevin Darbyshire-Bryant
 wrote:
>
>
>> On 8 Jan 2018, at 11:04, Nick Lowe  wrote:
>>
>> Hi,
>>
>> Where in 4.9.75 does it avoid the page table isolation mitigation for AMD?
>>
>> Committed to the 4.14 and 4.15 branch is:
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.15-rc7=694d99d40972f12e59a3696effee8a376b79d7c8
>>
>> X86_BUG_CPU_INSECURE becomes X86_BUG_CPU_MELTDOWN via:
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.15-rc7=de791821c295cc61419a06fe5562288417d1bc58
>>
> I guess Greg hasn’t yet put that into 4.9 stable queue.
>

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [PATCH v1] kernel: bump 4.9 to 4.9.75

2018-01-08 Thread Kevin Darbyshire-Bryant


> On 8 Jan 2018, at 11:04, Nick Lowe  wrote:
> 
> Hi,
> 
> Where in 4.9.75 does it avoid the page table isolation mitigation for AMD?
> 
> Committed to the 4.14 and 4.15 branch is:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.15-rc7=694d99d40972f12e59a3696effee8a376b79d7c8
> 
> X86_BUG_CPU_INSECURE becomes X86_BUG_CPU_MELTDOWN via:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.15-rc7=de791821c295cc61419a06fe5562288417d1bc58
> 
I guess Greg hasn’t yet put that into 4.9 stable queue.

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [PATCH v1] kernel: bump 4.9 to 4.9.75

2018-01-08 Thread Nick Lowe
Hi,

Where in 4.9.75 does it avoid the page table isolation mitigation for AMD?

Committed to the 4.14 and 4.15 branch is:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.15-rc7=694d99d40972f12e59a3696effee8a376b79d7c8

X86_BUG_CPU_INSECURE becomes X86_BUG_CPU_MELTDOWN via:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.15-rc7=de791821c295cc61419a06fe5562288417d1bc58

Regards,

Nick

On Mon, Jan 8, 2018 at 10:40 AM, Koen Vandeputte
 wrote:
> Tested-by: Koen Vandeputte 
>
> Targets: cns3xxx, imx6
>
>
>
> ___
> Lede-dev mailing list
> Lede-dev@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [PATCH v1] kernel: bump 4.9 to 4.9.75

2018-01-08 Thread Koen Vandeputte

Tested-by: Koen Vandeputte 

Targets: cns3xxx, imx6


___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


[LEDE-DEV] [PATCH v1] kernel: bump 4.9 to 4.9.75

2018-01-07 Thread Kevin Darbyshire-Bryant
Refresh patches

Fixes:  CVE-2017-5754 aka Meltdown

Tested-on: ar71xx Archer C7 v2

Signed-off-by: Kevin Darbyshire-Bryant 
---
 include/kernel-version.mk|  4 ++--
 ...sb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch |  6 +++---
 .../patches-4.9/802-usb-xhci-force-msi-renesas-xhci.patch|  4 ++--
 .../ar71xx/patches-4.9/910-unaligned_access_hacks.patch  |  4 ++--
 .../backport-4.9/024-1-tcp-tsq-add-tsq_flags-tsq_enum.patch  |  4 ++--
 .../backport-4.9/090-net-generalize-napi_complete_done.patch |  2 +-
 target/linux/generic/hack-4.9/207-disable-modorder.patch |  4 ++--
 target/linux/generic/hack-4.9/902-debloat_proc.patch |  2 +-
 target/linux/generic/pending-4.9/920-mangle_bootargs.patch   |  4 ++--
 .../0067-generic-Mangle-bootloader-s-kernel-arguments.patch  |  4 ++--
 ...et-mvneta-disable-MVNETA_CAUSE_PSC_SYNC_CHANGE-inte.patch |  8 
 .../patches-4.9/422-net-mvneta-add-nway_reset-support.patch  |  4 ++--
 ...424-net-mvneta-add-flow-control-support-via-phylink.patch | 10 +-
 ...-net-mvneta-enable-flow-control-for-PHY-connections.patch |  2 +-
 ...et-mvneta-enable-flow-control-for-fixed-connections.patch |  4 ++--
 .../mvebu/patches-4.9/427-phylink-add-EEE-support.patch  |  2 +-
 .../mvebu/patches-4.9/428-net-mvneta-add-EEE-support.patch   | 12 ++--
 .../430-net-mvneta-add-module-EEPROM-reading-support.patch   |  4 ++--
 target/linux/x86/patches-4.9/200-pcengines-apu2-reboot.patch |  2 +-
 19 files changed, 43 insertions(+), 43 deletions(-)

diff --git a/include/kernel-version.mk b/include/kernel-version.mk
index 81d5430fd4..fb564b6100 100644
--- a/include/kernel-version.mk
+++ b/include/kernel-version.mk
@@ -4,12 +4,12 @@ LINUX_RELEASE?=1
 
 LINUX_VERSION-3.18 = .71
 LINUX_VERSION-4.4 = .108
-LINUX_VERSION-4.9 = .73
+LINUX_VERSION-4.9 = .75
 LINUX_VERSION-4.14 = .11
 
 LINUX_KERNEL_HASH-3.18.71 = 
5abc9778ad44ce02ed6c8ab52ece8a21c6d20d21f6ed8a19287b4a38a50c1240
 LINUX_KERNEL_HASH-4.4.108 = 
5a001198625ce9f7b0ef1e4b43e033aea859e1ef3509532412cce8f0375ba51a
-LINUX_KERNEL_HASH-4.9.73 = 
558b65c53f6d6c421d897ad4b651e51ba341fe4dd97122ec922e23ebd2c16e2b
+LINUX_KERNEL_HASH-4.9.75 = 
de6c31b7668d4047e370f4625362a02b9ebf7da56d5c0879a4961f620ab1cadf
 LINUX_KERNEL_HASH-4.14.11 = 
7768956a513f1d4eeb49ba6b55c5b131da60f1a698a3b3657718bf23a6b86d0a
 
 ifdef KERNEL_PATCHVER
diff --git 
a/target/linux/apm821xx/patches-4.9/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
 
b/target/linux/apm821xx/patches-4.9/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
index 96a5940e79..b30511d756 100644
--- 
a/target/linux/apm821xx/patches-4.9/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
+++ 
b/target/linux/apm821xx/patches-4.9/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch
@@ -44,7 +44,7 @@ Signed-off-by: Christian Lamparter 
  
  #include "xhci.h"
  #include "xhci-trace.h"
-@@ -236,6 +238,458 @@ static void xhci_pme_acpi_rtd3_enable(st
+@@ -239,6 +241,458 @@ static void xhci_pme_acpi_rtd3_enable(st
  static void xhci_pme_acpi_rtd3_enable(struct pci_dev *dev) { }
  #endif /* CONFIG_ACPI */
  
@@ -503,7 +503,7 @@ Signed-off-by: Christian Lamparter 
  /* called during probe() after chip reset completes */
  static int xhci_pci_setup(struct usb_hcd *hcd)
  {
-@@ -275,6 +729,22 @@ static int xhci_pci_probe(struct pci_dev
+@@ -278,6 +732,22 @@ static int xhci_pci_probe(struct pci_dev
struct hc_driver *driver;
struct usb_hcd *hcd;
  
@@ -526,7 +526,7 @@ Signed-off-by: Christian Lamparter 
driver = (struct hc_driver *)id->driver_data;
  
/* Prevent runtime suspending between USB-2 and USB-3 initialization */
-@@ -332,6 +802,16 @@ static void xhci_pci_remove(struct pci_d
+@@ -335,6 +805,16 @@ static void xhci_pci_remove(struct pci_d
  {
struct xhci_hcd *xhci;
  
diff --git 
a/target/linux/apm821xx/patches-4.9/802-usb-xhci-force-msi-renesas-xhci.patch 
b/target/linux/apm821xx/patches-4.9/802-usb-xhci-force-msi-renesas-xhci.patch
index 4d7c686618..3548571052 100644
--- 
a/target/linux/apm821xx/patches-4.9/802-usb-xhci-force-msi-renesas-xhci.patch
+++ 
b/target/linux/apm821xx/patches-4.9/802-usb-xhci-force-msi-renesas-xhci.patch
@@ -13,8 +13,8 @@ produce a noisy warning.
 
 --- a/drivers/usb/host/xhci-pci.c
 +++ b/drivers/usb/host/xhci-pci.c
-@@ -193,7 +193,7 @@ static void xhci_pci_quirks(struct devic
-   }
+@@ -196,7 +196,7 @@ static void xhci_pci_quirks(struct devic
+   xhci->quirks |= XHCI_TRUST_TX_LENGTH;
if (pdev->vendor == PCI_VENDOR_ID_RENESAS &&
pdev->device == 0x0015)
 -  xhci->quirks |= XHCI_RESET_ON_RESUME;
diff --git a/target/linux/ar71xx/patches-4.9/910-unaligned_access_hacks.patch 
b/target/linux/ar71xx/patches-4.9/910-unaligned_access_hacks.patch
index 21ceca156f..92f0a67658