Applied "ASoC: sirf-audio: use devm_platform_ioremap_resource() to simplify code" to the asoc tree

2019-09-04 Thread Mark Brown
The patch ASoC: sirf-audio: use devm_platform_ioremap_resource() to simplify code has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime

Applied "ASoC: ep93xx: use devm_platform_ioremap_resource() to simplify code" to the asoc tree

2019-09-04 Thread Mark Brown
The patch ASoC: ep93xx: use devm_platform_ioremap_resource() to simplify code has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in

Re: [PATCH 2/2] sched/debug: add sched_update_nr_running tracepoint

2019-09-04 Thread Alexei Starovoitov
On Wed, Sep 4, 2019 at 10:47 AM Peter Zijlstra wrote: > > On Wed, Sep 04, 2019 at 08:51:21AM -0700, Alexei Starovoitov wrote: > > Anything in tracing can be deleted. > > Tracing is about debugging and introspection. > > When underlying kernel code changes the introspection points change as well.

Re: [PATCH v3] sched/core: Fix uclamp ABI bug, clean up and robustify sched_read_attr() ABI logic and code

2019-09-04 Thread Ingo Molnar
* Thadeu Lima de Souza Cascardo wrote: > There is one odd behaviour now, which is whenever size is set between > VER0 and VER1, we will have a partial struct filled up, instead of > getting E2BIG or EINVAL. Well, that's pretty much by design: user-space is asking for 'usize' bytes of

Applied "ASoC: amd: use devm_platform_ioremap_resource() to simplify code" to the asoc tree

2019-09-04 Thread Mark Brown
The patch ASoC: amd: use devm_platform_ioremap_resource() to simplify code has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the

[PATCH 5/5] arm64: exynos: Enable exynos-chipid driver

2019-09-04 Thread Krzysztof Kozlowski
From: Pankaj Dubey Enable Exynos Chipid driver for accessing SoC related information. Signed-off-by: Pankaj Dubey Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Sylwester Nawrocki Signed-off-by: Krzysztof Kozlowski --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1

[GIT PULL 2/5] soc: samsung: Second pull for v5.4

2019-09-04 Thread Krzysztof Kozlowski
Hi, On top of previous pull request. Best regards, Krzysztof The following changes since commit 40d8aff614f71ab3cab20785b4f213e3802d4e87: soc: samsung: chipid: Convert exynos-chipid driver to use the regmap API (2019-08-15 20:25:25 +0200) are available in the Git repository at:

[GIT PULL 3/5] ARM: dts: exynos: Second pull for v5.4

2019-09-04 Thread Krzysztof Kozlowski
Hi, On top of previous pull request. Best regards, Krzysztof The following changes since commit bfb77169306d5d560a8b62eebaf6d69d02e8d152: ARM: dts: exynos: Add CAM power domain to Exynos5422/5800 (2019-08-12 19:02:59 +0200) are available in the Git repository at:

[GIT PULL 4/5] ARM: samsung: mach for v5.4, second (replacing previous)

2019-09-04 Thread Krzysztof Kozlowski
Hi, Replaces previous pull (and it includes it). Best regards, Krzysztof The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the Git repository at:

[GIT PULL 1/5] ARM: defconfig: exynos for v5.4

2019-09-04 Thread Krzysztof Kozlowski
The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-defconfig-5.4 for you to fetch changes up to

[GIT PULL 0/5] arm: exynos: Second round of pulls for v5.4

2019-09-04 Thread Krzysztof Kozlowski
Hi, Notes: 1. One patch for soc64 sent directly, not as pull req. 2. Drivers and DTS pulls are on top of previous. 3. mach/soc pull replaces previous pull (I see it was not merged). No dependencies between pulls. Best regards, Krzysztof

Re: [alsa-devel] [RFC PATCH 4/5] ASoC: SOF: Intel: hda: add SoundWire stream config/free callbacks

