[PATCH v7 0/4] Introduce PMIC based USB type C detection

2020-08-03 Thread Wesley Cheng
Changes in v7: - Fixups in qcom-pmic-typec.c to remove uncesscary includes, printk formatting, and revising some logic operations. Changes in v6: - Removed qcom_usb_vbus-regulator.c and qcom,usb-vbus-regulator.yaml from the series as they have been merged on regulator.git - Added

[PATCH v7 4/4] arm64: boot: dts: qcom: pm8150b: Add DTS node for PMIC VBUS booster

2020-08-03 Thread Wesley Cheng
Add the required DTS node for the USB VBUS output regulator, which is available on PM8150B. This will provide the VBUS source to connected peripherals. Signed-off-by: Wesley Cheng --- arch/arm64/boot/dts/qcom/pm8150b.dtsi | 6 ++ arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 4 2 files

Re: [PATCH v2] mm: vmstat: fix /proc/sys/vm/stat_refresh generating false warnings

2020-08-03 Thread Roman Gushchin
On Fri, Jul 31, 2020 at 07:17:05PM -0700, Hugh Dickins wrote: > On Fri, 31 Jul 2020, Roman Gushchin wrote: > > On Thu, Jul 30, 2020 at 09:06:55PM -0700, Hugh Dickins wrote: > > > > > > Though another alternative did occur to me overnight: we could > > > scrap the logged warning, and show

WARNING in __queue_work (3)

2020-08-03 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:e2c46b57 Merge tag 'block-5.8-2020-07-30' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1269bcb890 kernel config: https://syzkaller.appspot.com/x/.config?x=e956cd46a325a50c

Re: [PATCH 1/2] fs: Add fd_install file operation

2020-08-03 Thread Joel Fernandes
On Mon, Aug 3, 2020 at 10:47 AM 'Kalesh Singh' via kernel-team wrote: > > Provides a per process hook for the acquisition of file descriptors, > despite the method used to obtain the descriptor. > Hi, So apart from all of the comments received, I think it is hard to understand what the problem

Re: [PATCH v6 08/22] bootconfig: init: Allow admin to use bootconfig for init command line

2020-08-03 Thread Masami Hiramatsu
On Mon, 3 Aug 2020 13:22:38 -0400 Steven Rostedt wrote: > On Mon, 3 Aug 2020 11:29:59 -0400 > Arvind Sankar wrote: > > > > + /* parse_args() stops at '--' and returns an address */ > > > + if (!IS_ERR(err) && err) > > > + initargs_found = true; > > > + > > > > I think you can drop

Re: [PATCH 5.7 000/120] 5.7.13-rc1 review

2020-08-03 Thread Guenter Roeck
On Mon, Aug 03, 2020 at 07:33:30PM +0200, Greg Kroah-Hartman wrote: > On Mon, Aug 03, 2020 at 08:58:20AM -0700, Guenter Roeck wrote: > > On Mon, Aug 03, 2020 at 02:17:38PM +0200, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 5.7.13 release. > > > There > >

Re: [PATCH v2 2/3] dt-bindings: pinctrl: mt8192: add binding document

2020-08-03 Thread zhiyong tao
On Mon, 2020-08-03 at 15:40 -0600, Rob Herring wrote: > On Sat, 01 Aug 2020 12:33:02 +0800, Zhiyong Tao wrote: > > The commit adds mt8192 compatible node in binding document. > > > > Signed-off-by: Zhiyong Tao > > --- > > .../bindings/pinctrl/pinctrl-mt8192.yaml | 175 ++ >

[PATCH] platform/x86: acer-wmi: add automatic keyboard background light toggle key as KEY_LIGHTS_TOGGLE

2020-08-03 Thread Timo Witte
Got a dmesg message on my AMD Renoir based Acer laptop: "acer_wmi: Unknown key number - 0x84" when toggling keyboard background light Signed-off-by: Timo Witte --- drivers/platform/x86/acer-wmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/acer-wmi.c

Re: [GIT PULL] io_uring changes for 5.9-rc1

2020-08-03 Thread Linus Torvalds
On Mon, Aug 3, 2020 at 4:56 PM Jens Axboe wrote: > > What I ended up with after the last email was just removing the test > bit: > > https://git.kernel.dk/cgit/linux-block/commit/?h=io_uring-5.9=cbd287c09351f1d3a4b3cb9167a2616a11390d32 > > and I clarified the comments on the io_async_buf_func()

Re: [PATCH] x86: work around clang IAS bug referencing __force_order

2020-08-03 Thread Nick Desaulniers
On Wed, May 27, 2020 at 6:53 AM Arnd Bergmann wrote: > > When using the clang integrated assembler, we get a reference > to __force_order that should normally get ignored in a few > rare cases: > > ERROR: modpost: "__force_order" [drivers/cpufreq/powernow-k6.ko] undefined! > > Add a 'static'

Re: [PATCH v2 1/1] phy: tusb1210: use bitmasks to set VENDOR_SPECIFIC2

2020-08-03 Thread Liam Beguin
Hi Vinod, On Sat, Jul 18, 2020 at 4:18 PM Liam Beguin wrote: > > > Hi, > > I sent another patch[1] to try to address this. > > The issue seems to come from the fact that the parisc architecture > doesn't support cmpxchg on u8 pointers. cmpxchg is called by > set_mask_bits. > This patch has been

