Re: [PATCH v3 0/7] lib/string: Add strscpy_pad() function

2019-03-08 Thread Kees Cook
On Thu, Mar 7, 2019 at 9:24 PM Tobin C. Harding wrote: > Two weeks and I'm throwing eggs at your house. If you can gets eggs from there to here I have a whole new international shipping business proposition for you. :) -- Kees Cook

[PATCH 0/4] drm/v3d: Add drm core helper, use shmem helpers

2019-03-08 Thread Eric Anholt
This was inspired by Rob's respin of the shmem helpers patch for panfrost (which the final patch depends on). And, looking at panfrost and lima, recently I realized that we all had some nasty cargo-cult code for BO reservations that we can share now that the reservation object is in the core GEM

[PATCH 4/4] drm/v3d: Use the new shmem helpers to reduce driver boilerplate.

2019-03-08 Thread Eric Anholt
Depends on https://patchwork.freedesktop.org/patch/290754/?series=57669=1 -- Rob and I have been talking about adding some more help for the dma_map_sg() code in v3d_mmu.c (which panfrost has a similar version of), but this already seems like a good cleanup. Signed-off-by: Eric Anholt ---

[PATCH 1/4] drm: Add helpers for locking an array of BO reservations.

2019-03-08 Thread Eric Anholt
Now that we have the reservation object in the GEM object, it's easy to provide a helper for this common case. Noticed while reviewing panfrost and lima drivers. This particular version came out of v3d, which in turn was a copy from vc4. Signed-off-by: Eric Anholt ---

[PATCH 2/4] drm/v3d: Use drm_gem_lock_reservations()/drm_gem_unlock_reservations()

2019-03-08 Thread Eric Anholt
Now that we have core helpers, this gets rid of a lot of boilerplate. Signed-off-by: Eric Anholt --- drivers/gpu/drm/v3d/v3d_gem.c | 56 --- 1 file changed, 6 insertions(+), 50 deletions(-) diff --git a/drivers/gpu/drm/v3d/v3d_gem.c

[PATCH 3/4] drm/v3d: Remove some dead members of struct v3d_bo.

2019-03-08 Thread Eric Anholt
vmas was from the previous model of page table management (one per fd), and vaddr was left over from vc4. Signed-off-by: Eric Anholt --- drivers/gpu/drm/v3d/v3d_bo.c | 1 - drivers/gpu/drm/v3d/v3d_drv.h | 9 - 2 files changed, 10 deletions(-) diff --git a/drivers/gpu/drm/v3d/v3d_bo.c

Re: [PATCH] ASoC: fsl: sai: Reduce underrun when stream starts

2019-03-08 Thread Fabio Estevam
Hi Daniel, On Fri, Mar 8, 2019 at 1:09 PM Daniel Baluta wrote: > > From: Shengjiu Wang > > Write initial words into SAI FIFO to reduce the underrun > error. Please provide a better explanation. Why does performing these writes help? Also, the commit message says "reduce", so it seems this is

Re: [RFC 02/15] slub: Add isolate() and migrate() methods

2019-03-08 Thread Christopher Lameter
On Fri, 8 Mar 2019, Tycho Andersen wrote: > On Fri, Mar 08, 2019 at 03:14:13PM +1100, Tobin C. Harding wrote: > > diff --git a/mm/slab_common.c b/mm/slab_common.c > > index f9d89c1b5977..754acdb292e4 100644 > > --- a/mm/slab_common.c > > +++ b/mm/slab_common.c > > @@ -298,6 +298,10 @@ int

[PATCH] xfs: clean up xfs_dir2_leafn_add

2019-03-08 Thread Darrick J. Wong
From: Darrick J. Wong Remove typedefs and consolidate local variable initialization. Signed-off-by: Darrick J. Wong --- fs/xfs/libxfs/xfs_dir2_node.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/fs/xfs/libxfs/xfs_dir2_node.c

[PATCH] ASoC: fsl: sai: Reduce underrun when stream starts

2019-03-08 Thread Daniel Baluta
From: Shengjiu Wang Write initial words into SAI FIFO to reduce the underrun error. Signed-off-by: Shengjiu Wang Signed-off-by: Daniel Baluta --- sound/soc/fsl/fsl_sai.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index

Re: [PATCH 5.0 00/46] 5.0.1-stable review

2019-03-08 Thread Jon Hunter
On 08/03/2019 12:49, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.0.1 release. > There are 46 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH] powerpc/6xx: fix setup and use of SPRN_PGDIR for hash32

2019-03-08 Thread Christophe Leroy
Le 08/03/2019 à 17:03, Segher Boessenkool a écrit : On Fri, Mar 08, 2019 at 07:05:22AM +, Christophe Leroy wrote: Not only the 603 but all 6xx need SPRN_PGDIR to be initialised at startup. This patch move it from __setup_cpu_603() to start_here() and __secondary_start(), close to the

Re: [PATCH 4.20 00/76] 4.20.15-stable review

2019-03-08 Thread Jon Hunter
On 08/03/2019 12:49, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.20.15 release. > There are 76 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] netfilter: nf_conntrack_sip: fix IPV6 dependency

2019-03-08 Thread Pablo Neira Ayuso
hi Arnd, Cc'ing Alin Nastac. On Mon, Mar 04, 2019 at 09:40:12PM +0100, Arnd Bergmann wrote: > With CONFIG_IPV6=m and CONFIG_NF_CONNTRACK_SIP=y, we now get a link failure: > > net/netfilter/nf_conntrack_sip.o: In function `process_sdp': > nf_conntrack_sip.c:(.text+0x4344): undefined reference to

