Applied "regulator: wm831x isink: Fix notifier mutex lock warning" to the regulator tree

2019-03-13 Thread Mark Brown
The patch regulator: wm831x isink: Fix notifier mutex lock warning has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 2

Applied "regulator: max14577: Get rid of match_init_data/match_of_node functions" to the regulator tree

2019-03-13 Thread Mark Brown
The patch regulator: max14577: Get rid of match_init_data/match_of_node functions has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometim

Applied "ASoC: ams-delta: remove duplicate 'const'" to the asoc tree

2019-03-13 Thread Mark Brown
The patch ASoC: ams-delta: remove duplicate 'const' has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Lin

Applied "regulator: wm8350: Select maximum current in specific range" to the regulator tree

2019-03-13 Thread Mark Brown
The patch regulator: wm8350: Select maximum current in specific range has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the nex

Applied "ASoC: davinci-mcasp: Fix clang warning without CONFIG_PM" to the asoc tree

2019-03-13 Thread Mark Brown
The patch ASoC: davinci-mcasp: Fix clang warning without CONFIG_PM has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "regulator: wm831x ldo: Fix notifier mutex lock warning" to the regulator tree

2019-03-13 Thread Mark Brown
The patch regulator: wm831x ldo: Fix notifier mutex lock warning has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "regulator: wm831x-isink: Convert to use regulator_set/get_current_limit_regmap" to the regulator tree

2019-03-13 Thread Mark Brown
The patch regulator: wm831x-isink: Convert to use regulator_set/get_current_limit_regmap has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually

Applied "ASoC: stm32: i2s: change trigger traces" to the asoc tree

2019-03-13 Thread Mark Brown
The patch ASoC: stm32: i2s: change trigger traces has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus

Applied "regulator: wm8350: Convert to use regulator_set/get_current_limit_regmap" to the regulator tree

2019-03-13 Thread Mark Brown
The patch regulator: wm8350: Convert to use regulator_set/get_current_limit_regmap has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually someti

Re: WARNING: bad usercopy in fanotify_read

2019-03-13 Thread Jan Kara
On Wed 13-03-19 08:35:33, Kees Cook wrote: > On Wed, Mar 13, 2019 at 7:35 AM Jan Kara wrote: > > On Tue 12-03-19 23:26:22, Kees Cook wrote: > > > On Mon, Mar 11, 2019 at 1:42 PM syzbot > > > wrote: > > > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17ee410b20 > > > > [...] > >

RE: [PATCH V1 07/11] mmc: cqhci: add quirk for setting DCMD CMD_TIMING

2019-03-13 Thread Sowjanya Komatineni
> -Original Message- > From: Hunter, Adrian > Sent: Wednesday, March 13, 2019 2:57 AM > To: Ritesh Harjani ; Sowjanya Komatineni > ; ulf.hans...@linaro.org; robh...@kernel.org; > mark.rutl...@arm.com; Asutosh Das > Cc: thierry.red...@gmail.com; Jonathan Hunter ; > Aniruddha Tvs Rao

Re: [PATCH 4/4] leds: lm3532: Introduce the lm3532 LED driver

2019-03-13 Thread Joe Perches
On Mon, 2019-03-11 at 12:47 -0500, Dan Murphy wrote: > On 3/11/19 12:30 PM, Joe Perches wrote: > > On Mon, 2019-03-11 at 12:24 -0500, Dan Murphy wrote: > > > checkpatch takes issue with // in headers. > > > Unless they have removed that requirement. [] > I guess I was referring to this SPDX warning

Re: overlayfs vs. fscrypt

2019-03-13 Thread Eric Biggers
Hi James, On Wed, Mar 13, 2019 at 08:36:34AM -0700, James Bottomley wrote: > On Wed, 2019-03-13 at 11:16 -0400, Theodore Ts'o wrote: > > So before we talk about how to make things work from a technical > > perspective, we should consider what the use case happens to be, and > > what are the securi

[PATCH 0/6] hwspinlock: allow sharing of hwspinlocks