[PATCH] sched/fair: ignore cache hotness for SMT migration

2020-08-03 Thread Josh Don
SMT siblings share caches, so cache hotness should be irrelevant for cross-sibling migration. Proposed-by: Venkatesh Pallipadi Signed-off-by: Josh Don --- kernel/sched/fair.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index

[PATCH 2/3] ASoC: rt5682: Drop usage of __clk_get_name()

2020-08-03 Thread Stephen Boyd
The __clk_get_name() API is deprecated. Use clk_hw_get_name() or proper registration techniques to avoid it. Cc: Cheng-Yi Chiang Cc: Shuming Fan Signed-off-by: Stephen Boyd --- sound/soc/codecs/rt5682.c | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-) diff

[PATCH 3/3] ASoC: rt5682: Use clk_hw based APIs for registration

2020-08-03 Thread Stephen Boyd
The (new?) style of clk registration uses clk_hw based APIs so that we can more easily see the difference between clk providers and clk consumers. Use the clk_hw based APIs to do this and migrate to devm for the clkdev creation so that we can reduce the amount of code. Cc: Cheng-Yi Chiang Cc:

[PATCH 0/3] ASoC: rt5682: Use clk APIs better

2020-08-03 Thread Stephen Boyd
This patch series drops a printk message down to dev_dbg() because it was noisy and then migrates this driver to use clk_hw based APIs instead of clk based APIs because this device is a clk provider, not a clk consumer. I've only lightly tested the last two patches but I don't have all

[PATCH 1/3] ASoC: rt5682: Use dev_dbg() in rt5682_clk_check()

2020-08-03 Thread Stephen Boyd
I see a spew of "sysclk/dai not set correctly" whenever I cat /sys/kernel/debug/clk/clk_summary on my device. This is because the master pointer isn't set yet in this driver. A user isn't going to be able to do much if this check is failing so this error message isn't really an error, it's more of

[PATCH v5 05/15] iio: sx9310: Change from .probe to .probe_new

2020-08-03 Thread Daniel Campello
Uses .probe_new in place of .probe. Also uses device_get_match_data() for whoami matching. Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko Reviewed-by: Stephen Boyd --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Added '\n' to dev_err()

[PATCH v5 04/15] iio: sx9310: Remove acpi and of table macros

2020-08-03 Thread Daniel Campello
Avoids unused warnings due to acpi/of table macros. Reported-by: kbuild test robot Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko Reviewed-by: Stephen Boyd --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Added #include

Re: [RFC PATCH] arm64: defconfig: Disable fine-grained task level IRQ time accounting

2020-08-03 Thread Valentin Schneider
On 03/08/20 20:22, Thomas Gleixner wrote: > Valentin, > > Valentin Schneider writes: >> On 03/08/20 16:13, Thomas Gleixner wrote: >>> Vladimir Oltean writes: > 1) When irq accounting is disabled, RT throttling kicks in as > expected. > > 2) With irq accounting the RT

[PATCH v5 03/15] iio: sx9310: Fix irq handling

2020-08-03 Thread Daniel Campello
Fixes enable/disable irq handling at various points. The driver needs to only enable/disable irqs if there is an actual irq handler installed. Signed-off-by: Daniel Campello Reviewed-by: Stephen Boyd --- Changes in v5: None Changes in v4: - Reverted condition check logic on enable/disable_irq

[PATCH v5 07/15] iio: sx9310: Use long instead of int for channel bitmaps

2020-08-03 Thread Daniel Campello
Uses for_each_set_bit() macro to loop over channel bitmaps. Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko Reviewed-by: Stephen Boyd --- Changes in v5: None Changes in v4: None Changes in v3: - Added static assert for number of channels. Changes in v2: - Changed prox_stat to

[PATCH v5 14/15] iio: sx9310: Enable vdd and svdd regulators at probe

2020-08-03 Thread Daniel Campello
From: Stephen Boyd Enable the main power supply (vdd) and digital IO power supply (svdd) during probe so that the i2c communication and device works properly on boards that aggressively power gate these supplies. Signed-off-by: Stephen Boyd Reviewed-by: Douglas Anderson Signed-off-by: Daniel

Re: arch/mips/include/asm/mach-ip27/topology.h:19:7: error: implicit declaration of function 'hub_data'

2020-08-03 Thread Joshua Kinard
t/torvalds/linux.git >> master >> head: bcf876870b95592b52519ed4aafcf9d95999bc9c >> commit: 397dc00e249ec64e106374565575dd0eb7e25998 mips: sgi-ip27: switch from >> DISCONTIGMEM to SPARSEMEM >> date: 10 months ago >> config: mips-randconfig-r032-20200803 (attached as .config)

[PATCH v5 09/15] iio: sx9310: Update copyright

2020-08-03 Thread Daniel Campello
Fixes wrong copyright year. Signed-off-by: Daniel Campello --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None drivers/iio/proximity/sx9310.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iio/proximity/sx9310.c

[PATCH v5 10/15] iio: sx9310: Simplify error return handling

2020-08-03 Thread Daniel Campello
Checks for non-zero return values to signal error conditions. Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko Reviewed-by: Stephen Boyd --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None drivers/iio/proximity/sx9310.c | 56

[PATCH v5 06/15] iio: sx9310: Fixes various memory handling

2020-08-03 Thread Daniel Campello
Makes use __aligned(8) to ensure that the timestamp is correctly aligned when we call io_push_to_buffers_with_timestamp(). Also makes use of sizeof() for regmap_bulk_read instead of static value. Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko --- Changes in v5: - Really use a