Re: [PATCH] powerpc/6xx: fix setup and use of SPRN_PGDIR for hash32

2019-03-08 Thread Segher Boessenkool
On Fri, Mar 08, 2019 at 07:05:22AM +, Christophe Leroy wrote: > Not only the 603 but all 6xx need SPRN_PGDIR to be initialised at > startup. This patch move it from __setup_cpu_603() to start_here() > and __secondary_start(), close to the initialisation of SPRN_THREAD. I thought you meant an

Re: [PATCH 7/9] docs: Remove unknown 'hint' directive

2019-03-08 Thread Randy Dunlap
On 3/8/19 12:27 AM, Markus Heiser wrote: > > Am 08.03.19 um 04:51 schrieb Randy Dunlap: >> On 3/7/19 1:11 PM, Tobin C. Harding wrote: >>> Current RST file contains an unknown directive causing Sphinx to emit >>> >>> ERROR: Unexpected indentation. >>> >>> Use normal language construct instead.

Re: [PATCH 4.19 00/68] 4.19.28-stable review

2019-03-08 Thread Jon Hunter
On 08/03/2019 12:49, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.28 release. > There are 68 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] irqchip: stm32: add a second level init to request hwspinlock

2019-03-08 Thread Fabien DESSENNE
Hi Marc, Thanks for your detailed answer. I will study how to move this driver to a device one. BR Fabien On 08/03/2019 4:30 PM, Marc Zyngier wrote: > On Fri, 08 Mar 2019 14:03:55 +, > Fabien DESSENNE wrote: > > Fabien, > >> Hi Marc, >> >> Thank you for your feedback. Let me try to

Re: [RFC 07/15] slub: Add defrag_used_ratio field and sysfs support

2019-03-08 Thread Tycho Andersen
On Fri, Mar 08, 2019 at 03:14:18PM +1100, Tobin C. Harding wrote: > --- a/mm/slub.c > +++ b/mm/slub.c > @@ -3642,6 +3642,7 @@ static int kmem_cache_open(struct kmem_cache *s, > slab_flags_t flags) > > set_cpu_partial(s); > > + s->defrag_used_ratio = 30; > #ifdef CONFIG_NUMA >

Re: [PATCH] pseries/energy: Use OF accessor functions to read ibm,drc-indexes

2019-03-08 Thread Vaidyanathan Srinivasan
* Gautham R Shenoy [2019-03-08 21:03:24]: > From: "Gautham R. Shenoy" > > In cpu_to_drc_index() in the case when FW_FEATURE_DRC_INFO is absent, > we currently use of_read_property() to obtain the pointer to the array > corresponding to the property "ibm,drc-indexes". The elements of this >

Re: [PATCH] netfilter: nf_ct_helper: Fix possible panic when nf_conntrack_helper_unregister is used in an unloadable module

2019-03-08 Thread Pablo Neira Ayuso
On Fri, Mar 01, 2019 at 01:56:06PM +0800, Su Yanjun wrote: > From: Su Yanjun > > Because nf_conntrack_helper_unregister maybe used in an unloadable module, > it uses 'synchronize_rcu' which may cause kernel panic. > > According to the artical: > RCU and Unloadable Modules >

Re: [PATCH 3/4] printk: Add consoles to a virtual "console" bus

2019-03-08 Thread Petr Mladek
On Fri 2019-03-08 03:56:19, John Ogness wrote: > On 2019-03-02, Calvin Owens wrote: > > This patch embeds a device struct in the console struct, and registers > > them on a "console" bus so we can expose attributes in sysfs. > > I expect that "class" would be more appropriate than "bus". These >

Re: [PATCH][v2] time: Introduce jiffies64_to_msecs()

2019-03-08 Thread Pablo Neira Ayuso
On Thu, Feb 28, 2019 at 01:13:26PM +0800, Li RongQing wrote: > there is a similar helper in net/netfilter/nf_tables_api.c, > this maybe become a common request someday, so move it to > time.c > > Signed-off-by: Zhang Yu > Signed-off-by: Li RongQing Acked-by: Pablo Neira Ayuso This is

Re: [RFC PATCH] perf: Paper over the hw.target problems

2019-03-08 Thread Mark Rutland
Hi Alex, On Thu, Feb 28, 2019 at 04:01:09PM +0200, Alexander Shishkin wrote: > First, we have a race between perf_event_release_kernel() and > perf_free_event(), which happens when parent's event is released while the > child's fork fails (because of a fatal signal, for example), that looks >

Re: [PATCH 3/4] printk: Add consoles to a virtual "console" bus

2019-03-08 Thread Petr Mladek
On Fri 2019-03-01 16:48:19, Calvin Owens wrote: > This patch embeds a device struct in the console struct, and registers > them on a "console" bus so we can expose attributes in sysfs. > > Early console structures must still be static, since they're required > before we're able to allocate

Re: [PATCH] Avoid that check_shl_overflow() triggers a compiler warning when building with W=1

2019-03-08 Thread Leon Romanovsky
On Fri, Mar 08, 2019 at 09:09:46AM +0100, Rasmus Villemoes wrote: > On 08/03/2019 08.01, Leon Romanovsky wrote: > > > > Mathematical therm for discrete numbers greater or equal to zero is > > "normal numbers". > > Sorry, WHAT? "Normal" is used and abused for a lot of things in > mathematics, but I