2019-03-13 Thread Fabien Dessenne
The current implementation does not allow two different devices to use a common hwspinlock. This patch set proposes to have, as an option, some hwspinlocks shared between several users. Below is an example that explain the need for this: exti: interrupt-controller@5000d000 {

[PATCH 2/6] hwspinlock: allow sharing of hwspinlocks

2019-03-13 Thread Fabien Dessenne
The current implementation does not allow different devices to use a common hwspinlock. Offer the possibility to use the same hwspinlock by several users. If a device registers to the framework with #hwlock-cells = 2, then the second parameter of the 'hwlocks' DeviceTree property defines whether an

Re: [PATCH tip/core/rcu 06/19] rcu: Add warning to detect half-interrupts

2019-03-13 Thread Paul E. McKenney
On Wed, Mar 13, 2019 at 11:27:26AM -0400, Steven Rostedt wrote: > On Wed, 13 Mar 2019 11:09:48 -0400 > Joel Fernandes wrote: > > > AFAICS, lockdep does not specifically track when we enter an interrupt, but > > rather only tracks when interrupts are enabled/disabled. > > It does: > > #define __

Re: [PATCH v7 10/12] perf report: implement record trace decompression

2019-03-13 Thread Alexey Budankov
On 13.03.2019 17:37, Jiri Olsa wrote: > On Tue, Mar 12, 2019 at 08:36:18AM +0300, Alexey Budankov wrote: > > SBIP > >> +#ifdef HAVE_ZSTD_SUPPORT >> +static int perf_session__process_compressed_event(struct perf_session >> *session, >> +union perf_event *even

Re: [PATCH v7 01/15] sched/core: uclamp: Add CPU's clamp buckets refcounting

2019-03-13 Thread Patrick Bellasi
On 13-Mar 14:52, Peter Zijlstra wrote: > On Fri, Feb 08, 2019 at 10:05:40AM +, Patrick Bellasi wrote: > > +/* > > + * When a task is enqueued on a rq, the clamp bucket currently defined by > > the > > + * task's uclamp::bucket_id is reference counted on that rq. This also > > + * immediately u

Re: [PATCH v2 5/6] mm: flush memcg percpu stats and events before releasing

2019-03-13 Thread Johannes Weiner
On Tue, Mar 12, 2019 at 03:34:02PM -0700, Roman Gushchin wrote: > Flush percpu stats and events data to corresponding before releasing > percpu memory. > > Although per-cpu stats are never exactly precise, dropping them on > floor regularly may lead to an accumulation of an error. So, it's > safer

Re: [PATCH v3 0/1] mm: introduce put_user_page*(), placeholder versions

2019-03-13 Thread Christoph Hellwig
On Wed, Mar 13, 2019 at 09:11:13AM +1100, Dave Chinner wrote: > On Tue, Mar 12, 2019 at 03:39:33AM -0700, Ira Weiny wrote: > > IMHO I don't think that the copy_file_range() is going to carry us through > > the > > next wave of user performance requirements. RDMA, while the first, is not > > the

[PATCH v5 4/7] s390: ap: setup relation betwen KVM and mediated device

2019-03-13 Thread Pierre Morel
When the mediated device is open we setup the relation with KVM unset it when the mediated device is released. We ensure KVM is present on opening of the mediated device. We ensure that KVM survives the mediated device, and establish a direct link from KVM to the mediated device to simplify the r

[PATCH v5 0/7] vfio: ap: AP Queue Interrupt Control

2019-03-13 Thread Pierre Morel
This patch implement PQAP/AQIC interception in KVM. To implement this we need to add a new structure, vfio_ap_queue,to be able to retrieve the mediated device associated with a queue and specific values needed to register/unregister the interrupt structures: - APQN: to be able to issue the comman

[PATCH v5 7/7] s390: ap: kvm: Enable PQAP/AQIC facility for the guest

2019-03-13 Thread Pierre Morel
AP Queue Interruption Control (AQIC) facility gives the guest the possibility to control interruption for the Cryptographic Adjunct Processor queues. Signed-off-by: Pierre Morel Reviewed-by: Tony Krowiak --- arch/s390/tools/gen_facilities.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ar

[PATCH v5 5/7] s390: ap: implement PAPQ AQIC interception in kernel

2019-03-13 Thread Pierre Morel
We register the AP PQAP instruction hook during the open of the mediated device. And unregister it on release. In the AP PQAP instruction hook, if we receive a demand to enable IRQs, - we retrieve the vfio_ap_queue based on the APQN we receive in REG1, - we retrieve the page of the guest address

[PATCH v5 6/7] s390: ap: Cleanup on removing the AP device

2019-03-13 Thread Pierre Morel
When a AP device is remove, clear the queue's APID bit in the guest CRYCB. to be sure that the guest will not access the AP queue anymore. Then we clear the interruptions and reset the AP device properly. Signed-off-by: Pierre Morel --- drivers/s390/crypto/vfio_ap_drv.c | 36 +++

[PATCH v5 3/7] vfio: ap: register IOMMU VFIO notifier

2019-03-13 Thread Pierre Morel
To be able to use the VFIO interface to facilitate the mediated device memory pinning/unpinning we need to register a notifier for IOMMU. While we will start to pin one guest page for the interrupt indicator byte, this is still ok with ballooning as this page will never be used by the guest virtio

Re: [PATCH 09/10] mm/hmm: allow to mirror vma of a file on a DAX backed filesystem

2019-03-13 Thread Andrew Morton
On Tue, 12 Mar 2019 20:10:19 -0400 Jerome Glisse wrote: > > You're correct. We chose to go this way because the HMM code is so > > large and all-over-the-place that developing it in a standalone tree > > seemed impractical - better to feed it into mainline piecewise. > > > > This decision very

[PATCH v5 1/7] s390: ap: kvm: add PQAP interception for AQIC

2019-03-13 Thread Pierre Morel
We prepare the interception of the PQAP/AQIC instruction for the case the AQIC facility is enabled in the guest. We add a callback inside the KVM arch structure for s390 for a VFIO driver to handle a specific response to the PQAP instruction with the AQIC command and only this command. The precedi

Re: overlayfs vs. fscrypt

2019-03-13 Thread Al Viro
On Wed, Mar 13, 2019 at 11:16:33AM -0400, Theodore Ts'o wrote: > Actually, the original use was for ChromeOS, but the primary > assumption is that keying is per user (or profile), and that users are > mutually distrustful. So when Alice logs out of the system, her keys > will be invalidated and re

[PATCH v5 2/7] s390: ap: new vfio_ap_queue structure

2019-03-13 Thread Pierre Morel
The AP interruptions are assigned on a queue basis and the GISA structure is handled on a VM basis, so that we need to add a structure we can retrieve from both side holding the information we need to handle PQAP/AQIC interception and setup the GISA. Since we can not add more information to the ap

Re: [PATCH v2 6/6] mm: refactor memcg_hotplug_cpu_dead() to use memcg_flush_offline_percpu()

2019-03-13 Thread Johannes Weiner
On Tue, Mar 12, 2019 at 03:34:04PM -0700, Roman Gushchin wrote: > @@ -2180,50 +2179,8 @@ static int memcg_hotplug_cpu_dead(unsigned int cpu) > + for_each_mem_cgroup(memcg) > + memcg_flush_offline_percpu(memcg, get_cpu_mask(cpu)); cpumask_of(cpu) is the official API function, with k

Re: [PATCH 00/10] HMM updates for 5.1

2019-03-13 Thread Andrew Morton
On Tue, 12 Mar 2019 21:27:06 -0400 Jerome Glisse wrote: > Andrew you will not be pushing this patchset in 5.1 ? I'd like to. It sounds like we're converging on a plan. It would be good to hear more from the driver developers who will be consuming these new features - links to patchsets, review

Re: overlayfs vs. fscrypt

2019-03-13 Thread Al Viro
On Wed, Mar 13, 2019 at 08:01:27AM -0700, Eric Biggers wrote: > What do you think about this? That fscrypt might have some very deep flaws. I'll need to RTFS and review its model, but what I've seen in this thread so far is not promising anything good. It's not just overlayfs - there are all ki

Re: [PATCH v7 01/15] sched/core: uclamp: Add CPU's clamp buckets refcounting

2019-03-13 Thread Patrick Bellasi
On 13-Mar 14:40, Peter Zijlstra wrote: > On Fri, Feb 08, 2019 at 10:05:40AM +, Patrick Bellasi wrote: > > +static inline unsigned int uclamp_bucket_id(unsigned int clamp_value) > > +{ > > + return clamp_value / UCLAMP_BUCKET_DELTA; > > +} > > + > > +static inline unsigned int uclamp_bucket_va

Re: overlayfs vs. fscrypt

2019-03-13 Thread James Bottomley
On Wed, 2019-03-13 at 08:51 -0700, Eric Biggers wrote: > Hi James, > > On Wed, Mar 13, 2019 at 08:36:34AM -0700, James Bottomley wrote: > > On Wed, 2019-03-13 at 11:16 -0400, Theodore Ts'o wrote: > > > So before we talk about how to make things work from a technical > > > perspective, we should co

[PATCH] staging: rtlwifi: Fix potential NULL pointer dereference

2019-03-13 Thread Aditya Pakki
phydm.internal is allocated using kzalloc which is used multiple times without a check for NULL pointer. This patch avoids such a scenario. Signed-off-by: Aditya Pakki --- drivers/staging/rtlwifi/phydm/rtl_phydm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/rtlwifi/phy

PC-SyS : Let this Fair Labour construct be the standardization and way forward for Available Source.

2019-03-13 Thread Ywe Cærlyn
I did som more work on my youtube profile, and its getting to be a very coherent concept. As it states: Let this fair labour construct be the standardization and way forward for available source. And we have decided on the name Monys for the online currency this will be about. Where everyone is

Re: [PATCH v7 02/15] sched/core: uclamp: Enforce last task UCLAMP_MAX

2019-03-13 Thread Patrick Bellasi
On 13-Mar 15:12, Peter Zijlstra wrote: > On Fri, Feb 08, 2019 at 10:05:41AM +, Patrick Bellasi wrote: > > +static inline void uclamp_idle_reset(struct rq *rq, unsigned int clamp_id, > > +unsigned int clamp_value) > > +{ > > + /* Reset max-clamp retention only o

RE: [PATCH 1/2] Drivers: hv: Move Hyper-V clockevents code to new clocksource driver

2019-03-13 Thread Michael Kelley
From: Vitaly Kuznetsov Sent: Wednesday, March 13, 2019 7:23 AM > >> > diff --git a/drivers/clocksource/Makefile b/drivers/clocksource/Makefile > >> > index be6e0fb..a887955 100644 > >> > --- a/drivers/clocksource/Makefile > >> > +++ b/drivers/clocksource/Makefile > >> > @@ -83,3 +83,4 @@ obj-$(C

Re: [PATCH] um: define set_pte_at() as a static inline function, not a macro

2019-03-13 Thread Anton Ivanov
On 13/03/2019 10:14, Bartosz Golaszewski wrote: From: Bartosz Golaszewski When defined as macro, the mm argument is unused and subsequently the variable passed as mm is considered unused by the compiler. This fixes a build warning. Signed-off-by: Bartosz Golaszewski --- arch/um/include/a

Re: [PATCH v7 02/15] sched/core: uclamp: Enforce last task UCLAMP_MAX

2019-03-13 Thread Patrick Bellasi
On 13-Mar 15:10, Peter Zijlstra wrote: > On Fri, Feb 08, 2019 at 10:05:41AM +, Patrick Bellasi wrote: > > +uclamp_idle_value(struct rq *rq, unsigned int clamp_id, unsigned int > > clamp_value) > > +{ > > + /* > > +* Avoid blocked utilization pushing up the frequency when we go > > +*

Re: overlayfs vs. fscrypt

2019-03-13 Thread Richard Weinberger
Am Mittwoch, 13. März 2019, 17:13:52 CET schrieb James Bottomley: > > What do you mean by "containment breaches by other tenants"? Note > > that while the key is added, fscrypt doesn't prevent access to the > > encrypted files. > > You mean it's not multiuser safe? Even if user a owns the key th

Re: [PATCH 2/2] x86/mmap: handle worst-case heap randomization in mmap_base

2019-03-13 Thread Dave Hansen
On 3/12/19 10:32 AM, Ali Saidi wrote: > + /* Provide space for brk randomization */ > + pad += SZ_32M; Just curious: Why is the padding in your other patch conditional on the 32-bit vs. 64-bit apps, but here it's always 32M? Also, did you hit this problem in practice somehow?

Re: [PATCH] mm/debug: add a cast to u64 for atomic64_read()

2019-03-13 Thread Mark Rutland
On Wed, Mar 13, 2019 at 03:57:42PM +0100, Arnd Bergmann wrote: > On Wed, Mar 13, 2019 at 3:36 PM Mark Rutland wrote: > > On Wed, Mar 13, 2019 at 10:18:44AM +0100, Peter Zijlstra wrote: > > > On Mon, Mar 11, 2019 at 03:20:04PM +0100, Arnd Bergmann wrote: > > > > On Mon, Mar 11, 2019 at 3:00 PM Qian

[PATCH] staging: rtlwifi: Fix potential NULL pointer dereference

2019-03-13 Thread Aditya Pakki
skb allocated via dev_alloc_skb can fail and return a NULL pointer. This patch avoids such a scenario and returns, consistent with other invocations. Signed-off-by: Aditya Pakki --- drivers/staging/rtlwifi/rtl8822be/fw.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/rtlw

Re: [PATCH 4.9 00/96] 4.9.163-stable review

2019-03-13 Thread Guenter Roeck
On Wed, Mar 13, 2019 at 08:14:29AM -0700, Greg Kroah-Hartman wrote: > On Wed, Mar 13, 2019 at 07:44:34AM -0700, Guenter Roeck wrote: > > On Tue, Mar 12, 2019 at 10:09:18AM -0700, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.9.163 release. > > > There are 96

Re: overlayfs vs. fscrypt

2019-03-13 Thread Eric Biggers
On Wed, Mar 13, 2019 at 04:11:48PM +, Al Viro wrote: > On Wed, Mar 13, 2019 at 08:01:27AM -0700, Eric Biggers wrote: > > > What do you think about this? > > That fscrypt might have some very deep flaws. I'll need to RTFS and > review its model, but what I've seen in this thread so far is not

Re: [PATCH] spi: mediatek: Attempt to address style issues in spi-mt7621.c

2019-03-13 Thread Chuanhong Guo
Hi! On Wed, Mar 13, 2019 at 8:28 PM Matthias Brugger wrote: > > > > On 13/03/2019 13:24, Armando Miraglia wrote: > [...] > Apart from fixing styling issues it would be usefull to see if we can add > support for mt7621 to drivers/spi/spi-mt65xx.c It's impossible. They are completely different IPs.

Re: [PATCH 1/5] irqchip/gic-pm: add driver remove support

2019-03-13 Thread Thierry Reding
On Wed, Mar 13, 2019 at 02:20:41PM +, Marc Zyngier wrote: > On 13/03/2019 13:50, Sameer Pujar wrote: > > > > On 3/13/2019 4:52 PM, Marc Zyngier wrote: > >> First things first: > >> > >> - Where is the cover letter? > >> - This series should be flagged as v2, as it not the same as the one you >

[no subject]

2019-03-13 Thread Doug Gross
-- Greetings , How you doing? Hope you are alright, I sent you message earlier but no response from you, did you receive my First email to you? I am expecting your reply as soon as you receive this email massage (douggros...@gmail.com ), Best Regards, Doug Gross

Re: [PATCH v4 3/3] i2c: mux: pca954x: allow management of device idle state via sysfs

2019-03-13 Thread Wolfram Sang
Hi Greg, > > I was wondering if you think the below ABI addition looks sane to you? > I am not the i2c maintainer :) Peter is the i2c-mux maintainer, so I trust him very much on the I2C side of things. We just wondered if you'd notice a general flaw when exposing such an interface to userspace.

