Re: [PATCH v1] seccomp: simplify secure_computing()

2019-09-24 Thread Borislav Petkov
On Tue, Sep 24, 2019 at 08:44:20AM +0200, Christian Brauner wrote: > Afaict, the struct seccomp_data argument to secure_computing() is unused > by all current callers. So let's remove it. > The argument was added in [1]. It was added because having the arch > supply the syscall arguments used to be

RE: [PATCH v5 12/15] ARM: dts: imx6ul: add dma support on ecspi

2019-09-24 Thread Robin Gong
Ping Sacha... On 2019-7-24 9:53 Robin Gong wrote: > On 2019-7-24 at 08:49 Shawn Guo wrote: > > On Tue, Jul 23, 2019 at 09:39:38AM +, Robin Gong wrote: > > > On 2019-7-17 at 14:42 Shawn Guo wrote: > > > > On Mon, Jun 10, 2019 at 04:17:50PM +0800, yibin.g...@nxp.com > wrote: > > > > > From: Rob

[GIT PULL] arch/microblaze patches for 5.4-rc1

2019-09-24 Thread Michal Simek
Hi Linus, please pull the following patches to your tree. Just a reminder to remove atomic_pool_init() from arch/microblaze/mm/consistent.c. In tag I have also added link to patch created by Stephen. This is the first time this is needed that's why please let me know if I should do it differently

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

2019-09-24 Thread sundeep subbaraya
Hi Andrew, On Mon, Sep 23, 2019 at 6:05 PM Andrew Murray wrote: > > On Mon, Sep 02, 2019 at 09:00:03PM +0530, sundeep.l...@gmail.com wrote: > > From: Subbaraya Sundeep > > > > As per the spec, "Enhanced Allocation (EA) for Memory > > and I/O Resources" ECN, approved 23 October 2014, > > sec 6.9.

RE: [PATCH] pwm: pwm-imx27: Use 'dev' instead of dereferencing it repeatedly

2019-09-24 Thread Anson Huang
Hi, David > Subject: RE: [PATCH] pwm: pwm-imx27: Use 'dev' instead of dereferencing it > repeatedly > > From: Anson Huang > > Sent: 24 September 2019 10:00 > > Add helper variable dev = &pdev->dev to simply the code. > > > > Signed-off-by: Anson Huang > > --- > > drivers/pwm/pwm-imx27.c | 13 ++

Re: [PATCH v3 5/5] media: platform: Add jpeg dec/enc feature

2019-09-24 Thread kbuild test robot
option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Xia-Jiang/Add-support-for-mt2701-JPEG-ENC-support/20190924-161234 base: git://linuxtv.org/media_tree.git master config: sparc64-allmodconfig (a

Re: [PATCH v2 5/9] microblaze: entry: Remove unneeded need_resched() loop

2019-09-24 Thread Michal Simek
On 23. 09. 19 16:36, Valentin Schneider wrote: > Since the enabling and disabling of IRQs within preempt_schedule_irq() > is contained in a need_resched() loop, we don't need the outer arch > code loop. > > Signed-off-by: Valentin Schneider > Cc: Michal Simek > --- > arch/microblaze/kernel/entr

