Re: [PATCH 04/14] power: supply: sc27xx: Replace devm_add_action() followed by failure action with devm_add_action_or_reset()

2019-09-02 Thread Sebastian Reichel
Hi, On Mon, Jul 08, 2019 at 08:32:59PM +0800, Fuqian Huang wrote: > devm_add_action_or_reset() is introduced as a helper function which > internally calls devm_add_action(). If devm_add_action() fails > then it will execute the action mentioned and return the error code. > This reduce source

Re: [PATCH 03/14] power: supply: sc27xx: Introduce local variable 'struct device *dev'

2019-09-02 Thread Sebastian Reichel
Hi, On Mon, Jul 08, 2019 at 08:32:51PM +0800, Fuqian Huang wrote: > Introduce local variable 'struct device *dev' and use it instead of > dereferencing it repeatly. > > Signed-off-by: Fuqian Huang > --- Thanks, queued. -- Sebastian > drivers/power/supply/sc27xx_fuel_gauge.c | 47 >

Re: [PATCH] leds: remove PAGE_SIZE limit of /sys/class/leds//trigger

2019-09-02 Thread Greg KH
On Mon, Sep 02, 2019 at 08:47:02PM +0200, Jacek Anaszewski wrote: > On 9/2/19 8:12 PM, Greg KH wrote: > > On Sun, Sep 01, 2019 at 06:53:34PM +0200, Jacek Anaszewski wrote: > >> Hi Akinobu, > >> > >> Thank you for the patch. > >> > >> I have one nit below but in general it looks good to me. > >>

Re: [PATCH net-next 0/2] mvpp2: per-cpu buffers

2019-09-02 Thread David Miller
From: Matteo Croce Date: Mon, 2 Sep 2019 12:21:35 +0200 > This patchset workarounds an PP2 HW limitation which prevents to use > per-cpu rx buffers. > The first patch is just a refactor to prepare for the second one. > The second one allocates percpu buffers if the following conditions are met:

Re: [PATCH] drivers/staging/exfat - by default, prohibit mount of fat/vfat

2019-09-02 Thread Greg Kroah-Hartman
On Mon, Sep 02, 2019 at 03:00:17PM -0400, Valdis Klētnieks wrote: > On Mon, 02 Sep 2019 17:25:24 +0200, Greg Kroah-Hartman said: > > > I dug up my old discussion with the current vfat maintainer and he said > > something to the affect of, "leave the existing code alone, make a new > > filesystem,

Re: [PATCH] power: reset: reboot-mode: Fix author email format

2019-09-02 Thread Sebastian Reichel
Hi, On Sat, Jul 13, 2019 at 06:42:48PM +0300, Matwey V. Kornilov wrote: > Closing angle bracket was missing. > > Signed-off-by: Matwey V. Kornilov > --- Thanks, queued. -- Sebastian > drivers/power/reset/reboot-mode.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH v2] power: supply: ab8500: remove set but not used variables 'vbup33_vrtcn' and 'bup_vch_range'

2019-09-02 Thread Sebastian Reichel
Hi, On Wed, Jul 17, 2019 at 10:18:48PM +0800, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warnings: > > drivers/power/supply/ab8500_charger.c: > In function ab8500_charger_init_hw_registers: > drivers/power/supply/ab8500_charger.c:3013:24: warning: > variable vbup33_vrtcn set but

[PATCH] staging: exfat: cleanup blank line warnings

2019-09-02 Thread Valentin Vidic
Fixes checkpatch.pl warnings: CHECK: Please don't use multiple blank lines CHECK: Blank lines aren't necessary after an open brace '{' CHECK: Please use a blank line after function/struct/union/enum declarations Signed-off-by: Valentin Vidic --- drivers/staging/exfat/exfat.h

Re: [PATCH] power: supply: max17042_battery: Fix a typo in function names

2019-09-02 Thread Sebastian Reichel
Hi, On Sun, Jul 21, 2019 at 06:03:28PM +0200, Christophe JAILLET wrote: > It is likely that 'max10742_[un]lock_model()' functions should be > 'max17042_[un]lock_model()' > (0 and 7 switched in 10742) > > Signed-off-by: Christophe JAILLET > --- Thanks, queued. -- Sebastian >

Re: [PATCH net-next] net/ncsi: support unaligned payload size in NC-SI cmd handler

2019-09-02 Thread David Miller
From: Ben Wei Date: Mon, 2 Sep 2019 02:46:52 + > Update NC-SI command handler (both standard and OEM) to take into > account of payload paddings in allocating skb (in case of payload > size is not 32-bit aligned). > > The checksum field follows payload field, without taking payload >

Re: [PATCH] drivers/staging/exfat - by default, prohibit mount of fat/vfat

2019-09-02 Thread Valdis Klētnieks
On Mon, 02 Sep 2019 17:25:24 +0200, Greg Kroah-Hartman said: > I dug up my old discussion with the current vfat maintainer and he said > something to the affect of, "leave the existing code alone, make a new > filesystem, I don't want anything to do with exfat". > > And I don't blame them, vfat

Re: [PATCH] power/supply: ingenic-battery: Don't change scale if there's only one

2019-09-02 Thread Sebastian Reichel
Hi, On Mon, Jul 22, 2019 at 10:45:54PM -0400, Paul Cercueil wrote: > The ADC in the JZ4740 can work either in high-precision mode with a 2.5V > range, or in low-precision mode with a 7.5V range. The code in place in > this driver will select the proper scale according to the maximum > voltage of