[PATCH] clk: mvebu: armada-37xx-periph: Fix initialization for cpu clocks

2019-03-13 Thread Gregory CLEMENT
The clock parenting was not setup properly when DVFS was enabled. It was expected that the same clock source was used with and without DVFS which was not the case. This patch fixes this issue, allowing to make the cpufreq support work when the CPU clocks source are not the default ones. Fixes: 92

Re: INFO: rcu detected stall in sys_sendfile64 (2)

2019-03-13 Thread Theodore Ts'o
On Wed, Mar 13, 2019 at 07:43:38AM +0100, Dmitry Vyukov wrote: > It would be more useful to accept patches that make syzkaller create > better reproducers from these people. Manual work is not scalable. We > would need 10 reproducers per day for a dozen of OSes (incl some > private kernels/branches

Re: [RFC][Patch v9 2/6] KVM: Enables the kernel to isolate guest free pages

2019-03-13 Thread Alexander Duyck
On Wed, Mar 13, 2019 at 5:18 AM David Hildenbrand wrote: > > On 13.03.19 12:54, Nitesh Narayan Lal wrote: > > > > On 3/12/19 5:13 PM, Alexander Duyck wrote: > >> On Tue, Mar 12, 2019 at 12:46 PM Nitesh Narayan Lal > >> wrote: > >>> On 3/8/19 4:39 PM, Alexander Duyck wrote: > On Fri, Mar 8,

Re: [RFC][Patch v9 2/6] KVM: Enables the kernel to isolate guest free pages

2019-03-13 Thread David Hildenbrand
On 13.03.19 17:37, Alexander Duyck wrote: > On Wed, Mar 13, 2019 at 5:18 AM David Hildenbrand wrote: >> >> On 13.03.19 12:54, Nitesh Narayan Lal wrote: >>> >>> On 3/12/19 5:13 PM, Alexander Duyck wrote: On Tue, Mar 12, 2019 at 12:46 PM Nitesh Narayan Lal wrote: > On 3/8/19 4:39 PM,

Re: overlayfs vs. fscrypt

2019-03-13 Thread Eric Biggers
On Wed, Mar 13, 2019 at 04:06:16PM +, Al Viro wrote: > On Wed, Mar 13, 2019 at 11:16:33AM -0400, Theodore Ts'o wrote: > > Actually, the original use was for ChromeOS, but the primary > > assumption is that keying is per user (or profile), and that users are > > mutually distrustful. So when Al

Re: overlayfs vs. fscrypt

2019-03-13 Thread Theodore Ts'o
On Wed, Mar 13, 2019 at 08:36:34AM -0700, James Bottomley wrote: > On Wed, 2019-03-13 at 11:16 -0400, Theodore Ts'o wrote: > > So before we talk about how to make things work from a technical > > perspective, we should consider what the use case happens to be, and > > what are the security requirem

Re: [PATCH] spi: mediatek: Attempt to address style issues in spi-mt7621.c

2019-03-13 Thread Matthias Brugger
On 13/03/2019 17:34, Chuanhong Guo wrote: > Hi! > On Wed, Mar 13, 2019 at 8:28 PM Matthias Brugger > wrote: >> >> >> >> On 13/03/2019 13:24, Armando Miraglia wrote: >> [...] >> Apart from fixing styling issues it would be usefull to see if we can add >> support for mt7621 to drivers/spi/spi-mt

Re: [PATCH] spi: mediatek: Attempt to address style issues in spi-mt7621.c

2019-03-13 Thread Matthias Brugger
On 13/03/2019 13:34, Dan Carpenter wrote: > On Wed, Mar 13, 2019 at 01:24:04PM +0100, Armando Miraglia wrote: >> Running Lindent on the mt7621-spi.c file in drivers/staging I noticed that >> the >> file contained style issues. This change attempts to address such style >> problems. >> > > Don'

Regression causes a hang on boot with a Comtrol PCI card

2019-03-13 Thread Jesse Hathaway
Two regressions cause Linux to hang on boot when a Comtrol PCI card is present. If I revert the following two commits, I can boot again and the card operates without issue: 1302fcf0d03e (refs/bisect/bad) PCI: Configure *all* devices, not just hot-added ones 1c3c5eab1715 sched/core: Enable might_s

Re: [GIT PULL] UBI/UBIFS updates for 5.1-rc1

2019-03-13 Thread pr-tracker-bot
The pull request you sent on Tue, 12 Mar 2019 16:13:53 +0100: > git://git.infradead.org/linux-ubifs.git tags/upstream-5.1-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a840b56ba385059742c2b7f4fd665ec9afb8931e Thank you! -- Deet-doot-dot, I am a bot. https://kor

Re: [GIT PULL] Filesystem-DAX fixes for 5.1

2019-03-13 Thread pr-tracker-bot
The pull request you sent on Tue, 12 Mar 2019 16:20:52 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/fsdax-for-5.1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3bb0f28d84f3d4e3800ae57d6b1a931b3f88c1f8 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] libnvdimm updates for 5.1

