Re: [PATCH] clocksource/drivers/timer-ti-dm: Do one override clock parent in prepare()

2020-05-05 Thread Suman Anna
On 4/28/20 1:22 PM, Tony Lindgren wrote: * Lokesh Vutla [200427 17:29]: omap_dm_timer_prepare() is setting up the parent 32KHz clock. This prepare() gets called by request_timer in the client's driver. Because of this, the timer clock parent that is set with assigned-clock-parent is being

Re: cgroup pointed by sock is leaked on mode switch

2020-05-05 Thread Tejun Heo
Hello, Yang. On Sat, May 02, 2020 at 06:27:21PM +0800, Yang Yingliang wrote: > I find the number nr_dying_descendants is increasing: > linux-dVpNUK:~ # find /sys/fs/cgroup/ -name cgroup.stat -exec grep > '^nr_dying_descendants [^0]'  {} + > /sys/fs/cgroup/unified/cgroup.stat:nr_dying_descendants

Re: [PATCH v6 2/2] mmc: host: meson-mx-sdhc: new driver for the Amlogic Meson SDHC host

2020-05-05 Thread Jerome Brunet
On Tue 05 May 2020 at 10:17, Ulf Hansson wrote: > [...] > >> >> > + >> >> > + return devm_of_clk_add_hw_provider(dev, of_clk_hw_onecell_get, >> >> > +onecell_data); >> >> >> >> I think registering a provider for a module that does not provide clocks

Re: [PATCH v2 02/15] ARM: actions: Drop unneeded select of COMMON_CLK

2020-05-05 Thread Andreas Färber
Hi Geert, Am 05.05.20 um 17:07 schrieb Geert Uytterhoeven: Support for Actions Semi SoCs depends on ARCH_MULTI_V7, and thus on ARCH_MULTIPLATFORM. As the latter selects COMMON_CLK, there is no need for ARCH_ACTIONS to select COMMON_CLK. Signed-off-by: Geert Uytterhoeven Cc: Andreas Färber

Re: [patch V4 part 1 07/36] locking/atomics: Flip fallbacks and instrumentation

2020-05-05 Thread Mark Rutland
On Tue, May 05, 2020 at 03:16:09PM +0200, Thomas Gleixner wrote: > Currently instrumentation of atomic primitives is done at the > architecture level, while composites or fallbacks are provided at the > generic level. > > The result is that there are no uninstrumented variants of the > fallbacks.

Re: [PATCH] powerpc/5200: update contact email

2020-05-05 Thread Wolfram Sang
> > My 'pengutronix' address is defunct for years. Merge the entries and use > > the proper contact address. > > Is there any point adding the new address? It's just likely to bit-rot > one day too. At least, this one is a group address, not an individual one, so less likey. > I figure the git

Re: [PATCH] doc: Fix some typo errors in ras.rst

2020-05-05 Thread Borislav Petkov
On Tue, May 05, 2020 at 08:48:16AM -0700, Matthew Wilcox wrote: > Usually a 64-bit system refers to the width of a pointer. Here, it's > referring to the width of the memory system, which is rather confusing. > How about "In the above example" instead of "So, on 64 bit systems". Yes, that should

Re: [PATCH] xenbus: avoid stack overflow warning

2020-05-05 Thread Jürgen Groß
On 05.05.20 17:01, Arnd Bergmann wrote: On Tue, May 5, 2020 at 4:34 PM Jürgen Groß wrote: On 05.05.20 16:15, Arnd Bergmann wrote: The __xenbus_map_ring() function has two large arrays, 'map' and 'unmap' on its stack. When clang decides to inline it into its caller,

Re: [PATCH 4.19 00/37] 4.19.121-rc1 review

2020-05-05 Thread Guenter Roeck
On 5/4/20 10:57 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.121 release. > There are 37 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. > > Responses

Re: Re: [PATCH net v2 0/2] Revert the 'socket_alloc' life cycle change

2020-05-05 Thread Eric Dumazet
On Tue, May 5, 2020 at 8:47 AM SeongJae Park wrote: > > On Tue, 5 May 2020 08:20:50 -0700 Eric Dumazet wrote: > > > > > > > On 5/5/20 8:07 AM, SeongJae Park wrote: > > > On Tue, 5 May 2020 07:53:39 -0700 Eric Dumazet > > > wrote: > > > > > > > >> Why do we have 10,000,000 objects around ?

Re: [PATCH v4 1/2] powerpc/uaccess: Implement unsafe_put_user() using 'asm goto'

2020-05-05 Thread Segher Boessenkool
On Tue, May 05, 2020 at 05:40:21PM +0200, Christophe Leroy wrote: > >>+#define __put_user_asm_goto(x, addr, label, op)\ > >>+ asm volatile goto( \ > >>+ "1: " op "%U1%X1 %0,%1 # put_user\n" \ > >>+

Re: [PATCH v3 19/19] tools/cgroup: add memcg_slabinfo.py tool

2020-05-05 Thread Tejun Heo
On Wed, Apr 22, 2020 at 01:47:08PM -0700, Roman Gushchin wrote: > Add a drgn-based tool to display slab information for a given memcg. > Can replace cgroup v1 memory.kmem.slabinfo interface on cgroup v2, > but in a more flexiable way. > > Currently supports only SLUB configuration, but SLAB can