[PATCH] staging: exfat: use BIT macro for defining sizes

2019-09-02 Thread Valentin Vidic
Fixes checkpatch.pl warning: CHECK: Prefer using the BIT macro Signed-off-by: Valentin Vidic --- drivers/staging/exfat/exfat.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/exfat/exfat.h b/drivers/staging/exfat/exfat.h index

Re: [PATCH] net: stmmac: dwmac-sun8i: Variable "val" in function sun8i_dwmac_set_syscon() could be uninitialized

2019-09-02 Thread David Miller
From: Yizhuo Date: Fri, 30 Aug 2019 19:00:48 -0700 > In function sun8i_dwmac_set_syscon(), local variable "val" could > be uninitialized if function regmap_field_read() returns -EINVAL. > However, it will be used directly in the if statement, which > is potentially unsafe. > > Signed-off-by:

Re: [PATCH] Fix a double free bug in rsi_91x_deinit

2019-09-02 Thread Greg KH
On Sun, Sep 01, 2019 at 07:08:29AM -0700, Guenter Roeck wrote: > On 9/1/19 1:03 AM, Kalle Valo wrote: > > Guenter Roeck writes: > > > > > On Mon, Aug 19, 2019 at 06:02:29PM -0400, Hui Peng wrote: > > > > `dev` (struct rsi_91x_usbdev *) field of adapter > > > > (struct rsi_91x_usbdev *) is

Re: [PATCH] leds: remove PAGE_SIZE limit of /sys/class/leds//trigger

2019-09-02 Thread Jacek Anaszewski
On 9/2/19 8:12 PM, Greg KH wrote: > On Sun, Sep 01, 2019 at 06:53:34PM +0200, Jacek Anaszewski wrote: >> Hi Akinobu, >> >> Thank you for the patch. >> >> I have one nit below but in general it looks good to me. >> I've tested it with 2000 mtd triggers (~14kB file size) >> and it worked flawlessly.

Re: [PATCH v3 1/2] net: core: Notify on changes to dev->promiscuity.

2019-09-02 Thread Jiri Pirko
Mon, Sep 02, 2019 at 08:05:20PM CEST, allan.niel...@microchip.com wrote: >The 09/02/2019 19:51, Jiri Pirko wrote: >> External E-Mail >> >> >> Mon, Sep 02, 2019 at 07:42:31PM CEST, allan.niel...@microchip.com wrote: >> >Hi Jiri, >> > >> >Sorry for joining the discussion this late, but I have been

Re: linux-next: Tree for Sep 2 (exfat)

2019-09-02 Thread Greg KH
On Mon, Sep 02, 2019 at 11:11:45AM -0700, Joe Perches wrote: > On Mon, 2019-09-02 at 11:07 -0700, Randy Dunlap wrote: > > On 9/2/19 10:46 AM, Greg KH wrote: > > > On Mon, Sep 02, 2019 at 10:39:39AM -0700, Randy Dunlap wrote: > > > > On 9/2/19 5:43 AM, Stephen Rothwell wrote: > > > > > Hi all, > >

[PATCH][next] usb: cdns3: remove redundant assignment to ret on error exit path

2019-09-02 Thread Colin King
From: Colin Ian King In the case where an allocation fails for priv_ep ret is assigned -ENOMEM and the code exits via the exit path 'err'. The exit path returns -ENOMEM without using variable ret, so the assingment is redundant and can be removed. Addresses-Coverity: ("Unused value")

Re: [PATCH] power: reset: gpio-restart: Fix typo when gpio reset is not found

2019-09-02 Thread Sebastian Reichel
Hi, On Mon, Sep 02, 2019 at 03:00:40PM +0200, Michal Simek wrote: > Trivial patch which just corrects error message. > > Fixes: 371bb20d6927 ("power: Add simple gpio-restart driver") > Signed-off-by: Michal Simek > --- Thanks, queued. -- Sebastian > > drivers/power/reset/gpio-restart.c | 2

Re: [PATCH net-next] r8152: modify rtl8152_set_speed function

2019-09-02 Thread Heiner Kallweit
On 02.09.2019 13:52, Hayes Wang wrote: > First, for AUTONEG_DISABLE, we only need to modify MII_BMCR. > > Second, add advertising parameter for rtl8152_set_speed(). Add > RTL_ADVERTISED_xxx for advertising parameter of rtl8152_set_speed(). > Then, the advertising settings from ethtool could be

Re: [PATCH v4 1/1] power/supply/sbs-battery: Fix confusing battery status when idle or empty

2019-09-02 Thread Sebastian Reichel
Hi, Looks good to me, but needs to be split (one patch adding STATUS_EMPTY to the power-supply core and one patch fixing sbs-battery driver). -- Sebastian On Thu, Aug 01, 2019 at 12:34:18PM -0600, Nick Crews wrote: > Thanks Richard, I still would like some more opinions > on this changing the

RE: [PATCH v4 1/2] drivers: hv: vmbus: Introduce latency testing

2019-09-02 Thread Michael Kelley
From: Branden Bonaby Sent: Wednesday, August 28, 2019 9:24 PM > > Introduce user specified latency in the packet reception path > By exposing the test parameters as part of the debugfs channel > attributes. We will control the testing state via these attributes. > > Signed-off-by: Branden

[PATCH][next] net/sched: cbs: remove redundant assignment to variable port_rate