Re: [PATCH 1/8] aio: make sure file is pinned

2019-03-08 Thread Christoph Hellwig
On Fri, Mar 08, 2019 at 03:36:50AM +, Al Viro wrote: > See vfs.git#work.aio; the crucial bits are in these commits: > keep io_event in aio_kiocb > get rid of aio_complete() res/res2 arguments > move aio_complete() to final iocb_put(), try to fix aio_poll() logics > The first

Re: [PATCH v2 1/7] KVM:VMX: Define CET VMCS fields and bits

2019-03-08 Thread Sean Christopherson
On Fri, Mar 08, 2019 at 10:15:15AM +0100, Paolo Bonzini wrote: > On 04/03/19 19:56, Sean Christopherson wrote: > > On Tue, Jan 29, 2019 at 04:19:34PM +0100, Paolo Bonzini wrote: > >> On 28/01/19 11:33, Yang Weijiang wrote: > There is no code in this series to pass these fields to and from >

Re: [PATCH v7 1/4] can: m_can: Create a m_can platform framework

2019-03-08 Thread Dan Murphy
Wolfgang On 3/8/19 8:41 AM, Wolfgang Grandegger wrote: > Hello Dan, > > thinking more about it... > > Am 08.03.19 um 14:29 schrieb Wolfgang Grandegger: >> Hello Dan, >> >> Am 08.03.19 um 13:44 schrieb Dan Murphy: >>> Wolfgang >>> >>> On 3/8/19 4:10 AM, Wolfgang Grandegger wrote: Hallo Dan,

Re: [PATCH 2/4] ARM: dts: omap4-droid4: Update backlight dt properties

2019-03-08 Thread Dan Murphy
Pavel Thanks for the review. On 3/8/19 9:14 AM, Pavel Machek wrote: > Hi! > >> Update the properties for the lm3532 device node for droid4. >> With this change the backlight LED string and the keypad >> LED strings will be controlled separately. >> >> Signed-off-by: Dan Murphy >> --- >>

Re: [PATCH 2/4] printk: Add ability to set loglevel via "console=" cmdline

2019-03-08 Thread Petr Mladek
On Fri 2019-03-01 16:48:18, Calvin Owens wrote: > This extends the "console=" interface to allow setting the per-console > loglevel by adding "/N" to the string, where N is the desired loglevel > expressed as a base 10 integer. Invalid values are silently ignored. > > Signed-off-by: Calvin Owens

[PATCH 1/1] Updated locking documentation for struct inode

2019-03-08 Thread Alexander Lochmann
We used LockDoc to derive locking rules for each member of struct inode. Based on those results, we extended the existing documentation by more members of struct inode, and updated the existing documentation. Signed-off-by: Alexander Lochmann Signed-off-by: Horst Schirmeier --- fs/inode.c

[PATCH 1/1] Updated locking documentation for struct journal_t

2019-03-08 Thread Alexander Lochmann
We used LockDoc to derive locking rules for each member of struct journal_t. Based on those results, we extended the existing documentation by more members of struct inode, and updated the existing documentation. Signed-off-by: Alexander Lochmann Signed-off-by: Horst Schirmeier ---

[PATCH] pseries/energy: Use OF accessor functions to read ibm,drc-indexes

2019-03-08 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" In cpu_to_drc_index() in the case when FW_FEATURE_DRC_INFO is absent, we currently use of_read_property() to obtain the pointer to the array corresponding to the property "ibm,drc-indexes". The elements of this array are of type __be32, but are accessed without any

Re: [PATCH] irqchip: stm32: add a second level init to request hwspinlock

2019-03-08 Thread Marc Zyngier
On Fri, 08 Mar 2019 14:03:55 +, Fabien DESSENNE wrote: Fabien, > > Hi Marc, > > Thank you for your feedback. Let me try to explain this patch, and the > reason of its unusual implementation choices. > > > Regarding the driver init mode: > As an important requirement, I want to keep

Re: [PATCH 00/37] softirq: Per vector masking v3

2019-03-08 Thread Frederic Weisbecker
On Fri, Mar 01, 2019 at 08:51:38AM -0800, Linus Torvalds wrote: > On Thu, Feb 28, 2019 at 7:45 PM Frederic Weisbecker > wrote: > > > > Numbers are indeed missing. In fact this patchset mostly just brings an > > infrastructure. We have yet to pinpoint the most latency-inducing > > softirq

Re: [PATCH] xfs: mark xfs_dir2_sf_entry_t as __packed again

2019-03-08 Thread Christoph Hellwig
On Mon, Mar 04, 2019 at 08:36:47PM +0100, Arnd Bergmann wrote: > For ARM OABI builds, we run into a compile time assertion: > > inlined from 'init_xfs_fs' at /git/arm-soc/fs/xfs/xfs_super.c:1991:2: > fs/xfs/xfs_ondisk.h:119:208: error: call to '__compiletime_assert_119' > declared with attribute

Re: [PATCH] dt-bindings: clock: imx8mq: Fix numbering overlaps and gaps