[PATCH v5 12/15] iio: sx9310: Miscellaneous format fixes

2020-08-03 Thread Daniel Campello
Miscellaneous format fixes throughout the whole file. Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko Reviewed-by: Stephen Boyd --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None drivers/iio/proximity/sx9310.c | 28 ++-- 1

[PATCH v5 02/15] iio: sx9310: Update macros declarations

2020-08-03 Thread Daniel Campello
Follows spec sheet for macro declarations. Signed-off-by: Daniel Campello Reviewed-by: Stephen Boyd --- Changes in v5: - Added #include Changes in v4: - Updated macro SX9310_REG_STAT1_COMPSTAT_MASK at call site. - Use FIELD_GET/FIELD_PREP instead of manual shift. Changes in v3: None

[PATCH v5 13/15] iio: sx9310: Drop channel_users[]

2020-08-03 Thread Daniel Campello
From: Stephen Boyd This struct member isn't used. Drop it. Fixes: 72ad02b15d63 ("iio: Add SEMTECH SX9310/9311 sensor driver") Signed-off-by: Stephen Boyd Reviewed-by: Douglas Anderson Reviewed-by: Daniel Campello Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko --- Changes in

[PATCH v5 00/15] sx9310 iio driver updates

2020-08-03 Thread Daniel Campello
The first patch resends the DT binding for the driver that was merged in v5.8-rc1 with a small change to update for proper regulators. The second through the eleventh patch fixes several issues dropped from v8 to v9 when the initial patch was merged. The twelveth patch drops channel_users because

[PATCH v5 08/15] iio: sx9310: Use regmap_read_poll_timeout() for compensation

2020-08-03 Thread Daniel Campello
Simplify compensation stage by using regmap_read_poll_timeout(). Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko Reviewed-by: Stephen Boyd --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Fixed dev_err() message drivers/iio/proximity/sx9310.c |

[PATCH v5 11/15] iio: sx9310: Use variable to hold >dev

2020-08-03 Thread Daniel Campello
Improves readability by storing >dev in a local variable. Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko Reviewed-by: Stephen Boyd --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Added '\n' to dev_err() drivers/iio/proximity/sx9310.c | 30

[PATCH v5 15/15] iio: sx9310: Use irq trigger flags from firmware

2020-08-03 Thread Daniel Campello
From: Stephen Boyd We shouldn't need to set default irq trigger flags here as the firmware should have properly indicated the trigger type, i.e. level low, in the DT or ACPI tables. Signed-off-by: Stephen Boyd Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko --- Changes in v5:

[PATCH v5 01/15] dt-bindings: iio: Add bindings for sx9310 sensor

2020-08-03 Thread Daniel Campello
Adds device tree bindings for sx9310 sensor. Signed-off-by: Daniel Campello Cc: Hartmut Knaack Cc: Lars-Peter Clausen Cc: Peter Meerwald-Stadler Cc: Rob Herring Reviewed-by: Douglas Anderson [swb...@chromium.org: Add both regulators and make them optional] Signed-off-by: Stephen Boyd

Re: [PATCH 1/1] iommu/arm-smmu: Implement qcom,skip-init

2020-08-03 Thread Konrad Dybcio
> Sounds like things are progressing nicely for a while there, presumably > until the next time the display is being refreshed. > > Would you be willing to try out the following work in progress: > https://lore.kernel.org/linux-arm-msm/20200717001619.325317-1-bjorn.anders...@linaro.org/ I sure

Re: [GIT PULL] io_uring changes for 5.9-rc1

2020-08-03 Thread Jens Axboe
On 8/3/20 5:49 PM, Linus Torvalds wrote: > On Mon, Aug 3, 2020 at 4:31 PM Jens Axboe wrote: >> >> Updated to honor exclusive return value as well: > > See my previous email, You're just adding code that makes no sense, > because your wait entry fundamentally isn't an exclusive one. Right, I get

Re: [PATCH v4 00/15] sx9310 iio driver updates

2020-08-03 Thread Daniel Campello
Hi everyone, So sorry, I sent an intermediate version as v4. Please disregard since it has a couple bugs. I will send v5 with them fixed. Regards, Daniel On Mon, Aug 3, 2020 at 5:41 PM Daniel Campello wrote: > > The first patch resends the DT binding for the driver that was merged in >

Re: [GIT PULL] io_uring changes for 5.9-rc1

2020-08-03 Thread Linus Torvalds
On Mon, Aug 3, 2020 at 4:31 PM Jens Axboe wrote: > > Updated to honor exclusive return value as well: See my previous email, You're just adding code that makes no sense, because your wait entry fundamentally isn't an exclusive one. So all that code is a no-op and only makes it more confusing to

Re: [PATCH] asm-generic/io.h: Fix sparse warnings on big-endian architectures

2020-08-03 Thread Stafford Horne
On Mon, Aug 03, 2020 at 09:50:59PM +0200, Arnd Bergmann wrote: > On Mon, Aug 3, 2020 at 5:11 PM Stafford Horne wrote: > > > > On big-endian architectures like OpenRISC, sparse outputs below warnings on > > asm-generic/io.h. This is due to io statements like: > > > >

Re: [GIT PULL] io_uring changes for 5.9-rc1