2019-03-13 Thread pr-tracker-bot
The pull request you sent on Mon, 11 Mar 2019 14:54:47 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm > tags/libnvdimm-for-5.1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/5ea6718b1f1bb58825426e19a21cdba47075a954 Thank you! -- Deet-doot-dot,

Re: [PATCH tip/core/rcu 06/19] rcu: Add warning to detect half-interrupts

2019-03-13 Thread Steven Rostedt
On Wed, 13 Mar 2019 08:51:55 -0700 "Paul E. McKenney" wrote: > Does this mean that there is a better approach that Joel's suggestion? > I believe he would end up with something like this: > > WARN_ON_ONCE(IS_ENABLED(CONFIG_PROVE_RCU) && !in_irq()); > > It would be nice if there is somethi

Re: [PATCH] spi: mediatek: Attempt to address style issues in spi-mt7621.c

2019-03-13 Thread Stefan Roese
On 13.03.19 17:46, Matthias Brugger wrote: On 13/03/2019 17:34, Chuanhong Guo wrote: Hi! On Wed, Mar 13, 2019 at 8:28 PM Matthias Brugger wrote: On 13/03/2019 13:24, Armando Miraglia wrote: [...] Apart from fixing styling issues it would be usefull to see if we can add support for mt7621

[PATCH 1/2] workqueue: Use normal rcu