Re: [PATCH v7 08/10] dt-bindings: ufs: Add DT binding documentation for ufs

2020-05-05 Thread Rob Herring
On Sun, Apr 26, 2020 at 11:00:22PM +0530, Alim Akhtar wrote: > This patch adds DT binding for samsung ufs hci > > Signed-off-by: Alim Akhtar > --- > .../bindings/ufs/samsung,exynos-ufs.yaml | 93 +++ > 1 file changed, 93 insertions(+) > create mode 100644 >

Re: [PATCH V2] ASoC: Intel: boards: Use FS as nau8825 sysclk in nau88125_* machine

2020-05-05 Thread Cezary Rojewski
2) Currently Skylake does not output MCLK/FS when the back-end DAI op hw_param is called, so we cannot switch to MCLK/FS in hw_param. This patch reduces pop by letting nau8825 keep using its internal VCO clock during widget power up sequence, until SNDRV_PCM_TRIGGER_START when

Re: [PATCH v5 8/8] bus: mhi: core: Ensure non-zero session or sequence ID values are used

2020-05-05 Thread Jeffrey Hugo
On 5/4/2020 8:44 PM, Bhaumik Bhatt wrote: While writing any sequence or session identifiers, it is possible that the host could write a zero value, whereas only non-zero values should be supported writes to those registers. Ensure that the host does not write a non-zero value for them and also

Re: [PATCH] doc: thermal: add cpu-idle-cooling to index tree

2020-05-05 Thread Jonathan Corbet
On Wed, 29 Apr 2020 06:11:09 -0700 Wang Wenhu wrote: > Add cpu-idle-cooling.rst to the index list for user reference through > self-compiled htmldocs or online documentation tree of kernel. > > Like: https://www.kernel.org/doc/html/latest/driver-api/thermal/index.html > > Signed-off-by: Wang

Re: [PATCH 4.19 28/37] dmaengine: dmatest: Fix iteration non-stop logic

2020-05-05 Thread Pavel Machek
On Tue 2020-05-05 11:32:27, Sasha Levin wrote: > On Tue, May 05, 2020 at 05:05:37PM +0300, Andy Shevchenko wrote: > > On Tue, May 5, 2020 at 4:37 PM Pavel Machek wrote: > > > On Tue 2020-05-05 16:19:11, Andy Shevchenko wrote: > > > > On Tue, May 5, 2020 at 3:58 PM Pavel Machek wrote: > > > > >

Re: [PATCH 4.9 00/18] 4.9.222-rc1 review

2020-05-05 Thread shuah
On 5/4/20 11:57 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.222 release. There are 18 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. Responses should be made

Re: [PATCH v2] workqueue: Use IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO.

2020-05-05 Thread Tejun Heo
On Wed, Apr 29, 2020 at 12:04:13PM +0800, Sean Fu wrote: > Replace inline function PTR_ERR_OR_ZERO with IS_ERR and PTR_ERR to > remove redundant parameter definitions and checks. > Reduce code size. > Before: >text data bss dec hex filename > 47510 5979 840

Re: [PATCH v7 06/10] dt-bindings: phy: Document Samsung UFS PHY bindings

2020-05-05 Thread Rob Herring
On Sun, Apr 26, 2020 at 11:00:20PM +0530, Alim Akhtar wrote: > This patch documents Samsung UFS PHY device tree bindings > > Signed-off-by: Alim Akhtar > Tested-by: Paweł Chmiel > --- > .../bindings/phy/samsung,ufs-phy.yaml | 74 +++ > 1 file changed, 74 insertions(+) >

Re: [PATCH] doc:locking: remove info about old behavior of locktorture

2020-05-05 Thread Jonathan Corbet
On Sun, 26 Apr 2020 23:14:29 +0200 Federico Vaga wrote: > It is not useful to know what was the default at some point in the > past: remove the information. > > Signed-off-by: Federico Vaga > --- > Documentation/locking/locktorture.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH 4.14 00/26] 4.14.179-rc1 review

2020-05-05 Thread shuah
On 5/4/20 11:57 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.179 release. There are 26 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. Responses should be

Re: [PATCH 0/4] allow multiple kthreadd's

2020-05-05 Thread Tejun Heo
Hello, Bruce. On Mon, May 04, 2020 at 10:15:14PM -0400, J. Bruce Fields wrote: > We're currently using it to pass the struct svc_rqst that a new nfsd > thread needs. But once the new thread has gotten that, I guess it could > set kthread->data to some global value that it uses to say "I'm a

Re: [PATCH v2 1/2] docs: sysctl/kernel: document ftrace entries

2020-05-05 Thread Jonathan Corbet
On Wed, 29 Apr 2020 20:58:01 -0400 Steven Rostedt wrote: > On Wed, 29 Apr 2020 22:57:56 +0200 > Stephen Kitt wrote: > > > Based on the ftrace documentation, the tp_printk boot parameter > > documentation, and the implementation in kernel/trace/trace.c. > > > > Signed-off-by: Stephen Kitt > >

Re: [PATCH v3] i2c: at91: support atomic write xfer