Re: [PATCH v8 3/3] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-24 Thread Catalin Marinas
On Tue, Sep 24, 2019 at 06:43:06AM +, Justin He (Arm Technology China) wrote: > Catalin Marinas wrote: > > On Sat, Sep 21, 2019 at 09:50:54PM +0800, Jia He wrote: > > > @@ -2151,21 +2163,53 @@ static inline void cow_user_page(struct page > > > *dst, struct page *src, unsigned lo > > >* fa

Re: [PATCH v7 08/13] lib/vsprintf: Remove support for %pF and %pf in favour of %pS and %ps

2019-09-24 Thread Petr Mladek
On Wed 2019-09-18 16:34:14, 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. > > --- a/lib/vsprintf.c > +++ b/lib/vsprintf.c > @@ -909,7 +909,7 @@ char *symbol

[PATCH] clk: at91: sam9x60: fix programmable clock

2019-09-24 Thread Eugen.Hristev
From: Eugen Hristev The prescaler mask for sam9x60 must be 0xff (8 bits). Being set to 0, means that we cannot set any prescaler, thus the programmable clocks do not work (except the case with prescaler 0) Set the mask accordingly in layout struct. Fixes: 01e2113de9a5 ("clk: at91: add sam9x60 pm

RE: [PATCH] pwm: pwm-imx27: Use 'dev' instead of dereferencing it repeatedly

2019-09-24 Thread David Laight
From: Anson Huang > Sent: 24 September 2019 11:03 > Hi, David > > > Subject: RE: [PATCH] pwm: pwm-imx27: Use 'dev' instead of dereferencing it > > repeatedly > > > > From: Anson Huang > > > Sent: 24 September 2019 10:00 > > > Add helper variable dev = &pdev->dev to simply the code. > > > ... > > >

Re: [PATCH v7 09/13] lib/vsprintf: Add a note on re-using %pf or %pF

2019-09-24 Thread Petr Mladek
On Wed 2019-09-18 16:34:15, Sakari Ailus wrote: > Add a note warning of re-use of obsolete %pf or %pF extensions. > > Signed-off-by: Sakari Ailus > Cc: Steven Rostedt > --- > lib/vsprintf.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/lib/vsprintf.c b/lib/vsprintf.c > index b00b5

Re: [PATCH 1/2] pwm: Add different PWM output types support

2019-09-24 Thread Thierry Reding
On Tue, Sep 24, 2019 at 08:39:26AM +0200, Uwe Kleine-König wrote: > On Mon, Sep 23, 2019 at 10:43:43PM -0700, Guru Das Srinagesh wrote: > > On Mon, Sep 16, 2019 at 04:01:46PM +0200, Thierry Reding wrote: > > > On Fri, Sep 13, 2019 at 03:57:43PM -0700, Guru Das Srinagesh wrote: > > > > From: Fenglin

Re: [PATCH v2 5/9] microblaze: entry: Remove unneeded need_resched() loop

2019-09-24 Thread Valentin Schneider
On 24/09/2019 11:30, Michal Simek wrote: > On 23. 09. 19 16:36, Valentin Schneider wrote: >> Since the enabling and disabling of IRQs within preempt_schedule_irq() >> is contained in a need_resched() loop, we don't need the outer arch >> code loop. >> >> Signed-off-by: Valentin Schneider >> Cc: Mi

Re: [PATCH] pwm: pwm-imx27: Use 'dev' instead of dereferencing it repeatedly

2019-09-24 Thread Thierry Reding
On Tue, Sep 24, 2019 at 09:46:20AM +, David Laight wrote: > From: Anson Huang > > Sent: 24 September 2019 10:00 > > Add helper variable dev = &pdev->dev to simply the code. > > > > Signed-off-by: Anson Huang > > --- > > drivers/pwm/pwm-imx27.c | 13 +++-- > > 1 file changed, 7 insert

Re: [PATCH] pwm: pwm-imx-tpm: Use 'dev' instead of dereferencing it repeatedly

2019-09-24 Thread Thierry Reding
On Tue, Sep 24, 2019 at 05:01:07PM +0800, Anson Huang wrote: > Add helper variable dev = &pdev->dev to simply the code. > > Signed-off-by: Anson Huang > --- > drivers/pwm/pwm-imx-tpm.c | 13 +++-- > 1 file changed, 7 insertions(+), 6 deletions(-) Again, positive diffstat and doesn't gai

Re: [PATCH] memcg, kmem: do not fail __GFP_NOFAIL charges

2019-09-24 Thread Michal Hocko
Andrew, do you plan to send this patch to Linus as ell? On Fri 06-09-19 14:56:08, Michal Hocko wrote: > From: Michal Hocko > > Thomas has noticed the following NULL ptr dereference when using cgroup > v1 kmem limit: > BUG: unable to handle kernel NULL pointer dereference at 0008 > PG

Re: [PATCH 2/2] pwm: pwm-mxs: Use 'dev' instead of dereferencing it repeatedly

2019-09-24 Thread Thierry Reding
On Tue, Sep 24, 2019 at 05:42:49PM +0800, Anson Huang wrote: > Add helper variable dev = &pdev->dev to simply the code. > > Signed-off-by: Anson Huang > --- > drivers/pwm/pwm-mxs.c | 13 +++-- > 1 file changed, 7 insertions(+), 6 deletions(-) Again, lots of churn, no gain. Thierry si

[PATCH V4 0/4] update supported sample format

2019-09-24 Thread Shengjiu Wang
This patch serial is to update the supported format for fsl_asrc and fix some format issue. Shengjiu Wang (4): ASoC: fsl_asrc: Use in(out)put_format instead of in(out)put_word_width ASoC: fsl_asrc: update supported sample format ASoC: pcm_dmaengine: Extract snd_dmaengine_pcm_refine_runtime_h

[PATCH V4 4/4] ASoC: fsl_asrc: Fix error with S24_3LE format bitstream in i.MX8

2019-09-24 Thread Shengjiu Wang
There is error "aplay: pcm_write:2023: write error: Input/output error" on i.MX8QM/i.MX8QXP platform for S24_3LE format. In i.MX8QM/i.MX8QXP, the DMA is EDMA, which don't support 24bit sample, but we didn't add any constraint, that cause issues. So we need to query the caps of dma, then update th

[PATCH V4 1/4] ASoC: fsl_asrc: Use in(out)put_format instead of in(out)put_word_width

2019-09-24 Thread Shengjiu Wang
snd_pcm_format_t is more formal than enum asrc_word_width, which has two property, width and physical width, which is more accurate than enum asrc_word_width. So it is better to use in(out)put_format instead of in(out)put_word_width. Signed-off-by: Shengjiu Wang Acked-by: Nicolin Chen --- sound

[PATCH V4 3/4] ASoC: pcm_dmaengine: Extract snd_dmaengine_pcm_refine_runtime_hwparams

2019-09-24 Thread Shengjiu Wang
When set the runtime hardware parameters, we may need to query the capability of DMA to complete the parameters. This patch is to Extract this operation from dmaengine_pcm_set_runtime_hwparams function to a separate function snd_dmaengine_pcm_refine_runtime_hwparams, that other components which ne

[PATCH V4 2/4] ASoC: fsl_asrc: update supported sample format

2019-09-24 Thread Shengjiu Wang
The ASRC support 24bit/16bit/8bit input width, which is data width, not slot width. For the S20_3LE format, the data with is 20bit, slot width is 24bit, if we set ASRMCR1n.IWD to be 24bits, the result is the volume is lower than expected, it likes 24bit data right shift 4 bits So replace S20_3LE

Re: [PATCH v3 5/5] media: platform: Add jpeg dec/enc feature

2019-09-24 Thread kbuild test robot
option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Xia-Jiang/Add-support-for-mt2701-JPEG-ENC-support/20190924-161234 base: git://linuxtv.org/media_tree.git master reproduce: # apt-get inst

[RESEND PATCH v2 3/3] iio: documentation: light: Add veml6030 sysfs documentation

2019-09-24 Thread Rishi Gupta
The driver for veml6030 light sensor provides custom sysfs entries used to know parameters supported by the driver and to configure sensor like setting power saving mode and persistence etc. This commit document them. Signed-off-by: Rishi Gupta --- Changes in v2: * Nothing has changed in this fil

[RESEND PATCH v2 1/3] iio: light: add driver for veml6030 ambient light sensor

2019-09-24 Thread Rishi Gupta
veml6030 is an ambient light sensor from Vishay semiconductors. It has 16-bit resolution, supports both ambient light measurement and white channel which is more responsive to wider wavelength spectrum. It has flexible power saving, integration time and gain options. Communication with host is over

[RESEND PATCH v2 2/3] dt-bindings: iio: light: add veml6030 ALS bindings

2019-09-24 Thread Rishi Gupta
This commit adds device tree bindings for veml6030 ambient light sensor. Signed-off-by: Rishi Gupta --- Changes in v2: * Corrected grammatical mistake from 'is' to 'are' in description of bindings .../devicetree/bindings/iio/light/veml6030.yaml| 62 ++ 1 file changed, 62

[RESEND PATCH v2 0/3] Add driver for veml6030 ambient light sensor

2019-09-24 Thread Rishi Gupta
The veml6030 is an ambient light sensor from vishay and is a different hardware from an existing hardware for which driver currently exist, therefore this driver submission. * All features; ALS, white channel & power management is supported. * All configurable parameters are supported through s

Re: [PATCH 1/2] pwm: pwm-mxs: use devm_platform_ioremap_resource() to simplify code

2019-09-24 Thread Thierry Reding
On Tue, Sep 24, 2019 at 05:42:48PM +0800, Anson Huang wrote: > Use the new helper devm_platform_ioremap_resource() which wraps the > platform_get_resource() and devm_ioremap_resource() together, to > simplify the code. > > Signed-off-by: Anson Huang > --- > - This is a resend version of pat

[PATCH 0/5] Add and use sizeof_member macro to bring uniformity

2019-09-24 Thread Pankaj Bharadiya
This topic has been discussed on the kernel hardening mailing list [1] few months back. Thanks to Shyam for initiating work on this. Its been concluded on how the patch series should be but there was no further progress and this work is still pending (Pardon me if I missed something here). At pr

[PATCH 2/5] treewide: Use sizeof_member macro

2019-09-24 Thread Pankaj Bharadiya
Replace all the occurrences of FIELD_SIZEOF, SIZEOF_FIELD and sizeof_field with sizeof_member except at places where these are defined. (The follow on patches will remove their definitions) This patch is generated using following script: EXCLUDE_FILES="include/linux/stddef.h|include/linux/kernel.

[PATCH 4/5] linux/kernel.h: Remove FIELD_SIZEOF macro

2019-09-24 Thread Pankaj Bharadiya
Now we have sizeof_member macro to find the size of a member of a struct. FIELD_SIZEOF macro is not getting used any more hence remove it. Signed-off-by: Pankaj Bharadiya --- include/linux/kernel.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include/linux/kernel.h b/include/linu

[PATCH 3/5] MIPS: OCTEON: use sizeof_member macro instead of SIZEOF_FIELD

2019-09-24 Thread Pankaj Bharadiya
Now we have a standard sizeof_member macro to find the size of a member of a struct. Remove the SIZEOF_FIELD macro and use sizeof_member instead. Signed-off-by: Pankaj Bharadiya --- arch/mips/cavium-octeon/executive/cvmx-bootmem.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) di

[PATCH 1/5] linux/kernel.h: Add sizeof_member macro

2019-09-24 Thread Pankaj Bharadiya
At present we have 3 different macros to calculate the size of a member of a struct: - SIZEOF_FIELD - FIELD_SIZEOF - sizeof_field To bring uniformity in entire kernel source tree let's add sizeof_member macro. Replace all occurrences of above 3 macro's with sizeof_member in future patches.

[PATCH 5/5] stddef.h: Remove sizeof_field macro

2019-09-24 Thread Pankaj Bharadiya
Now we have sizeof_member macro to find the size of a member of a struct. sizeof_field macro is not getting used any more hence remove it. Also modify the offsetofend macro to get rid of it. Signed-off-by: Pankaj Bharadiya --- include/linux/stddef.h | 10 +- 1 file changed, 1 insertion

[PATCH 1/2] spi: Add call to spi_slave_abort() function when spidev driver is released

2019-09-24 Thread Lukasz Majewski
This change is necessary for spidev devices (e.g. /dev/spidev3.0) working in the slave mode (like NXP's dspi driver for Vybrid SoC). When SPI HW works in this mode - the master is responsible for providing CS and CLK signals. However, when some fault happens - like for example distortion on SPI li

[PATCH 2/2] spi: Introduce dspi_slave_abort() function for NXP's dspi SPI driver

2019-09-24 Thread Lukasz Majewski
This change provides the dspi_slave_abort() function, which is a callback for slave_abort() method of SPI controller generic driver. As in the SPI slave mode the transmission is driven by master, any distortion may cause the slave to enter undefined internal state. To avoid this problem the dspi_s

[PATCH 0/2] spi: Fix problem with interrupted slave transmission

2019-09-24 Thread Lukasz Majewski
This patch series fixes problem with recovering Vybrid's NXP DSPI controller state after master transmission distortion. It was tested with a setup where /dev/spidevX.Y devices were used in a loopback mode (provided by proper HW connections). During this test the distortion was introduced and the

Hello

2019-09-24 Thread Edith Brown
-- Hello dear how are you? my name is Edith Brown i am a U.S military woman is my pleasure meeting you here best regards

[PATCH v2] memcg: Only record foreign writebacks with dirty pages when memcg is not disabled

2019-09-24 Thread Baoquan He
In kdump kernel, memcg usually is disabled with 'cgroup_disable=memory' for saving memory. Now kdump kernel will always panic when dump vmcore to local disk: BUG: kernel NULL pointer dereference, address: 0ab8 PGD 5fcab067 P4D 5fcab067 PUD 5ff73067 PMD 0 Oops: [#1] SMP NOPTI CPU:

Re: [PATCH RFC 1/2] perf tools: Support single perf.data file directory

2019-09-24 Thread Jiri Olsa
On Tue, Sep 24, 2019 at 12:12:25PM +0300, Adrian Hunter wrote: > On 24/09/19 12:34 AM, Jiri Olsa wrote: > > On Mon, Sep 16, 2019 at 11:56:45AM +0300, Adrian Hunter wrote: > >> Support directory output that contains a regular perf.data file. This is > >> preparation for adding support for putting a

Re: [RFC 2/2] x86/kvmclock: Use host timekeeping.

2019-09-24 Thread Vitaly Kuznetsov
Suleiman Souhlal writes: > On Fri, Sep 20, 2019 at 10:33 PM Vitaly Kuznetsov wrote: >> >> Suleiman Souhlal writes: >> >> > When CONFIG_KVMCLOCK_HOST_TIMEKEEPING is enabled, and the host >> > supports it, update our timekeeping parameters to be the same as >> > the host. This lets us have our ti

Re: [PATCH xfstests] overlay: Enable character device to be the base fs partition

2019-09-24 Thread Zhihao Cheng
After incorporating patches, use overlay usecases to test character device-based base fs, and all overlay usecases are executed: FSTYP -- overlay # FSTYP has be overridden as 'overlay' PLATFORM -- Linux/x86_64 localhost MKFS_OPTIONS -- /tmp/scratch MOUNT_OPTIONS -- /tmp/scratch /tm

[PATCH v2] arm64: use generic free_initrd_mem()

2019-09-24 Thread Mike Rapoport
From: Mike Rapoport arm64 calls memblock_free() for the initrd area in its implementation of free_initrd_mem(), but this call has no actual effect that late in the boot process. By the time initrd is freed, all the reserved memory is managed by the page allocator and the memblock.reserved is unus

Re: [PATCH RT v3 3/5] sched: migrate_dis/enable: Use rt_invol_sleep

2019-09-24 Thread Sebastian Andrzej Siewior
On 2019-09-23 19:52:33 [+0200], To Scott Wood wrote: I made dis: diff --git a/kernel/cpu.c b/kernel/cpu.c index 885a195dfbe02..25afa2bb1a2cf 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -308,7 +308,9 @@ void pin_current_cpu(void) preempt_lazy_enable(); preempt_enable(); +

Re: [PATCH v2] mm: don't expose page to fast gup prematurely

2019-09-24 Thread Kirill A. Shutemov
On Sat, Sep 14, 2019 at 01:05:18AM -0600, Yu Zhao wrote: > We don't want to expose page to fast gup running on a remote CPU > before all local non-atomic ops on page flags are visible first. > > For anon page that isn't in swap cache, we need to make sure all > prior non-atomic ops, especially __S

Re: [PATCH 1/6] mdev: class id support

2019-09-24 Thread Jason Wang
On 2019/9/24 上午5:02, Parav Pandit wrote: > Hi Jason, > > >> -Original Message- >> From: Jason Wang >> Sent: Monday, September 23, 2019 8:03 AM >> To: k...@vger.kernel.org; linux-s...@vger.kernel.org; linux- >> ker...@vger.kernel.org; dri-de...@lists.freedesktop.org; intel- >> g...@lists.

Re: [PATCH v2] PCI: dwc: Add support to add GEN3 related equalization quirks

2019-09-24 Thread Vidya Sagar
On 9/24/2019 2:58 PM, Pankaj Dubey wrote: -Original Message- From: Vidya Sagar Sent: Thursday, September 19, 2019 4:54 PM Subject: Re: [PATCH v2] PCI: dwc: Add support to add GEN3 related equalization quirks On 9/16/2019 6:22 PM, Gustavo Pimentel wrote: On Mon, Sep 16, 2019 at 13:24

[Tree, v2] De-clutter the top level directory, move ipc/ => kernel/ipc/, samples/ => Documentation/samples/ and sound/ => drivers/sound/

2019-09-24 Thread Ingo Molnar
* Ingo Molnar wrote: > Oh, that's a pleasant surprise, I didn't expect _100%_ support! :-) > > So I started working on this today and whipped up three of these > movements, in a 100% scripted fashion. > > You can have a sneak preview at the result in this tree: > >git://git.kernel.org/p

Re: [PATCH v2 2/4] mm, page_owner: record page owner for each subpage

2019-09-24 Thread Kirill A. Shutemov
On Tue, Aug 20, 2019 at 03:18:26PM +0200, Vlastimil Babka wrote: > Currently, page owner info is only recorded for the first page of a high-order > allocation, and copied to tail pages in the event of a split page. With the > plan to keep previous owner info after freeing the page, it would be bene

Re: [PATCH v2 3/4] mm, page_owner: keep owner info when freeing the page

2019-09-24 Thread Kirill A. Shutemov
On Tue, Aug 20, 2019 at 03:18:27PM +0200, Vlastimil Babka wrote: > For debugging purposes it might be useful to keep the owner info even after > page has been freed, and include it in e.g. dump_page() when detecting a bad > page state. For that, change the PAGE_EXT_OWNER flag meaning to "page owner

Re: [PATCH v2 4/4] mm, page_owner, debug_pagealloc: save and dump freeing stack trace

2019-09-24 Thread Kirill A. Shutemov
On Tue, Aug 20, 2019 at 03:18:28PM +0200, Vlastimil Babka wrote: > The debug_pagealloc functionality is useful to catch buggy page allocator > users > that cause e.g. use after free or double free. When page inconsistency is > detected, debugging is often simpler by knowing the call stack of proce

Re: [PATCH v3 1/2] memory_hotplug: Add a bounds check to check_hotplug_memory_range()

2019-09-24 Thread Michal Hocko
On Tue 24-09-19 11:13:31, David Hildenbrand wrote: > On 24.09.19 11:09, Michal Hocko wrote: > > On Tue 24-09-19 11:31:05, Alastair D'Silva wrote: > >> On Mon, 2019-09-23 at 14:25 +0200, Michal Hocko wrote: [...] > >>> This will result in a silent failure (unlike misaligned case). Is > >>> this > >>

Re: [PATCH] mm/hotplug: Reorder memblock_[free|remove]() calls in try_remove_memory()

2019-09-24 Thread Michal Hocko
On Tue 24-09-19 09:42:31, Anshuman Khandual wrote: > > > On 09/23/2019 04:24 PM, David Hildenbrand wrote: > > On 23.09.19 12:52, Michal Hocko wrote: > >> On Mon 16-09-19 11:17:37, Anshuman Khandual wrote: > >>> In add_memory_resource() the memory range to be hot added first gets into > >>> the me

[PATCH] ASoC: samsung: i2s: Add clocks' macros descriptions

2019-09-24 Thread Marek Szyprowski
From: Maciej Falkowski To increase macro readability added descriptions to clocks macros. Signed-off-by: Maciej Falkowski Signed-off-by: Marek Szyprowski --- include/dt-bindings/sound/samsung-i2s.h | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/include/dt-bind

[PATCH] tracing/probe: Fix same probe event argument matching

2019-09-24 Thread Srikar Dronamraju
Commit fe60b0ce8e73 ("tracing/probe: Reject exactly same probe event") tries to reject a event which matches an already existing probe. However it currently continues to match arguments and rejects adding a probe even when the arguments don't match. Fix this by only rejecting a probe if and only i

Re: [PATCH V3 0/2] mm/debug: Add tests for architecture exported page table helpers

2019-09-24 Thread Kirill A. Shutemov
On Fri, Sep 20, 2019 at 12:03:21PM +0530, Anshuman Khandual wrote: > This series adds a test validation for architecture exported page table > helpers. Patch in the series adds basic transformation tests at various > levels of the page table. Before that it exports gigantic page allocation > functi

Re: [PATCH RFC 1/2] perf tools: Support single perf.data file directory

2019-09-24 Thread Adrian Hunter
On 24/09/19 2:12 PM, Jiri Olsa wrote: > On Tue, Sep 24, 2019 at 12:12:25PM +0300, Adrian Hunter wrote: >> On 24/09/19 12:34 AM, Jiri Olsa wrote: >>> On Mon, Sep 16, 2019 at 11:56:45AM +0300, Adrian Hunter wrote: Support directory output that contains a regular perf.data file. This is prep

Re: [PATCH] ASoC: samsung: i2s: Add clocks' macros descriptions

2019-09-24 Thread Krzysztof Kozlowski
On Tue, Sep 24, 2019 at 01:48:38PM +0200, Marek Szyprowski wrote: > From: Maciej Falkowski > > To increase macro readability added descriptions > to clocks macros. > > Signed-off-by: Maciej Falkowski > Signed-off-by: Marek Szyprowski > --- > include/dt-bindings/sound/samsung-i2s.h | 11 ++

Re: [PATCH] clk: at91: sam9x60: fix programmable clock

2019-09-24 Thread Nicolas.Ferre
On 24/09/2019 at 12:39, Eugen Hristev - M18282 wrote: > From: Eugen Hristev > > The prescaler mask for sam9x60 must be 0xff (8 bits). > Being set to 0, means that we cannot set any prescaler, thus the > programmable clocks do not work (except the case with prescaler 0) > Set the mask accordingly

Re: [PATCH v6] numa: make node_to_cpumask_map() NUMA_NO_NODE aware

2019-09-24 Thread Michal Hocko
On Tue 24-09-19 13:23:49, Peter Zijlstra wrote: > On Tue, Sep 24, 2019 at 12:56:22PM +0200, Michal Hocko wrote: [...] > > To be honest I really fail to see why to object to a simple semantic > > that NUMA_NO_NODE imply all usable cpus. Could you explain that please? > > Because it feels wrong. The

[PATCH v4] dt-bindings: sound: Convert Samsung I2S controller to dt-schema

2019-09-24 Thread Marek Szyprowski
From: Maciej Falkowski Convert Samsung I2S controller to newer dt-schema format. Signed-off-by: Maciej Falkowski Signed-off-by: Marek Szyprowski --- v4: - Removed description of i2s device nodes' clocks from 'clocks' property. - Added 'clock-output-names' property. - Added description of clock

Re: [PATCH v8 3/3] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-24 Thread Kirill A. Shutemov
On Tue, Sep 24, 2019 at 11:33:25AM +0100, Catalin Marinas wrote: > On Tue, Sep 24, 2019 at 06:43:06AM +, Justin He (Arm Technology China) > wrote: > > Catalin Marinas wrote: > > > On Sat, Sep 21, 2019 at 09:50:54PM +0800, Jia He wrote: > > > > @@ -2151,21 +2163,53 @@ static inline void cow_use

Re: [PATCH] clk: at91: sam9x60: fix programmable clock

2019-09-24 Thread Alexandre Belloni
On 24/09/2019 10:39:09+, eugen.hris...@microchip.com wrote: > From: Eugen Hristev > > The prescaler mask for sam9x60 must be 0xff (8 bits). > Being set to 0, means that we cannot set any prescaler, thus the > programmable clocks do not work (except the case with prescaler 0) > Set the mask ac

Re: [PATCH] slab, memcontrol: undefined reference to `memcg_kmem_get_cache'

2019-09-24 Thread Michal Hocko
On Tue 24-09-19 08:46:48, Mircea CIRJALIU - MELIU wrote: > Having CONFIG_MEMCG turned off causes these issues: > mm/slub.o: In function `slab_pre_alloc_hook': > /home/mircea/build/mm/slab.h:425: undefined reference to > `memcg_kmem_get_cache' > mm/slub.o: In function `slab_post

Re: [PATCH RFC 1/2] perf tools: Support single perf.data file directory

2019-09-24 Thread Jiri Olsa
On Tue, Sep 24, 2019 at 02:51:28PM +0300, Adrian Hunter wrote: > On 24/09/19 2:12 PM, Jiri Olsa wrote: > > On Tue, Sep 24, 2019 at 12:12:25PM +0300, Adrian Hunter wrote: > >> On 24/09/19 12:34 AM, Jiri Olsa wrote: > >>> On Mon, Sep 16, 2019 at 11:56:45AM +0300, Adrian Hunter wrote: > Support d

Re: TTM huge page-faults WAS: Re: [RFC PATCH 1/2] x86: Don't let pgprot_modify() change the page encryption bit

2019-09-24 Thread Koenig, Christian
Am 11.09.19 um 17:08 schrieb Thomas Hellström (VMware): > On 9/11/19 4:06 PM, Koenig, Christian wrote: >> Am 11.09.19 um 12:10 schrieb Thomas Hellström (VMware): >> [SNIP] > The problem seen in TTM is that we want to be able to change the > vm_page_prot from the fault handler, but it's prob

[PATCH v2] media: v4l2-fwnode: fix location of acpi/dsd documentation

2019-09-24 Thread Mauro Carvalho Chehab
This got moved to the firmware-guide. Fixes: f2dde1ed0f28 ("Documentation: ACPI: move dsd/graph.txt to firmware-guide/acpi and convert to reST") Signed-off-by: Mauro Carvalho Chehab --- v2: - Also replace *.txt -> *.rst. I opted to place the full file names there, as this allows ./scripts/

Re: [PATCH v4] dt-bindings: sound: Convert Samsung I2S controller to dt-schema

2019-09-24 Thread Krzysztof Kozlowski
On Tue, Sep 24, 2019 at 01:55:53PM +0200, Marek Szyprowski wrote: > From: Maciej Falkowski > > Convert Samsung I2S controller to newer dt-schema format. > > Signed-off-by: Maciej Falkowski > Signed-off-by: Marek Szyprowski > --- > v4: > - Removed description of i2s device nodes' clocks from >

Re: [PATCH v2] scsi: qedf: Add port_id getter

2019-09-24 Thread Hannes Reinecke
On 9/24/19 9:29 AM, Daniel Wagner wrote: > Add qedf_get_host_port_id() to the transport template. > > The fc_transport_template initializes the port_id member to the > default value of -1. The new getter ensures that the sysfs entry shows > the current value and not the default one, e.g by using '

Re: [PATCH] ACPICA: Introduce acpi_load_table_with_index()

2019-09-24 Thread Shevchenko, Andriy
On Mon, Sep 23, 2019 at 11:47:01AM +0200, Nikolaus Voss wrote: > For unloading an ACPI table, it is necessary to provide the > index of the table. The method intended for dynamically > loading or hotplug addition of tables, acpi_load_table(), > does not provide this information, so a new function >

[GIT PULL] sound fixes for 5.4-rc1

2019-09-24 Thread Takashi Iwai
Linus, please pull sound fixes for v5.4-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-fix-5.4-rc1 The topmost commit is f41f900568d9ffd896cc941db7021eb14bd55910 sound fixes for 5.4-rc1 A f

[PATCH] modpost: fix static EXPORT_SYMBOL warnings for UML build

2019-09-24 Thread Masahiro Yamada
Johannes Berg reports lots of modpost warnings on ARCH=um builds: WARNING: "rename" [vmlinux] is a static EXPORT_SYMBOL WARNING: "lseek" [vmlinux] is a static EXPORT_SYMBOL WARNING: "ftruncate64" [vmlinux] is a static EXPORT_SYMBOL WARNING: "getuid" [vmlinux] is a static EXPORT_SYMBOL WARNING: "ls

Re: [PATCH] ACPICA: Introduce acpi_load_table_with_index()

2019-09-24 Thread Shevchenko, Andriy
On Tue, Sep 24, 2019 at 03:07:34PM +0300, Shevchenko, Andriy wrote: > On Mon, Sep 23, 2019 at 11:47:01AM +0200, Nikolaus Voss wrote: > > For unloading an ACPI table, it is necessary to provide the > > index of the table. The method intended for dynamically > > loading or hotplug addition of tables,

Re: INFO: trying to register non-static key in hci_uart_flush (2)

2019-09-24 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:e94f8ccd Merge tag 'smack-for-5.4-rc1' of git://github.com.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16713de960 kernel config: https://syzkaller.appspot.com/x/.config?x=df38ee

Re: Problems with arm64 compat vdso

2019-09-24 Thread Vincenzo Frascino
Hi Ard, On 9/23/19 5:41 PM, Ard Biesheuvel wrote: > On Fri, 20 Sep 2019 at 18:33, Vincenzo Frascino > wrote: >> >> Hi Will, >> >> thank you for reporting this. >> >> On 20/09/2019 15:27, Will Deacon wrote: >>> Hi Vincenzo, >>> >>> I've been running into a few issues with the COMPAT vDSO. Please c

Re: static EXPORT_SYMBOL checker causes false positives on ARCH=um

2019-09-24 Thread Masahiro Yamada
Hi Johannes, On Tue, Sep 24, 2019 at 5:17 PM Johannes Berg wrote: > > Hi, > > With the new commit 15bfc2348d54 ("modpost: check for static > EXPORT_SYMBOL* functions") we get a lot of warnings on ARCH=um builds: > > WARNING: "rename" [vmlinux] is a static EXPORT_SYMBOL > WARNING: "lseek" [vmlinux

RE: [PATCH v2] PCI: dwc: Add support to add GEN3 related equalization quirks

2019-09-24 Thread Pankaj Dubey
> -Original Message- > From: Vidya Sagar > Sent: Tuesday, September 24, 2019 4:57 PM > To: Pankaj Dubey ; 'Gustavo Pimentel' > ; 'Andrew Murray' > > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > jingooh...@gmail.com; lorenzo.pieral...@arm.com; bhelg...@google.com; > 'A

Re: [PATCH] modpost: fix static EXPORT_SYMBOL warnings for UML build

2019-09-24 Thread Johannes Berg
On Tue, 2019-09-24 at 21:07 +0900, Masahiro Yamada wrote: > Johannes Berg reports lots of modpost warnings on ARCH=um builds: > > WARNING: "rename" [vmlinux] is a static EXPORT_SYMBOL > [snip] > WARNING: "__stack_smash_handler" [vmlinux] is a static EXPORT_SYMBOL > > When you run "make", the modp

Re: Is congestion broken?

2019-09-24 Thread Michal Hocko
On Mon 23-09-19 13:51:21, Jens Axboe wrote: > On 9/23/19 1:45 PM, Matthew Wilcox wrote: > > On Mon, Sep 23, 2019 at 01:38:23PM -0600, Jens Axboe wrote: > >> On 9/23/19 5:19 AM, Matthew Wilcox wrote: > >>> > >>> Ping Jens? > >>> > >>> On Wed, Sep 18, 2019 at 08:49:49PM -0700, Matthew Wilcox wrote: >

[PATCH] fs: direct-io: Fixed a Documentation build warn

2019-09-24 Thread Madhuparna Bhowmik
warning: Excess function parameter 'offset' description in 'dio_complete'. This patch removes offset from the list of arguments from the function header as it not an argument to the function. Adds the description about offset within the code. Signed-off-by: Madhuparna Bhowmik --- fs/direct-io.c

Re: [PATCH] clk: at91: avoid sleeping early

2019-09-24 Thread Uwe Kleine-König
On Fri, Sep 20, 2019 at 05:39:06PM +0200, Alexandre Belloni wrote: > It is not allowed to sleep to early in the boot process and this may lead > to kernel issues if the bootloader didn't prepare the slow clock and main > clock. > > This results in the following error and dump stack on the AriettaG

Re: [PATCH] fs: direct-io: Fixed a Documentation build warn

2019-09-24 Thread Matthew Wilcox
On Tue, Sep 24, 2019 at 05:49:25PM +0530, Madhuparna Bhowmik wrote: > Adds the description about > offset within the code. Why? > @@ -255,6 +254,7 @@ void dio_warn_stale_pagecache(struct file *filp) > */ > static ssize_t dio_complete(struct dio *dio, ssize_t ret, unsigned int flags) > { > +

Re: [PATCH v2] memcg: Only record foreign writebacks with dirty pages when memcg is not disabled

2019-09-24 Thread Michal Hocko
On Tue 24-09-19 19:11:51, Baoquan He wrote: > diff --git a/mm/memcontrol.c b/mm/memcontrol.c > index f3c15bb07cce..84e3fdb1ccb4 100644 > --- a/mm/memcontrol.c > +++ b/mm/memcontrol.c > @@ -4317,6 +4317,9 @@ void mem_cgroup_track_foreign_dirty_slowpath(struct > page *page, > > trace_track_f

Re: [PATCH V3 0/2] mm/debug: Add tests for architecture exported page table helpers

2019-09-24 Thread Mike Rapoport
On Tue, Sep 24, 2019 at 02:51:01PM +0300, Kirill A. Shutemov wrote: > On Fri, Sep 20, 2019 at 12:03:21PM +0530, Anshuman Khandual wrote: > > This series adds a test validation for architecture exported page table > > helpers. Patch in the series adds basic transformation tests at various > > levels

Re: [PATCH xfstests] overlay: Enable character device to be the base fs partition

2019-09-24 Thread Amir Goldstein
On Tue, Sep 24, 2019 at 12:34 PM Zhihao Cheng wrote: > > When running overlay tests using character devices as base fs partitions, > all overlay usecase results become 'notrun'. Function > '_overay_config_override' (common/config) detects that the current base > fs partition is not a block device

Re: [GIT PULL] MIPS changes

2019-09-24 Thread David Howells
Linus Torvalds wrote: > In honesty, I actually do have one warning in my tree: > > samples/vfs/test-statx.c:24:15: warning: ‘struct foo’ declared > inside parameter list will not be visible outside of this definition > or declaration > 24 | #define statx foo > | ^~~

[PATCH 0/3] clk: let clock perform allocation in init

2019-09-24 Thread Jerome Brunet
This patchset is a follow up on this pinky swear [0]. Its purpose is: * Clarify the acceptable use of clk_ops init() callback * Let the init() callback return an error code in case anything fail. * Add the terminate() counter part of of init() to release the resources which may have been c

[PATCH 3/3] clk: add terminate callback to clk_ops

2019-09-24 Thread Jerome Brunet
Add a terminate callback to the clk_ops to release the resources claimed in .init() Signed-off-by: Jerome Brunet --- drivers/clk/clk.c| 7 ++- include/linux/clk-provider.h | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c

[PATCH 2/3] clk: let init callback return an error code

2019-09-24 Thread Jerome Brunet
If the init callback is allowed to request resources, it needs a return value to report the outcome of such a request. Signed-off-by: Jerome Brunet --- Sorry about the spam. This patch change quite a few files so I have tried to Cc the relevant people. Stephen, You may notice that I have adde

[PATCH 1/3] clk: actually call the clock init before any other callback of the clock

2019-09-24 Thread Jerome Brunet
__clk_init_parent() will call the .get_parent() callback of the clock so .init() must run before. Fixes: 541debae0adf ("clk: call the clock init() callback before any other ops callback") Signed-off-by: Jerome Brunet --- drivers/clk/clk.c | 26 +++--- 1 file changed, 15 in

Re: leds: apu: drop obsolete support for apu>=2

2019-09-24 Thread Enrico Weigelt, metux IT consult
On 29.08.19 21:51, Jacek Anaszewski wrote: > On 8/29/19 11:08 AM, Enrico Weigelt, metux IT consult wrote: >> On 22.07.19 22:12, Jacek Anaszewski wrote: >> >> Hi, >> >>> Patch set applied along with the update for the patch 5/6. >> >> What's the status of this patch set ? >> Doesn't seem to have lan

Re: [PATCH v7 12/13] lib/vsprintf: Add %pfw conversion specifier for printing fwnode names

2019-09-24 Thread Petr Mladek
On Wed 2019-09-18 16:34:18, Sakari Ailus wrote: > Add support for %pfw conversion specifier (with "f" and "P" modifiers) to > support printing full path of the node, including its name ("f") and only > the node's name ("P") in the printk family of functions. The two flags > have equivalent function

Re: [PATCH] ipv6: do not free rt if FIB_LOOKUP_NOREF is set on suppress rule

2019-09-24 Thread David Miller
From: "Jason A. Donenfeld" Date: Tue, 24 Sep 2019 09:36:15 +0200 > Commit 7d9e5f422150 removed references from certain dsts, but accounting > for this never translated down into the fib6 suppression code. This bug > was triggered by WireGuard users who use wg-quick(8), which uses the > "suppress-

Re: [PATCH v7 13/13] lib/test_printf: Add tests for %pfw printk modifier

2019-09-24 Thread Petr Mladek
On Wed 2019-09-18 16:34:19, Sakari Ailus wrote: > Add a test for the %pfw printk modifier using software nodes. > > Signed-off-by: Sakari Ailus > Reviewed-by: Andy Shevchenko Reviewed-by: Petr Mladek Best Regards, Petr

Re: [PATCH] ipv6: do not free rt if FIB_LOOKUP_NOREF is set on suppress rule

2019-09-24 Thread Jason A. Donenfeld
On Tue, Sep 24, 2019 at 2:53 PM David Miller wrote: > Please make such test cases integratabe into the selftests area for networking > and submit it along with this fix. That link is for a WireGuard test-case. When we get that upstream, those will all live in selftests/ all the same as you'd like

Portege Z930 extra keys and leds

2019-09-24 Thread Enrico Weigelt, metux IT consult
Hello folks, does anybody happen to know how to drive the extra keys and leds of Toshiba Portege Z930 notebook ? It has two extra keys above the keyboard (right next to the power button) and some indicator leds underneath the touch panel buttons. Toshiba originally ships the notebook with some

Re: [PATCH 3/3] powercap/drivers/idle_inject: Specify the idle state to inject

2019-09-24 Thread Daniel Lezcano
Hi Mathieu, On 18/09/2019 21:35, Mathieu Poirier wrote: > On Mon, Sep 09, 2019 at 04:50:15PM +0200, Daniel Lezcano wrote: >> Currently the idle injection framework only allows to inject the >> deepest idle state available on the system. >> >> Give the opportunity to specify which idle state we w

[PATCH 1/3] docs: fix some broken references

2019-09-24 Thread Mauro Carvalho Chehab
There are a number of documentation files that got moved or renamed. update their references. Signed-off-by: Mauro Carvalho Chehab --- Documentation/devicetree/bindings/cpu/cpu-topology.txt| 2 +- Documentation/devicetree/bindings/timer/ingenic,tcu.txt | 2 +- Documentation/driver-api/gpio

Re: [PATCH v2] memcg: Only record foreign writebacks with dirty pages when memcg is not disabled

2019-09-24 Thread Baoquan He
On 09/24/19 at 02:27pm, Michal Hocko wrote: > On Tue 24-09-19 19:11:51, Baoquan He wrote: > > diff --git a/mm/memcontrol.c b/mm/memcontrol.c > > index f3c15bb07cce..84e3fdb1ccb4 100644 > > --- a/mm/memcontrol.c > > +++ b/mm/memcontrol.c > > @@ -4317,6 +4317,9 @@ void mem_cgroup_track_foreign_dirty_

  1   2   3   4   5   6   7   8   9   >