2020-08-03 Thread Jens Axboe
On 8/3/20 5:34 PM, Linus Torvalds wrote: > On Mon, Aug 3, 2020 at 4:18 PM Jens Axboe wrote: >> >> >> I took a look at the rewrite you queued up, and made a matching change >> on the io_uring side: > > Oh, no, you made it worse. > > Now you're tying your odd wakeup routine to entirely irrelevant

[PATCH v4 04/15] iio: sx9310: Remove acpi and of table macros

2020-08-03 Thread Daniel Campello
Avoids unused warnings due to acpi/of table macros. Reported-by: kbuild test robot Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko Reviewed-by: Stephen Boyd --- Changes in v4: None Changes in v3: None Changes in v2: - Added #include drivers/iio/proximity/sx9310.c | 6 +++---

[PATCH v4 13/15] iio: sx9310: Drop channel_users[]

2020-08-03 Thread Daniel Campello
From: Stephen Boyd This struct member isn't used. Drop it. Fixes: 72ad02b15d63 ("iio: Add SEMTECH SX9310/9311 sensor driver") Signed-off-by: Stephen Boyd Reviewed-by: Douglas Anderson Reviewed-by: Daniel Campello Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko --- Changes in

[PATCH v4 00/15] sx9310 iio driver updates

2020-08-03 Thread Daniel Campello
The first patch resends the DT binding for the driver that was merged in v5.8-rc1 with a small change to update for proper regulators. The second through the eleventh patch fixes several issues dropped from v8 to v9 when the initial patch was merged. The twelveth patch drops channel_users because

[PATCH v4 14/15] iio: sx9310: Enable vdd and svdd regulators at probe

2020-08-03 Thread Daniel Campello
From: Stephen Boyd Enable the main power supply (vdd) and digital IO power supply (svdd) during probe so that the i2c communication and device works properly on boards that aggressively power gate these supplies. Signed-off-by: Stephen Boyd Reviewed-by: Douglas Anderson Signed-off-by: Daniel

[PATCH v4 03/15] iio: sx9310: Fix irq handling

2020-08-03 Thread Daniel Campello
Fixes enable/disable irq handling at various points. The driver needs to only enable/disable irqs if there is an actual irq handler installed. Signed-off-by: Daniel Campello Reviewed-by: Stephen Boyd --- Changes in v4: - Reverted condition check logic on enable/disable_irq methods. Changes

[PATCH v4 07/15] iio: sx9310: Use long instead of int for channel bitmaps

2020-08-03 Thread Daniel Campello
Uses for_each_set_bit() macro to loop over channel bitmaps. Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko Reviewed-by: Stephen Boyd --- Changes in v4: None Changes in v3: - Added static assert for number of channels. Changes in v2: - Changed prox_stat to chan_prox_stat

[PATCH v4 10/15] iio: sx9310: Simplify error return handling

2020-08-03 Thread Daniel Campello
Checks for non-zero return values to signal error conditions. Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko Reviewed-by: Stephen Boyd --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/iio/proximity/sx9310.c | 56 +- 1 file

[PATCH v4 05/15] iio: sx9310: Change from .probe to .probe_new

2020-08-03 Thread Daniel Campello
Uses .probe_new in place of .probe. Also uses device_get_match_data() for whoami matching. Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko Reviewed-by: Stephen Boyd --- Changes in v4: None Changes in v3: None Changes in v2: - Added '\n' to dev_err()

[PATCH v4 06/15] iio: sx9310: Fixes various memory handling

2020-08-03 Thread Daniel Campello
Makes use __aligned(8) to ensure that the timestamp is correctly aligned when we call io_push_to_buffers_with_timestamp(). Also makes use of sizeof() for regmap_bulk_read instead of static value. Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko --- Changes in v4: - Use pointer to

[PATCH v4 01/15] dt-bindings: iio: Add bindings for sx9310 sensor

2020-08-03 Thread Daniel Campello
Adds device tree bindings for sx9310 sensor. Signed-off-by: Daniel Campello Cc: Hartmut Knaack Cc: Lars-Peter Clausen Cc: Peter Meerwald-Stadler Cc: Rob Herring Reviewed-by: Douglas Anderson [swb...@chromium.org: Add both regulators and make them optional] Signed-off-by: Stephen Boyd

[PATCH v4 02/15] iio: sx9310: Update macros declarations

2020-08-03 Thread Daniel Campello
Follows spec sheet for macro declarations. Signed-off-by: Daniel Campello Reviewed-by: Stephen Boyd --- Changes in v4: - Updated macro SX9310_REG_STAT1_COMPSTAT_MASK at call site. - Use FIELD_GET/FIELD_PREP instead of manual shift. Changes in v3: None Changes in v2: None

[PATCH v4 08/15] iio: sx9310: Use regmap_read_poll_timeout() for compensation

2020-08-03 Thread Daniel Campello
Simplify compensation stage by using regmap_read_poll_timeout(). Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko Reviewed-by: Stephen Boyd --- Changes in v4: None Changes in v3: None Changes in v2: - Fixed dev_err() message drivers/iio/proximity/sx9310.c | 25

[PATCH v4 12/15] iio: sx9310: Miscellaneous format fixes

2020-08-03 Thread Daniel Campello
Miscellaneous format fixes throughout the whole file. Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko Reviewed-by: Stephen Boyd --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/iio/proximity/sx9310.c | 28 ++-- 1 file changed, 10