2020-05-05 Thread Wolfram Sang
Hi, > I don't expect this to be used for much more than a simple write to PMIC > to kill the power. So this patch is tailor made for exactly this purpose. Frankly, I don't like it much. The atomic callbacks are supposed to be drop-in replacements of the non-atomic contexts. There may be a need

Re: [PATCH v7 01/12] dt-bindings: add img,pvrsgx.yaml for Imagination GPUs

2020-05-05 Thread Rob Herring
On Fri, Apr 24, 2020 at 10:34:04PM +0200, H. Nikolaus Schaller wrote: > The Imagination PVR/SGX GPU is part of several SoC from > multiple vendors, e.g. TI OMAP, Ingenic JZ4780, Intel Poulsbo, > Allwinner A83 and others. > > With this binding, we describe how the SGX processor is > interfaced to

[PATCH v2] dt-bindings: timer: renesas: cmt: Convert to json-schema

2020-05-05 Thread Geert Uytterhoeven
Convert the Renesas Compare Match Timer (CMT) Device Tree binding documentation to json-schema. Document missing properties. Update the example to match reality. Signed-off-by: Geert Uytterhoeven Reviewed-by: Rob Herring --- v2: - Add missing "additionalProperties: false", - Add

Re: [PATCH 4.4 00/18] 4.4.222-rc1 review

2020-05-05 Thread Naresh Kamboju
On Mon, 4 May 2020 at 23:29, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.222 release. > There are 18 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] doc: Fix some typo errors in ras.rst

2020-05-05 Thread Waiman Long
On 5/5/20 11:32 AM, Jonathan Corbet wrote: On Tue, 5 May 2020 11:10:49 -0400 Waiman Long wrote: Fix typo errors. Signed-off-by: Waiman Long --- Documentation/admin-guide/ras.rst | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/admin-guide/ras.rst

[BUG] net: chelsio: Possible buffer overflow caused by DMA failures/attacks

2020-05-05 Thread Jia-Ju Bai
In alloc_rx_resources():     sge->respQ.entries =         pci_alloc_consistent(pdev, size, >respQ.dma_addr); Thus, "sge->respQ.entries" is a DMA value, and it is assigned to "e" in process_pure_responses():     struct sge *sge = adapter->sge;     struct respQ *q = >respQ;     struct respQ_e *e =

My Dear in the lord

2020-05-05 Thread Mrs. Mina A. Brunel
My Dear in the lord My name is Mrs. Mina A. Brunel I am a Norway Citizen who is living in Burkina Faso, I am married to Mr. Brunel Patrice, a politician who owns a small gold company in Burkina Faso; He died of Leprosy and Radesyge, in the year February 2010, During his lifetime he

Re: [PATCH 4.19 00/37] 4.19.121-rc1 review

2020-05-05 Thread shuah
On 5/4/20 11:57 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.19.121 release. There are 37 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. Responses should be

[PATCH v2] dt-bindings: timer: renesas: tmu: Convert to json-schema

2020-05-05 Thread Geert Uytterhoeven
Convert the Renesas R-Mobile/R-Car Timer Unit (TMU) Device Tree binding documentation to json-schema. Document missing properties. Update the example to match reality. Signed-off-by: Geert Uytterhoeven Reviewed-by: Rob Herring --- v2: - Add missing "additionalProperties: false", - Add

Re: [PATCH v2 3/3] ARM: mmp: Replace by

2020-05-05 Thread Lubomir Rintel
On Tue, May 05, 2020 at 05:45:36PM +0200, Geert Uytterhoeven wrote: > The Marvell MMP platform code is not a clock provider, and just needs to > call of_clk_init(). > > Hence it can include instead of . > > Signed-off-by: Geert Uytterhoeven > Reviewed-by: Stephen Boyd Acked-by: Lubomir

Re: [PATCH] memcg: oom: ignore oom warnings from memory.max

2020-05-05 Thread Michal Hocko
On Tue 05-05-20 08:35:45, Shakeel Butt wrote: > On Tue, May 5, 2020 at 8:27 AM Johannes Weiner wrote: > > > > On Mon, May 04, 2020 at 12:23:51PM -0700, Shakeel Butt wrote: > > > On Mon, May 4, 2020 at 9:06 AM Michal Hocko wrote: > > > > I really hate to repeat myself but this is no different

Re: [PATCH v10 1/3] media: dt-bindings: ov8856: Document YAML bindings

2020-05-05 Thread Rob Herring
On Tue, 5 May 2020 12:01:29 +0200, Robert Foss wrote: > From: Dongchun Zhu > > This patch adds documentation of device tree in YAML schema for the > OV8856 CMOS image sensor. > > Signed-off-by: Dongchun Zhu > Signed-off-by: Robert Foss > Reviewed-by: Maxime Ripard > --- > > - Changes since

Re: [PATCH] drm/amdgpu/dc: don't pass -mhard-float to clang

2020-05-05 Thread Nick Desaulniers
On Tue, May 5, 2020 at 7:25 AM Arnd Bergmann wrote: > > Clang does not appear to care, and instead prints a warning: > > clang: warning: argument unused during compilation: '-mhard-float' > [-Wunused-command-line-argument] > > Signed-off-by: Arnd Bergmann I want to be super careful here, this

Re: [PATCH] doc: Fix some typo errors in ras.rst