2019-03-08 Thread Stephen Boyd
Quoting Abel Vesa (2019-03-06 05:09:42) > On 19-03-05 10:38:29, Stephen Boyd wrote: > > Quoting Abel Vesa (2019-03-05 01:49:16) > > > IMX8MQ_CLK_USB_PHY_REF changes from 163 to 153, this way removing the gap. > > > All the following clock ids are now decreased by 10 to keep the numbering > > >

Re: [RFC 02/15] slub: Add isolate() and migrate() methods

2019-03-08 Thread Tycho Andersen
On Fri, Mar 08, 2019 at 03:14:13PM +1100, Tobin C. Harding wrote: > diff --git a/mm/slab_common.c b/mm/slab_common.c > index f9d89c1b5977..754acdb292e4 100644 > --- a/mm/slab_common.c > +++ b/mm/slab_common.c > @@ -298,6 +298,10 @@ int slab_unmergeable(struct kmem_cache *s) > if

Re: [PATCH] [v3] dma-mapping: work around clang bug

2019-03-08 Thread Christoph Hellwig
NAK on this whole patch. Please fix the compiler instead of making a complete mess of a common macro.

Re: [Xen-devel] [PATCH] Revert "swiotlb: remove SWIOTLB_MAP_ERROR"

2019-03-08 Thread Christoph Hellwig
On Tue, Mar 05, 2019 at 09:41:46AM +, Julien Grall wrote: > On Xen, dma_addr_t will always be 64-bit while the phys_addr_t will depend > on the MMU type. So we may have phys_addr_t smaller than dma_addr_t from > the kernel point of view. How can dma_addr_t on arm have value > 32-bit when

Re: [PATCH 18/20] objtool: Add UACCESS validation

2019-03-08 Thread Peter Zijlstra
On Fri, Mar 08, 2019 at 09:07:03AM -0600, Josh Poimboeuf wrote: > On Thu, Mar 07, 2019 at 09:40:21PM +0100, Peter Zijlstra wrote: > > On Thu, Mar 07, 2019 at 09:23:19PM +0100, Peter Zijlstra wrote: > > > On Thu, Mar 07, 2019 at 07:48:13PM +0100, Peter Zijlstra wrote: > > > > Another thing I need

Hallo Lieber.

2019-03-08 Thread Dinah Nilesh
DO YOU SPEAK ENGLISH ? Mein Name ist Fräulein Dinah Nilesh, ich komme aus der Republik Sudan, wohne aber als Waisenkind hier in der Republik Togo im Asyl-Flüchtlingslager. Ich habe Ihre Daten bei meiner privaten Internet-Suche gesehen. Ich muss Ihnen etwas so Wichtiges und Vertrauliches mitteilen,

Re: [PATCH 2/4] ARM: dts: omap4-droid4: Update backlight dt properties

2019-03-08 Thread Pavel Machek
Hi! > Update the properties for the lm3532 device node for droid4. > With this change the backlight LED string and the keypad > LED strings will be controlled separately. > > Signed-off-by: Dan Murphy > --- > arch/arm/boot/dts/omap4-droid4-xt894.dts | 27 +--- > 1 file

Re: [PATCH] media: imx: vdic: Fix wrong CSI group ID