[PATCH v4 15/15] iio: sx9310: Use irq trigger flags from firmware

2020-08-03 Thread Daniel Campello
From: Stephen Boyd We shouldn't need to set default irq trigger flags here as the firmware should have properly indicated the trigger type, i.e. level low, in the DT or ACPI tables. Signed-off-by: Stephen Boyd Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko --- Changes in v4:

[PATCH v4 11/15] iio: sx9310: Use variable to hold >dev

2020-08-03 Thread Daniel Campello
Improves readability by storing >dev in a local variable. Signed-off-by: Daniel Campello Reviewed-by: Andy Shevchenko Reviewed-by: Stephen Boyd --- Changes in v4: None Changes in v3: None Changes in v2: - Added '\n' to dev_err() drivers/iio/proximity/sx9310.c | 30

[PATCH v4 09/15] iio: sx9310: Update copyright

2020-08-03 Thread Daniel Campello
Fixes wrong copyright year. Signed-off-by: Daniel Campello --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/iio/proximity/sx9310.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iio/proximity/sx9310.c b/drivers/iio/proximity/sx9310.c

[tip:locking/core] BUILD REGRESSION 992414a18cd4de05fa3f8ff7e1c29af758bdee1a

2020-08-03 Thread kernel test robot
|-- mips-allyesconfig | |-- arch-mips-include-asm-smp.h:error:static-declaration-of-raw_smp_processor_id-follows-non-static-declaration | `-- include-asm-generic-percpu.h:error:implicit-declaration-of-function-raw_smp_processor_id |-- openrisc-randconfig-r013-20200803 | `-- include-asm-generic

[tip:master] BUILD SUCCESS af968091a13a6e7c6bca1d3cb749330d9bd0701d

2020-08-03 Thread kernel test robot
allnoconfig i386 randconfig-a004-20200803 i386 randconfig-a005-20200803 i386 randconfig-a001-20200803 i386 randconfig-a002-20200803 i386 randconfig-a003-20200803 i386 randconfig-a006-20200803

Re: linux-next: manual merge of the hmm tree with the drm tree

2020-08-03 Thread Jason Gunthorpe
On Tue, Aug 04, 2020 at 09:29:30AM +1000, Ben Skeggs wrote: > On Tue, Aug 4, 2020 at 9:19 AM Jason Gunthorpe wrote: > > > > On Thu, Jul 30, 2020 at 10:31:45AM -0700, Ralph Campbell wrote: > > > > > > On 7/30/20 5:03 AM, Jason Gunthorpe wrote: > > > > On Thu, Jul 30, 2020 at 07:21:10PM +1000,

Re: [GIT PULL] io_uring changes for 5.9-rc1

2020-08-03 Thread Linus Torvalds
On Mon, Aug 3, 2020 at 4:18 PM Jens Axboe wrote: > > > I took a look at the rewrite you queued up, and made a matching change > on the io_uring side: Oh, no, you made it worse. Now you're tying your odd wakeup routine to entirely irrelevant things that can't even happen to you. That

Re: [GIT PULL] io_uring changes for 5.9-rc1

2020-08-03 Thread Jens Axboe
On 8/3/20 5:18 PM, Jens Axboe wrote: > On 8/3/20 4:30 PM, Jens Axboe wrote: >>> Adding random kiocb helper functions to a core header file, when they >>> are only used in one place, and when they only make sense in that one >>> place? >>> >>> Not ok. >> >> I'll move that into io_uring instead. >

Re: [PATCH v3] sched: Provide USF for the portable equipment.

2020-08-03 Thread Randy Dunlap
On 8/3/20 7:31 AM, Dongdong Yang wrote: > diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig > index 4ec5528..05b231e 100644 > --- a/drivers/staging/Kconfig > +++ b/drivers/staging/Kconfig > @@ -120,4 +120,6 @@ source "drivers/staging/qlge/Kconfig" > > source

RE: [PATCH v2 0/5] virtio mmio specification enhancement

2020-08-03 Thread Pincus, Josh
Hi Alex, Thank you for the reply. Please see my inline response below. -Original Message- From: Alex Bennée Sent: Friday, July 31, 2020 8:45 AM To: Pincus, Josh Cc: linux-kernel@vger.kernel.org; zha...@linux.alibaba.com; virtio-...@lists.oasis-open.org; qemu-de...@nongnu.org

Re: [PATCH v10 1/3] dt-bindings: pinctrl: add bindings for MediaTek MT6779 SoC

2020-08-03 Thread Linus Walleij
On Thu, Jul 30, 2020 at 3:30 PM Hanks Chen wrote: > From: Andy Teng > > Add devicetree bindings for MediaTek MT6779 pinctrl driver. > > Signed-off-by: Andy Teng > Signed-off-by: Hanks Chen I pulled out the v9 version of this patch and applied v10 instead. Yours, Linus Walleij

Re: linux-next: manual merge of the hmm tree with the drm tree

2020-08-03 Thread Ben Skeggs
On Tue, Aug 4, 2020 at 9:19 AM Jason Gunthorpe wrote: > > On Thu, Jul 30, 2020 at 10:31:45AM -0700, Ralph Campbell wrote: > > > > On 7/30/20 5:03 AM, Jason Gunthorpe wrote: > > > On Thu, Jul 30, 2020 at 07:21:10PM +1000, Stephen Rothwell wrote: > > > > Hi all, > > > > > > > > Today's linux-next

