Re: [PATCH] net: unexport csum_and_copy_{from,to}_user

2022-04-23 Thread Geert Uytterhoeven
On Fri, Apr 22, 2022 at 11:14 PM Christoph Hellwig wrote: > csum_and_copy_from_user and csum_and_copy_to_user are exported by > a few architectures, but not actually used in modular code. Drop > the exports. > > Signed-off-by: Christoph Hellwig > arch/m68k/lib/checksum.c | 2 -- Ac

Re: [PATCH] net: unexport csum_and_copy_{from,to}_user

2022-04-23 Thread Arnd Bergmann
On Thu, Apr 21, 2022 at 9:04 AM Christoph Hellwig wrote: > > csum_and_copy_from_user and csum_and_copy_to_user are exported by > a few architectures, but not actually used in modular code. Drop > the exports. > > Signed-off-by: Christoph Hellwig Acked-by: Arnd Bergmann

Re: [PATCH] net: unexport csum_and_copy_{from,to}_user

2022-04-23 Thread Michael Ellerman
Christoph Hellwig writes: > csum_and_copy_from_user and csum_and_copy_to_user are exported by > a few architectures, but not actually used in modular code. Drop > the exports. > > Signed-off-by: Christoph Hellwig > --- > arch/alpha/lib/csum_partial_copy.c | 1 - > arch/m68k/lib/checksum.c

Re: [PATCH] powerpc/pci: Remove useless null check before call of_node_put()

2022-04-23 Thread Michael Ellerman
Tyrel Datwyler writes: > On 4/20/22 19:52, Haowen Bai wrote: >> No need to add null check before call of_node_put(), since the >> implementation of of_node_put() has done it. >> >> Signed-off-by: Haowen Bai >> --- >> arch/powerpc/kernel/pci_dn.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 d

Re: [PATCH v4 2/2] PCI/PM: Fix pci_pm_suspend_noirq() to disable PTM

2022-04-23 Thread Bjorn Helgaas
On Sat, Apr 23, 2022 at 12:43:14AM +, Jingar, Rajvi wrote: > > -Original Message- > > From: Bjorn Helgaas > > On Thu, Apr 14, 2022 at 07:54:02PM +0200, Rafael J. Wysocki wrote: > > > On 3/25/2022 8:50 PM, Rajvi Jingar wrote: > > > > For the PCIe devices (like nvme) that do not go into

[PATCH v6 00/17] archs/random: fallback to best raw ktime when no cycle counter

2022-04-23 Thread Jason A. Donenfeld
[Preface for v6: if you're an arch maintainer, a simple Acked-by would be appreciated if this looks okay.] Hi folks, The RNG uses a function called random_get_entropy() basically anytime that it needs to timestamp an event. For example, an interrupt comes in, and we mix a random_get_entropy() in

RE: [PATCH v4 2/2] PCI/PM: Fix pci_pm_suspend_noirq() to disable PTM

2022-04-23 Thread Jingar, Rajvi
> -Original Message- > From: Bjorn Helgaas > Sent: Friday, April 22, 2022 3:25 PM > To: Jingar, Rajvi > Cc: bhelg...@google.com; david.e@linux.intel.com; linux- > p...@vger.kernel.org; linux-ker...@vger.kernel.org; linux...@vger.kernel.org; > Wysocki, Rafael J ; Kai-Heng Feng > ; mi