2019-03-13 Thread Sebastian Andrzej Siewior
From: Thomas Gleixner There is no need for sched_rcu. The undocumented reason why sched_rcu is used is to avoid a few explicit rcu_read_lock()/unlock() pairs by the fact that sched_rcu reader side critical sections are also protected by preempt or irq disabled regions. Replace rcu_read_lock_sche

[PATCH 0/2] workqueue: use normal RCU and don't depend on the rq lock

2019-03-13 Thread Sebastian Andrzej Siewior
The second patch was posted originally around v3.0-rc. While digging through the archive it seems that there is nothing wrong with the patch except for the wording of its description. I reworded that part. I'm not sure if the first patch ever made it ever to lkml. Both were in -RT for ages (and the

[PATCH 2/2] sched: Distangle worker accounting from rq lock

2019-03-13 Thread Sebastian Andrzej Siewior
From: Thomas Gleixner The worker accounting for CPU bound workers is plugged into the core scheduler code and the wakeup code. This is not a hard requirement and can be avoided by keeping track of the state in the workqueue code itself. Keep track of the sleeping state in the worker itself and c

[PATCH] spi : spi-topcliff-pch: Fix to handle empty DMA buffers

2019-03-13 Thread Aditya Pakki
pch_alloc_dma_buf allocated tx, rx DMA buffers which can fail. Further, these buffers are used without a check. The patch checks for these failures and sends the error upstream. Signed-off-by: Aditya Pakki --- drivers/spi/spi-topcliff-pch.c | 15 +-- 1 file changed, 13 insertions(+),