2019-03-08 Thread Philipp Zabel
On Fri, 2019-03-01 at 15:27 -0800, Steve Longerbeam wrote: > The i.MX7 capture support forgot to change the group ID for the CSI > to the IPU CSI in VDIC sub-device, it was left at the i.MX7 CSI > group ID. > > Fixes: 67673ed55084 ("media: staging/imx: rearrange group id to take in > account

[PATCH 1/2] ARM: dts: stm32: add pinctrl sleep config for qspi on stm32mp157c-ev1

2019-03-08 Thread Ludovic Barre
From: Ludovic Barre This patch adds pinctrl sleep config for qspi on stm32mp157c-ev1 Signed-off-by: Ludovic Barre --- arch/arm/boot/dts/stm32mp157-pinctrl.dtsi | 26 ++ arch/arm/boot/dts/stm32mp157c-ev1.dts | 3 ++- 2 files changed, 28 insertions(+), 1 deletion(-)

[PATCH 0/2] ARM: dts: stm32: qspi update for stm32mp157c-ev1

2019-03-08 Thread Ludovic Barre
From: Ludovic Barre This patch series add sleep pins configuration needed to suspend support and add jedec compatible for 2 nor flash of stm32mp157c-ev1. Ludovic Barre (2): ARM: dts: stm32: add pinctrl sleep config for qspi on stm32mp157c-ev1 ARM: dts: stm32: add jedec compatible for nor

[PATCH 2/2] ARM: dts: stm32: add jedec compatible for nor flash on stm32mp157c-ev1

2019-03-08 Thread Ludovic Barre
From: Ludovic Barre This patch adds jedec compatible for spi-nor flash on stm32mp157c-ev1 (needed with new spi-mem interface). Signed-off-by: Ludovic Barre --- arch/arm/boot/dts/stm32mp157c-ev1.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts

Re: [PATCH] Abort file_remove_privs() for non-reg. files

2019-03-08 Thread Alexander Lochmann
Hello Al, Meanwhile, have you had the opportunity to review our patch? Regards, Alex On 11.01.19 16:42, Alexander Lochmann wrote: > Hello Al, > > Have you had the opportunity to review our patch? > > Cheers, > Alex > > On 17.12.18 09:28, Jan Kara wrote: >> On Fri 14-12-18 11:55:52, Alexander

Re: [PATCH 1/4] printk: Introduce per-console loglevel setting

2019-03-08 Thread Petr Mladek
On Fri 2019-03-01 16:48:17, Calvin Owens wrote: > Not all consoles are created equal: depending on the actual hardware, > the latency of a printk() call can vary dramatically. The worst examples > are serial consoles, where it can spin for tens of milliseconds banging > the UART to emit a message,

Re: [PATCH 18/20] objtool: Add UACCESS validation

2019-03-08 Thread Peter Zijlstra
On Fri, Mar 08, 2019 at 09:01:11AM -0600, Josh Poimboeuf wrote: > On Thu, Mar 07, 2019 at 08:03:13PM +0100, Peter Zijlstra wrote: > > Ah.. how about I feed objtool a text file with all these symbol names; > > and I have Makefile compose file that from fragments. > > > > Then only KASAN builds

Re: [PATCH v4 03/15] perf tools script: Filter COMM/FORK/.. events by CPU

2019-03-08 Thread Andi Kleen
On Fri, Mar 08, 2019 at 10:39:01AM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Mar 07, 2019 at 12:02:31PM +0100, Jiri Olsa escreveu: > > On Wed, Mar 06, 2019 at 04:23:40PM +0200, Adrian Hunter wrote: > > > On 5/03/19 4:47 PM, Andi Kleen wrote: > > > > From: Andi Kleen > > > > > > > > The

Re: [PATCH 2/2] dt-bindings: iio: imu: adis16480: Document external clock

2019-03-08 Thread Jonathan Cameron
On Thu, 7 Mar 2019 17:29:19 +0200 Stefan Popa wrote: > Add documentation for optional use of external clock. All devices > supported by this driver can work with an external clock in sync mode. > Another mode, called Pulse Per Second (PPS) is supported only by adis1649x > devices. The mode is

Re: [PATCH 18/20] objtool: Add UACCESS validation

2019-03-08 Thread Josh Poimboeuf
On Thu, Mar 07, 2019 at 09:40:21PM +0100, Peter Zijlstra wrote: > On Thu, Mar 07, 2019 at 09:23:19PM +0100, Peter Zijlstra wrote: > > On Thu, Mar 07, 2019 at 07:48:13PM +0100, Peter Zijlstra wrote: > > > Another thing I need to look at is why objtool only found memset_orig > > > (from __memset)

Re: [PATCH 1/2] iio: imu: adis16480: Add support for external clock

2019-03-08 Thread Jonathan Cameron
On Thu, 7 Mar 2019 17:28:32 +0200 Stefan Popa wrote: > Inertial sensor data collection and processing can be controlled by > configuring one of the DIOx lines as an external clock input. This > option is available for all devices supported by this driver. However, > only adis1649x devices

Re: [GIT PULL] Bulk GPIO changes for the v5.1 kernel cycle

2019-03-08 Thread Linus Walleij
Hi Linus, I got a few fixes since three days ago, maybe you already tried to pull this and got annoyed of the Kconfig noise, if you didn't, then I am pleased to not annoy you. The massage and tag is the same, just with a few new nice fixes on top. The problems were in minor platform drivers, but

Re: [RFC PATCH V2 5/5] vhost: access vq metadata through kernel virtual address

2019-03-08 Thread Jerome Glisse
On Fri, Mar 08, 2019 at 07:56:04AM -0500, Michael S. Tsirkin wrote: > On Fri, Mar 08, 2019 at 04:58:44PM +0800, Jason Wang wrote: > > > > On 2019/3/8 上午3:17, Jerome Glisse wrote: > > > On Thu, Mar 07, 2019 at 12:56:45PM -0500, Michael S. Tsirkin wrote: > > > > On Thu, Mar 07, 2019 at 10:47:22AM

Re: [PATCH 18/20] objtool: Add UACCESS validation

2019-03-08 Thread Josh Poimboeuf
On Thu, Mar 07, 2019 at 08:03:13PM +0100, Peter Zijlstra wrote: > On Thu, Mar 07, 2019 at 07:48:13PM +0100, Peter Zijlstra wrote: > > On Thu, Mar 07, 2019 at 09:54:14AM -0800, Linus Torvalds wrote: > > > On Thu, Mar 7, 2019 at 9:41 AM Peter Zijlstra > > > wrote: > > > > > > > > > > What's the

Re: [RFC PATCH V2 5/5] vhost: access vq metadata through kernel virtual address

2019-03-08 Thread Jerome Glisse
On Fri, Mar 08, 2019 at 04:50:36PM +0800, Jason Wang wrote: > > On 2019/3/8 上午3:16, Andrea Arcangeli wrote: > > On Thu, Mar 07, 2019 at 12:56:45PM -0500, Michael S. Tsirkin wrote: > > > On Thu, Mar 07, 2019 at 10:47:22AM -0500, Michael S. Tsirkin wrote: > > > > On Wed, Mar 06, 2019 at 02:18:12AM

Re: [PATCH v2 1/8] drm/bridge: dw-hdmi: Add SCDC and TMDS Scrambling support

2019-03-08 Thread Rob Herring
On Fri, Mar 8, 2019 at 2:05 AM Neil Armstrong wrote: > > Hi Rob, > > On 08/03/2019 00:13, Rob Herring wrote: > > On Fri, Feb 1, 2019 at 6:08 AM Neil Armstrong > > wrote: > >> > >> Add support for SCDC Setup for TMDS Clock > 3.4GHz and enable TMDS > >> Scrambling when supported or mandatory. >

Re: [PATCH] RISC-V: Use IS_ENABLED(CONFIG_CMODEL_MEDLOW)

2019-03-08 Thread Christoph Hellwig
On Thu, Mar 07, 2019 at 03:56:34PM -0800, Joe Perches wrote: > IS_ENABLED should generally use CONFIG_ prefaced symbols and > it doesn't appear as if there is a CMODEL_MEDLOW define. > > Signed-off-by: Joe Perches Looks good, Reviewed-by: Christoph Hellwig

[PATCH v2] selftests/x86: Support Atom for syscall_arg_fault test

2019-03-08 Thread Tong Bo
Atom-based CPUs trigger stack fault when invoke 32-bit SYSENTER instruction with invalid register values. So we also need SIGBUS handling in this case. Following is assembly when the fault exception happens. (gdb) disassemble $eip Dump of assembler code for function __kernel_vsyscall:

Re: [PATCH] i2c: mediatek: modify threshold passed to i2c_get_dma_safe_msg_buf()

2019-03-08 Thread Wolfram Sang
> > I just checked this issue again and concluded that both are reasonable, > > the suggestion from me below with the adapter quirk AND your original > > patch setting the threshold to 1. With my suggestion the core will > > prevent 0-length messages. But still, we should set the threshold to 1 >

Re: [PATCH 0/5] x86/percpu semantics and fixes

2019-03-08 Thread Peter Zijlstra
On Wed, Feb 27, 2019 at 11:12:52AM +0100, Peter Zijlstra wrote: > This is a collection of x86/percpu changes that I had pending and got reminded > of by Linus' comment yesterday about __this_cpu_xchg(). > > This tidies up the x86/percpu primitives and fixes a bunch of 'fallout'. (Sorry; this is

Re: FS-Cache: Duplicate cookie detected

2019-03-08 Thread David Howells
Christian Kujau wrote: > $ mount | grep nfs4 > nfs:/usr/local/src on /usr/local/src type nfs4 > (ro,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.56.139,local_lock=none,addr=192.168.0.115) > > ...so FS-Cache ("fsc") isn't

Re: [PATCH v5 8/9] clk: mediatek: Add MT8183 clock support

2019-03-08 Thread Nicolas Boichat
On Fri, Mar 8, 2019 at 2:42 PM Nicolas Boichat wrote: > > ) > On Tue, Mar 5, 2019 at 1:05 PM Weiyi Lu wrote: > > > > Add MT8183 clock support, include topckgen, apmixedsys, > > infracfg, mcucfg and subsystem clocks. > > > > Signed-off-by: Weiyi Lu > > In v1 a while back