2020-05-05 Thread Matthew Wilcox
On Tue, May 05, 2020 at 11:10:49AM -0400, Waiman Long wrote: > Fix typo errors. By reformatting it, you've successfully obscured what typos you've fixed. As a result I read the whole paragraph, and ... > ECC memory > -- > > -As mentioned on the previous section, ECC memory has extra

Re: [PATCH] samples: fix binderfs sample

2020-05-05 Thread Jonathan Corbet
On Wed, 29 Apr 2020 10:01:13 +0200 Christian Brauner wrote: > On Tue, Apr 28, 2020 at 11:25:33PM +0200, Arnd Bergmann wrote: > > A routine check for misspelled Kconfig symbols showed on instance > > from last year, the correct symbol name is CONFIG_ANDROID_BINDERFS, > > not

Re: [PATCH v10 1/3] media: dt-bindings: ov8856: Document YAML bindings

2020-05-05 Thread Rob Herring
On Tue, 5 May 2020 12:01:29 +0200, Robert Foss wrote: > From: Dongchun Zhu > > This patch adds documentation of device tree in YAML schema for the > OV8856 CMOS image sensor. > > Signed-off-by: Dongchun Zhu > Signed-off-by: Robert Foss > Reviewed-by: Maxime Ripard > --- > > - Changes since

Re: [PATCH 4.14 00/26] 4.14.179-rc1 review

2020-05-05 Thread Guenter Roeck
On 5/4/20 10:57 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.179 release. > There are 26 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. > > Responses

[PATCH] KVM: X86: Declare KVM_CAP_SET_GUEST_DEBUG properly

2020-05-05 Thread Peter Xu
KVM_CAP_SET_GUEST_DEBUG should be supported for x86 however it's not declared as supported. My wild guess is that userspaces like QEMU are using "#ifdef KVM_CAP_SET_GUEST_DEBUG" to check for the capability instead, but that could be wrong because the compilation host may not be the runtime host.

Re: [PATCH] docs: s390: Fix wrong label Guest2 instead of Guest3

2020-05-05 Thread Jonathan Corbet
On Thu, 30 Apr 2020 19:12:38 -0300 Vitor Massaru Iha wrote: > This fixes: > > Documentation/s390/vfio-ap.rst:488: WARNING: duplicate label > s390/vfio-ap:guest2, other instance in > /home/iha/sdb/opensource/lkmp/linux_doc/Documentation/s390/vfio-ap.rst > > Signed-off-by: Vitor Massaru Iha >

Re: Re: [PATCH net v2 0/2] Revert the 'socket_alloc' life cycle change

2020-05-05 Thread SeongJae Park
On Tue, 5 May 2020 08:20:50 -0700 Eric Dumazet wrote: > > > On 5/5/20 8:07 AM, SeongJae Park wrote: > > On Tue, 5 May 2020 07:53:39 -0700 Eric Dumazet wrote: > > > > >> Why do we have 10,000,000 objects around ? Could this be because of > >> some RCU problem ? > > > > Mainly because of a

Re: [PATCH 4.9 00/18] 4.9.222-rc1 review

2020-05-05 Thread Guenter Roeck
On 5/4/20 10:57 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.222 release. > There are 18 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. > > Responses

[PATCH v2 3/3] ARM: mmp: Replace by

2020-05-05 Thread Geert Uytterhoeven
The Marvell MMP platform code is not a clock provider, and just needs to call of_clk_init(). Hence it can include instead of . Signed-off-by: Geert Uytterhoeven Reviewed-by: Stephen Boyd --- v2: - Add Reviewed-by. --- arch/arm/mach-mmp/mmp-dt.c | 2 +- arch/arm/mach-mmp/mmp2-dt.c | 2 +-

Re: [PATCH v11 1/2] iio: proximity: provide device tree binding document

2020-05-05 Thread Rob Herring
On Wed, Apr 22, 2020 at 07:05:08PM +0300, Ivan Mikhaylov wrote: > Mostly standard i2c driver with some additional led-current option > for vcnl3020. > > Signed-off-by: Ivan Mikhaylov > --- > .../bindings/iio/proximity/vcnl3020.yaml | 64 +++ vishay,vcnl3020.yaml > 1 file

[PATCH v2 1/3] ARM/time: Replace by

2020-05-05 Thread Geert Uytterhoeven
The ARM time code is not a clock provider, and just needs to call of_clk_init(). Hence it can include instead of . Signed-off-by: Geert Uytterhoeven Reviewed-by: Stephen Boyd --- v2: - Add Reviewed-by. --- arch/arm/kernel/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH 4.9 00/18] 4.9.222-rc1 review

2020-05-05 Thread Naresh Kamboju
On Mon, 4 May 2020 at 23:30, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.222 release. > There are 18 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. > >

[PATCH v2 2/5] pstore/platform: pass max_reason to kmesg dump

2020-05-05 Thread Pavel Tatashin
Add a new field to pstore_info that passes information about kmesg dump maximum reason. This allows a finer control of what kmesg dumps are stored on pstore device. Those clients that do not explicitly set this field (keep it equal to 0), get the default behavior: dump only Oops and Panics, and

[PATCH v2 2/3] ARM: mediatek: Replace by