Re: INFO: rcu detected stall in sys_sendfile64 (2)

2019-03-13 Thread Dmitry Vyukov
On Wed, Mar 13, 2019 at 5:37 PM Theodore Ts'o wrote: > > On Wed, Mar 13, 2019 at 07:43:38AM +0100, Dmitry Vyukov wrote: > > It would be more useful to accept patches that make syzkaller create > > better reproducers from these people. Manual work is not scalable. We > > would need 10 reproducers p

Re: [PATCH v7 03/15] sched/core: uclamp: Add system default clamps

2019-03-13 Thread Patrick Bellasi
On 13-Mar 15:32, Peter Zijlstra wrote: > On Fri, Feb 08, 2019 at 10:05:42AM +, Patrick Bellasi wrote: > > > diff --git a/include/linux/sched.h b/include/linux/sched.h > > index 45460e7a3eee..447261cd23ba 100644 > > --- a/include/linux/sched.h > > +++ b/include/linux/sched.h > > @@ -584,14 +584

Re: [GIT PULL] Mailbox changes for v5.1

2019-03-13 Thread pr-tracker-bot
The pull request you sent on Tue, 12 Mar 2019 10:13:28 -0500: > git://git.linaro.org/landing-teams/working/fujitsu/integration.git > tags/mailbox-v5.1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3a186d38561d2844072829c6c0811e407c6ec1aa Thank you! -- Deet-doot-do

Re: [GIT PULL] Kconfig updates for v5.1

2019-03-13 Thread pr-tracker-bot
The pull request you sent on Wed, 13 Mar 2019 01:39:04 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kconfig-v5.1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/5453a3df2a5eb49bc24615d4cf0d66b2aae05e5f Thank you! -- Deet-d

Re: [GIT] Crypto Fixes for 5.1

2019-03-13 Thread pr-tracker-bot
The pull request you sent on Tue, 12 Mar 2019 12:58:18 +0800: > git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/dac0bde43b0b3685390b68c9058bee36d4d5c747 Thank you! -- Deet-doot-dot, I am a bot

Re: [GIT PULL] pwm: Changes for v5.1-rc1

2019-03-13 Thread pr-tracker-bot
The pull request you sent on Wed, 13 Mar 2019 15:51:18 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git > tags/pwm/for-5.1-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/add8462a60421ca1b03a6864e295d22de532a5e7 Thank you! -- D

[PATCH] staging: rtl8188eu: Fix potential NULL pointer dereference