Re: [PATCH] workqueue: unregister wq lockdep on error path in alloc_workqueue()

2019-03-08 Thread Bart Van Assche
On 3/7/19 11:37 PM, Kefeng Wang wrote: syzkaller report an issue "KASAN: use-after-free Read in alloc_workqueue", alloc_workqueue - kzalloc wq - wq_init_lockdep(wq); - lockdep_register_key(>key); // add to hlist - kfree wq But forget to call

RE: [PATCH v10] platform/mellanox: Add TmFifo driver for Mellanox BlueField Soc

2019-03-08 Thread Liming Sun
Andy, The v11 has been posted. Thanks! Liming > -Original Message- > From: Liming Sun > Sent: Wednesday, March 6, 2019 3:01 PM > To: 'Andy Shevchenko' > Cc: David Woods ; Andy Shevchenko ; > Darren Hart ; Vadim > Pasternak ; Linux Kernel Mailing List > ; Platform Driver

[PATCH v11] platform/mellanox: Add TmFifo driver for Mellanox BlueField Soc

2019-03-08 Thread Liming Sun
This commit adds the TmFifo platform driver for Mellanox BlueField Soc. TmFifo is a shared FIFO which enables external host machine to exchange data with the SoC via USB or PCIe. The driver is based on virtio framework and has console and network access enabled. Reviewed-by: Vadim Pasternak

Re: [PATCH v7 1/4] can: m_can: Create a m_can platform framework

2019-03-08 Thread Wolfgang Grandegger
Hello Dan, thinking more about it... Am 08.03.19 um 14:29 schrieb Wolfgang Grandegger: > Hello Dan, > > Am 08.03.19 um 13:44 schrieb Dan Murphy: >> Wolfgang >> >> On 3/8/19 4:10 AM, Wolfgang Grandegger wrote: >>> Hallo Dan, >>> >>> Am 05.03.19 um 16:52 schrieb Dan Murphy: Create a m_can

Re: [PATCH] i2c: mediatek: modify threshold passed to i2c_get_dma_safe_msg_buf()