2020-05-05 Thread Geert Uytterhoeven
The Mediatek platform code is not a clock provider, and just needs to call of_clk_init(). Hence it can include instead of . Signed-off-by: Geert Uytterhoeven Reviewed-by: Stephen Boyd --- v2: - Add Reviewed-by. --- arch/arm/mach-mediatek/mediatek.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 5/5] ramoops: add max_reason optional field to ramoops DT node

2020-05-05 Thread Pavel Tatashin
Currently, it is possible to dump kmsges for panic, or oops. With max_reason it is possible to dump messages for other kmesg_dump events, for example reboot, halt, shutdown, kexec. Signed-off-by: Pavel Tatashin --- .../devicetree/bindings/reserved-memory/ramoops.txt| 10 -- 1 file

[PATCH v2 4/5] pstore/ram: allow to dump kmesg during regular reboot

2020-05-05 Thread Pavel Tatashin
Currently, ramoops is capable to collect dmesg buffer only during panic and oops events. However, it is desirable to optionally allow collecting dmesg buffers during other events as well: reboot, kexec, emergency reboot etc. While, a similar functionality is provided by pstore console it is not

Re: [PATCH v2] PCI/ASPM: Enable ASPM for root complex <-> bridge <-> bridge case

2020-05-05 Thread Bjorn Helgaas
On Tue, May 05, 2020 at 10:00:44PM +0800, Kai-Heng Feng wrote: > > On May 5, 2020, at 21:38, Bjorn Helgaas wrote: > > On Tue, May 05, 2020 at 08:27:59PM +0800, Kai-Heng Feng wrote: > >> The TI PCIe-to-PCI bridge prevents the Intel SoC from entering power > >> state deeper than PC3 due to disabled

[PATCH v2 0/3] ARM: Replace by

2020-05-05 Thread Geert Uytterhoeven
Hi arm-soc folks, The OF clock helpers were moved to a while ago. Hence code that is not a clock provider, but just needs to call of_clk_init(), can (and should) include instead of . This series contains the patches from [1] that haven't been applied yet. Changes compared to v1: -

Re: [PATCH v11 1/6] dt-bindings: mfd: add document bindings for mp2629

2020-05-05 Thread Rob Herring
On Thu, 30 Apr 2020 17:58:05 +0200, Saravanan Sekar wrote: > Add device tree binding information for mp2629 mfd driver. > > Signed-off-by: Saravanan Sekar > Reviewed-by: Andy Shevchenko > --- > .../devicetree/bindings/mfd/mps,mp2629.yaml | 62 +++ > 1 file changed, 62

[PATCH v2 3/5] pstore/ram: in ramoops_platform_data convert dump_oops to max_reason

2020-05-05 Thread Pavel Tatashin
Now, that pstore_register() can correctly pass max_reason to kmesg dump facility, use it instead of dump_oops boolean. Replace in ramoops_platform_data dump_oops with max_reason. When dump_oops was enabled set max_reason to KMSG_DUMP_OOPS, otherwise set it to KMSG_DUMP_PANIC. Remove filtering

Re: [PATCH 5.6 00/73] 5.6.11-rc1 review

2020-05-05 Thread Guenter Roeck
On 5/4/20 10:57 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.6.11 release. > There are 73 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. > > Responses

[PATCH v2 1/5] printk: honor the max_reason field in kmsg_dumper

2020-05-05 Thread Pavel Tatashin
kmsg_dump() allows to dump kmesg buffer for various system events: oops, panic, reboot, etc. It provides an interface to register a callback call for clients, and in that callback interface there is a field "max_reason" which gets ignored unless always_kmsg_dump is passed as kernel parameter.

Re: [PATCH] wil6210: avoid gcc-10 zero-length-bounds warning

2020-05-05 Thread Kalle Valo
Arnd Bergmann writes: > gcc-10 warns about accesses inside of a zero-length array: > > drivers/net/wireless/ath/wil6210/cfg80211.c: In function 'wil_cfg80211_scan': > drivers/net/wireless/ath/wil6210/cfg80211.c:970:23: error: array > subscript 255 is outside the bounds of an interior zero-length

Re: [PATCH v5 3/6] fs: Enable to enforce noexec mounts or file exec through O_MAYEXEC

2020-05-05 Thread Randy Dunlap
On 5/5/20 8:31 AM, Mickaël Salaün wrote: > diff --git a/security/Kconfig b/security/Kconfig > index cd3cc7da3a55..d8fac9240d14 100644 > --- a/security/Kconfig > +++ b/security/Kconfig > @@ -230,6 +230,32 @@ config STATIC_USERMODEHELPER_PATH > If you wish for all usermode helper programs to

Re: [PATCH] docs: coresight: fix `make htmldocs` warning

2020-05-05 Thread Jonathan Corbet
On Thu, 30 Apr 2020 17:36:12 -0300 Vitor Massaru Iha wrote: > Fix `make htmldocs` warning: > > Documentation/trace/coresight/coresight-ect.rst:2: WARNING: Explicit markup > ends without a blank line; unexpected unindent. > > Signed-off-by: Vitor Massaru Iha > --- >

Re: [PATCH] bitops: avoid clang shift-count-overflow warnings

