Re: [linux-yocto] [yocto-kernel-cache][PATCH] features/usb/usb-typec: fix dependencies

2017-09-19 Thread Bruce Ashfield
On 2017-09-19 6:03 PM, California Sullivan wrote: Adds dependencies that were missing. In some BSPs, they were satisfied, in others they weren't and caused warnings. merged. Bruce Signed-off-by: California Sullivan --- For yocto-4.9 and newer. features/usb/usb-typec.cfg | 3 +++ feature

[linux-yocto] [yocto-kernel-cache][PATCH] features/usb/usb-typec: fix dependencies

2017-09-19 Thread California Sullivan
Adds dependencies that were missing. In some BSPs, they were satisfied, in others they weren't and caused warnings. Signed-off-by: California Sullivan --- For yocto-4.9 and newer. features/usb/usb-typec.cfg | 3 +++ features/usb/usb-typec.scc | 2 ++ 2 files changed, 5 insertions(+) diff --git

[linux-yocto] In Pyro, using systemd, udev-extraconf doesn't auto mount usb devices.

2017-09-19 Thread Paul Knopf
Using systemd, udev does mount the devices, but it does it in a private /proc/$PID/root/ folder, not /run/media. Setting systemd-udevd.service to have MountFlags=shared works. Currently, it is set to "slave". There is a mention about this issue, and that there needs to be a bug created. However,

Re: [linux-yocto] [PATCH 0/8] update pnd2 edac feature to support DNV well

2017-09-19 Thread Bruce Ashfield
On 09/19/2017 03:22 AM, Liwei Song wrote: Hi Bruce, These patches is for yocto kernel 4.12, all from upstream, Thanks! merged. Bruce It is use to update pnd2 EDAC feature, with these patches, EDAC can work well when enable "Relax Security Configuration" in BIOS on Denverton-NS SoC. Coli

[linux-yocto] [PATCH 8/8] i2c: i801: Restore the presence state of P2SB PCI device after reading BAR

2017-09-19 Thread Liwei Song
From: Qiuxu Zhuo commit bfd4473b850c8cfaa1cdf56b8ef52fae4e8a6ee5 upstream. Sun, Yunying reported the following failure on Denverton micro-server: EDAC DEBUG: pnd2_init: EDAC DEBUG: pnd2_probe: EDAC DEBUG: dnv_rd_reg: Read b_cr_tolud_pci=_8000 EDAC DEBUG: dnv_rd_reg: Read b_cr_to

[linux-yocto] [PATCH 7/8] EDAC, pnd2: Properly toggle hidden state for P2SB PCI device

2017-09-19 Thread Liwei Song
From: Qiuxu Zhuo commit bc8f10babcc27c1f4d8e80d91cc543eabf9125c4 upstream. Properly handle hidden state of P2SB PCI device (DEV:D, FUN:0) for Apollo Lake. Signed-off-by: Qiuxu Zhuo Cc: Tony Luck Cc: linux-edac Link: http://lkml.kernel.org/r/20170814154905.21707-1-qiuxu.z...@intel.com Signed-

[linux-yocto] [PATCH 6/8] EDAC, pnd2: Conditionally unhide/hide the P2SB PCI device to read BAR

2017-09-19 Thread Liwei Song
From: Qiuxu Zhuo commit 5fd77cb3bac77f690d1d9cf57dc7851fcb3e7945 upstream. On Deverton server, the P2SB PCI device (DEV:1F, FUN:1) is used by multiple device drivers. If it's hidden by some device driver (e.g. with the i801 I2C driver, the commit 9424693035a5 ("i2c: i801: Create iTCO device

[linux-yocto] [PATCH 0/8] update pnd2 edac feature to support DNV well

2017-09-19 Thread Liwei Song
Hi Bruce, These patches is for yocto kernel 4.12, all from upstream, It is use to update pnd2 EDAC feature, with these patches, EDAC can work well when enable "Relax Security Configuration" in BIOS on Denverton-NS SoC. Colin Ian King (1): EDAC, pnd2: Make function sbi_send() static Gustavo A.

[linux-yocto] [PATCH 5/8] EDAC, pnd2: Mask off the lower four bits of a BAR

2017-09-19 Thread Liwei Song
From: Qiuxu Zhuo commit d84676a9e12817c8435e836911800bdcc67928a0 upstream. Bit[0] of BAR is always zero. Bit[2:1] and bit[3] of BAR contain the information of 'type' and the 'prefetchable' accordingly. Therefore, mask the lower four bits to retrieve the actual base address of a BAR. Signed-off-

[linux-yocto] [PATCH 3/8] EDAC, pnd2: Fix Apollo Lake DIMM detection

2017-09-19 Thread Liwei Song
From: Tony Luck commit 164c29244d4beb9a105102c42821f4925e4a0c7a upstream. Non-existent or empty DIMM slots result in error return from RD_REGP(). But we shouldn't give up on failure. So long as we find at least one DIMM we can continue. Signed-off-by: Tony Luck Cc: Qiuxu Zhuo Cc: linux-edac

[linux-yocto] [PATCH 4/8] EDAC, pnd2: Build in a minimal sideband driver for Apollo Lake

2017-09-19 Thread Liwei Song
From: Tony Luck commit 3e5d2bd19138d6683f69de26a34d7eb9ab3823ed upstream. I've been waing a long time for the generic sideband driver to appear. Patience has run out, so include the minimum here to just read registers. Signed-off-by: Tony Luck Cc: Aristeu Rozanski Cc: Mauro Carvalho Chehab C

[linux-yocto] [PATCH 2/8] EDAC, pnd2: Make function sbi_send() static

2017-09-19 Thread Liwei Song
From: Colin Ian King commit 77641dacead2cbfe22d10f4e7c07867d86900057 upstream. The function sbi_send() is local to just pnd2_edac.c and does not need to be in global scope, so make it static. Signed-off-by: Colin Ian King Cc: Tony Luck Cc: linux-edac Link: http://lkml.kernel.org/r/2017062308

[linux-yocto] [PATCH 1/8] EDAC, pnd2: Return proper error value from apl_rd_reg()

2017-09-19 Thread Liwei Song
From: "Gustavo A. R. Silva" commit ee514c7a2379385fcec363f2f5f8db4eb56bc48c upstream. Add code comment to make it clear that the fall-through is intentional and, OR ret with its previous value to avoid overwriting it so that callers can check the correct return value. Signed-off-by: Gustavo A.