2019-03-13 Thread Aditya Pakki
hwxmits is allocated via kcalloc and not checked for failure before its dereference. The patch fixes this problem similar to rtl8723bs. Signed-off-by: Aditya Pakki --- drivers/staging/rtl8188eu/core/rtw_xmit.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/staging/rtl8188eu/core

[PATCH] x86/kvm/hyper-v: avoid spurious pending stimer on vCPU init

2019-03-13 Thread Vitaly Kuznetsov
When userspace initializes guest vCPUs it may want to zero all supported MSRs including Hyper-V related ones including HV_X64_MSR_STIMERn_CONFIG/ HV_X64_MSR_STIMERn_COUNT. With commit f3b138c5d89a ("kvm/x86: Update SynIC timers on guest entry only") we began doing stimer_mark_pending() unconditiona

Re: [PATCH 1/8] drivers: tty: serial: 8250_bcm2835aux: use devm_platform_ioremap_resource()

2019-03-13 Thread Enrico Weigelt, metux IT consult
On 13.03.19 15:36, Greg KH wrote: > Also, usually RFC like patches and series are ignored, I know I almost > always ignore them because if the author doesn't think they are ready to > be reviewed, why would I spend time on them compared to other patches > that their authors think are ready for rev

RE: [PATCH 1/2] Drivers: hv: Move Hyper-V clockevents code to new clocksource driver

2019-03-13 Thread Vitaly Kuznetsov
Michael Kelley writes: > From: Vitaly Kuznetsov Sent: Wednesday, March 13, 2019 > 7:23 AM > >> >> > diff --git a/drivers/clocksource/Makefile b/drivers/clocksource/Makefile >> >> > index be6e0fb..a887955 100644 >> >> > --- a/drivers/clocksource/Makefile >> >> > +++ b/drivers/clocksource/Makefil

Re: [PATCH] regulator: Use of_node_name_eq for node name comparisons

2019-03-13 Thread Lucas Stach
Hi Rob, hi Mark, Am Mittwoch, den 05.12.2018, 13:50 -0600 schrieb Rob Herring: > Convert string compares of DT node names to use of_node_name_eq helper > instead. This removes direct access to the node name pointer. > > For instances using of_node_cmp, this has the side effect of now using > case

Re: [PATCH 02/14] c6x: entry: Remove unneeded need_resched() loop

2019-03-13 Thread Mark Salter
On Mon, 2019-03-11 at 22:47 +, 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: Mark Salter > Cc: Aurelien Jacquiot

Re: [PATCH] Makefile: Add '-fno-builtin-bcmp' to CLANG_FLAGS

2019-03-13 Thread Nick Desaulniers
On Wed, Mar 13, 2019 at 8:32 AM Nathan Chancellor wrote: > > On Wed, Mar 13, 2019 at 02:48:49PM +0100, Arnd Bergmann wrote: > > On Wed, Mar 13, 2019 at 2:44 PM Nathan Chancellor > > wrote: > > > On Wed, Mar 13, 2019 at 09:13:11AM +0100, Rasmus Villemoes wrote: > > > > Wouldn't it be better to jus

Re: [PATCH v7 01/15] sched/core: uclamp: Add CPU's clamp buckets refcounting