2020-05-05 Thread Arnd Bergmann
On Tue, May 5, 2020 at 5:36 PM 'Nick Desaulniers' via Clang Built Linux wrote: > On Tue, May 5, 2020 at 8:33 AM Arnd Bergmann wrote: > > > > I'm not sure if there is anything to be done about it in clang, since it > > always does syntactic analysis before dead-code elimination by design. > >

[PATCH v2 0/5] allow ramoops to collect all kmesg_dump events

2020-05-05 Thread Pavel Tatashin
pstore /mnt/console-ramoops-0 outputs only messages below the console loglevel, and our console loglevel is set to 3 due to slowness of serial console. Which means only errors and worse types of messages are recorded. There is no way to have different log levels for different consoles. This patch

Re: [PATCH 5.4 00/57] 5.4.39-rc1 review

2020-05-05 Thread shuah
On 5/4/20 11:57 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.4.39 release. There are 57 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. Responses should be made

Re: [PATCH 5.4 00/57] 5.4.39-rc1 review

2020-05-05 Thread Guenter Roeck
On 5/4/20 10:57 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.4.39 release. > There are 57 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. > > Responses

Re: [PATCH 5.6 00/73] 5.6.11-rc1 review

2020-05-05 Thread shuah
On 5/5/20 9:36 AM, Takashi Iwai wrote: On Tue, 05 May 2020 17:30:07 +0200, shuah wrote: On 5/5/20 9:25 AM, shuah wrote: On 5/4/20 11:57 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 5.6.11 release. There are 73 patches in this series, all will be posted

Re: [PATCH] doc:it_IT: align Italian translation

2020-05-05 Thread Jonathan Corbet
On Fri, 1 May 2020 00:20:37 +0200 Federico Vaga wrote: > Translation for the following patches: > > commit c4f4af4094d6 ("docs: Add documentation for Symbol Namespaces") > commit 36bc683dde0a ("kernel-doc: rename the kernel-doc directive 'functions' > to 'identifiers'") > commit a035d552a93b

Re: [PATCH] sched/fair: Fix nohz.next_balance update

2020-05-05 Thread Vincent Guittot
On Tue, 5 May 2020 at 17:16, Peng Liu wrote: > > On Tue, May 05, 2020 at 04:27:11PM +0200, Vincent Guittot wrote: > > Le mardi 05 mai 2020 à 21:40:56 (+0800), Peng Liu a écrit : > > > On Mon, May 04, 2020 at 05:17:11PM +0200, Vincent Guittot wrote: > > > > On Sun, 3 May 2020 at 10:34, Peng Liu

Re: [RESEND] doc: misc-device: add uacce to toctree(index)

2020-05-05 Thread Jonathan Corbet
On Thu, 30 Apr 2020 19:58:28 -0300 Vitor Massaru Iha wrote: > This fixes: > > Documentation/misc-devices/uacce.rst: WARNING: document isn't included in any > toctree > > Signed-off-by: Vitor Massaru Iha > --- > Documentation/misc-devices/index.rst | 1 + > 1 file changed, 1 insertion(+) >

Re: [PATCH 4.4 00/18] 4.4.222-rc1 review

2020-05-05 Thread Guenter Roeck
On 5/4/20 10:56 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.222 release. > There are 18 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. > > Responses

Re: [PATCH] iio: adc: ad7476: fix clang -Wpointer-bool-conversion warning

2020-05-05 Thread Ardelean, Alexandru
On Tue, 2020-05-05 at 16:23 +0200, Arnd Bergmann wrote: > [External] > > Checking the pointer value of st->chip_info->convst_channel is pointless > since this this an array inside of a struct: even if st->chip_info is NULL, > the pointer is non-zero. Clang warns about this: > >

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

2020-05-05 Thread Jonathan Corbet
On Fri, 1 May 2020 18:36:24 -0400 Joshua Abraham wrote: > 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: [PATCH] watchdog: update email address in conversion doc

2020-05-05 Thread Jonathan Corbet
On Sat, 2 May 2020 16:30:58 +0200 Wolfram Sang wrote: > The old one is defunct. However, I think it makes sense that I am still > the primary contact person for updates here. > > Signed-off-by: Wolfram Sang > --- > > ... if there will be any. Let me know if you agree. > >

Re: [PATCH v4 1/2] powerpc/uaccess: Implement unsafe_put_user() using 'asm goto'

2020-05-05 Thread Christophe Leroy
Hi, Le 05/05/2020 à 16:27, Michael Ellerman a écrit : Christophe Leroy writes: unsafe_put_user() is designed to take benefit of 'asm goto'. Instead of using the standard __put_user() approach and branch based on the returned error, use 'asm goto' and make the exception code branch directly

Re: [PATCH] amdgpu: fix integer overflow on 32-bit architectures

2020-05-05 Thread Nick Desaulniers
See also https://lore.kernel.org/lkml/cadnq5_ndtzh5_rgdwkj9c_42xlvrnccs5ddu1ysptfzp94k...@mail.gmail.com/T/#me707e09e92c6e487285e8bb382a607e4e782c249 On Tue, May 5, 2020 at 7:17 AM Christian König wrote: > > Am 05.05.20 um 16:15 schrieb Arnd Bergmann: > > Multiplying 10 by four overruns

Re: x86/uv cleanups

