Re: [PATCH v7 07/24] IB/umem: use get_user_pages_fast() to pin DMA pages

2019-11-23 Thread John Hubbard
On 11/21/19 6:36 AM, Jason Gunthorpe wrote: > On Thu, Nov 21, 2019 at 12:07:46AM -0800, Christoph Hellwig wrote: >> On Wed, Nov 20, 2019 at 11:13:37PM -0800, John Hubbard wrote: >>> And get rid of the mmap_sem calls, as part of that. Note >>> that get_user_pages_fast() will, if necessary, fall

Re: [PATCH v2] powerpc: Add const qual to local_read() parameter

2019-11-23 Thread Stephen Rothwell
Hi Dave, On Wed, 20 Nov 2019 12:14:51 +1100 Michael Ellerman wrote: > > From: Eric Dumazet > > A patch in net-next triggered a compile error on powerpc: > > include/linux/u64_stats_sync.h: In function 'u64_stats_read': > include/asm-generic/local64.h:30:37: warning: passing argument 1 of

Re: [PATCH net 0/4] ibmvnic: Harden device commands and queries

2019-11-23 Thread Jakub Kicinski
On Fri, 22 Nov 2019 13:41:42 -0600, Thomas Falcon wrote: > This patch series fixes some shortcomings with the current > VNIC device command implementation. The first patch fixes > the initialization of driver completion structures used > for device commands. Additionally, all waits for device >

Re: [PATCH net 4/4] ibmvnic: Serialize device queries

2019-11-23 Thread Jakub Kicinski
On Fri, 22 Nov 2019 13:41:46 -0600, Thomas Falcon wrote: > @@ -5050,6 +5090,7 @@ static int ibmvnic_probe(struct vio_dev *dev, const > struct vio_device_id *id) > __ibmvnic_delayed_reset); > INIT_LIST_HEAD(>rwi_list); > spin_lock_init(>rwi_lock); > +

Re: [PATCH net 3/4] ibmvnic: Bound waits for device queries

2019-11-23 Thread Jakub Kicinski
On Fri, 22 Nov 2019 13:41:45 -0600, Thomas Falcon wrote: > +static int ibmvnic_wait_for_completion(struct ibmvnic_adapter *adapter, > +struct completion *comp_done, > +unsigned long timeout) > +{ > + struct net_device

[PATCH][v2] powerpc: Set right value of Speculation_Store_Bypass in /proc//status

2019-11-23 Thread Gustavo Walbon
The issue has showed the value of status of Speculation_Store_Bypass in the /proc//status as `unknown` for PowerPC systems. The patch fix the checking of the mitigation status of Speculation, and can be reported as "not vulnerable", "globally mitigated" or "vulnerable". Link:

Re: [PATCH v2] dma-mapping: treat dev->bus_dma_mask as a DMA limit

2019-11-23 Thread Nathan Chancellor
On Thu, Nov 21, 2019 at 10:26:44AM +0100, Nicolas Saenz Julienne wrote: > Using a mask to represent bus DMA constraints has a set of limitations. > The biggest one being it can only hold a power of two (minus one). The > DMA mapping code is already aware of this and treats dev->bus_dma_mask > as a

Re: Bug 205201 - Booting halts if Dawicontrol DC-2976 UW SCSI board installed, unless RAM size limited to 3500M

2019-11-23 Thread Christian Zigotzky
On 21 November 2019 at 07:02 pm, Christoph Hellwig wrote: On Thu, Nov 21, 2019 at 05:34:48PM +0100, Christian Zigotzky wrote: I modified the patch and compiled a new RC8 of kernel 5.4 today. (patch attached) We have to wait to Rolands test results with his SCSI PCI card. I tested it today but

[Bug 205201] Booting halts if Dawicontrol DC-2976 UW SCSI board installed, unless RAM size limited to 3500M

2019-11-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205201 --- Comment #16 from Christian Zigotzky (chzigot...@xenosoft.de) --- Created attachment 286031 --> https://bugzilla.kernel.org/attachment.cgi?id=286031=edit dmesg of Christoph's Git kernel Christoph Hellwig wrote: I think we have two sorta

Re: [PATCH v3 2/4] powerpc/fadump: reorganize /sys/kernel/fadump_* sysfs files

2019-11-23 Thread kbuild test robot
Hi Sourabh, Thank you for the patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on v5.4-rc8 next-20191122] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option