2019-09-02 Thread Colin King
From: Colin Ian King Variable port_rate is being initialized with a value that is never read and is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- net/sched/sch_cbs.c | 2 +- 1

Re: [RESEND v2 1/2] dt-binding docs: sbs_sbs-battery: Addition of force_load binding

2019-09-02 Thread Sebastian Reichel
Hi, On Tue, Jul 30, 2019 at 06:10:03PM +0800, Richard Tresidder wrote: > Add device tree binding documentation for addition of force_load boolean value > to allow loading a battery during boot even if notpresent at that time. > > Signed-off-by: Richard Tresidder > --- >

Re: [PATCH v6 4/4] tpm: tpm_tis_spi: Support cr50 devices

2019-09-02 Thread kbuild test robot
Hi Stephen, Thank you for the patch! Yet something to improve: [auto build test ERROR on ] url: https://github.com/0day-ci/linux/commits/Stephen-Boyd/tpm-Add-driver-for-cr50/20190901-100447 base: config: x86_64-randconfig-s1-09021303 (attached as .config) compiler: gcc-7 (Debian

[tip: perf/core] x86, perf: Fix the dependency of the x86 insn decoder selftest

2019-09-02 Thread tip-bot2 for Masami Hiramatsu
The following commit has been merged into the perf/core branch of tip: Commit-ID: 7720804a2ae46c90265a32c81c45fb6f8d2f4e8b Gitweb: https://git.kernel.org/tip/7720804a2ae46c90265a32c81c45fb6f8d2f4e8b Author:Masami Hiramatsu AuthorDate:Sun, 01 Sep 2019 12:03:08 +09:00

Re: [PATCH] leds: remove PAGE_SIZE limit of /sys/class/leds//trigger

2019-09-02 Thread Greg KH
On Sun, Sep 01, 2019 at 06:53:34PM +0200, Jacek Anaszewski wrote: > Hi Akinobu, > > Thank you for the patch. > > I have one nit below but in general it looks good to me. > I've tested it with 2000 mtd triggers (~14kB file size) > and it worked flawlessly. > > Still, I would like to have ack

Re: linux-next: Tree for Sep 2 (exfat)

2019-09-02 Thread Joe Perches
On Mon, 2019-09-02 at 11:07 -0700, Randy Dunlap wrote: > On 9/2/19 10:46 AM, Greg KH wrote: > > On Mon, Sep 02, 2019 at 10:39:39AM -0700, Randy Dunlap wrote: > > > On 9/2/19 5:43 AM, Stephen Rothwell wrote: > > > > Hi all, > > > > > > > > News: I will only be doing 2 more releases before I leave

Re: linux-next: Tree for Sep 2 (exfat)