2020-05-05 Thread Dimitri Sivanich
Yes, we do see a need to clean up old code where it exists, but we would like to assume this responsibility ourselves in order to ensure functional continuity with externally available open-sourced modules that our customers rely on. This code supports current Superdome Flex systems, as well as

Re: [PATCH] ARM: omap1: fix irq setup

2020-05-05 Thread Tony Lindgren
* afzal mohammed [200505 14:31]: > Hi, > > On Tue, May 05, 2020 at 04:13:48PM +0200, Arnd Bergmann wrote: > > > A recent cleanup introduced a bug on any omap1 machine that has > > no wakeup IRQ, i.e. omap15xx: > > > Move this code into a separate function to deal with it cleanly. > > > >

[PATCH] [net-next, v2] dsa: sja1105: dynamically allocate stats structure

2020-05-05 Thread Arnd Bergmann
The addition of sja1105_port_status_ether structure into the statistics causes the frame size to go over the warning limit: drivers/net/dsa/sja1105/sja1105_ethtool.c:421:6: error: stack frame size of 1104 bytes in function 'sja1105_get_ethtool_stats' [-Werror,-Wframe-larger-than=] Use dynamic

Re: [PATCH v5 0/4] Charge loop device i/o to issuing cgroup

2020-05-05 Thread Tejun Heo
Hello, Dave. On Tue, May 05, 2020 at 04:41:14PM +1000, Dave Chinner wrote: > > OTOH I don't have a great idea how the generic infrastructure should look > > like... > > I haven't given it any thought - it's not something I have any > bandwidth to spend time on. I'll happily review a unified >

Re: [PATCH 2/3] media: meson: vdec: fix another case of VP9 buffer shortage

2020-05-05 Thread Neil Armstrong
On 05/05/2020 17:18, Mauro Carvalho Chehab wrote: > Em Tue, 28 Apr 2020 14:50:35 +0200 > Neil Armstrong escreveu: > >> From: Maxime Jourdan >> >> - Redo the logic where VP9 gets fresh CAPTURE buffers. The previous code >> could lead to a hardlock. >> - Reserve 4 margin buffers instead of 3,

Re: [PATCH] kobject: documentation: Fix erroneous function example in kobject doc.

2020-05-05 Thread Jonathan Corbet
On Tue, 5 May 2020 14:18:28 +0800 Qi Zheng wrote: > Update the definitions of some functions listed in the kobject > document, since they have been changed. > > Signed-off-by: Qi Zheng I've applied this since it's an improvement on the original. The proper fix, though, is to bring in the

Re: [PATCH 2/2] dt-bindings: thermal: tsens: Add zeroc interrupt support in yaml

2020-05-05 Thread Rob Herring
On Tue, 5 May 2020 16:42:04 +0530, Manaf Meethalavalappu Pallikunhi wrote: > Add 0C (zeroc) interrupt support for tsens in yaml. > > Signed-off-by: Manaf Meethalavalappu Pallikunhi > --- > Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 7 +-- > 1 file changed, 5 insertions(+),

Re: [PATCH] bitops: avoid clang shift-count-overflow warnings

2020-05-05 Thread Nick Desaulniers
On Tue, May 5, 2020 at 8:33 AM Arnd Bergmann wrote: > > On Tue, May 5, 2020 at 4:08 PM Andy Shevchenko > wrote: > > On Tue, May 5, 2020 at 4:58 PM Arnd Bergmann wrote: > > > Clang normally does not warn about certain issues in inline functions when > > > it only happens in an eliminated code

Re: [PATCH 5.6 00/73] 5.6.11-rc1 review

2020-05-05 Thread Takashi Iwai
On Tue, 05 May 2020 17:30:07 +0200, shuah wrote: > > On 5/5/20 9:25 AM, shuah wrote: > > On 5/4/20 11:57 AM, Greg Kroah-Hartman wrote: > >> This is the start of the stable review cycle for the 5.6.11 release. > >> There are 73 patches in this series, all will be posted as a response > >> to this

Re: [PATCH] memcg: oom: ignore oom warnings from memory.max

2020-05-05 Thread Shakeel Butt
On Tue, May 5, 2020 at 8:27 AM Johannes Weiner wrote: > > On Mon, May 04, 2020 at 12:23:51PM -0700, Shakeel Butt wrote: > > On Mon, May 4, 2020 at 9:06 AM Michal Hocko wrote: > > > I really hate to repeat myself but this is no different from a regular > > > oom situation. > > > > Conceptually

Re: [PATCH v5 0/6] Add support for O_MAYEXEC

2020-05-05 Thread Mickaël Salaün
On 05/05/2020 17:31, Mickaël Salaün wrote: > Hi, > > This fifth patch series add new kernel configurations (OMAYEXEC_STATIC, > OMAYEXEC_ENFORCE_MOUNT, and OMAYEXEC_ENFORCE_FILE) to enable to > configure the security policy at kernel build time. As requested by > Mimi Zohar, I completed the

Re: [PATCH 4.14 00/26] 4.14.179-rc1 review

2020-05-05 Thread Naresh Kamboju
On Mon, 4 May 2020 at 23:31, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.179 release. > There are 26 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] [net-next] dsa: sja1105: dynamically allocate stats structure