2019-03-13 Thread Peter Zijlstra
On Wed, Mar 13, 2019 at 04:12:29PM +, Patrick Bellasi wrote: > Yes, the for looks better, but perhaps like that: > > unsigned int bucket_id = UCLAMP_BUCKETS; > > /* >* Both min and max clamps are MAX aggregated, thus the topmost >* bucket with some tasks defines th

Re: [PATCH] Makefile: Add '-fno-builtin-bcmp' to CLANG_FLAGS

2019-03-13 Thread Nick Desaulniers
On Wed, Mar 13, 2019 at 10:21 AM Nick Desaulniers wrote: > > On Wed, Mar 13, 2019 at 8:32 AM Nathan Chancellor > wrote: > > > > On Wed, Mar 13, 2019 at 02:48:49PM +0100, Arnd Bergmann wrote: > > > On Wed, Mar 13, 2019 at 2:44 PM Nathan Chancellor > > > wrote: > > > > On Wed, Mar 13, 2019 at 09:1

Re: [PATCH] h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux-

2019-03-13 Thread Masahiro Yamada
On Fri, Feb 15, 2019 at 11:53 PM Masahiro Yamada wrote: > > It believe it is a bad idea to hardcode a specific compiler prefix > that may or may not be installed on a user's system. It is annoying > when testing features that should not require compilers at all. > > For example, mrproper, headers_

Re: [PATCH v7 02/15] sched/core: uclamp: Enforce last task UCLAMP_MAX

2019-03-13 Thread Peter Zijlstra
On Wed, Mar 13, 2019 at 04:20:51PM +, Patrick Bellasi wrote: > On 13-Mar 15:10, Peter Zijlstra wrote: > > On Fri, Feb 08, 2019 at 10:05:41AM +, Patrick Bellasi wrote: > > > +uclamp_idle_value(struct rq *rq, unsigned int clamp_id, unsigned int > > > clamp_value) > > > +{ > > > + /* > > > +

Re: [PATCH 4.9 00/96] 4.9.163-stable review

2019-03-13 Thread Jon Hunter
On 12/03/2019 17:09, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.163 release. > There are 96 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 sh

Re: [PATCH 4.19 000/149] 4.19.29-stable review

2019-03-13 Thread Jon Hunter
On 12/03/2019 17:06, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.29 release. > There are 149 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 s

Re: [PATCH 4.14 000/135] 4.14.106-stable review

2019-03-13 Thread Jon Hunter
On 12/03/2019 17:07, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.106 release. > There are 135 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] libfdt: prefix header search paths with $(srctree)/

2019-03-13 Thread Masahiro Yamada
On Mon, Feb 11, 2019 at 10:43 AM Masahiro Yamada wrote: > > Hi Rob, > > > On Fri, Jan 25, 2019 at 12:42 PM Masahiro Yamada > wrote: > > > > Currently, the Kbuild core manipulates header search paths in a crazy > > way [1]. > > > > To fix this mess, I want all Makefiles to add explicit $(srctree)/

Re: [PATCH] regulator: Use of_node_name_eq for node name comparisons

2019-03-13 Thread Fabio Estevam
Hi Lucas, On Wed, Mar 13, 2019 at 2:22 PM Lucas Stach wrote: > Unfortunately this change causes a regression on systems with MC13xxx > regulators. The desc.name field is filled with an uppercase name of the > regulator, while the existing DTs (as far as I know) all use lowercase > node names, so

Re: [PATCH] Respond:Add SUNIX-Multi-I/O card device driver

2019-03-13 Thread Enrico Weigelt, metux IT consult
On 13.03.19 14:31, Morris Ku wrote: Hi, > +why isn't that in ./drivers/tty/serial/sunix/ ? > + > driver support SUNIX Character Devices, > serial ports and parallel ports,so we suggest > that in /drivers/char. Well, this seems to be a composite device. so it should be actually different driver

Re: [PATCH 5.0 00/25] 5.0.2-stable review

2019-03-13 Thread Jon Hunter
On 12/03/2019 17:08, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.0.2 release. > There are 25 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 shou

Re: [PATCH 4.20 000/171] 4.20.16-stable review

2019-03-13 Thread Jon Hunter
On 12/03/2019 17:06, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.20.16 release. > There are 171 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 s

Re: [PATCH V5] platform/chrome: mfd/cros_ec_dev: Add sysfile to force

2019-03-13 Thread Enric Balletbo i Serra
Hi RaviChandra, Many thanks for pushing this upstream. Some more comments below. On 9/3/19 2:42, RaviChandra Sadineni wrote: > On chromebooks, power_manager daemon normally shuts down(S5) the device > when the battery charge falls below 4% threshold. ChromeOS EC then > normally spends an hour in

Re: [PATCH] ia64: prefix header search path with $(srctree)/

2019-03-13 Thread Masahiro Yamada
On Mon, Feb 18, 2019 at 1:54 PM Masahiro Yamada wrote: > > On Fri, Jan 25, 2019 at 4:21 PM Masahiro Yamada > wrote: > > > > Currently, the Kbuild core manipulates header search paths in a crazy > > way [1]. > > > > To fix this mess, I want all Makefiles to add explicit $(srctree)/ to > > the sear

Re: [PATCH] kbuild: source include/config/auto.conf instead of ${KCONFIG_CONFIG}

2019-03-13 Thread Masahiro Yamada
On Fri, Mar 8, 2019 at 2:50 PM Masahiro Yamada wrote: > > As commit 423a8155facf ("kbuild: Fix reading of .config in > link-vmlinux.sh") addressed, some shells fail to perform '.' if > ${KCONFIG_CONFIG} does not contain a slash at all. > > Instead, we can source include/config/auto.conf, which obv

Re: [PATCH] unicore32: simplify linker script generation for decompressor

2019-03-13 Thread Masahiro Yamada
On Fri, Mar 8, 2019 at 2:31 PM Masahiro Yamada wrote: > > When I was searching for unneeded $(KCONFIG_CONFIG) usages, I noticed > this strange build dependency. > > It can use $(call if_changed,...) in case ZTEXTADDR and ZBSSADDR are > changed, but even a simpler way is to use the pattern rule in

Re: [PATCH] modpost: always show verbose warning for section mismatch

2019-03-13 Thread Masahiro Yamada
On Fri, Feb 1, 2019 at 2:26 PM Masahiro Yamada wrote: > > Unless CONFIG_DEBUG_SECTION_MISMATCH is enabled, modpost only shows > the number of section mismatches. > > If you want to know the symbols causing the issue, you need to rebuild > with CONFIG_DEBUG_SECTION_MISMATCH. It is tedious. > > I th

Re: [PATCH] deb-pkg: generate correct build dependencies

2019-03-13 Thread Masahiro Yamada
On Wed, Mar 13, 2019 at 2:24 AM Masahiro Yamada wrote: > > From: Riku Voipio > > bison/flex is now needed always for building for kconfig. Some build > dependencies depend on kernel configuration, enable them as needed: > > - libelf-dev when UNWINDER_ORC is set > - libssl-dev for SYSTEM_TRUSTED_K

<    1   2   3   4   5   6   7   8   9   >