Re: [PATCH] gpio: don't use same lockdep class for all devm_gpiochip_add_data users

2020-08-03 Thread Linus Walleij
On Fri, Jul 31, 2020 at 2:39 PM Ahmad Fatoum wrote: > Commit 959bc7b22bd2 ("gpio: Automatically add lockdep keys") documents > in its commits message its intention to "create a unique class key for > each driver". > > It does so by having gpiochip_add_data add in-place the definition of > two

Re: [PATCH net-next] tipc: Use is_broadcast_ether_addr() instead of memcmp()

2020-08-03 Thread David Miller
From: Huang Guobin Date: Sun, 2 Aug 2020 22:00:55 -0400 > Using is_broadcast_ether_addr() instead of directly use > memcmp() to determine if the ethernet address is broadcast > address. > > spatch with a semantic match is used to found this problem. > (http://coccinelle.lip6.fr/) > >

Re: [PATCH net v3 0/5] DPAA FMan driver fixes

2020-08-03 Thread David Miller
From: Florinel Iordache Date: Mon, 3 Aug 2020 10:07:29 +0300 > Here are several fixes for the DPAA FMan driver. > > v2 changes: > * corrected patch 4 by removing the line added by mistake > * used longer fixes tags with the first 12 characters of the SHA-1 ID > > v3 changes: > * remove the

Re: linux-next: manual merge of the hmm tree with the drm tree

2020-08-03 Thread Jason Gunthorpe
On Thu, Jul 30, 2020 at 10:31:45AM -0700, Ralph Campbell wrote: > > On 7/30/20 5:03 AM, Jason Gunthorpe wrote: > > On Thu, Jul 30, 2020 at 07:21:10PM +1000, Stephen Rothwell wrote: > > > Hi all, > > > > > > Today's linux-next merge of the hmm tree got a conflict in: > > > > > >

Re: [GIT PULL] io_uring changes for 5.9-rc1

2020-08-03 Thread Jens Axboe
On 8/3/20 4:30 PM, Jens Axboe wrote: >> Adding random kiocb helper functions to a core header file, when they >> are only used in one place, and when they only make sense in that one >> place? >> >> Not ok. > > I'll move that into io_uring instead. I see that you handled most of the complaints

[GIT PULL] SELinux patches for v5.9

2020-08-03 Thread Paul Moore
ease merge these for v5.9. Thanks, -Paul -- The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407: Linux 5.8-rc1 (2020-06-14 12:45:04 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git tags/selinux-p

Re: [PATCH v32 3/6] ARM: defconfig: u8500: Add LP55XX_COMMON config flag

2020-08-03 Thread Linus Walleij
On Wed, Jul 22, 2020 at 5:32 PM Dan Murphy wrote: > The dependencies for the LP55XX LED drivers have been updated so that > the child devices (i.e. LP5521) now depends on the LP55XX_COMMON config > flag as opposed to the device selecting the LP55XX_COMMON flag. The > LP55XX_COMMON needs to be

Re: [Linux-kernel-mentees] [PATCH net] rds: Prevent kernel-infoleak in rds_notify_queue_get()

2020-08-03 Thread Jason Gunthorpe
On Sun, Aug 02, 2020 at 03:45:40PM -0700, Joe Perches wrote: > On Sun, 2020-08-02 at 19:28 -0300, Jason Gunthorpe wrote: > > On Sun, Aug 02, 2020 at 03:23:58PM -0700, Joe Perches wrote: > > > On Sun, 2020-08-02 at 19:10 -0300, Jason Gunthorpe wrote: > > > > On Sat, Aug 01, 2020 at 08:38:33AM

Re: [PATCH] PM: runtime: Add kerneldoc comments to multiple helpers

2020-08-03 Thread Sakari Ailus
Hi Rafael, On Mon, Aug 03, 2020 at 01:36:52PM +0200, Rafael J. Wysocki wrote: > Hi Sakari, > > On Mon, Aug 3, 2020 at 10:53 AM Sakari Ailus > wrote: > > > > Hi Rafael, > > > > Thanks for the patch. > > > > On Fri, Jul 31, 2020 at 07:03:26PM +0200, Rafael J. Wysocki wrote: > > > From: Rafael J.

Re: [PATCH] PM: runtime: Add kerneldoc comments to multiple helpers

2020-08-03 Thread Sakari Ailus
Hi Rafael, One more comment below. On Fri, Jul 31, 2020 at 07:03:26PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Add kerneldoc comments to multiple PM-runtime helper functions > defined as static inline wrappers around lower-level routines to > provide quick reference

[PATCH] ext4: flag as supporting buffered async reads

2020-08-03 Thread Jens Axboe
ext4 uses generic_file_read_iter(), which already supports this. Cc: Theodore Ts'o Signed-off-by: Jens Axboe --- Resending this one, as I've been carrying it privately since May. The necessary bits are now upstream (and XFS/btrfs equiv changes as well), please consider this one for 5.9.

Re: [PATCH] net: sgi: ioc3-eth: Fix the size used in some 'dma_free_coherent()' calls

2020-08-03 Thread David Miller
From: Christophe JAILLET Date: Sun, 2 Aug 2020 15:52:04 +0200 > Update the size used in 'dma_free_coherent()' in order to match the one > used in the corresponding 'dma_alloc_coherent()'. > > Fixes: 369a782af0f1 ("net: sgi: ioc3-eth: ensure tx ring is 16k aligned.") > Signed-off-by: Christophe

Re: [PATCH 2/2] net: spider_net: Remove a useless memset

2020-08-03 Thread David Miller
From: Christophe JAILLET Date: Sun, 2 Aug 2020 15:53:48 +0200 > Avoid a memset after a call to 'dma_alloc_coherent()'. > This is useless since > commit 518a2f1925c3 ("dma-mapping: zero memory returned from dma_alloc_*") > > Signed-off-by: Christophe JAILLET Applied.

Re: [PATCH] hugetlbfs: remove call to huge_pte_alloc without i_mmap_rwsem

2020-08-03 Thread Mike Kravetz
On 8/3/20 3:52 PM, Matthew Wilcox wrote: > On Mon, Aug 03, 2020 at 03:43:35PM -0700, Mike Kravetz wrote: >> Commit c0d0381ade79 ("hugetlbfs: use i_mmap_rwsem for more pmd sharing >> synchronization") requires callers of huge_pte_alloc to hold i_mmap_rwsem >> in at least read mode. This is because

Re: [PATCH v2 05/18] gpiolib: cdev: support GPIO_GET_LINE_IOCTL and GPIOLINE_GET_VALUES_IOCTL

2020-08-03 Thread Kent Gibson
On Mon, Aug 03, 2020 at 10:02:50PM +0200, Bartosz Golaszewski wrote: > On Sun, Aug 2, 2020 at 5:32 AM Kent Gibson wrote: > > > > On Fri, Jul 31, 2020 at 06:05:10PM +0200, Bartosz Golaszewski wrote: > > > On Sun, Jul 26, 2020 at 3:12 AM Kent Gibson wrote: > > [snip!] > > > > > > > > > > > >

Re: [PATCH 1/2] net: spider_net: Fix the size used in a 'dma_free_coherent()' call

2020-08-03 Thread David Miller
From: Christophe JAILLET Date: Sun, 2 Aug 2020 15:53:33 +0200 > Update the size used in 'dma_free_coherent()' in order to match the one > used in the corresponding 'dma_alloc_coherent()', in > 'spider_net_init_chain()'. > > Fixes: d4ed8f8d1fb7 ("Spidernet DMA coalescing") > Signed-off-by:

Re: [PATCH] net: vmxnet3: avoid accessing the data mapped to streaming DMA

2020-08-03 Thread David Miller
From: Jia-Ju Bai Date: Sun, 2 Aug 2020 21:11:07 +0800 > In vmxnet3_probe_device(), "adapter" is mapped to streaming DMA: > adapter->adapter_pa = dma_map_single(..., adapter, ...); > > Then "adapter" is accessed at many places in this function. > > Theses accesses may cause data

Re: [PATCH v10 3/5] KASAN: Port KASAN Tests to KUnit

2020-08-03 Thread David Gow
On Sat, Aug 1, 2020 at 3:10 PM David Gow wrote: > > From: Patricia Alfonso > > Transfer all previous tests for KASAN to KUnit so they can be run > more easily. Using kunit_tool, developers can run these tests with their > other KUnit tests and see "pass" or "fail" with the appropriate KASAN >

Re: [PATCH] liquidio: Fix wrong return value in cn23xx_get_pf_num()

2020-08-03 Thread David Miller
From: Tianjia Zhang Date: Sun, 2 Aug 2020 19:15:44 +0800 > On an error exit path, a negative error code should be returned > instead of a positive return value. > > Fixes: 0c45d7fe12c7e ("liquidio: fix use of pf in pass-through mode in a > virtual machine") > Cc: Rick Farrington >

Re: [PATCH] net/enetc: Fix wrong return value in enetc_psfp_parse_clsflower()

2020-08-03 Thread David Miller
From: Tianjia Zhang Date: Sun, 2 Aug 2020 19:15:38 +0800 > In the case of invalid rule, a positive value EINVAL is returned here. > I think this is a typo error. It is necessary to return an error value. > > Cc: Po Liu > Signed-off-by: Tianjia Zhang Applied.

Re: [PATCH] lz4: Fix kernel decompression speed

2020-08-03 Thread Nick Terrell
> On Aug 3, 2020, at 2:57 PM, Arvind Sankar wrote: > > On Mon, Aug 03, 2020 at 12:40:22PM -0700, Nick Terrell wrote: >> From: Nick Terrell >> >> This patch replaces all memcpy() calls with LZ4_memcpy() which calls >> __builtin_memcpy() so the compiler can inline it. >> >> LZ4 relies heavily

Re: [PATCH] net: ethernet: aquantia: Fix wrong return value

2020-08-03 Thread David Miller
From: Tianjia Zhang Date: Sun, 2 Aug 2020 19:15:37 +0800 > In function hw_atl_a0_hw_multicast_list_set(), when an invalid > request is encountered, a negative error code should be returned. > > Fixes: bab6de8fd180b ("net: ethernet: aquantia: Atlantic A0 and B0 specific > functions") > Cc:

Re: [PATCH] hugetlbfs: remove call to huge_pte_alloc without i_mmap_rwsem

2020-08-03 Thread Matthew Wilcox
On Mon, Aug 03, 2020 at 03:43:35PM -0700, Mike Kravetz wrote: > Commit c0d0381ade79 ("hugetlbfs: use i_mmap_rwsem for more pmd sharing > synchronization") requires callers of huge_pte_alloc to hold i_mmap_rwsem > in at least read mode. This is because the explicit locking in > huge_pmd_share

Re: [PATCH] atm: idt77252: avoid accessing the data mapped to streaming DMA

2020-08-03 Thread David Miller
From: Jia-Ju Bai Date: Sun, 2 Aug 2020 17:33:40 +0800 > In queue_skb(), skb->data is mapped to streaming DMA on line 850: > dma_map_single(..., skb->data, ...); > > Then skb->data is accessed on lines 862 and 863: > tbd->word_4 = (skb->data[0] << 24) | (skb->data[1] << 16) | >

Re: [PATCH] atm: eni: avoid accessing the data mapped to streaming DMA

2020-08-03 Thread David Miller
From: Jia-Ju Bai Date: Sun, 2 Aug 2020 17:16:11 +0800 > In do_tx(), skb->data is mapped to streaming DMA on line : > paddr = dma_map_single(...,skb->data,DMA_TO_DEVICE); > > Then skb->data is accessed on line 1153: > (skb->data[3] & 0xf) > > This access may cause data inconsistency

Re: [PATCHv3] coresight: etm4x: Fix etm4_count race by moving cpuhp callbacks to init

2020-08-03 Thread Suzuki K Poulose
On 07/29/2020 06:13 AM, Sai Prakash Ranjan wrote: etm4_count keeps track of number of ETMv4 registered and on some systems, a race is observed on etm4_count variable which can lead to multiple calls to cpuhp_setup_state_nocalls_cpuslocked(). This function internally calls cpuhp_store_callbacks()

Re: [PATCH] of: reserved-memory: remove duplicated call to of_get_flat_dt_prop() for no-map node

2020-08-03 Thread Rob Herring
On Thu, 30 Jul 2020 17:23:53 +0800, Yue Hu wrote: > From: Yue Hu > > Just use nomap instead of the second call to of_get_flat_dt_prop(). And > change nomap as a bool type due to != NULL operator. Also, correct comment > about node of 'align' -> 'alignment'. > > Signed-off-by: Yue Hu > --- >

Re: [net-next PATCH] net: phy: mdio-mvusb: select MDIO_DEVRES in Kconfig

2020-08-03 Thread David Miller
From: Bartosz Golaszewski Date: Sun, 2 Aug 2020 09:49:53 +0200 > From: Bartosz Golaszewski > > PHYLIB is not selected by the mvusb driver but it uses mdio devres > helpers. Explicitly select MDIO_DEVRES in this driver's Kconfig entry. > > Reported-by: kernel test robot > Fixes: 1814cff26739

Re: [PATCH] drivers: char: applicom.c: Add lock for protecting DeviceErrorCount

2020-08-03 Thread Madhuparna Bhowmik
On Mon, Aug 03, 2020 at 01:53:28PM +0200, Greg KH wrote: > On Mon, Aug 03, 2020 at 04:20:49PM +0530, madhuparnabhowmi...@gmail.com wrote: > > From: Madhuparna Bhowmik > > > > The variable DeviceErrorCount is used to keep track of the number of > > errors in read, write and interrupt routines,

Re: [PATCH v17 19/21] mm/vmscan: use relock for move_pages_to_lru

2020-08-03 Thread Alexander Duyck
On Sat, Jul 25, 2020 at 6:00 AM Alex Shi wrote: > > From: Hugh Dickins > > Use the relock function to replace relocking action. And try to save few > lock times. > > Signed-off-by: Hugh Dickins > Signed-off-by: Alex Shi > Cc: Andrew Morton > Cc: Tejun Heo > Cc: Andrey Ryabinin > Cc: Jann

Re: [GIT PULL] Mount notifications

2020-08-03 Thread Ian Kent
ing and Miklós wanted some bits taking > out/changing. > I've placed a tag, fsinfo-core-20200724 on the aggregate of these two > patchsets that can be compared to fsinfo-core-20200803. > > To summarise the changes: I added the limiter that you wanted; > removed an > unused symbol; made the m

Re: [PATCH v4 2/2] net: dsa: ocelot: Add support for QinQ Operation

2020-08-03 Thread Florian Fainelli
On 7/30/2020 3:25 AM, hongbo.w...@nxp.com wrote: > From: "hongbo.wang" > > This featue can be test using network test tools mispelled: feature, can be used to test network test tools? or can be used to exercise network test tool? > TX-tool -> swp0 -> swp1 -> RX-tool > >

Re: [PATCH v17 20/21] mm/pgdat: remove pgdat lru_lock

2020-08-03 Thread Alexander Duyck
Just to correct a typo, I meant patch 17, not 18. in the comment below. On Mon, Aug 3, 2020 at 3:42 PM Alexander Duyck wrote: > > On Sat, Jul 25, 2020 at 6:00 AM Alex Shi wrote: > > > > Now pgdat.lru_lock was replaced by lruvec lock. It's not used anymore. > > > > Signed-off-by: Alex Shi > >

Re: [PATCH net-next v3 2/2] net: dsa: qca8k: Add 802.1q VLAN support

2020-08-03 Thread David Miller
From: Jonathan McDowell Date: Sat, 1 Aug 2020 18:06:46 +0100 > This adds full 802.1q VLAN support to the qca8k, allowing the use of > vlan_filtering and more complicated bridging setups than allowed by > basic port VLAN support. > > Tested with a number of untagged ports with separate VLANs and

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