Re: [PATCH v3 3/6] blktrace: move blktrace debugfs creation to helper function

2020-05-01 Thread Bart Van Assche
On 2020-04-29 00:46, Luis Chamberlain wrote: > +static struct dentry *blk_trace_debugfs_dir(struct blk_user_trace_setup > *buts, > + struct blk_trace *bt) > +{ > + struct dentry *dir = NULL; > + > + dir = debugfs_lookup(buts->name,

[RESEND PATCH v2 0/2] drivers: clk: zynqmp: Update fraction clock check from custom type flags

2020-05-01 Thread Amit Sunil Dhamne
This patch series adds support for custom type flags passed from firmware. It also update fraction clock check from custom type flags since new firmware pass CLK_FRAC flag as a part of custom flags instead of clkflags as CLK_FRAC is not common clock framework flag. This patch series maintains

[RESEND PATCH v2 1/2] drivers: clk: zynqmp: Add support for custom type flags

2020-05-01 Thread Amit Sunil Dhamne
From: Rajan Vaja Store extra custom type flags received from firmware. Signed-off-by: Rajan Vaja Signed-off-by: Tejas Patel Signed-off-by: Jolly Shah Signed-off-by: Amit Sunil Dhamne --- drivers/clk/zynqmp/clk-zynqmp.h | 1 + drivers/clk/zynqmp/clkc.c | 4 2 files changed, 5

Re: [PATCH v3 1/6] block: revert back to synchronous request_queue removal

2020-05-01 Thread Bart Van Assche
On 2020-04-29 00:46, Luis Chamberlain wrote: > The last reference for the request_queue must not be called from atomic > conext. *When* the last reference to the request_queue reaches 0 varies, ^^ context? > and so let's take the opportunity to document when that is expected to > happen

[PATCH v13] perf: Sharing PMU counters across compatible events

2020-05-01 Thread Song Liu
This patch tries to enable PMU sharing. When multiple perf_events are counting the same metric, they can share the hardware PMU counter. We call these events as "compatible events". The PMU sharing are limited to events within the same perf_event_context (ctx). When a event is installed or

linux-next: Fixes tags needs some work in the net tree

2020-05-01 Thread Stephen Rothwell
Hi all, In commit 6c599044b0c1 ("net: phy: DP83TC811: Fix WoL in config init to be disabled") Fixes tag Fixes: 6d749428788b ("net: phy: DP83TC811: Introduce support for the has these problem(s): - Target SHA1 does not exist Maybe you meant Fixes: b753a9faaf9a ("net: phy: DP83TC811:

Re: [PATCH] checkpatch: add NL_SET_ERR_MSG to 80 column exceptions

2020-05-01 Thread Jacob Keller
On 5/1/2020 4:42 PM, Joe Perches wrote: > On Fri, 2020-05-01 at 16:11 -0700, Jacob Keller wrote: >> NL_SET_ERR_MSG and NL_SET_ERR_MSG_MOD are used to report extended error >> responses about failure of a netlink command. These strings often end up >> going over the 80-column limit. Just like

Re: [PATCH 14/14] docs: staging: use small font for literal includes

2020-05-01 Thread Joe Perches
On Fri, 2020-05-01 at 17:37 +0200, Mauro Carvalho Chehab wrote: > The normal font is too big to display 80 columns, causing extra > breaks to be added at weird places. > > change to the footnotesize, as this would fit a little bit > better. [] > diff --git a/Documentation/staging/index.rst

Re: [PATCH 2/2] x86, sched: Bail out of frequency invariance if turbo frequency is unknown

2020-05-01 Thread Ricardo Neri
On Fri, May 01, 2020 at 03:04:27PM +0200, Peter Zijlstra wrote: > On Tue, Apr 28, 2020 at 03:24:50PM +0200, Giovanni Gherdovich wrote: > > There may be CPUs that support turbo boost but don't declare any turbo > > ratio, i.e. their MSR_TURBO_RATIO_LIMIT is all zeroes. In that condition > >

Re: [PATCH 2/2] x86, sched: Bail out of frequency invariance if turbo frequency is unknown

2020-05-01 Thread Ricardo Neri
On Tue, Apr 28, 2020 at 03:24:50PM +0200, Giovanni Gherdovich wrote: > There may be CPUs that support turbo boost but don't declare any turbo > ratio, i.e. their MSR_TURBO_RATIO_LIMIT is all zeroes. In that condition > scale-invariant calculations can't be performed. > > Signed-off-by: Giovanni

Re: [PATCH] clk: meson: meson8b: Don't rely on u-boot to init all GP_PLL registers

2020-05-01 Thread Jerome Brunet
On Fri 01 May 2020 at 23:57, Martin Blumenstingl wrote: > Not all u-boot versions initialize the HHI_GP_PLL_CNTL[2-5] registers. > In that case all HHI_GPLL_PLL_CNTL[1-5] registers are 0x0 and when > booting Linux the PLL fails to lock. > The initialization sequence from u-boot is: > - put

GREETINGS MY DEAR,

2020-05-01 Thread Hannah Wilson
Hello My Dear. Please do not feel disturbed for contacting  you in this regards, It was based on the critical health condition I find mine self.  My names are Mrs. Hannah Wilson David, a widow and I’m suffering from brain tumor disease and this illness has gotten to a very bad stage, I married

Re: [PATCH v4] eventfd: convert to f_op->read_iter()

2020-05-01 Thread Jens Axboe
On 5/1/20 5:12 PM, Al Viro wrote: > On Fri, May 01, 2020 at 01:11:09PM -0600, Jens Axboe wrote: >> +flags &= EFD_SHARED_FCNTL_FLAGS; >> +flags |= O_RDWR; >> +fd = get_unused_fd_flags(flags); >> if (fd < 0) >> -eventfd_free_ctx(ctx); >> +goto err; >> + >> +

[PATCH v2 03/18] ARM: dts: s5pv210: Add sleep GPIO configuration for galaxys

2020-05-01 Thread Jonathan Bakker
In order to minimize leakage current during sleep, set a config for sleep GPIOs. Signed-off-by: Jonathan Bakker --- Changes from v1 - Note where sleep GPIOs came from --- arch/arm/boot/dts/s5pv210-galaxys.dts | 241 ++ 1 file changed, 241 insertions(+) diff --git

[PATCH v2 11/18] ARM: dts: s5pv210: Add si470x fmradio to galaxys

2020-05-01 Thread Jonathan Bakker
From: Paweł Chmiel Add support for the Silicon Labs si4709 fmradio, which can be found on Galaxy S GT-i9000 (but not most other aries variants). Signed-off-by: Paweł Chmiel Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210-aries.dtsi | 2 +- arch/arm/boot/dts/s5pv210-galaxys.dts

[PATCH v2 06/18] ARM: dts: s5pv210: Add WM8994 support to aries boards

2020-05-01 Thread Jonathan Bakker
Aries boards have a Wolfson WM8994 sound card attached over gpio-i2c. There is currently no ASoC Machine Driver. Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210-aries.dtsi | 65 ++- arch/arm/boot/dts/s5pv210-fascinate4g.dts | 6 +++ 2 files changed, 69

[PATCH v2 14/18] ARM: dts: s5pv210: Enable ADC on aries boards

2020-05-01 Thread Jonathan Bakker
On aries boards, the ADC is used for things such as jack detection and battery temperature monitoring. It is connected to ldo4 of max8998, so only enable that regulator when we are actually using the ADC. Signed-off-by: Jonathan Bakker --- Changes from v1 - Replace removed

[PATCH v2 05/18] ARM: dts: s5pv210: Disable pulls on GPIO i2c adapters for aries

2020-05-01 Thread Jonathan Bakker
The bitbanged GPIO i2c adapters have external pull-ups attached so the internal pulls should be disabled for lower power usage. Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210-aries.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git

[PATCH v2 13/18] ARM: dts: s5pv210: Add an ADC node

2020-05-01 Thread Jonathan Bakker
The exynos-adc driver now supports the S5PV210, so add the DT node so that devices can use it. Signed-off-by: Jonathan Bakker --- Changes from v1 - Adjust node name to match reg address --- arch/arm/boot/dts/s5pv210.dtsi | 12 1 file changed, 12 insertions(+) diff --git

[PATCH v2 12/18] ARM: dts: s5pv210: Disable pull for vibrator ena GPIO on aries

2020-05-01 Thread Jonathan Bakker
The enable GPIO for the fixed vibrator regulator shouldn't be pulled in one direction or the other. Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210-aries.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi

[PATCH v2 09/18] ARM: dts: s5pv210: Add panel support to aries boards

2020-05-01 Thread Jonathan Bakker
Aries boards have an s6e63m0 AMOLED panel connected over i2c-spi. Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210-aries.dtsi | 68 +--- 1 file changed, 52 insertions(+), 16 deletions(-) diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi

[PATCH v2 15/18] ARM: dts: s5pv210: Assign clocks to MMC devices on aries

2020-05-01 Thread Jonathan Bakker
The SHDCI controller on aries devices is a little bit peculiar about the clocks and with a slightly off clock can run into errors such as [ 141.533993] mmc2: ADMA error: 0x0200 [ 141.535137] mmc2: sdhci: SDHCI REGISTER DUMP === [ 141.540246] mmc2: sdhci: Sys addr:

[PATCH v2 18/18] ARM: dts: s5pv210: Correct gpi gpio node name

2020-05-01 Thread Jonathan Bakker
The node name was gpgi, but the pinctrl driver was registering the pins as just gpi and the "samsung,pins" i2s0 pinctrl entries refer to gpi. The public s5pc110 datasheet also refers to these pins as just gpi, so let's make sure everything is in sync and rename the node to gpi. Signed-off-by:

[PATCH v2 16/18] ARM: dts: s5pv210: Correct FIMC definitions

2020-05-01 Thread Jonathan Bakker
The extended mainscaler is only available on FIMC1 and there are minimum pixel alignments that differ from the default. Additionally, the cam-if interface is available on all three while FIMC2 has no rotators. The lcd-wb interface is supported on FIMC1. Signed-off-by: Jonathan Bakker ---

[PATCH v2 04/18] ARM: dts: s5pv210: Set keep-power-in-suspend for SDHCI1 on aries

2020-05-01 Thread Jonathan Bakker
SDHCI1 is connected to a BCM4329 WiFi/BT chip which requires power to be kept over suspend. As the surrounding hardware supports this, mark it as such. This fixes wifi after a suspend/resume cycle. Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210-aries.dtsi | 1 + 1 file changed,

[PATCH v2 17/18] ARM: dts: s5pv210: Set MAX8998 GPIO pulls on aries

2020-05-01 Thread Jonathan Bakker
Make sure that the GPIOs are configured correctly for the interrupt (otherwise it won't fire) and disable the pulls on the DVS GPIOs which are outputs. Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210-aries.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git

[PATCH v2 08/18] ARM: dts: s5pv210: Add touchkey support to aries boards

2020-05-01 Thread Jonathan Bakker
Aries boards have soft touchkeys, manufactured by Cypress, attached over i2c-gpio. Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210-aries.dtsi | 58 1 file changed, 58 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi

[PATCH v2 07/18] ARM: dts: s5pv210: Add FSA9480 support to Aries boards

2020-05-01 Thread Jonathan Bakker
The Fairchild FSA9480 is a USB mux connected over i2c-gpio. Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210-aries.dtsi | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi b/arch/arm/boot/dts/s5pv210-aries.dtsi

[PATCH v2 10/18] ARM: dts: s5pv210: Add remaining i2c-gpio adapters to aries

2020-05-01 Thread Jonathan Bakker
The remaining i2c-gpio adapters that are common to all aries boards have devices without mainline bindings attachted to them. Add them here for documentation. Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210-aries.dtsi | 69 1 file changed, 69

[PATCH v2 02/18] ARM: dts: s5pv210: Add sleep GPIO configuration for fascinate4g

2020-05-01 Thread Jonathan Bakker
In order to minimize leakage current during sleep, set a config for sleep GPIOs. Signed-off-by: Jonathan Bakker --- Changes from v1 - Note where sleep GPIOs came from --- arch/arm/boot/dts/s5pv210-fascinate4g.dts | 243 ++ 1 file changed, 243 insertions(+) diff --git

[PATCH v2 01/18] ARM: dts: s5pv210: Add helper define for sleep gpio config

2020-05-01 Thread Jonathan Bakker
To simplify writing of sleep gpio configs, add a common helper similar to what is present for other Samsung CPUs. Signed-off-by: Jonathan Bakker --- arch/arm/boot/dts/s5pv210-pinctrl.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210-pinctrl.dtsi

Re: AMD / Memory Protection Keys

2020-05-01 Thread Suravee Suthikulpanit
Dave, On 4/30/20 2:18 AM, Dave Hansen wrote: The docs for AMD's implementation of protection keys showed up[1]. Welcome to the party! It all looks fine, except for this nugget: The MPK mechanism is ignored in the following cases: ... for pages marked in the paging structures

Re: [PATCH 1/3] vfio/type1: Support faulting PFNMAP vmas

2020-05-01 Thread Jason Gunthorpe
On Fri, May 01, 2020 at 03:39:08PM -0600, Alex Williamson wrote: > With conversion to follow_pfn(), DMA mapping a PFNMAP range depends on > the range being faulted into the vma. Add support to manually provide > that, in the same way as done on KVM with hva_to_pfn_remapped(). > > Signed-off-by:

[PATCH v2 00/18] S5PV210 and Aries DTS improvements

2020-05-01 Thread Jonathan Bakker
This patchset makes several improvements to Aries devices which are based on S5PV210. Several pulls on GPIOs were incorrect/not specified, sleep GPIO configurations have been added, and more devices have been added. Touching the common S5PV210 DTSI are the addition of the ADC node as well as

Re: [PATCH 1/1] selftests/bpf: add cls_redirect classifier

2020-05-01 Thread Daniel Borkmann
On 4/27/20 11:45 AM, Lorenz Bauer wrote: On Sun, 26 Apr 2020 at 18:33, Alexei Starovoitov wrote: [...] +/* Linux packet pointers are either aligned to NET_IP_ALIGN (aka 2 bytes), + * or not aligned if the arch supports efficient unaligned access. + * + * Since the verifier ensures that eBPF

Re: [PATCH 3/3] vfio-pci: Invalidate mmaps and block MMIO access on disabled memory

2020-05-01 Thread Jason Gunthorpe
On Fri, May 01, 2020 at 03:39:30PM -0600, Alex Williamson wrote: > static int vfio_pci_add_vma(struct vfio_pci_device *vdev, > struct vm_area_struct *vma) > { > @@ -1346,15 +1450,49 @@ static vm_fault_t vfio_pci_mmap_fault(struct vm_fault > *vmf) > { > struct

[RESEND PATCH v2 0/2] drivers: clk: zynqmp: Update fraction clock check from custom type flags

2020-05-01 Thread Amit Sunil Dhamne
This patch series adds support for custom type flags passed from firmware. It also update fraction clock check from custom type flags since new firmware pass CLK_FRAC flag as a part of custom flags instead of clkflags as CLK_FRAC is not common clock framework flag. This patch series maintains

[RESEND PATCH v2 2/2] drivers: clk: zynqmp: Update fraction clock check from custom type flags

2020-05-01 Thread Amit Sunil Dhamne
From: Tejas Patel Older firmware version sets BIT(13) in clkflag to mark a divider as fractional divider. Updated firmware version sets BIT(4) in type flags to mark a divider as fractional divider since BIT(13) is defined as CLK_DUTY_CYCLE_PARENT in the common clk framework flags. To support

[RESEND PATCH v2 1/2] drivers: clk: zynqmp: Add support for custom type flags

2020-05-01 Thread Amit Sunil Dhamne
From: Rajan Vaja Store extra custom type flags received from firmware. Signed-off-by: Rajan Vaja Signed-off-by: Tejas Patel Signed-off-by: Jolly Shah Signed-off-by: Amit Sunil Dhamne --- drivers/clk/zynqmp/clk-zynqmp.h | 1 + drivers/clk/zynqmp/clkc.c | 4 2 files changed, 5

Re: [PATCH] checkpatch: add NL_SET_ERR_MSG to 80 column exceptions

2020-05-01 Thread Joe Perches
On Fri, 2020-05-01 at 16:11 -0700, Jacob Keller wrote: > NL_SET_ERR_MSG and NL_SET_ERR_MSG_MOD are used to report extended error > responses about failure of a netlink command. These strings often end up > going over the 80-column limit. Just like logging messages, it is > preferred to leave the

Re: [PATCH v4 01/18] notifier: Fix broken error handling pattern

2020-05-01 Thread Steven Rostedt
On Fri, 01 May 2020 22:28:50 +0200 Peter Zijlstra wrote: > The current notifiers have the following error handling pattern all > over the place: > > int err, nr; > > err = __foo_notifier_call_chain(, val_up, v, -1, ); > if (err & NOTIFIER_STOP_MASK) >

Re: [PATCH 2/3] vfio-pci: Fault mmaps to enable vma tracking

2020-05-01 Thread Jason Gunthorpe
On Fri, May 01, 2020 at 03:39:19PM -0600, Alex Williamson wrote: > Rather than calling remap_pfn_range() when a region is mmap'd, setup > a vm_ops handler to support dynamic faulting of the range on access. > This allows us to manage a list of vmas actively mapping the area that > we can later use

Re: [PATCH v3] mm: Add kvfree_sensitive() for freeing sensitive data objects

2020-05-01 Thread Eric Biggers
On Tue, Apr 07, 2020 at 04:03:18PM -0400, Waiman Long wrote: > For kvmalloc'ed data object that contains sensitive information like > cryptographic key, we need to make sure that the buffer is always > cleared before freeing it. Using memset() alone for buffer clearing may > not provide certainty

Re: [PATCH] mm: slub: add panic_on_error to the debug facilities

2020-05-01 Thread Qian Cai
> On May 1, 2020, at 5:54 PM, Rafael Aquini wrote: > > It seems like a good idea which also would required "adding things" > elsewhere, but doesn't look mutually exclusive with the approach here. Also, what’s so special about these bad pages here that deserve a crash dump, but not other

Re: [PATCH v4] eventfd: convert to f_op->read_iter()

2020-05-01 Thread Al Viro
On Fri, May 01, 2020 at 01:11:09PM -0600, Jens Axboe wrote: > + flags &= EFD_SHARED_FCNTL_FLAGS; > + flags |= O_RDWR; > + fd = get_unused_fd_flags(flags); > if (fd < 0) > - eventfd_free_ctx(ctx); > + goto err; > + > + file =

[PATCH] checkpatch: add NL_SET_ERR_MSG to 80 column exceptions

2020-05-01 Thread Jacob Keller
NL_SET_ERR_MSG and NL_SET_ERR_MSG_MOD are used to report extended error responses about failure of a netlink command. These strings often end up going over the 80-column limit. Just like logging messages, it is preferred to leave the message all on a single line. Add these to the exception list

Re: [v5,net-next 0/4] Introduce a flow gate control action and apply IEEE

2020-05-01 Thread David Miller
From: Po Liu Date: Fri, 1 May 2020 08:53:14 +0800 ... > These patches add stream gate action policing in IEEE802.1Qci (Per-Stream > Filtering and Policing) software support and hardware offload support in > tc flower, and implement the stream identify, stream filtering and > stream gate

Re: [PATCH 22/24] rcu/tiny: support reclaim for head-less object

2020-05-01 Thread Paul E. McKenney
On Tue, Apr 28, 2020 at 10:59:01PM +0200, Uladzislau Rezki (Sony) wrote: > Make a kvfree_call_rcu() function to support head-less > freeing. Same as for tree-RCU, for such purpose we store > pointers in array. SLAB and vmalloc ptrs. are mixed and > coexist together. > > Under high memory pressure

Re: [PATCH 21/24] rcu/tiny: move kvfree_call_rcu() out of header

2020-05-01 Thread Paul E. McKenney
On Tue, Apr 28, 2020 at 10:59:00PM +0200, Uladzislau Rezki (Sony) wrote: > Move inlined kvfree_call_rcu() function out of the > header file. This step is a preparation for head-less > support. > > Reviewed-by: Joel Fernandes (Google) > Signed-off-by: Uladzislau Rezki (Sony) > --- >

Re: [PATCH 20/24] rcu/tree: Make kvfree_rcu() tolerate any alignment

2020-05-01 Thread Paul E. McKenney
On Tue, Apr 28, 2020 at 10:58:59PM +0200, Uladzislau Rezki (Sony) wrote: > From: "Joel Fernandes (Google)" > > Handle cases where the the object being kvfree_rcu()'d is not aligned by > 2-byte boundaries. > > Signed-off-by: Uladzislau Rezki (Sony) > Signed-off-by: Joel Fernandes (Google) >

Re: [PATCH] mm: Limit boost_watermark on small zones.

2020-05-01 Thread Andrew Morton
On Thu, 30 Apr 2020 17:49:08 -0700 Henry Willard wrote: > Commit 1c30844d2dfe ("mm: reclaim small amounts of memory when an external > fragmentation event occurs") adds a boost_watermark() function which > increases the min watermark in a zone by at least pageblock_nr_pages or > the number of

Re: [PATCH net-next] net: bcmgenet: Move wake-up event out of side band ISR

2020-05-01 Thread David Miller
From: Doug Berger Date: Thu, 30 Apr 2020 16:26:51 -0700 > The side band interrupt service routine is not available on chips > like 7211, or rather, it does not permit the signaling of wake-up > events due to the complex interrupt hierarchy. > > Move the wake-up event accounting into a

Re: [PATCH net-next 0/2] net: ipa: don't cache channel state

2020-05-01 Thread David Miller
From: Alex Elder Date: Thu, 30 Apr 2020 17:13:21 -0500 > This series removes a field that holds a copy of a channel's state > at the time it was last fetched. In principle the state can change > at any time, so it's better to just fetch it whenever needed. The > first patch is just

Re: [PATCH v4 1/7] KVM: VMX: Introduce generic fastpath handler

2020-05-01 Thread Wanpeng Li
On Fri, 1 May 2020 at 22:12, Sean Christopherson wrote: > > On Thu, Apr 30, 2020 at 03:28:46PM +0200, Vitaly Kuznetsov wrote: > > Wanpeng Li writes: > > > > > From: Wanpeng Li > > > > > > Introduce generic fastpath handler to handle MSR fastpath, VMX-preemption > > > timer fastpath etc, move it

[GIT PULL] io_uring fixes for 5.7-rc4

2020-05-01 Thread Jens Axboe
Hi Linus, - Fix for statx not grabbing the file table, making AT_EMPTY_PATH fail - Cover a few cases where async poll can handle retry, eliminating the need for an async thread - fallback request busy/free fix (Bijan) - syzbot reported SQPOLL thread exit fix for non-preempt (Xiaoguang) -

Re: [PATCH 3/3] mm/swapfile.c: count won't be bigger than SWAP_MAP_MAX

2020-05-01 Thread Andrew Morton
On Fri, 1 May 2020 01:52:59 + Wei Yang wrote: > When the condition is true, there are two possibilities: I'm struggling with this one. >1. count == SWAP_MAP_BAD >2. count == (SWAP_MAP_MAX & COUNT_CONTINUED) == SWAP_MAP_SHMEM I'm not sure what 2. is trying to say. For a start,

Re: [PATCH 4.9 00/80] 4.9.221-rc1 review

2020-05-01 Thread Naresh Kamboju
On Fri, 1 May 2020 at 18:58, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.221 release. > There are 80 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [RFC PATCH V2 0/9] Introduce attach/clear_page_private to cleanup code

2020-05-01 Thread Guoqing Jiang
On 5/2/20 12:16 AM, Matthew Wilcox wrote: On Thu, Apr 30, 2020 at 11:44:41PM +0200, Guoqing Jiang wrote: include/linux/pagemap.h: introduce attach/clear_page_private md: remove __clear_page_buffers and use attach/clear_page_private btrfs: use attach/clear_page_private fs/buffer.c:

[PATCH v2 2/2] PCI: Check for platform_get_irq() failure consistently

2020-05-01 Thread Bjorn Helgaas
From: Aman Sharma The platform_get_irq*() interfaces return either a negative error number or a valid IRQ. 0 is not a valid return value, so check for "< 0" to detect failure as recommended by the function documentation. On failure, return the error number from platform_get_irq*() instead of

[PATCH v2 1/2] driver core: platform: Clarify that IRQ 0 is invalid

2020-05-01 Thread Bjorn Helgaas
From: Bjorn Helgaas These interfaces return a negative error number or an IRQ: platform_get_irq() platform_get_irq_optional() platform_get_irq_byname() platform_get_irq_byname_optional() The function comments suggest checking for error like this: irq = platform_get_irq(...); if

[PATCH v2 0/2] PCI: Check for platform_get_irq() failure consistently

2020-05-01 Thread Bjorn Helgaas
From: Bjorn Helgaas All callers of platform_get_irq() and related functions interpret a negative return value as an error. A few also interpret zero as an error. platform_get_irq() should return either a negative error number or a valid non-zero IRQ, so there's no need to check for zero. This

Re: [PATCH 19/24] rcu/tree: Support reclaim for head-less object

2020-05-01 Thread Paul E. McKenney
On Tue, Apr 28, 2020 at 10:58:58PM +0200, Uladzislau Rezki (Sony) wrote: > Update the kvfree_call_rcu() with head-less support, it > means an object without any rcu_head structure can be > reclaimed after GP. > > To store pointers there are two chain-arrays maintained > one for SLAB and another

[PATCH v2] docs: kvm: Fix KVM_KVMCLOCK_CTRL API doc

2020-05-01 Thread Joshua Abraham
The KVM_KVMCLOCK_CTRL ioctl signals to supported KVM guests that the hypervisor has paused it. Update the documentation to reflect that the guest is notified by this API. Signed-off-by: Joshua Abraham --- Changes in v2: - Re-word documentation to be clearer. Also fix a small grammar

Re: [PATCH 3/3] mm/swap: remove redundant check for swap_slot_cache_initialized

2020-05-01 Thread Tim Chen
On 4/29/20 11:11 PM, Zhen Lei wrote: > Because enable_swap_slots_cache can only become true in > enable_swap_slots_cache(), and depends on swap_slot_cache_initialized is > true before. That means, when enable_swap_slots_cache is true, > swap_slot_cache_initialized is true also. > > So the

[PATCH 1/4] clk: qcom: smd: Add support for MSM8936 rpm clocks

2020-05-01 Thread Konrad Dybcio
From: Vincent Knecht Signed-off-by: Vincent Knecht --- drivers/clk/qcom/clk-smd-rpm.c | 50 ++ 1 file changed, 50 insertions(+) diff --git a/drivers/clk/qcom/clk-smd-rpm.c b/drivers/clk/qcom/clk-smd-rpm.c index 52f63ad787ba9..4ac80d8ac6c25 100644 ---

[PATCH 3/4] drivers: soc: Add MSM8936 SMD RPM compatible

2020-05-01 Thread Konrad Dybcio
Signed-off-by: Konrad Dybcio --- drivers/soc/qcom/smd-rpm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/smd-rpm.c b/drivers/soc/qcom/smd-rpm.c index 005dd30c58faf..8f290c67cb473 100644 --- a/drivers/soc/qcom/smd-rpm.c +++ b/drivers/soc/qcom/smd-rpm.c @@ -231,6 +231,7 @@

[PATCH 2/4] dt-bindings: clock: rpmcc: Document MSM8936 compatible

2020-05-01 Thread Konrad Dybcio
From: Vincent Knecht Signed-off-by: Vincent Knecht --- Documentation/devicetree/bindings/clock/qcom,rpmcc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt index

[PATCH 4/4] dt-bindings: soc: qcom: Document MSM8936 SMD RPM compatible

2020-05-01 Thread Konrad Dybcio
From: Vincent Knecht Signed-off-by: Vincent Knecht --- Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt

Re: [PATCH RFC 00/15] Add VFIO mediated device support and IMS support for the idxd driver.

2020-05-01 Thread Dey, Megha
On 4/23/2020 12:44 PM, Jason Gunthorpe wrote: The mdev utilizes Interrupt Message Store or IMS[3] instead of MSIX for interrupts for the guest. This preserves MSIX for host usages and also allows a significantly larger number of interrupt vectors for guest usage. I never did get a reply to

[v2 PATCH 0/4] Add SMD RPM support for MSM8936

2020-05-01 Thread Konrad Dybcio
changes since v1: - added a forgotten patch that adds the compat string to the driver Konrad Dybcio (1): drivers: soc: Add MSM8936 SMD RPM compatible Vincent Knecht (3): clk: qcom: smd: Add support for MSM8936 rpm clocks dt-bindings: clock: rpmcc: Document MSM8936 compatible dt-bindings:

Re: [PATCH RFC 07/15] Documentation: Interrupt Message store

2020-05-01 Thread Dey, Megha
Hi Jason, On 4/23/2020 1:04 PM, Jason Gunthorpe wrote: On Tue, Apr 21, 2020 at 04:34:30PM -0700, Dave Jiang wrote: diff --git a/Documentation/ims-howto.rst b/Documentation/ims-howto.rst new file mode 100644 index ..a18de152b393 +++ b/Documentation/ims-howto.rst @@ -0,0 +1,210 @@

Re: [PATCH RFC 00/15] Add VFIO mediated device support and IMS support for the idxd driver.

2020-05-01 Thread Dey, Megha
Hi Jason, On 4/23/2020 12:18 PM, Jason Gunthorpe wrote: On Wed, Apr 22, 2020 at 02:24:11PM -0700, Dan Williams wrote: On Tue, Apr 21, 2020 at 4:55 PM Jason Gunthorpe wrote: On Tue, Apr 21, 2020 at 04:33:46PM -0700, Dave Jiang wrote: The actual code is independent of the stage 2 driver code

Re: [PATCH RFC 00/15] Add VFIO mediated device support and IMS support for the idxd driver.

2020-05-01 Thread Dey, Megha
Hi Jason, On 4/23/2020 12:49 PM, Jason Gunthorpe wrote: On Thu, Apr 23, 2020 at 12:17:50PM -0700, Dan Williams wrote: Per Megha's follow-up can you send the details about that other device and help clear a path for a device-specific MSI addr/data table format. Ever since HMM I've been

Re: [PATCH RFC 04/15] drivers/base: Add support for a new IMS irq domain

2020-05-01 Thread Dey, Megha
Hi Jason, On 4/23/2020 1:11 PM, Jason Gunthorpe wrote: On Tue, Apr 21, 2020 at 04:34:11PM -0700, Dave Jiang wrote: diff --git a/drivers/base/ims-msi.c b/drivers/base/ims-msi.c new file mode 100644 index ..738f6d153155 +++ b/drivers/base/ims-msi.c @@ -0,0 +1,100 @@ +//

Re: [PATCH v2] net: Make PTP-specific drivers depend on PTP_1588_CLOCK

2020-05-01 Thread David Miller
From: Clay McClure Date: Wed, 29 Apr 2020 00:59:00 -0700 > Commit d1cbfd771ce8 ("ptp_clock: Allow for it to be optional") changed > all PTP-capable Ethernet drivers from `select PTP_1588_CLOCK` to `imply > PTP_1588_CLOCK`, "in order to break the hard dependency between the PTP > clock subsystem

Re: [PATCH 4.14 000/117] 4.14.178-rc1 review

2020-05-01 Thread Naresh Kamboju
On Fri, 1 May 2020 at 19:01, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.178 release. > There are 117 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 10/24] rcu/tree: add rcutree.rcu_min_cached_objs description

2020-05-01 Thread Paul E. McKenney
On Tue, Apr 28, 2020 at 10:58:49PM +0200, Uladzislau Rezki (Sony) wrote: > Document the rcutree.rcu_min_cached_objs sysfs kernel parameter. > > Signed-off-by: Uladzislau Rezki (Sony) Could you please combine this wtih the patch that created this sysfs parameter?

Re: [PATCH v2] hv_netvsc: Fix netvsc_start_xmit's return type

2020-05-01 Thread David Miller
From: Nathan Chancellor Date: Tue, 28 Apr 2020 10:54:56 -0700 > netvsc_start_xmit is used as a callback function for the ndo_start_xmit > function pointer. ndo_start_xmit's return type is netdev_tx_t but > netvsc_start_xmit's return type is int. > > This causes a failure with Control Flow

Re: [PATCH net v3 0/2] WoL fixes for DP83822 and DP83tc811

2020-05-01 Thread David Miller
From: Dan Murphy Date: Tue, 28 Apr 2020 11:03:52 -0500 > The WoL feature for each device was enabled during boot or when the PHY was > brought up which may be undesired. These patches disable the WoL in the > config_init. The disabling and enabling of the WoL is now done though the > set_wol

Re: [PATCH net] dt-bindings: net: Convert UniPhier AVE4 controller to json-schema

2020-05-01 Thread David Miller
From: Kunihiko Hayashi Date: Tue, 28 Apr 2020 15:31:22 +0900 > Convert the UniPhier AVE4 controller binding to DT schema format. > This changes phy-handle property to required. > > Signed-off-by: Kunihiko Hayashi DT folks, is it ok if I take this into net-next or do you folks want to take it

Re: [PATCH 5.6 000/106] 5.6.9-rc1 review

2020-05-01 Thread Guenter Roeck
On Fri, May 01, 2020 at 03:22:33PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.6.9 release. > There are 106 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [RFC PATCH V2 0/9] Introduce attach/clear_page_private to cleanup code

2020-05-01 Thread Matthew Wilcox
On Thu, Apr 30, 2020 at 11:44:41PM +0200, Guoqing Jiang wrote: > include/linux/pagemap.h: introduce attach/clear_page_private > md: remove __clear_page_buffers and use attach/clear_page_private > btrfs: use attach/clear_page_private > fs/buffer.c: use attach/clear_page_private > f2fs:

Re: [PATCH 2/2] lib kallsyms: parse using io api

2020-05-01 Thread Ian Rogers
On Fri, May 1, 2020 at 8:28 AM Ian Rogers wrote: > > On Fri, May 1, 2020 at 5:23 AM Jiri Olsa wrote: > > > > On Thu, Apr 30, 2020 at 12:35:57PM -0700, Ian Rogers wrote: > > > Perf record will call kallsyms__parse 4 times during startup and process > > > megabytes of data. This changes

[PATCH v2 2/3] lib kallsyms: parse using io api

2020-05-01 Thread Ian Rogers
Perf record will call kallsyms__parse 4 times during startup and process megabytes of data. This changes kallsyms__parse to use the io library rather than fgets to improve performance of the user code by over 8%. Before: Running 'internals/kallsyms-parse' benchmark: Average kallsyms__parse

[PATCH v2 0/3] Improvements for kallsyms__parse

2020-05-01 Thread Ian Rogers
kallsyms__parse is called 4 times during perf record startup. Add a benchmark to measure its performance. Transition it to using the api io.h buffered reading, improving performance by ~8% or saving ~5% from perf record start up time. v2. Fix the err return value for success, error reported by

[PATCH v2 1/3] perf bench: add kallsyms parsing

2020-05-01 Thread Ian Rogers
Add a benchmark for kallsyms parsing. Example output: Running 'internals/kallsyms-parse' benchmark: Average kallsyms__parse took: 103.971 ms (+- 0.121 ms) Signed-off-by: Ian Rogers --- tools/perf/bench/Build| 1 + tools/perf/bench/bench.h | 1 +

[PATCH v2 3/3] lib kallsyms: move hex2u64 out of header

2020-05-01 Thread Ian Rogers
hex2u64 is a helper that's out of place in kallsyms.h as not being kallsyms related. Move from kallsyms.h to the only user. Signed-off-by: Ian Rogers --- tools/lib/symbol/kallsyms.h | 2 -- tools/perf/util/symbol.c| 14 ++ 2 files changed, 14 insertions(+), 2 deletions(-) diff

Re: [PATCH 5.4 00/83] 5.4.37-rc1 review

2020-05-01 Thread Guenter Roeck
On Fri, May 01, 2020 at 03:22:39PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.37 release. > There are 83 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.19 00/46] 4.19.120-rc1 review

2020-05-01 Thread Guenter Roeck
On Fri, May 01, 2020 at 03:22:25PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.120 release. > There are 46 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH] epoll: ensure ep_poll() doesn't miss wakeup events

2020-05-01 Thread Jason Baron
On 5/1/20 5:02 PM, Roman Penyaev wrote: > Hi Jason, > > That is indeed a nice catch. > Seems we need smp_rmb() pair between list_empty_careful(>rdllist) and > READ_ONCE(ep->ovflist) for ep_events_available(), do we? > Hi Roman, Good point, even if we order those reads its still racy, since

Re: [PATCH 21/29] mm: remove the pgprot argument to __vmalloc

2020-05-01 Thread Andrew Morton
On Thu, 30 Apr 2020 22:38:10 -0400 John Dorminy wrote: > the change > description refers to PROT_KERNEL, which is a symbol which does not > appear to exist; perhaps PAGE_KERNEL was meant? Yes, thanks, fixed.

Re: [PATCHv6 0/6] n_gsm serdev support and GNSS driver for droid4

2020-05-01 Thread Pavel Machek
On Fri 2020-05-01 07:52:52, Tony Lindgren wrote: > * Pavel Machek [200430 22:27]: > > > > > My guess is that at least with the pending ofono patches, we just > > > want to use the raw interface for /dev/gsmtty* interface and stop > > > pretending we have a modem that is AT compatible. > > > > I

Re: [PATCH 4.19 00/46] 4.19.120-rc1 review

2020-05-01 Thread Naresh Kamboju
On Fri, 1 May 2020 at 19:06, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.120 release. > There are 46 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 2/2] exec: open code copy_string_kernel

2020-05-01 Thread Al Viro
On Fri, May 01, 2020 at 02:40:13PM -0700, Andrew Morton wrote: > On Fri, 1 May 2020 22:30:48 +0100 Al Viro wrote: > > > On Fri, May 01, 2020 at 02:19:03PM -0700, Andrew Morton wrote: > > > On Fri, 1 May 2020 12:41:05 +0200 Christoph Hellwig wrote: > > > > > > > Currently copy_string_kernel is

Re: [PATCH v3] mm/slub: Fix incorrect interpretation of s->offset

2020-05-01 Thread Kees Cook
On Wed, Apr 29, 2020 at 09:53:28AM -0400, Waiman Long wrote: > In a couple of places in the slub memory allocator, the code uses > "s->offset" as a check to see if the free pointer is put right after the > object. That check is no longer true with commit 3202fa62fb43 ("slub: > relocate freelist

Re: [PATCH] mm: slub: add panic_on_error to the debug facilities

2020-05-01 Thread Qian Cai
> On May 1, 2020, at 5:54 PM, Rafael Aquini wrote: > > On Fri, May 01, 2020 at 05:29:19PM -0400, Qian Cai wrote: >> >> >>> On May 1, 2020, at 5:15 PM, Rafael Aquini wrote: >>> >>> Sometimes it is desirable to override SLUB's debug facilities >>> default behavior upon stumbling on a cache

Re: [PATCH net-next 1/4] arm64: dts: sdm845: add IPA iommus property

2020-05-01 Thread Alex Elder
On 5/1/20 4:46 PM, Alex Elder wrote: Add an "iommus" property to the IPA node in "sdm845.dtsi". It is required because there are two regions of memory the IPA accesses through an SMMU. The next few patches define and map those regions. Signed-off-by: Alex Elder I'm very sorry, I grouped

Re: [PATCH 2/3] mm/swap: simplify enable_swap_slots_cache()

2020-05-01 Thread Tim Chen
On 4/29/20 11:11 PM, Zhen Lei wrote: > Whether swap_slot_cache_initialized is true or false, > __reenable_swap_slots_cache() is always called. To make this meaning > clear, leave only one call to __reenable_swap_slots_cache(). This also > make it clearer what extra needs be done when

Re: [PATCH 4.14 000/117] 4.14.178-rc1 review

2020-05-01 Thread Guenter Roeck
On Fri, May 01, 2020 at 03:20:36PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.178 release. > There are 117 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

[PATCH v5 2/2] devicetree: bindings: phy: Document ipq806x dwc3 qcom phy

2020-05-01 Thread Ansuel Smith
Document dwc3 qcom phy hs and ss phy bindings needed to correctly inizialize and use usb on ipq806x SoC. Signed-off-by: Ansuel Smith --- v5: * Fix dt_binding_check error v4: * Add qcom to specific bindings v3: * Use explicit reg instead of regmap .../bindings/phy/qcom,ipq806x-usb-phy-hs.yaml |

<    1   2   3   4   5   6   7   8   9   10   >