2020-05-05 Thread Arnd Bergmann
On Tue, May 5, 2020 at 4:04 PM Andrew Lunn wrote: > > > - rc = sja1105_port_status_get(priv, , port); > > + rc = sja1105_port_status_get(priv, status, port); > > if (rc < 0) { > > dev_err(ds->dev, "Failed to read port %d counters: %d\n", > > port,

Re: [PATCH] drm/amdgpu: allocate large structures dynamically

2020-05-05 Thread Alex Deucher
On Tue, May 5, 2020 at 10:07 AM Christian König wrote: > > Am 05.05.20 um 16:01 schrieb Arnd Bergmann: > > After the structure was padded to 1024 bytes, it is no longer > > suitable for being a local variable, as the function surpasses > > the warning limit for 32-bit architectures: > > > >

Re: [PATCH] iommu: Relax ACS requirement for RCiEP devices.

2020-05-05 Thread Alex Williamson
On Tue, 5 May 2020 07:56:06 -0700 "Raj, Ashok" wrote: > On Tue, May 05, 2020 at 08:05:14AM -0600, Alex Williamson wrote: > > On Mon, 4 May 2020 23:11:07 -0700 > > "Raj, Ashok" wrote: > > > > > Hi Alex > > > > > > + Joerg, accidently missed in the Cc. > > > > > > On Mon, May 04, 2020 at

[PATCH] Input: edt-ft5x06: Use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs fops

2020-05-05 Thread Aishwarya Ramakrishnan
It is more clear to use DEFINE_DEBUGFS_ATTRIBUTE to define debugfs file operation rather than DEFINE_SIMPLE_ATTRIBUTE. Signed-off-by: Aishwarya Ramakrishnan --- drivers/input/touchscreen/edt-ft5x06.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFC PATCH] ima: verify mprotect change is consistent with mmap policy

2020-05-05 Thread Mimi Zohar
On Mon, 2020-05-04 at 15:51 -0700, Lakshmi Ramasubramanian wrote: > On 5/4/20 2:17 PM, Mimi Zohar wrote: > > Hi Mimi, > > > +int ima_file_mprotect(struct vm_area_struct *vma, unsigned long prot) > > +{ > > + struct ima_template_desc *template; > > + struct inode *inode; > > + int result =

[PATCH v5 1/6] fs: Add support for an O_MAYEXEC flag on openat2(2)

2020-05-05 Thread Mickaël Salaün
When the O_MAYEXEC flag is passed, openat2(2) may be subject to additional restrictions depending on a security policy managed by the kernel through a sysctl or implemented by an LSM thanks to the inode_permission hook. This new flag is ignored by open(2) and openat(2). The underlying idea is to

[PATCH v5 0/6] Add support for O_MAYEXEC

2020-05-05 Thread Mickaël Salaün
Hi, This fifth patch series add new kernel configurations (OMAYEXEC_STATIC, OMAYEXEC_ENFORCE_MOUNT, and OMAYEXEC_ENFORCE_FILE) to enable to configure the security policy at kernel build time. As requested by Mimi Zohar, I completed the series with one of her patches for IMA. The goal of this

Re: [PATCH] doc: Fix some typo errors in ras.rst

2020-05-05 Thread Jonathan Corbet
On Tue, 5 May 2020 11:10:49 -0400 Waiman Long wrote: > Fix typo errors. > > Signed-off-by: Waiman Long > --- > Documentation/admin-guide/ras.rst | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/Documentation/admin-guide/ras.rst >

[PATCH v5 6/6] ima: add policy support for the new file open MAY_OPENEXEC flag

2020-05-05 Thread Mickaël Salaün
From: Mimi Zohar The kernel has no way of differentiating between a file containing data or code being opened by an interpreter. The proposed O_MAYEXEC openat2(2) flag bridges this gap by defining and enabling the MAY_OPENEXEC flag. This patch adds IMA policy support for the new MAY_OPENEXEC

Re: [PATCH] bitops: avoid clang shift-count-overflow warnings

2020-05-05 Thread Arnd Bergmann
On Tue, May 5, 2020 at 4:08 PM Andy Shevchenko wrote: > On Tue, May 5, 2020 at 4:58 PM Arnd Bergmann wrote: > > Clang normally does not warn about certain issues in inline functions when > > it only happens in an eliminated code path. However if something else > > goes wrong, it does tend to

[PATCH v5 5/6] doc: Add documentation for the fs.open_mayexec_enforce sysctl

2020-05-05 Thread Mickaël Salaün
This sysctl enables to propagate executable permission to userspace thanks to the O_MAYEXEC flag. Signed-off-by: Mickaël Salaün Reviewed-by: Thibaut Sautereau Cc: Aleksa Sarai Cc: Al Viro Cc: Jonathan Corbet Cc: Kees Cook --- Changes since v3: * Switch back to O_MAYEXEC and highlight that

[PATCH v5 4/6] selftest/openat2: Add tests for O_MAYEXEC enforcing

2020-05-05 Thread Mickaël Salaün
Test propagation of noexec mount points or file executability through files open with or without O_MAYEXEC, thanks to the fs.open_mayexec_enforce sysctl. Signed-off-by: Mickaël Salaün Reviewed-by: Thibaut Sautereau Cc: Aleksa Sarai Cc: Al Viro Cc: Kees Cook Cc: Shuah Khan --- Changes since

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