2019-03-08 Thread Hsin-Yi Wang
On Fri, Mar 8, 2019 at 7:29 PM Wolfram Sang wrote: > > On Fri, Feb 22, 2019 at 02:04:11PM +0800, Hsin-Yi Wang wrote: > > Thanks for the solution. > > Previously we were testing if the driver can handle zero-length > > transfer, but it turns out it will timeout. (Also checked this from > > mtk's

Re: [PATCH] perf probe: Fix getting the kernel map

2019-03-08 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 04, 2019 at 03:13:21PM +0200, Adrian Hunter escreveu: > Since commit 4d99e4136580 ("perf machine: Workaround missing maps for x86 > PTI entry trampolines"), perf tools has been creating more than one kernel > map, however 'perf probe' assumed there could be only one. > > Fix by using

Re: [PATCH v2 6/7] perf script python: add Python3 support to sql scripts

2019-03-08 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 08, 2019 at 11:47:55AM +0200, Adrian Hunter escreveu: > On 7/03/19 8:51 PM, Arnaldo Carvalho de Melo wrote: > > Em Wed, Mar 06, 2019 at 08:32:42AM -0800, Tony Jones escreveu: > >> On 3/6/19 1:26 AM, Adrian Hunter wrote: > >>> On 2/03/19 3:19 AM, Tony Jones wrote: > Support both

Re: [PATCH 2/3] dmaengine: omap-dma: make omap_dma_filter_fn private

2019-03-08 Thread Peter Ujfalusi
On 07/03/2019 17.16, Arnd Bergmann wrote: > With the audio driver no longer referring to this function, it > can be made private to the dmaengine driver itself, and the > header file removed. Acked-by: Peter Ujfalusi > Signed-off-by: Arnd Bergmann > --- > drivers/dma/ti/omap-dma.c |

Re: [PATCH 3/3] dmaengine: edma: make edma_filter_fn private

2019-03-08 Thread Peter Ujfalusi
On 07/03/2019 17.16, Arnd Bergmann wrote: > With the audio driver no longer referring to this function, it > can be made private to the dmaengine driver itself, and the > header file removed. Acked-by: Peter Ujfalusi > > Signed-off-by: Arnd Bergmann > --- > drivers/dma/ti/edma.c | 5

Re: [PATCH] fs: use KERNEL_DS instead of get_ds()

2019-03-08 Thread Al Viro
On Fri, Mar 08, 2019 at 06:01:42AM -0800, Christoph Hellwig wrote: > On Mon, Mar 04, 2019 at 04:23:06PM -0800, Linus Torvalds wrote: > > Your script is disgusting, and I will not quote it for posterity for > > that reason. I will just say that git has a "path exclusion" thing > > that you can use

[PATCH] mailmap: Add Changbin Du

2019-03-08 Thread Changbin Du
Add my email in the mailmap file to have a consistent shortlog output. Signed-off-by: Changbin Du --- .mailmap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.mailmap b/.mailmap index 37e1847c7988..b2cde8668dcc 100644 --- a/.mailmap +++ b/.mailmap @@ -224,3 +224,5 @@ Yakir Yang Yusuke

RE: [PATCH] selftests/x86: Support Atom for syscall_arg_fault test

2019-03-08 Thread Tong, Bo
Hi, Andy Thanks for your review and comments. Yes, ESP is overflowed when we try to get 4 bytes from this reg, (i.e. 0xfff+4 exceeds the 32-bit bounds) at sysenter_entry. If we change it with another value, like -5, Atom will trigger the same exception as Core processor. And, I

Re: [PATCH v1 4/5] scripts: checkpatch.pl: don't complain that debian/rules is executable

2019-03-08 Thread Joe Perches
On Fri, 2019-03-08 at 13:44 +0100, Enrico Weigelt, metux IT consult wrote: > checkpatch.pl complains when adding executable "debian/rules", > obviously a false alarm. Therefore add an exception for that. This is predicated on a debian/ directory actually being added to the generic kernel tree.

Re: [RFC PATCH V2 0/5] vhost: accelerate metadata access through vmap()

2019-03-08 Thread Christoph Hellwig
On Wed, Mar 06, 2019 at 02:18:07AM -0500, Jason Wang wrote: > This series tries to access virtqueue metadata through kernel virtual > address instead of copy_user() friends since they had too much > overheads like checks, spec barriers or even hardware feature > toggling. This is done through

[PATCH] serial: sh-sci: Missing uart_unregister_driver() on error in sci_probe_single()

2019-03-08 Thread Mao Wenan
Add the missing uart_unregister_driver() before return from sci_probe_single() in the error handling case. Signed-off-by: Mao Wenan --- drivers/tty/serial/sh-sci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c

Actualiza tu cuenta

2019-03-08 Thread Administrador de cuenta
Web de correo electrónico de administración de notificaciones Este mensaje es de nuestro centro de mensajería Web Admin a todos nuestros propietarios de cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web. Su cuenta de correo electrónico se

Re: [PATCH] irqchip: stm32: add a second level init to request hwspinlock

2019-03-08 Thread Fabien DESSENNE
Hi Marc, Thank you for your feedback. Let me try to explain this patch, and the reason of its unusual implementation choices. Regarding the driver init mode: As an important requirement, I want to keep this irq driver declared with IRQCHIP_DECLARE(), so it is initialized early from

Re: [RFC PATCH v1 25/25] printk: remove unused code

2019-03-08 Thread Sebastian Andrzej Siewior
On 2019-02-12 15:30:03 [+0100], John Ogness wrote: you removed the whole `irq_work' thing. You can also remove the include for linux/irq_work.h. Sebastian

Re: [PATCH] fs: use KERNEL_DS instead of get_ds()

2019-03-08 Thread Christoph Hellwig
On Mon, Mar 04, 2019 at 04:23:06PM -0800, Linus Torvalds wrote: > Your script is disgusting, and I will not quote it for posterity for > that reason. I will just say that git has a "path exclusion" thing > that you can use to make it much more streamlined. > > And I ended up going a bit further,

Actualiza tu cuenta

2019-03-08 Thread Administrador de cuenta
Web de correo electrónico de administración de notificaciones Este mensaje es de nuestro centro de mensajería Web Admin a todos nuestros propietarios de cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web. Su cuenta de correo electrónico se

Re: [PATCH serial] sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()

2019-03-08 Thread maowenan
sorry for duplicate mail, please ignore this one. On 2019/3/8 22:09, Mao Wenan wrote: > Add the missing uart_unregister_driver() and i2c_del_driver() before return > from sc16is7xx_init() in the error handling case. > > Signed-off-by: Mao Wenan > --- > drivers/tty/serial/sc16is7xx.c | 12

Re: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-03-08 Thread Enrico Weigelt, metux IT consult
On 08.03.19 14:42, Joel Fernandes wrote: Hi folks, > That sounds like it could be useful. I don't see any reason off the > top why that would not be possible to add to the list of archived > files in the future. The patch allows populating the list of files > from Kbuild using ikh_file_list

[PATCH serial] sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()

2019-03-08 Thread Mao Wenan
Add the missing uart_unregister_driver() and i2c_del_driver() before return from sc16is7xx_init() in the error handling case. Signed-off-by: Mao Wenan --- drivers/tty/serial/sc16is7xx.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git

[PATCH serial] sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()

2019-03-08 Thread Mao Wenan
Add the missing uart_unregister_driver() and i2c_del_driver() before return from sc16is7xx_init() in the error handling case. Signed-off-by: Mao Wenan --- drivers/tty/serial/sc16is7xx.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v4 05/15] perf tools report: Parse time quantum

2019-03-08 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 08, 2019 at 10:45:32AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Mar 05, 2019 at 06:47:48AM -0800, Andi Kleen escreveu: > > From: Andi Kleen > > + if (*end == 0) > > + return 0; > > We have tools/include/linux/time64.h, just like the kernel, so please > use: >

Re: [PATCH v4 10/15] perf tools: Add utility function to print ns time stamps

2019-03-08 Thread Arnaldo Carvalho de Melo
Em Tue, Mar 05, 2019 at 06:47:53AM -0800, Andi Kleen escreveu: > From: Andi Kleen > > Add a utility function to print nanosecond timestamps. Applied. - Arnaldo

[PATCH 08/11] perf session: Add path to reader object

2019-03-08 Thread Jiri Olsa
Adding path to reader object, so we can display file the processing fails for (string in [] brackets). $ perf report --stdio 0x5e0 [perf.data/data.3] [0xa200]: failed to process type: -1577027574 Link: http://lkml.kernel.org/n/tip-4bjnoy4sln7adqtd3505q...@git.kernel.org Signed-off-by: Jiri

Re: [PATCH v4 07/15] perf tools report: Use less for scripts output

2019-03-08 Thread Arnaldo Carvalho de Melo
Em Tue, Mar 05, 2019 at 06:47:50AM -0800, Andi Kleen escreveu: > From: Andi Kleen > > The UI viewer for scripts output has a lot of limitations: limited size, > no search or save function, slow, and various other issues. > > Just use 'less' to display directly on the terminal instead. I'm ok

[PATCH 06/11] perf session: Add process callback to reader object

2019-03-08 Thread Jiri Olsa
Adding callback function to reader object so callers can process data in different ways. Link: http://lkml.kernel.org/n/tip-8g1islzz6xkl36tz0z1nk...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/session.c | 23 +++ 1 file changed, 19 insertions(+), 4

[PATCH 09/11] perf record: Add --dir option to store data in directory

2019-03-08 Thread Jiri Olsa
Adding --dir option to store data in directory. It's next step for multiple threads in record. It's now possible to make directory data via --dir option, like: $ perf record --dir perf bench sched messaging $ ls -l perf.data total 344 -rw---. 1 jolsa jolsa 43864 Jan 20 22:26 data.0

[PATCH 10/11] perf record: Add --output-dir option to store data in directory

2019-03-08 Thread Jiri Olsa
Adding --output-dir option to mimic -o and --dir options. following commands do the same: $ perf record -o perf.dir.data --dir ... $ perf record --output-dir perf.dir.data ... User cannot use both -o and output-dir together, error is displayed. Link:

[PATCH 11/11] perf record: Describe perf.data directory format

2019-03-08 Thread Jiri Olsa
Adding perf.data-directory-format.txt to describe the directory data layout. Link: http://lkml.kernel.org/n/tip-1c8u1thx63v2ldwfdas4x...@git.kernel.org Signed-off-by: Jiri Olsa --- .../perf.data-directory-format.txt| 54 +++ 1 file changed, 54 insertions(+) create

[PATCH 07/11] perf session: Add __perf_session__process_dir_events function

2019-03-08 Thread Jiri Olsa
Adding __perf_session__process_dir_events function to process events over the directory data. All directory events are pushed into sessions ordered data and flushed for processing. Link: http://lkml.kernel.org/n/tip-n3zl0wo3z18tatv5x7epm...@git.kernel.org Signed-off-by: Jiri Olsa ---

[PATCH 01/11] perf data: Add directory support

2019-03-08 Thread Jiri Olsa
Adding support to have directory as perf.data. The caller needs to set 'struct perf_data::is_dir flag and the path will be treated as directory. The 'struct perf_data::file' is initialized and open as 'path/header' file. Adding check to direcory interface functions to check on is_dir flag.

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