Re: [PATCH v5 02/19] dt-bindings: usb: Convert generic USB properties to DT schemas

2020-12-06 Thread Chunfeng Yun
On Sat, 2020-12-05 at 18:24 +0300, Serge Semin wrote: > The generic USB properties have been described in the legacy bindings > text file: Documentation/devicetree/bindings/usb/generic.txt . Let's > convert its content into the generic USB, USB HCD and USB DRD DT > schemas. So the Generic USB

Re: [PATCH] MAINTAINERS: Update 68k Mac entry

2020-12-06 Thread Geert Uytterhoeven
Hi Finn, On Sat, Dec 5, 2020 at 4:49 AM Finn Thain wrote: > Two files under drivers/macintosh are actually m68k-only. I think that > patches for these files should be reviewed in the appropriate forum and > merged via the appropriate tree, rather than falling to the powerpc > maintainers to deal

[powerpc:next-test 42/193] arch/powerpc/platforms/44x/ppc476.c:241:34: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-12-06 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next-test head: 8817aabb1bdd5811130f94ff6442bb19c9158a3a commit: 894fa235eb4ca0bfa692dbe4932c2f940cdc8c1e [42/193] powerpc: inline iomap accessors config: powerpc64-randconfig-s032-20201207 (attached as .config)

[PATCH] EDAC/mv64x60: Remove orphan mv64x60 driver

2020-12-06 Thread Michael Ellerman
The mv64x60 EDAC driver depends on CONFIG_MV64X60. But that symbol is not user-selectable, and the last code that selected it was removed with the C2K board support in 2018, see: 92c8c16f3457 ("powerpc/embedded6xx: Remove C2K board support") That means the driver is now dead code, so remove

Re: [PATCH v6 1/5] PCI: Unify ECAM constants in native PCI Express drivers

2020-12-06 Thread Florian Fainelli
+JimQ, On 12/6/2020 12:16 PM, Krzysztof Wilczyński wrote: > Hello Nicolas, Florian and Florian, > > [...] >> -/* Configuration space read/write support */ >> -static inline int brcm_pcie_cfg_index(int busnr, int devfn, int reg) >> -{ >> -return ((PCI_SLOT(devfn) & 0x1f) <<

[PATCH 2/2] powerpc/powernv/idle: Restore CIABR after idle for Power9

2020-12-06 Thread Jordan Niethe
On Power9, CIABR is lost after idle. This means that instruction breakpoints set by xmon which use CIABR do not work. Fix this by restoring CIABR after idle. Signed-off-by: Jordan Niethe --- arch/powerpc/platforms/powernv/idle.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 1/2] powerpc/book3s64/kexec: Clear CIABR on kexec

2020-12-06 Thread Jordan Niethe
The value in CIABR persists across kexec which can lead to unintended results when the new kernel hits the old kernel's breakpoint. For example: 0:mon> bi $loadavg_proc_show 0:mon> b typeaddress 1 inst c0519060 loadavg_proc_show+0x0/0x130 0:mon> x $ kexec -l

Re: [PATCH] powerpc/mm: Fix KUAP warning by providing copy_from_kernel_nofault_allowed()

2020-12-06 Thread Michael Ellerman
Christophe Leroy writes: > Since commit c33165253492 ("powerpc: use non-set_fs based maccess > routines"), userspace access is not granted anymore when using > copy_from_kernel_nofault() > > However, kthread_probe_data() uses copy_from_kernel_nofault() > to check validity of pointers. When the

Re: [PATCH] powerpc/book3s_hv_uvmem: Check for failed page migration

2020-12-06 Thread Alistair Popple
On Saturday, 5 December 2020 3:52:44 AM AEDT Ram Pai wrote: > On Fri, Dec 04, 2020 at 03:48:41PM +0530, Bharata B Rao wrote: > > On Thu, Dec 03, 2020 at 04:08:12PM +1100, Alistair Popple wrote: > This patch certainly looks like the problem, that has been hurting > us for a while. Let me run this

Re: [PATCH] powerpc/book3s_hv_uvmem: Check for failed page migration

2020-12-06 Thread Alistair Popple
On Friday, 4 December 2020 9:18:41 PM AEDT Bharata B Rao wrote: > > Reviewed-by: Bharata B Rao > > Did you actually hit this scenario with secure VMs where a UV-paged-in > page was later found to be not migratable? No, this was found by inspection. I have no way of testing this but we had a

RE: [PATCH v5 09/19] dt-bindings: usb: renesas-xhci: Refer to the usb-xhci.yaml file

2020-12-06 Thread Prabhakar Mahadev Lad
Hi Serge, Thank you for the patch. > -Original Message- > From: Serge Semin > Sent: 05 December 2020 15:24 > To: Mathias Nyman ; Felipe Balbi ; > Krzysztof Kozlowski > ; Greg Kroah-Hartman ; Rob > Herring ; > Chunfeng Yun ; Prabhakar Mahadev Lad > lad...@bp.renesas.com>; Yoshihiro

Re: [PATCH v6 1/5] PCI: Unify ECAM constants in native PCI Express drivers

2020-12-06 Thread Krzysztof Wilczyński
Hello Nicolas, Florian and Florian, [...] > -/* Configuration space read/write support */ > -static inline int brcm_pcie_cfg_index(int busnr, int devfn, int reg) > -{ > - return ((PCI_SLOT(devfn) & 0x1f) << PCIE_EXT_SLOT_SHIFT) > - | ((PCI_FUNC(devfn) & 0x07) <<

RE: [PATCH v5 19/19] dt-bindings: usb: intel,keembay-dwc3: Validate DWC3 sub-node

2020-12-06 Thread Wan Mohamad, Wan Ahmad Zainie
Hi Serge. > -Original Message- > From: Serge Semin > Sent: Saturday, December 5, 2020 11:24 PM > To: Nyman, Mathias ; Felipe Balbi > ; Krzysztof Kozlowski ; Greg Kroah- > Hartman ; Rob Herring > ; Chunfeng Yun ; > Wan Mohamad, Wan Ahmad Zainie > > Cc: Serge Semin ; Serge Semin > ;

Re: [PATCH v5 19/19] dt-bindings: usb: intel,keembay-dwc3: Validate DWC3 sub-node

2020-12-06 Thread Serge Semin
Hi Wan, On Sun, Dec 06, 2020 at 09:56:47AM +, Wan Mohamad, Wan Ahmad Zainie wrote: > Hi Serge. > > > -Original Message- > > From: Serge Semin > > Sent: Saturday, December 5, 2020 11:24 PM > > To: Nyman, Mathias ; Felipe Balbi > > ; Krzysztof Kozlowski ; Greg Kroah- > > Hartman ; Rob

Patch "powerpc: Stop exporting __clear_user which is now inlined." has been added to the 4.4-stable tree

2020-12-06 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc: Stop exporting __clear_user which is now inlined. to the 4.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

Re: [PATCH] powerpc: Stop exporting __clear_user which is now inlined.

2020-12-06 Thread Greg KH
On Sat, Dec 05, 2020 at 09:58:23PM +1100, Michael Ellerman wrote: > Michal Suchanek writes: > > Stable commit 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP > > enabled") redefines __clear_user as inline function but does not remove > > the export. > > > > Fixes: 452e2a83ea23 ("powerpc: Fix