2019-09-02 Thread Randy Dunlap
On 9/2/19 10:46 AM, Greg KH wrote: > On Mon, Sep 02, 2019 at 10:39:39AM -0700, Randy Dunlap wrote: >> On 9/2/19 5:43 AM, Stephen Rothwell wrote: >>> Hi all, >>> >>> News: I will only be doing 2 more releases before I leave for Kernel >>> Summit (there may be some reports on Thursday, but I doubt I

[tip: x86/urgent] x86/hyper-v: Fix overflow bug in fill_gva_list()

2019-09-02 Thread tip-bot2 for Tianyu Lan
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 4030b4c585c41eeefec7bd20ce3d0e100a0f2e4d Gitweb: https://git.kernel.org/tip/4030b4c585c41eeefec7bd20ce3d0e100a0f2e4d Author:Tianyu Lan AuthorDate:Mon, 02 Sep 2019 20:41:43 +08:00 Committer:

Re: linux-next: manual merge of the tip tree with Linus' tree

2019-09-02 Thread Ingo Molnar
* Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the tip tree got a conflict in: > > tools/power/x86/turbostat/turbostat.c > > between commit: > > cd188af5282d ("tools/power turbostat: Fix Haswell Core systems") > b62b3184576b ("tools/power turbostat: add

Re: [PATCH -next] virtio-fs: Add missing include file

2019-09-02 Thread Miklos Szeredi
On Mon, Sep 2, 2019 at 4:43 PM YueHaibing wrote: > > fs/fuse/virtio_fs.c: In function virtio_fs_requests_done_work: > fs/fuse/virtio_fs.c:348:6: error: implicit declaration of function > zero_user_segment; > did you mean get_user_pages? [-Werror=implicit-function-declaration] >

Re: [PATCH v3 1/2] net: core: Notify on changes to dev->promiscuity.

2019-09-02 Thread Allan W. Nielsen
The 09/02/2019 19:51, Jiri Pirko wrote: > External E-Mail > > > Mon, Sep 02, 2019 at 07:42:31PM CEST, allan.niel...@microchip.com wrote: > >Hi Jiri, > > > >Sorry for joining the discussion this late, but I have been without mail > >access > >for the last few days. > > > > > >The 08/30/2019

Re: [PATCH v3 1/2] net: core: Notify on changes to dev->promiscuity.

2019-09-02 Thread Allan W. Nielsen
The 09/01/2019 20:48, Andrew Lunn wrote: > > Look, this again boils down to what promisc mode means with regards to > > hardware offload. You want it to mean punt all traffic to the CPU? Fine. > > Does not seem like anyone will be switching sides anyway, so lets move > > forward. But the current

Re: [PATCH 02/13] MIPS: Loongson64: Sepreate loongson2ef/loongson64 code

2019-09-02 Thread Aaro Koskinen
On Wed, Aug 28, 2019 at 08:37:34AM +0800, Jiaxun Yang wrote: > On 2019/8/28 上午6:05, Aaro Koskinen wrote: > Hi Aaro, > >You need to update lemote2f_defconfig with his patch. > > How to generate this config? We should not edit it manually right? It's possible to edit changed symbols by hand.

Re: [PATCH v3 1/2] net: core: Notify on changes to dev->promiscuity.

2019-09-02 Thread Jiri Pirko
Mon, Sep 02, 2019 at 07:42:31PM CEST, allan.niel...@microchip.com wrote: >Hi Jiri, > >Sorry for joining the discussion this late, but I have been without mail access >for the last few days. > > >The 08/30/2019 08:36, Jiri Pirko wrote: >> Fri, Aug 30, 2019 at 08:02:33AM CEST, da...@davemloft.net

Re: [PATCH 08/15] sched,fair: simplify timeslice length code

2019-09-02 Thread Rik van Riel
On Mon, 2019-09-02 at 09:51 +0200, Vincent Guittot wrote: > On Fri, 30 Aug 2019 at 17:02, Rik van Riel wrote: > > I would be more than happy to drop this patch if you > > prefer. Just let me know. > > If i'm not wrong, this change is not mandatory to flatten the > runqueue and because of the

Re: [PATCH 3/3] perf stat: Add --per-numa agregation support

2019-09-02 Thread Jiri Olsa
On Mon, Sep 02, 2019 at 12:43:29PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Sep 02, 2019 at 06:13:17PM +0300, Alexey Budankov escreveu: > > > > On 02.09.2019 15:12, Jiri Olsa wrote: > > > Adding new --per-numa option to aggregate counts per NUMA > > > nodes for system-wide mode

Re: linux-next: Tree for Sep 2 (exfat)

2019-09-02 Thread Greg KH
On Mon, Sep 02, 2019 at 10:39:39AM -0700, Randy Dunlap wrote: > On 9/2/19 5:43 AM, Stephen Rothwell wrote: > > Hi all, > > > > News: I will only be doing 2 more releases before I leave for Kernel > > Summit (there may be some reports on Thursday, but I doubt I will have > > time to finish the

Re: [PATCH v3 1/2] net: core: Notify on changes to dev->promiscuity.

2019-09-02 Thread Allan W. Nielsen
Hi Jiri, Sorry for joining the discussion this late, but I have been without mail access for the last few days. The 08/30/2019 08:36, Jiri Pirko wrote: > Fri, Aug 30, 2019 at 08:02:33AM CEST, da...@davemloft.net wrote: > >From: Jiri Pirko > >Date: Fri, 30 Aug 2019 07:39:40 +0200 > > > >>

Re: linux-next: Tree for Sep 2 (exfat)

2019-09-02 Thread Greg KH
On Mon, Sep 02, 2019 at 10:39:39AM -0700, Randy Dunlap wrote: > On 9/2/19 5:43 AM, Stephen Rothwell wrote: > > Hi all, > > > > News: I will only be doing 2 more releases before I leave for Kernel > > Summit (there may be some reports on Thursday, but I doubt I will have > > time to finish the

Re: linux-next: Tree for Sep 2 (exfat)

2019-09-02 Thread Randy Dunlap
On 9/2/19 5:43 AM, Stephen Rothwell wrote: > Hi all, > > News: I will only be doing 2 more releases before I leave for Kernel > Summit (there may be some reports on Thursday, but I doubt I will have > time to finish the full release) and then no more until Sept 30. > > Changes since 20190830: >

Re: [PATCH] arm: fix page faults in do_alignment

2019-09-02 Thread Eric W. Biederman
Russell King - ARM Linux admin writes: > On Fri, Aug 30, 2019 at 04:02:48PM -0500, Eric W. Biederman wrote: >> Russell King - ARM Linux admin writes: >> >> > On Fri, Aug 30, 2019 at 02:45:36PM -0500, Eric W. Biederman wrote: >> >> Russell King - ARM Linux admin writes: >> >> >> >> > On Fri,

Re: [BUG] Use of probe_kernel_address() in task_rcu_dereference() without checking return value

2019-09-02 Thread Linus Torvalds
On Mon, Sep 2, 2019 at 10:04 AM Eric W. Biederman wrote: > > I like using the storage we will later use for the rcu_head. > > Is the intention your new variable xxx start as 0, and the only > on the second write it becomes 1 and we take action? > > That should work but it is a funny way to encode

Linux 5.3-rc7

2019-09-02 Thread Linus Torvalds
So this goes out on Monday morning rather than my usual Sunday afternoon schedule, simply because I was away from a keyboard most of Sunday. It happens. Partly because of that, I got a couple of pull requests (networking, usb, misc/char) that would have missed this rc with the normal timing, and

[PATCH] ata: libahci_platform: Fix regulator_get_optional() misuse

2019-09-02 Thread Mark Brown
This driver is using regulator_get_optional() to handle all the supplies that it handles, and only ever enables and disables all supplies en masse without ever doing any other configuration of the device to handle missing power. These are clear signs that the API is being misused - it should only

Alerta por correo electrónico

2019-09-02 Thread Administrador de correo web
Estimado usuario Como parte de nuestros problemas de seguridad, actualizamos regularmente todas las direcciones de correo electrónico en nuestro sistema de base de datos, no podemos actualizar su cuenta, por lo tanto, suspenderemos su acceso a su dirección de correo electrónico temporalmente

Alerta por correo electrónico

2019-09-02 Thread Administrador de correo web
Estimado usuario Como parte de nuestros problemas de seguridad, actualizamos regularmente todas las direcciones de correo electrónico en nuestro sistema de base de datos, no podemos actualizar su cuenta, por lo tanto, suspenderemos su acceso a su dirección de correo electrónico temporalmente

Re: [PATCH 1/2] dt-bindings: iio: accel: add binding documentation for ADIS16240

2019-09-02 Thread Marcelo Schmitt
Hi Rodrigo, This dt doc looks overal fine IMHO. I would just add some inline comments about the cpha and cpol properties. On 09/01, Rodrigo Carvalho wrote: > This patch add device tree binding documentation for ADIS16240. > > Signed-off-by: Rodrigo Ribeiro Carvalho > --- > I have doubt about

Alerta por correo electrónico

2019-09-02 Thread Administrador de correo web
Estimado usuario Como parte de nuestros problemas de seguridad, actualizamos regularmente todas las direcciones de correo electrónico en nuestro sistema de base de datos, no podemos actualizar su cuenta, por lo tanto, suspenderemos su acceso a su dirección de correo electrónico temporalmente

Re: [RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal

2019-09-02 Thread Joe Lawrence
On 9/2/19 12:13 PM, Miroslav Benes wrote: I can easily foresee more problems like those in the future. Going forward we have to always keep track of which special sections are needed for which architectures. Those special sections can change over time, or can simply be overlooked for a given

Re: [GIT] Networking

2019-09-02 Thread pr-tracker-bot
The pull request you sent on Sun, 01 Sep 2019 13:45:25 -0700 (PDT): > git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git refs/heads/master has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/345464fb760d1b772e891538b498e111c588b692 Thank you! -- Deet-doot-dot,

Re: [GIT PULL] Char/Misc driver fixes for 5.3-rc7

2019-09-02 Thread pr-tracker-bot
The pull request you sent on Mon, 2 Sep 2019 17:34:31 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git > tags/char-misc-5.3-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/49ffdb4c7c65082cee24a53a7ebd62e00eb2e9e9 Thank you! --

Re: [GIT PULL] USB fixes for 5.3-rc7

2019-09-02 Thread pr-tracker-bot
The pull request you sent on Mon, 2 Sep 2019 17:33:51 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.3-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2c248f92fa4fae3036e656da2f9a077020a99f6e Thank you! -- Deet-doot-dot, I am a

Re: [BUG] Use of probe_kernel_address() in task_rcu_dereference() without checking return value

2019-09-02 Thread Eric W. Biederman
Oleg Nesterov writes: > On 08/30, Eric W. Biederman wrote: >> >> --- a/kernel/exit.c >> +++ b/kernel/exit.c >> @@ -182,6 +182,24 @@ static void delayed_put_task_struct(struct rcu_head >> *rhp) >> put_task_struct(tsk); >> } >> >> +void put_dead_task_struct(struct task_struct *task) >> +{

[PATCH] arch: arm: reuse addr variable in pfn_valid

2019-09-02 Thread Clemens Gruber
Avoid calling __pfn_to_phys twice. Cc: Russell King Cc: Mike Rapoport Cc: zhaoyang Signed-off-by: Clemens Gruber --- arch/arm/mm/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 98e17388a563..a5fe2bdc76de 100644 ---

Re: [PATCH v6 4/4] tpm: tpm_tis_spi: Support cr50 devices

2019-09-02 Thread kbuild test robot
Hi Stephen, Thank you for the patch! Yet something to improve: [auto build test ERROR on ] url: https://github.com/0day-ci/linux/commits/Stephen-Boyd/tpm-Add-driver-for-cr50/20190901-100447 base: config: i386-randconfig-a004-201935 (attached as .config) compiler: gcc-7 (Debian 7.4.0-11)

Re: [PATCH v3] arch/microblaze: add support for get_user() of size 8 bytes

2019-09-02 Thread Linus Torvalds
On Mon, Sep 2, 2019 at 6:17 AM Michal Simek wrote: > > Randy/Linus: Are you going create regular patch from this? Since I can't even test it, and Randy did most of the work (and that last patch worked for him too), I'd suggest he just send it in as his. You can add my acked-by or sign-of

Re: [PATCH] usb: storage: Add ums-cros-aoa driver

2019-09-02 Thread Greg KH
On Fri, Aug 30, 2019 at 01:43:36PM -0400, Alan Stern wrote: > > I could instead add a new sysfs node 'force_bind' to the driver core, > > that would work like 'bind' except for skipping the > > driver_match_device() call entirely and forcing a probe(). Do you > > think that would be acceptable? Or

Re: [PATCH 0/4] ARM: multi_v7_defconfig: add audio support for stm32mp157a-dk1

2019-09-02 Thread Arnd Bergmann
On Mon, Sep 2, 2019 at 6:01 PM Olivier Moysan wrote: > > This patchset adds audio support for stm32mp157a-dk1 board. > > Olivier Moysan (4): > ARM: multi_v7_defconfig: enable stm32 sai support > ARM: multi_v7_defconfig: enable stm32 i2s support > ARM: multi_v7_defconfig: enable cs42l51

Re: [PATCH RFC 00/12] media: hantro: H264 fixes and improvements

2019-09-02 Thread Jonas Karlman
On 2019-09-02 15:02, Ezequiel Garcia wrote: > Hi Jonas, > > Thanks for the series, I'll be reviewing this shortly. > > On Sun, 2019-09-01 at 12:42 +, Jonas Karlman wrote: >> This series contains fixes and improvements for the hantro H264 decoder. >> >> Patch 1-6 fixes issues and limitations

Re: [PATCH v3 01/11] PCI: designware-ep: Add multiple PFs support for DWC

2019-09-02 Thread Andrew Murray
On Mon, Sep 02, 2019 at 11:17:06AM +0800, Xiaowei Bao wrote: > Add multiple PFs support for DWC, different PF have different config space > we use pf-offset property which get from the DTS to access the different pF This needs to be updated as this no longer comes from the DT. > config space. >

Re: [PATCH v2] platform/chrome: cros_ec_chardev: Add a poll handler to receive MKBP events

2019-09-02 Thread Andy Shevchenko
On Mon, Sep 02, 2019 at 06:08:48PM +0200, Enric Balletbo i Serra wrote: > Allow to poll on the cros_ec device to receive the MKBP events. > > The /dev/cros_[ec|fp|..] file operations now implements the poll > operation. The userspace can now receive specific MKBP events by doing > the >

Re: [BUG] Use of probe_kernel_address() in task_rcu_dereference() without checking return value

2019-09-02 Thread Peter Zijlstra
On Mon, Sep 02, 2019 at 04:44:24PM +0200, Oleg Nesterov wrote: > speaking of the users of task_rcu_dereference(), membarrier_global_expedited() > does > > rcu_read_lock(); > p = task_rcu_dereference(_rq(cpu)->curr); > if (p && p->mm &&

Re: [PATCH 02/12] media: hantro: Do not reorder H264 scaling list

2019-09-02 Thread Jonas Karlman
On 2019-09-02 16:00, Philipp Zabel wrote: > Hi Jonas, > > On Sun, 2019-09-01 at 12:45 +, Jonas Karlman wrote: >> Scaling list supplied from userspace using ffmpeg and libva-v4l2-request >> is already in matrix order and can be used without applying the inverse >> scanning process. > "in matrix

Re: [PATCH v5 11/11] lib/test_printf: Add tests for %pfw printk modifier

2019-09-02 Thread Andy Shevchenko
On Mon, Sep 02, 2019 at 04:57:32PM +0300, Sakari Ailus wrote: > Add a test for the %pfw printk modifier using software nodes. > +static void __init fwnode_pointer(void) > +{ > + const struct software_node softnodes[] = { > + { .name = "first", }, > + { .name =

Re: [RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal

2019-09-02 Thread Miroslav Benes
> I can easily foresee more problems like those in the future. Going > forward we have to always keep track of which special sections are > needed for which architectures. Those special sections can change over > time, or can simply be overlooked for a given architecture. It's > fragile.

Re: [PATCH] HID: apple: Fix stuck function keys when using FN

2019-09-02 Thread João Moreno
Hi Benjamin, On Mon, 2 Sep 2019 at 17:23, Benjamin Tissoires wrote: > > Hi João, > > On Mon, Sep 2, 2019 at 4:44 PM João Moreno wrote: > > > > Hi Benjamin, > > > > First of all, sorry for the late reply. Turns out a newborn baby can > > keep one quite busy, who would have known? :) > > heh.

[PATCH v2 1/1] perf tools: Add PMU event JSON files for ARM Cortex-A76 and, Neoverse N1.

2019-09-02 Thread James Clark
The source of the event codes and description text was the Neoverse N1 technical reference manual at: http://infocenter.arm.com/help/topic/com.arm.doc.100616_0301_01_en/neoverse_n1_trm_100616_0301_01_en.pdf The Cortex-A76 shares the same event IDs as the Neoverse N1 and they can be viewed at:

[PATCH v2 0/1] perf tools: Add PMU event JSON files for ARM Cortex-A76 and, Neoverse N1.

2019-09-02 Thread James Clark
Resubmitting due to the previous patch having a disclaimer appended. I've tested that this applies cleanly with git am. James Clark (1): perf tools: Add PMU event JSON files for ARM Cortex-A76 and, Neoverse N1. .../arch/arm64/arm/cortex-a76-n1/branch.json | 14 ++

[PATCH v2] platform/chrome: cros_ec_chardev: Add a poll handler to receive MKBP events

2019-09-02 Thread Enric Balletbo i Serra
Allow to poll on the cros_ec device to receive the MKBP events. The /dev/cros_[ec|fp|..] file operations now implements the poll operation. The userspace can now receive specific MKBP events by doing the following: - Open the /dev/cros_XX file. - Call the CROS_EC_DEV_IOCEVENTMASK ioctl with the

Re: [PATCH v2 1/2] gpio: acpi: add quirk to override GpioInt polarity

2019-09-02 Thread Andy Shevchenko
On Mon, Sep 02, 2019 at 03:36:24PM +0200, Linus Walleij wrote: > On Mon, Sep 2, 2019 at 12:01 PM Andy Shevchenko > wrote: > > On Sat, Aug 31, 2019 at 11:09:14AM +0800, Peter Cai wrote: > > > On GPD P2 Max, the firmware could not reset the touch panel correctly. > > > The kernel needs to take on

Re: [PATCH v5 07/13] dt-bindings: pwm: add a property "num-pwms"

2019-09-02 Thread Uwe Kleine-König
On Tue, Aug 27, 2019 at 01:39:24PM -0500, Rob Herring wrote: > On Thu, Aug 22, 2019 at 02:58:37PM +0800, Sam Shih wrote: > > From: Ryder Lee > > The subject should indicate this is for Mediatek. > > > > > This adds a property "num-pwms" in example so that we could > > specify the number of PWM

[PATCH] arm64: dts: meson: sm1: set gpio interrupt controller compatible

2019-09-02 Thread Jerome Brunet
Set the appropriate gpio interrupt controller compatible for the sm1 SoC family. This newer version of the controller can now trig irq on both edge of the input signal Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 5 + 1 file changed, 5 insertions(+) diff

[PATCH 0/4] ARM: multi_v7_defconfig: add audio support for stm32mp157a-dk1

2019-09-02 Thread Olivier Moysan
This patchset adds audio support for stm32mp157a-dk1 board. Olivier Moysan (4): ARM: multi_v7_defconfig: enable stm32 sai support ARM: multi_v7_defconfig: enable stm32 i2s support ARM: multi_v7_defconfig: enable cs42l51 codec support ARM: multi_v7_defconfig: enable audio graph card

[PATCH 2/4] ARM: multi_v7_defconfig: enable stm32 i2s support

2019-09-02 Thread Olivier Moysan
Enable support for I2S on STM32MP1. Signed-off-by: Olivier Moysan --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 929d13842171..02265e195e50 100644 ---

[PATCH 3/4] ARM: multi_v7_defconfig: enable cs42l51 codec support

2019-09-02 Thread Olivier Moysan
Enable Cirrus CS42L51 audio codec for stm32mp157a-dk1 board. Signed-off-by: Olivier Moysan --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 02265e195e50..03a4d93df8c4

Re: [PATCH v4 07/11] lib/vsprintf: Remove support for %pF and %pf in favour of %pS and %ps

2019-09-02 Thread Andy Shevchenko
On Mon, Sep 02, 2019 at 04:39:35PM +0200, Petr Mladek wrote: > On Mon 2019-09-02 11:32:36, Sakari Ailus wrote: > > %pS and %ps are now the preferred conversion specifiers to print function > > names. The functionality is equivalent; remove the old, deprecated %pF > > and %pf support. > > Hmm, I

[PATCH 1/4] ARM: multi_v7_defconfig: enable stm32 sai support

2019-09-02 Thread Olivier Moysan
Enable support for SAI on STM32MP1. Signed-off-by: Olivier Moysan --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index c5d37dfafe98..929d13842171 100644 ---

[PATCH 4/4] ARM: multi_v7_defconfig: enable audio graph card support

2019-09-02 Thread Olivier Moysan
Enable audio graph card support for stm32mp157a-dk1 board. Signed-off-by: Olivier Moysan --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 03a4d93df8c4..c7104a1c1687 100644

Re: linux-next: build failure after merge of the keys tree

2019-09-02 Thread David Howells
Stephen Rothwell wrote: > The forward declararion doesn't seem to work (at laste for the > !CONFIG_USB_NOTIFICATIONS case. In the !CONFIG_USB_NOTIFICATIONS case, the argument is to a stub inline function. Even though the argument isn't actually used, it can't be an undefined type - and, I'm

Re: [PATCH 2/2] Fix a stack buffer overflow bug in check_input_term

2019-09-02 Thread Greg Kroah-Hartman
On Fri, Aug 30, 2019 at 05:51:17PM -0400, Hui Peng wrote: > This is the backported patch for the following fix to v4.4.x and v4.14.x: > 19bce474c45b ("ALSA: usb-audio: Fix a stack buffer overflow bug in > check_input_term") Now queued up, thanks. greg k-h

Re: [PATCH 1/2] Fix an OOB bug in parse_audio_mixer_unit

2019-09-02 Thread Greg Kroah-Hartman
On Fri, Aug 30, 2019 at 05:49:59PM -0400, Hui Peng wrote: > This is the backported patch of the following bug to v4.4.x and v4.14.x: > daac07156b33 ("ALSA: usb-audio: Fix an OOB bug in parse_audio_mixer_unit") Thanks, also now queued up to 4.9.y, you forgot that one :) greg k-h

Re: [PATCH v2] merge_config.sh: Check error codes from make

2019-09-02 Thread Mark Brown
On Mon, Sep 02, 2019 at 03:06:28PM +0100, Jon Hunter wrote: > If the intent is to catch errors returned by make, then one simple fix would > be ... I proposed a simpler version originally that only caught errors from make, this version was suggested by Yamada-san. Like Guillaume says he posted

Re: [PATCH v1 3/3] arm64: dts: Add power-domains properity to mfgcfg

2019-09-02 Thread kbuild test robot
Hi Weiyi, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc6 next-20190902] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCH AUTOSEL 4.19 11/29] binder: take read mode of mmap_sem in binder_alloc_free_page()

2019-09-02 Thread Greg Kroah-Hartman
On Fri, Aug 30, 2019 at 02:30:19AM -0500, Tyler Hicks wrote: > On 2019-08-30 08:29:10, Greg Kroah-Hartman wrote: > > On Thu, Aug 29, 2019 at 10:13:20AM -0500, Tyler Hicks wrote: > > > Hello, Sasha! > > > > > > On 2019-08-29 06:49:51, Sasha Levin wrote: > > > > From: Tyler Hicks > > > > > > > >

Re: [PATCH] ASoC: fsl_sai: Set SAI Channel Mode to Output Mode

2019-09-02 Thread Mark Brown
On Mon, Sep 02, 2019 at 04:35:56PM +0300, Daniel Baluta wrote: > On Mon, Sep 2, 2019 at 3:42 PM Mark Brown wrote: > > This patch seems to do this unconditionally. This is fine for > > configurations where the SoC is the only thing driving the bus but will > > mean that for TDM configurations

Re: [PATCH -tip] kprobes: Prohibit probing on BUG() and WARN() address

2019-09-02 Thread kbuild test robot
Hi Masami, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3-rc6 next-20190902] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Masami

Re: [PATCH v4 2/9] dt-bindings: i2c: add bindings for i2c analog and digital filter

2019-09-02 Thread Wolfram Sang
Hi Eugen, > Wolfram, what do you think ? Yes, the bindings should be generic. Peter's reasoning makes much sense to me. I am quite sure if the two of you can work things out, I'll have nothing to add. Thanks, Wolfram signature.asc Description: PGP signature

Re: Disabling MFD sub-devices through the device tree

2019-09-02 Thread Stephan Gerhold
On Thu, Aug 22, 2019 at 08:26:33PM +0200, Stephan Gerhold wrote: > Hi, > > I am looking for a way to disable a MFD sub-device through the device > tree. Setting status = "disabled" for the device node does not seem to > have any effect when mfd_add_devices() is used. > > For MFD sub-devices,

Re: [PATCH 3/3] perf stat: Add --per-numa agregation support

2019-09-02 Thread Arnaldo Carvalho de Melo
Em Mon, Sep 02, 2019 at 06:13:17PM +0300, Alexey Budankov escreveu: > > On 02.09.2019 15:12, Jiri Olsa wrote: > > Adding new --per-numa option to aggregate counts per NUMA > > nodes for system-wide mode measurements. > > > > You can specify --per-numa in live mode: > > > > # perf stat -a -I

Re: [PATCH v4 08/11] lib/vsprintf: Make use of fwnode API to obtain node names and separators

2019-09-02 Thread Sakari Ailus
Hi Petr, Thanks for the review. On Mon, Sep 02, 2019 at 05:18:03PM +0200, Petr Mladek wrote: > On Mon 2019-09-02 11:32:37, Sakari Ailus wrote: > > Instead of implementing our own means of discovering parent nodes, node > > names or counting how many parents a node has, use the newly added > >

Re: [PATCH RESEND] fs/epoll: fix the edge-triggered mode for nested epoll

2019-09-02 Thread Roman Penyaev
Hi, This is indeed a bug. (quick side note: could you please remove efd[1] from your test, because it is not related to the reproduction of a current bug). Your patch lacks a good description, what exactly you've fixed. Let me speak out loud and please correct me if I'm wrong, my understanding

[GIT PULL] Char/Misc driver fixes for 5.3-rc7

2019-09-02 Thread Greg KH
The following changes since commit d1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1: Linux 5.3-rc5 (2019-08-18 14:31:08 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git tags/char-misc-5.3-rc7 for you to fetch changes up to

[GIT PULL] USB fixes for 5.3-rc7

2019-09-02 Thread Greg KH
The following changes since commit d1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1: Linux 5.3-rc5 (2019-08-18 14:31:08 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.3-rc7 for you to fetch changes up to

Re: [PATCH] drivers/staging/exfat - by default, prohibit mount of fat/vfat

2019-09-02 Thread Greg Kroah-Hartman
On Mon, Sep 02, 2019 at 12:35:25AM -0700, Christoph Hellwig wrote: > On Sat, Aug 31, 2019 at 06:25:21AM -0400, Valdis Klētnieks wrote: > > On Fri, 30 Aug 2019 23:46:16 -0700, Christoph Hellwig said: > > > > > Since when did Linux kernel submissions become "show me a better patch" > > > to reject

[PATCH] PCI: Do not use bus number zero from EA capability

2019-09-02 Thread sundeep . lkml
From: Subbaraya Sundeep As per the spec, "Enhanced Allocation (EA) for Memory and I/O Resources" ECN, approved 23 October 2014, sec 6.9.1.2, fixed bus numbers of a bridge can be zero when no function that uses EA is located behind it. Hence assign bus numbers sequentially when fixed bus numbers

Re: linux-next: manual merge of the vfs tree with the fuse tree

2019-09-02 Thread Al Viro
On Mon, Sep 02, 2019 at 05:10:27PM +0200, Miklos Szeredi wrote: > On Mon, Sep 2, 2019 at 11:00 AM Miklos Szeredi wrote: > > > > On Fri, Aug 30, 2019 at 5:01 AM Stephen Rothwell > > wrote: > > > > > > Hi all, > > > > > > Today's linux-next merge of the vfs tree got a conflict in: > > > > > >

Re: [PATCH] printf: add support for printing symbolic error codes

2019-09-02 Thread Uwe Kleine-König
Hello Rasmus, On 8/30/19 11:46 PM, Rasmus Villemoes wrote: > It has been suggested several times to extend vsnprintf() to be able > to convert the numeric value of ENOSPC to print "ENOSPC". This is yet > another attempt. Rather than adding another %p extension, simply teach > plain %p to convert

<    1   2   3   4   5   6   7   8   9   >