2019-09-04 Thread Pierre-Louis Bossart
On 9/4/19 11:55 AM, Vinod Koul wrote: On 04-09-19, 08:31, Pierre-Louis Bossart wrote: On 9/4/19 2:35 AM, Vinod Koul wrote: On 22-08-19, 08:53, Pierre-Louis Bossart wrote: Thanks for the review Guennadi +static int sdw_config_stream(void *arg, void *s, void *dai, +

Re: [PATCH 2/2] sched/debug: add sched_update_nr_running tracepoint

2019-09-04 Thread Peter Zijlstra
On Wed, Sep 04, 2019 at 03:37:11PM +0100, Qais Yousef wrote: > I managed to hook into sched_switch to get the nr_running of cfs tasks via > eBPF. > > ``` > int on_switch(struct sched_switch_args *args) { > struct task_struct *prev = (struct task_struct *)bpf_get_current_task(); > struct

Re: [alsa-devel] [RFC PATCH 3/5] ASoC: SOF: Intel: hda: add SoundWire IP support

2019-09-04 Thread Pierre-Louis Bossart
On 9/4/19 11:51 AM, Vinod Koul wrote: On 04-09-19, 08:25, Pierre-Louis Bossart wrote: On 9/4/19 2:21 AM, Vinod Koul wrote: On 21-08-19, 15:17, Pierre-Louis Bossart wrote: The Core0 needs to be powered before the SoundWire IP is initialized. Call sdw_intel_init/exit and store the context.

Re: [PATCH 2/2] sched/debug: add sched_update_nr_running tracepoint

2019-09-04 Thread Peter Zijlstra
On Wed, Sep 04, 2019 at 08:51:21AM -0700, Alexei Starovoitov wrote: > Anything in tracing can be deleted. > Tracing is about debugging and introspection. > When underlying kernel code changes the introspection points change as well. Right; except when it breaks widely used tools; like say

Re: [alsa-devel] [PATCH 2/6] soundwire: cadence_master: add hw_reset capability in debugfs

2019-09-04 Thread Pierre-Louis Bossart
On 9/4/19 11:49 AM, Vinod Koul wrote: On 04-09-19, 08:18, Pierre-Louis Bossart wrote: On 9/4/19 2:13 AM, Vinod Koul wrote: On 13-08-19, 16:32, Pierre-Louis Bossart wrote: Provide debugfs capability to kick link and devices into hard-reset (as defined by MIPI). This capability is really

Re: [PATCH] scsi: virtio_scsi: unplug LUNs when events missed

2019-09-04 Thread Matt Lupfer
On Wed, Sep 04, 2019 at 05:14:33AM -0400, Michael S. Tsirkin wrote: > On Tue, Sep 03, 2019 at 05:04:20PM +, Matt Lupfer wrote: >> The event handler calls scsi_scan_host() when events are missed, which >> will hotplug new LUNs. However, this function won't remove any >> unplugged LUNs. The

Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism

2019-09-04 Thread Bart Van Assche
On 9/4/19 10:31 AM, Daniel Lezcano wrote: On 04/09/2019 19:07, Bart Van Assche wrote: Only if CONFIG_IRQ_TIME_ACCOUNTING has been enabled. However, I don't know any Linux distro that enables that option. That's probably because that option introduces two rdtsc() calls in each interrupt. Given

Re: [GIT PULL] SOC: TI soc updates for 5.4

2019-09-04 Thread santosh . shilimkar
On 9/4/19 6:13 AM, Arnd Bergmann wrote: On Tue, Aug 27, 2019 at 5:12 AM Santosh Shilimkar wrote: soc: TI soc updates for 5.4 - Update firmware to support PM domain shared and exclusive support - Update driver and dt

[PATCH] nvme: Restore device naming sanity

2019-09-04 Thread Keith Busch
The namespace names must be unique for the lifetime of the subsystem. This was accomplished by using their parent subsystems' instances which was independent of the controllers connected to that subsystem. The consequence of that naming scheme meant that name prefixes given to namespaces may

Re: [PATCH] gpiolib: acpi: make acpi_can_fallback_to_crs() static

2019-09-04 Thread Andy Shevchenko
On Wed, Sep 04, 2019 at 10:26:24AM -0700, Dmitry Torokhov wrote: > It is not used outside gpiolib-acpi.c module, so there is no need to > export it. > Thank you for a nice clean up! Reviewed-by: Andy Shevchenko > Signed-off-by: Dmitry Torokhov > --- > drivers/gpio/gpiolib-acpi.c | 19

Re: [RFC PATCH 1/9] sched,cgroup: Add interface for latency-nice

2019-09-04 Thread Tim Chen
On 8/30/19 10:49 AM, subhra mazumdar wrote: > Add Cgroup interface for latency-nice. Each CPU Cgroup adds a new file > "latency-nice" which is shared by all the threads in that Cgroup. Subhra, Thanks for posting the patchset. Having a latency nice hint is useful beyond idle load balancing. I

Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism

2019-09-04 Thread Daniel Lezcano
Hi, On 04/09/2019 19:07, Bart Van Assche wrote: > On 9/3/19 12:50 AM, Daniel Lezcano wrote: >> On 03/09/2019 09:28, Ming Lei wrote: >>> On Tue, Sep 03, 2019 at 08:40:35AM +0200, Daniel Lezcano wrote: It is a scheduler problem then ? >>> >>> Scheduler can do nothing if the CPU is taken

Re: [PATCH v6 1/2] rpmsg: core: add API to get message length

2019-09-04 Thread Arnaud Pouliquen
Hi Suman On 9/4/19 6:36 PM, Suman Anna wrote: Hi Arnaud, On 9/4/19 8:09 AM, Arnaud Pouliquen wrote: Return the rpmsg buffer size for sending message, so rpmsg users can split a long message in several sub rpmsg buffers. Couple more minor comments.. Signed-off-by: Arnaud Pouliquen ---

Re: [PATCH] nvme-core: Fix subsystem instance mismatches

2019-09-04 Thread Logan Gunthorpe
On 2019-09-04 11:14 a.m., Keith Busch wrote: > On Wed, Sep 04, 2019 at 11:01:22AM -0600, Logan Gunthorpe wrote: >> Oh, yes that's simpler than the struct/kref method and looks like it >> will accomplish the same thing. I did some brief testing with it and it >> seems to work for me (though I

[PATCH] gpiolib: acpi: make acpi_can_fallback_to_crs() static

2019-09-04 Thread Dmitry Torokhov
It is not used outside gpiolib-acpi.c module, so there is no need to export it. Signed-off-by: Dmitry Torokhov --- drivers/gpio/gpiolib-acpi.c | 19 ++- drivers/gpio/gpiolib-acpi.h | 8 2 files changed, 10 insertions(+), 17 deletions(-) diff --git

Re: [PATCH] Documentation/process: Add Google contact for embargoed hardware issues

2019-09-04 Thread Guenter Roeck
On Wed, Sep 04, 2019 at 09:24:49AM -0700, Kees Cook wrote: > This adds myself as the Google contact for embargoed hardware security > issues and fixes some small typos. > > Cc: Guenter Roeck > Cc: Matt Linton > Cc: Matthew Garrett > Signed-off-by: Kees Cook Acked-by: Guenter Roeck > --- >

Re: [PATCH -next 15/15] thermal: rcar: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread Wolfram Sang
On Wed, Sep 04, 2019 at 08:29:39PM +0800, YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing I think for such straightforward (and manifold) conversions, one patch per

[PATCH] KEYS: trusted: correctly initialize digests and fix locking issue

2019-09-04 Thread Roberto Sassu
This patch fixes two issues introduced with commit 240730437deb ("KEYS: trusted: explicitly use tpm_chip structure from tpm_default_chip()"). It initializes the algorithm in init_digests() for trusted keys, and moves the algorithm check in tpm_pcr_extend() before locks are taken in

Re: [PATCH 1/1] scsi: lpfc: Convert existing %pf users to %ps

2019-09-04 Thread Andy Shevchenko
On Wed, Sep 04, 2019 at 07:04:23PM +0300, Sakari Ailus wrote: > Convert the remaining %pf users to %ps to prepare for the removal of the > old %pf conversion specifier support. FWIW, Reviewed-by: Andy Shevchenko > Fixes: 323506644972 ("scsi: lpfc: Migrate to %px and %pf in kernel print >

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

2019-09-04 Thread Andy Shevchenko
On Wed, Sep 04, 2019 at 07:10:51PM +0300, Sakari Ailus wrote: > On Mon, Sep 02, 2019 at 07:13:52PM +0300, Andy Shevchenko wrote: > > On Mon, Sep 02, 2019 at 04:57:32PM +0300, Sakari Ailus wrote: > > > Add a test for the %pfw printk modifier using software nodes. > > > > > +static void __init

Re: [PATCH v2] mm: emit tracepoint when RSS changes by threshold

2019-09-04 Thread Daniel Colascione
On Wed, Sep 4, 2019 at 8:38 AM Michal Hocko wrote: > > but also for reducing > > tracing noise. Flooding the traces makes it less useful for long traces and > > post-processing of traces. IOW, the overhead reduction is a bonus. > > This is not really anything special for this tracepoint though. >

Re: [PATCH v2 0/6] PAXB INTx support with proper model

2019-09-04 Thread Florian Fainelli
On 8/28/19 1:54 AM, Srinath Mannam wrote: > This patch series adds PCIe legacy interrupt (INTx) support to the iProc > PCIe driver by modeling it with its own IRQ domain. All 4 interrupts INTA, > INTB, INTC, INTD share the same interrupt line connected to the GIC > in the system. This is now

Re: [PATCH] nvme-core: Fix subsystem instance mismatches

2019-09-04 Thread Keith Busch
On Wed, Sep 04, 2019 at 11:01:22AM -0600, Logan Gunthorpe wrote: > Oh, yes that's simpler than the struct/kref method and looks like it > will accomplish the same thing. I did some brief testing with it and it > seems to work for me (though I don't have any subsystems with multiple > controllers).

Re: [PATCH v2] mm: emit tracepoint when RSS changes by threshold

2019-09-04 Thread Daniel Colascione
On Wed, Sep 4, 2019 at 7:59 AM Joel Fernandes wrote: > > On Tue, Sep 03, 2019 at 10:42:53PM -0700, Daniel Colascione wrote: > > On Tue, Sep 3, 2019 at 10:15 PM Joel Fernandes > > wrote: > > > > > > On Tue, Sep 03, 2019 at 09:51:20PM -0700, Daniel Colascione wrote: > > > > On Tue, Sep 3, 2019 at

Re: [PATCH] staging: rts5208: Fix 80 char warning by re-structuring if-blocks.

2019-09-04 Thread Greg KH
On Wed, Sep 04, 2019 at 06:35:23PM +0530, Prakhar Sinha wrote: > This patch solves the following checkpatch.pl's messages in > drivers/staging/rts5208/sd.c > > WARNING: line over 80 characters > 4517: FILE: drivers/staging/rts5208/sd.c:4517: > +

Re: [PATCH 1/2] pci: Convert to use built-in RCU list checking

2019-09-04 Thread Andy Shevchenko
On Wed, Sep 4, 2019 at 8:07 AM Joel Fernandes wrote: > > On Wed, Sep 04, 2019 at 12:06:43PM +0800, kbuild test robot wrote: > > Hi "Joel, > > > > Thank you for the patch! Yet something to improve: > > > > [auto build test ERROR on linus/master] > > [cannot apply to v5.3-rc7 next-20190903] > > [if

Re: [RFC PATCH 1/2] Fix: sched/membarrier: p->mm->membarrier_state racy load

2019-09-04 Thread Mathieu Desnoyers
- On Sep 4, 2019, at 12:09 PM, Peter Zijlstra pet...@infradead.org wrote: > On Wed, Sep 04, 2019 at 11:19:00AM -0400, Mathieu Desnoyers wrote: >> - On Sep 3, 2019, at 4:36 PM, Linus Torvalds >> torva...@linux-foundation.org >> wrote: > >> > I wonder if the easiest model might be to just

Re: [PATCH v2 2/2] net: phy: gmii2rgmii: Dont use priv field in phy device

2019-09-04 Thread Florian Fainelli
On 9/4/19 7:00 AM, Harini Katakam wrote: > Use set/get drv data in phydev's mdio device instead. Phy device priv > field maybe used by the external phy driver and should not be > overwritten. > > Signed-off-by: Harini Katakam Reviewed-by: Florian Fainelli -- Florian

[GIT PULL] Please pull NFS bugfix

2019-09-04 Thread Trond Myklebust
Hi Linus, One more pull request to fix a NFSv4 regression that affects only the v5.3-rc series. The following changes since commit 089cf7f6ecb266b6a4164919a2e69bd2f938374a: Linux 5.3-rc7 (2019-09-02 09:57:40 -0700) are available in the Git repository at:

Re: [PATCH 1/4] softirq: implement IRQ flood detection mechanism

2019-09-04 Thread Bart Van Assche
On 9/3/19 12:50 AM, Daniel Lezcano wrote: On 03/09/2019 09:28, Ming Lei wrote: On Tue, Sep 03, 2019 at 08:40:35AM +0200, Daniel Lezcano wrote: It is a scheduler problem then ? Scheduler can do nothing if the CPU is taken completely by handling interrupt & softirq, so seems not a scheduler

Re: [PATCH v3 1/1] arm64: dts: qcom: Add Lenovo Yoga C630

2019-09-04 Thread Lee Jones
On Wed, 04 Sep 2019, Sudeep Holla wrote: > On Wed, Sep 04, 2019 at 05:12:47PM +0100, Lee Jones wrote: > > On Wed, 04 Sep 2019, Sudeep Holla wrote: > > > > > On Wed, Sep 04, 2019 at 01:16:06PM +0100, Lee Jones wrote: > > > > From: Bjorn Andersson > > > > > > > > The Lenovo Yoga C630 is built on

Re: [PATCH v2 1/2] include: mdio: Add driver data helpers

2019-09-04 Thread Florian Fainelli
On 9/4/19 7:00 AM, Harini Katakam wrote: > Add set/get drv_data helpers for mdio device. > > Signed-off-by: Harini Katakam Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH v3 0/4] Add binder state and statistics to binderfs

2019-09-04 Thread Hridya Valsaraju
On Wed, Sep 4, 2019 at 7:20 AM Joel Fernandes wrote: > > On September 4, 2019 7:19:35 AM EDT, Christian Brauner > wrote: > >On Tue, Sep 03, 2019 at 09:16:51AM -0700, Hridya Valsaraju wrote: > >> Currently, the only way to access binder state and > >> statistics is through debugfs. We need a way

Re: [PATCH] staging: exfat: cleanup braces for if/else statements

2019-09-04 Thread Valentin Vidić
On Wed, Sep 04, 2019 at 09:38:55AM +, David Laight wrote: > From: Valentin Vidic > > Sent: 03 September 2019 19:12 > > On Tue, Sep 03, 2019 at 06:32:49PM +0100, Al Viro wrote: > > > On Tue, Sep 03, 2019 at 06:47:32PM +0200, Valentin Vidic wrote: > > > > + } else if (uni

Re: [PATCH v1 1/3] perf cs-etm: Refactor instruction size handling

2019-09-04 Thread Mathieu Poirier
On Wed, 4 Sep 2019 at 03:19, Leo Yan wrote: > > Hi Mathieu, > > On Tue, Sep 03, 2019 at 04:22:15PM -0600, Mathieu Poirier wrote: > > On Fri, Aug 30, 2019 at 02:24:19PM +0800, Leo Yan wrote: > > > There has several code pieces need to know the instruction size, but > > > now every place calculates

Re: [PATCH] nvme-core: Fix subsystem instance mismatches

2019-09-04 Thread Logan Gunthorpe
On 2019-09-04 10:35 a.m., Keith Busch wrote: > On Wed, Sep 04, 2019 at 10:07:12AM -0600, Logan Gunthorpe wrote: >> Yes, I agree, we can't solve the mismatch problem in the general case: >> with sequences of hot plug events there will always be a case that >> mismatches. I just think we can do

Re: [PATCH -next 03/15] thermal: brcmstb: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread Florian Fainelli
On 9/4/19 5:29 AM, YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Acked-by: Florian Fainelli -- Florian

Re: [PATCH v3] trace:Add "gfp_t" support in synthetic_events

2019-09-04 Thread Steven Rostedt
On Wed, 04 Sep 2019 08:13:58 -0500 Tom Zanussi wrote: > Hi Steve, > > On Wed, 2019-09-04 at 06:43 -0400, Steven Rostedt wrote: > > On Fri, 12 Jul 2019 11:05:06 -0500 > > Tom Zanussi wrote: > > > > > Hi Zhengjun, > > > > > > On Fri, 2019-07-12 at 09:53 +0800, Zhengjun Xing wrote: > > > >

Re: [PATCH V40 04/29] lockdown: Enforce module signatures if the kernel is locked down

2019-09-04 Thread Matthew Garrett
On Fri, Aug 30, 2019 at 9:31 AM David Howells wrote: > > Matthew Garrett wrote: > > > enum lockdown_reason { > > LOCKDOWN_NONE, > > + LOCKDOWN_MODULE_SIGNATURE, > > LOCKDOWN_INTEGRITY_MAX, > > LOCKDOWN_CONFIDENTIALITY_MAX, > > }; > > Aren't you mixing disjoint sets? The

Re: [alsa-devel] [RFC PATCH 4/5] ASoC: SOF: Intel: hda: add SoundWire stream config/free callbacks

2019-09-04 Thread Vinod Koul
On 04-09-19, 08:31, Pierre-Louis Bossart wrote: > On 9/4/19 2:35 AM, Vinod Koul wrote: > > On 22-08-19, 08:53, Pierre-Louis Bossart wrote: > > > Thanks for the review Guennadi > > > > > > > > +static int sdw_config_stream(void *arg, void *s, void *dai, > > > > > + void

Re: [RFC PATCH v2 00/19] RDMA/FS DAX truncate proposal V1,000,002 ;-)

2019-09-04 Thread Ira Weiny
On Tue, Sep 03, 2019 at 08:26:18AM +1000, Dave Chinner wrote: > On Wed, Aug 28, 2019 at 07:02:31PM -0700, Ira Weiny wrote: > > On Mon, Aug 26, 2019 at 03:55:10PM +1000, Dave Chinner wrote: > > > On Fri, Aug 23, 2019 at 10:08:36PM -0700, Ira Weiny wrote: > > > > On Sat, Aug 24, 2019 at 10:11:24AM

Re: [PATCH v3 1/1] arm64: dts: qcom: Add Lenovo Yoga C630

2019-09-04 Thread Sudeep Holla
On Wed, Sep 04, 2019 at 05:12:47PM +0100, Lee Jones wrote: > On Wed, 04 Sep 2019, Sudeep Holla wrote: > > > On Wed, Sep 04, 2019 at 01:16:06PM +0100, Lee Jones wrote: > > > From: Bjorn Andersson > > > > > > The Lenovo Yoga C630 is built on the SDM850 from Qualcomm, but this seem > > > to be

Re: [alsa-devel] [RFC PATCH 3/5] ASoC: SOF: Intel: hda: add SoundWire IP support

2019-09-04 Thread Vinod Koul
On 04-09-19, 08:25, Pierre-Louis Bossart wrote: > On 9/4/19 2:21 AM, Vinod Koul wrote: > > On 21-08-19, 15:17, Pierre-Louis Bossart wrote: > > > The Core0 needs to be powered before the SoundWire IP is initialized. > > > > > > Call sdw_intel_init/exit and store the context. We only have one > > >

Re: [PATCH v3 0/4] Add binder state and statistics to binderfs

2019-09-04 Thread Hridya Valsaraju
On Wed, Sep 4, 2019 at 8:12 AM Christian Brauner wrote: > > On Wed, Sep 04, 2019 at 04:49:03PM +0200, Greg Kroah-Hartman wrote: > > On Wed, Sep 04, 2019 at 10:20:32AM -0400, Joel Fernandes wrote: > > > On September 4, 2019 7:19:35 AM EDT, Christian Brauner > > > wrote: > > > >On Tue, Sep 03,

Re: [PATCH V40 03/29] security: Add a static lockdown policy LSM

2019-09-04 Thread Matthew Garrett
On Fri, Aug 30, 2019 at 9:28 AM David Howells wrote: > > Matthew Garrett wrote: > > > +static char *lockdown_reasons[LOCKDOWN_CONFIDENTIALITY_MAX+1] = { > > const char *const maybe? Seems reasonable. > > +static enum lockdown_reason lockdown_levels[] = {LOCKDOWN_NONE, > > +

Re: [alsa-devel] [PATCH 2/6] soundwire: cadence_master: add hw_reset capability in debugfs

2019-09-04 Thread Vinod Koul
On 04-09-19, 08:18, Pierre-Louis Bossart wrote: > On 9/4/19 2:13 AM, Vinod Koul wrote: > > On 13-08-19, 16:32, Pierre-Louis Bossart wrote: > > > Provide debugfs capability to kick link and devices into hard-reset > > > (as defined by MIPI). This capability is really useful when some > > > devices

Re: [RFC PATCH v2 2/2] ELF: Add ELF program property parsing support

2019-09-04 Thread Kees Cook
On Fri, Aug 30, 2019 at 09:34:18AM +0100, Dave Martin wrote: > Do you have any thoughts on Yu-Cheng Yu's comments? It would be nice to > early-terminate the scan if we can, but my feeling so far was that the > scan is cheap, the number of properties is unlikely to be more than a > smallish

Re: [PATCH v2 2/2] net: phy: gmii2rgmii: Dont use priv field in phy device

2019-09-04 Thread Andrew Lunn
On Wed, Sep 04, 2019 at 07:30:21PM +0530, Harini Katakam wrote: > Use set/get drv data in phydev's mdio device instead. Phy device priv > field maybe used by the external phy driver and should not be > overwritten. > > Signed-off-by: Harini Katakam Reviewed-by: Andrew Lunn Andrew

[PATCH 2/2] mmc: sdhci: Quirk for AMD SDHC Device 0x7906

2019-09-04 Thread Raul E Rangel
AMD SDHC 0x7906 requires a hard reset to clear all internal state. Otherwise it can get into a bad state where the DATA lines are always read as zeros. This change requires firmware that can transition the device into D3Cold for it to work correctly. If the firmware does not support transitioning

Re: [PATCH v2 1/2] include: mdio: Add driver data helpers

2019-09-04 Thread Andrew Lunn
On Wed, Sep 04, 2019 at 07:30:20PM +0530, Harini Katakam wrote: > Add set/get drv_data helpers for mdio device. > > Signed-off-by: Harini Katakam Reviewed-by: Andrew Lunn Andrew

[PATCH 1/2] mmc: sdhci: Check card status after reset

2019-09-04 Thread Raul E Rangel
In sdhci_do_reset we call the reset callback which is typically sdhci_reset. sdhci_reset can wait for up to 100ms waiting for the controller to reset. If SDHCI_RESET_ALL was passed as the flag, the controller will clear the IRQ mask. If during that 100ms the card is removed there is no

RE: [PATCH v4 12/12] Drivers: hv: vmbus: Resume after fixing up old primary channels

2019-09-04 Thread Michael Kelley
From: Dexuan Cui Sent: Monday, September 2, 2019 5:23 PM > > When the host re-offers the primary channels upon resume, the host only > guarantees the Instance GUID doesn't change, so vmbus_bus_suspend() > should invalidate channel->offermsg.child_relid and figure out the > number of primary

RE: [PATCH v4 11/12] Drivers: hv: vmbus: Suspend after cleaning up hv_sock and sub channels

2019-09-04 Thread Michael Kelley
From: Dexuan Cui Sent: Monday, September 2, 2019 5:23 PM > > Before suspend, Linux must make sure all the hv_sock channels have been > properly cleaned up, because a hv_sock connection can not persist across > hibernation, and the user-space app must be properly notified of the > state change of

RE: [PATCH v4 08/12] Drivers: hv: vmbus: Ignore the offers when resuming from hibernation

2019-09-04 Thread Michael Kelley
From: Dexuan Cui Sent: Monday, September 2, 2019 5:23 PM > > When the VM resumes, the host re-sends the offers. We should not add the > offers to the global vmbus_connection.chn_list again. > > This patch assumes the RELIDs of the channels don't change across > hibernation. Actually this is not

Re: [PATCH v2 1/2] KVM: VMX: Disable posted interrupts for odd IRQs

2019-09-04 Thread Sean Christopherson
On Wed, Sep 04, 2019 at 05:58:08PM +0200, Alexander Graf wrote: > > On 04.09.19 17:51, Sean Christopherson wrote: > >On Wed, Sep 04, 2019 at 05:36:39PM +0200, Alexander Graf wrote: > >> > >>- if (!kvm_intr_is_single_vcpu(kvm, , )) { > >>+ if (!kvm_intr_is_single_vcpu(kvm, , ) || > >>+

RE: [PATCH v4 02/12] x86/hyper-v: Implement hv_is_hibernation_supported()

2019-09-04 Thread Michael Kelley
From: Dexuan Cui Sent: Monday, September 2, 2019 5:23 PM > > The API will be used by the hv_balloon and hv_vmbus drivers. > > Balloon up/down and hot-add of memory must not be active if the user > wants the Linux VM to support hibernation, because they are incompatible > with hibernation

Re: [PATCH AUTOSEL 4.19 111/167] signal/arc: Use force_sig_fault where appropriate

2019-09-04 Thread Eric W. Biederman
Sasha Levin writes: > On Tue, Sep 03, 2019 at 11:49:16AM -0500, Eric W. Biederman wrote: >>Sasha Levin writes: >> >>> From: "Eric W. Biederman" >>> >>> [ Upstream commit 15773ae938d8d93d982461990bebad6e1d7a1830 ] >> >>To the best of my knowledge this is just a clean up, no changes in

[PATCH ARM64] selftests, arm64: add kernel headers path for tags_test

2019-09-04 Thread Andrey Konovalov
tags_test.c relies on PR_SET_TAGGED_ADDR_CTRL/PR_TAGGED_ADDR_ENABLE being present in system headers. When this is not the case the build of this test fails with undeclared identifier errors. Fix by providing the path to the KSFT installed kernel headers in CFLAGS. Reported-by: Cristian Marussi

KASAN: slab-out-of-bounds Write in hid_report_raw_event

2019-09-04 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:eea39f24 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasan.git usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=152148a260 kernel config:

Re: [PATCH] nvme-core: Fix subsystem instance mismatches

2019-09-04 Thread Keith Busch
On Wed, Sep 04, 2019 at 10:07:12AM -0600, Logan Gunthorpe wrote: > Yes, I agree, we can't solve the mismatch problem in the general case: > with sequences of hot plug events there will always be a case that > mismatches. I just think we can do better in the simple common default case. This may be

Re: [PATCH -next] phy: lantiq: vrx200-pcie: fix error return code in ltq_vrx200_pcie_phy_power_on()

2019-09-04 Thread Martin Blumenstingl
On Wed, Sep 4, 2019 at 1:23 PM Wei Yongjun wrote: > > Fix to return a negative error code from the error handling > case instead of 0, as done elsewhere in this function. > > Fixes: e52a632195bf ("phy: lantiq: vrx200-pcie: add a driver for the Lantiq > VRX200 PCIe PHY") > Signed-off-by: Wei

Re: [PATCH v6 1/2] rpmsg: core: add API to get message length

2019-09-04 Thread Suman Anna
Hi Arnaud, On 9/4/19 8:09 AM, Arnaud Pouliquen wrote: > Return the rpmsg buffer size for sending message, so rpmsg users > can split a long message in several sub rpmsg buffers. Couple more minor comments.. > > Signed-off-by: Arnaud Pouliquen > --- > drivers/rpmsg/rpmsg_core.c | 21

Re: [PATCH 1/3] task: Add a count of task rcu users

2019-09-04 Thread Frederic Weisbecker
On Wed, Sep 04, 2019 at 05:32:46PM +0200, Oleg Nesterov wrote: > On 09/04, Frederic Weisbecker wrote: > > > > So what happens if, say: > > > > > >CPU 1 CPU 2 > >-- > >rcu_read_lock() > >p =

[PATCH] lib: logic_pio: Enforce LOGIC_PIO_INDIRECT region ops are set at registration

2019-09-04 Thread John Garry
Since the only LOGIC_PIO_INDIRECT host (hisi-lpc) now sets the accessors ops prior to registration, enforce the check for these ops at registration instead of in the IO port accessors, to simplify and marginally optimise the code. A slight misalignment is also tidied. Also add myself as an

Re: [PATCH 3/4] gpio: Add in ast2600 details to Aspeed driver

2019-09-04 Thread Andy Shevchenko
On Wed, Sep 4, 2019 at 9:14 AM Rashmica Gupta wrote: > > The ast2600 has two gpio controllers, one for 3.6V GPIOS and one for 1.8V > GPIOS. > > Signed-off-by: Rashmica Gupta > - for (i = 0; i < ARRAY_SIZE(aspeed_gpio_banks); i++) { > + banks = (gpio->config->nr_gpios >> 5) + 1;

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

2019-09-04 Thread Uwe Kleine-König
On 9/4/19 6:19 PM, Andy Shevchenko wrote: > On Sat, Aug 31, 2019 at 12:48 AM Rasmus Villemoes > wrote: >> >> It has been suggested several times to extend vsnprintf() to be able >> to convert the numeric value of ENOSPC to print "ENOSPC". This is yet >> another attempt. Rather than adding another

Re: [PATCH v2] mm: emit tracepoint when RSS changes by threshold

2019-09-04 Thread Joel Fernandes
On Wed, Sep 4, 2019 at 11:38 AM Michal Hocko wrote: > > On Wed 04-09-19 11:32:58, Joel Fernandes wrote: > > On Wed, Sep 04, 2019 at 10:45:08AM +0200, Michal Hocko wrote: > > > On Tue 03-09-19 16:09:05, Joel Fernandes (Google) wrote: > > > > Useful to track how RSS is changing per TGID to detect

Re: [PATCH 1/4] gpio/aspeed: Fix incorrect number of banks

2019-09-04 Thread Andy Shevchenko
On Wed, Sep 4, 2019 at 9:14 AM Rashmica Gupta wrote: > > Fixes: 361b79119a4b7 ('gpio: Add Aspeed driver') > > Signed-off-by: Rashmica Gupta > /* Allocate a cache of the output registers */ > - banks = gpio->config->nr_gpios >> 5; > + banks = (gpio->config->nr_gpios >> 5) +

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

2019-09-04 Thread Joe Lawrence
On 9/4/19 4:49 AM, Petr Mladek wrote: On Tue 2019-09-03 15:02:34, Miroslav Benes wrote: On Mon, 2 Sep 2019, Joe Lawrence wrote: On 9/2/19 12:13 PM, Miroslav Benes wrote: I can easily foresee more problems like those in the future. Going forward we have to always keep track of which special

[PATCH] Documentation/process: Add Google contact for embargoed hardware issues

2019-09-04 Thread Kees Cook
This adds myself as the Google contact for embargoed hardware security issues and fixes some small typos. Cc: Guenter Roeck Cc: Matt Linton Cc: Matthew Garrett Signed-off-by: Kees Cook --- Documentation/process/embargoed-hardware-issues.rst | 8 1 file changed, 4 insertions(+), 4

[PATCH AUTOSEL 5.2 02/94] ieee802154: hwsim: unregister hw while hwsim_subscribe_all_others fails

2019-09-04 Thread Sasha Levin
From: YueHaibing [ Upstream commit de166bbe861738c8bc3e5dad5b03f45d7d6ef914 ] KASAN report this: kernel BUG at net/mac802154/main.c:130! invalid opcode: [#1] PREEMPT SMP CPU: 0 PID: 19932 Comm: modprobe Not tainted 5.1.0-rc6+ #22 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS

[PATCH AUTOSEL 5.2 11/94] ARM: OMAP2+: Fix omap4 errata warning on other SoCs

2019-09-04 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit 45da5e09dd32fa98c32eaafe2513db6bd75e2f4f ] We have errata i688 workaround produce warnings on SoCs other than omap4 and omap5: omap4_sram_init:Unable to allocate sram needed to handle errata I688 omap4_sram_init:Unable to get sram pool needed to handle

[PATCH AUTOSEL 5.2 04/94] ARM: OMAP2+: Fix missing SYSC_HAS_RESET_STATUS for dra7 epwmss

2019-09-04 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit afd58b162e48076e3fe66d08a69eefbd6fe71643 ] TRM says PWMSS_SYSCONFIG bit for SOFTRESET changes to zero when reset is completed. Let's configure it as otherwise we get warnings on boot when we check the data against dts provided data. Eventually the legacy

[PATCH AUTOSEL 5.2 08/94] ARM: dts: Fix incorrect dcan register mapping for am3, am4 and dra7

2019-09-04 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit 89bbc6f1eb90809b1538b3a9c54030c558180e3b ] We are currently using a wrong register for dcan revision. Although this is currently only used for detecting the dcan module, let's fix it to avoid confusion. Tested-by: Keerthy Signed-off-by: Tony Lindgren

[PATCH AUTOSEL 5.2 13/94] ARM: dts: dra74x: Fix iodelay configuration for mmc3

2019-09-04 Thread Sasha Levin
From: Faiz Abbas [ Upstream commit 07f9a8be66a9bd86f9eaedf8f8aeb416195adab8 ] According to the latest am572x[1] and dra74x[2] data manuals, mmc3 default, hs, sdr12 and sdr25 modes use iodelay values given in MMC3_MANUAL1. Set the MODE_SELECT bit for these so that manual mode is selected and

[PATCH AUTOSEL 5.2 19/94] selftests/bpf: fix "bind{4, 6} deny specific IP & port" on s390

2019-09-04 Thread Sasha Levin
From: Ilya Leoshkevich [ Upstream commit 27df5c7068bf23cab282dc64b1c9894429b3b8a0 ] "bind4 allow specific IP & port" and "bind6 deny specific IP & port" fail on s390 because of endianness issue: the 4 IP address bytes are loaded as a word and compared with a constant, but the value of this

[PATCH AUTOSEL 5.2 20/94] tools: bpftool: close prog FD before exit on showing a single program

2019-09-04 Thread Sasha Levin
From: Quentin Monnet [ Upstream commit d34b044038bfb0e19caa8b019910efc465f41d5f ] When showing metadata about a single program by invoking "bpftool prog show PROG", the file descriptor referring to the program is not closed before returning from the function. Let's close it. Fixes:

[PATCH AUTOSEL 5.2 16/94] ARM: dts: Fix incomplete dts data for am3 and am4 mmc

2019-09-04 Thread Sasha Levin
From: Tony Lindgren [ Upstream commit 5b63fb90adb95a178ad403e1703f59bf1ff2c16b ] Commit 4e27f752ab8c ("ARM: OMAP2+: Drop mmc platform data for am330x and am43xx") dropped legacy mmc platform data for am3 and am4, but missed the fact that we never updated the dts files for mmc3 that is directly

[PATCH AUTOSEL 5.2 12/94] ARM: dts: am335x: Fix UARTs length

2019-09-04 Thread Sasha Levin
From: Emmanuel Vadot [ Upstream commit 8613e2ca4fff764f23785eadfa54a08631ee682a ] As seen on the AM335x TRM all the UARTs controller only are 0x1000 in size. Fix this in the DTS. Signed-off-by: Emmanuel Vadot Signed-off-by: Tony Lindgren Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.2 15/94] bus: ti-sysc: Simplify cleanup upon failures in sysc_probe()

2019-09-04 Thread Sasha Levin
From: Suman Anna [ Upstream commit a304f483b6b00d42bde41c45ca52c670945348e2 ] The clocks are not yet parsed and prepared until after a successful sysc_get_clocks(), so there is no need to unprepare the clocks upon any failure of any of the prior functions in sysc_probe(). The current code path

[PATCH AUTOSEL 5.2 24/94] netfilter: xt_nfacct: Fix alignment mismatch in xt_nfacct_match_info

2019-09-04 Thread Sasha Levin
From: Juliana Rodrigueiro [ Upstream commit 89a26cd4b501e9511d3cd3d22327fc76a75a38b3 ] When running a 64-bit kernel with a 32-bit iptables binary, the size of the xt_nfacct_match_info struct diverges. kernel: sizeof(struct xt_nfacct_match_info) : 40 iptables: sizeof(struct

[PATCH AUTOSEL 5.2 26/94] NFSv4: Fix return value in nfs_finish_open()

2019-09-04 Thread Sasha Levin
From: Trond Myklebust [ Upstream commit 9821421a291b548ef4369c6998745baa36ddecd5 ] If the file turns out to be of the wrong type after opening, we want to revalidate the path and retry, so return EOPENSTALE rather than ESTALE. Signed-off-by: Trond Myklebust Signed-off-by: Sasha Levin ---

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

2019-09-04 Thread Andy Shevchenko
On Sat, Aug 31, 2019 at 12:48 AM Rasmus Villemoes wrote: > > It has been suggested several times to extend vsnprintf() to be able > to convert the numeric value of ENOSPC to print "ENOSPC". This is yet > another attempt. Rather than adding another %p extension, simply teach > plain %p to convert

[PATCH AUTOSEL 5.2 25/94] NFSv4: Fix return values for nfs4_file_open()

2019-09-04 Thread Sasha Levin
From: Trond Myklebust [ Upstream commit 90cf500e338ab3f3c0f126ba37e36fb6a9058441 ] Currently, we are translating RPC level errors such as timeouts, as well as interrupts etc into EOPENSTALE, which forces a single replay of the open attempt. What we actually want to do is force the replay only

[PATCH AUTOSEL 5.2 30/94] xdp: unpin xdp umem pages in error path

2019-09-04 Thread Sasha Levin
From: Ivan Khoronzhuk [ Upstream commit fb89c39455e4b49881c5a42761bd71f03d3ef888 ] Fix mem leak caused by missed unpin routine for umem pages. Fixes: 8aef7340ae9695 ("xsk: introduce xdp_umem_page") Signed-off-by: Ivan Khoronzhuk Acked-by: Jonathan Lemon Signed-off-by: Daniel Borkmann

[PATCH AUTOSEL 5.2 21/94] fpga: altera-ps-spi: Fix getting of optional confd gpio

2019-09-04 Thread Sasha Levin
From: Phil Reid [ Upstream commit dec43da46f63eb71f519d963ba6832838e4262a3 ] Currently the driver does not handle EPROBE_DEFER for the confd gpio. Use devm_gpiod_get_optional() instead of devm_gpiod_get() and return error codes from altera_ps_probe(). Fixes: 5692fae0742d ("fpga manager: Add

[PATCH AUTOSEL 5.2 28/94] NFS: On fatal writeback errors, we need to call nfs_inode_remove_request()

2019-09-04 Thread Sasha Levin
From: Trond Myklebust [ Upstream commit 06c9fdf3b9f1acc6e53753c99c54c39764cc979f ] If the writeback error is fatal, we need to remove the tracking structures (i.e. the nfs_page) from the inode. Fixes: 6fbda89b257f ("NFS: Replace custom error reporting mechanism...") Signed-off-by: Trond

[PATCH AUTOSEL 5.2 33/94] selftests/bpf: install files test_xdp_vlan.sh

2019-09-04 Thread Sasha Levin
From: Anders Roxell [ Upstream commit 3035bb72ee47d494c041465b4add9c6407c832ed ] When ./test_xdp_vlan_mode_generic.sh runs it complains that it can't find file test_xdp_vlan.sh. # selftests: bpf: test_xdp_vlan_mode_generic.sh # ./test_xdp_vlan_mode_generic.sh: line 9: ./test_xdp_vlan.sh: No

[PATCH AUTOSEL 5.2 29/94] Kconfig: Fix the reference to the IDT77105 Phy driver in the description of ATM_NICSTAR_USE_IDT77105

2019-09-04 Thread Sasha Levin
From: Christophe JAILLET [ Upstream commit cd9d4ff9b78fcd0fc4708900ba3e52e71e1a7690 ] This should be IDT77105, not IDT77015. Signed-off-by: Christophe JAILLET Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/atm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1

<    4   5   6   7   8   9   10   11   12   13   >