RE: [PATCH] ACPICA: Clear status of all events when entering sleep states

2018-08-13 Thread Schmauss, Erik
> -Original Message- > From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi- > ow...@vger.kernel.org] On Behalf Of Rafael J. Wysocki > Sent: Sunday, August 12, 2018 3:50 AM > To: Linux ACPI > Cc: Paul Menzel ; Linux PM p...@vger.kernel.org>; LKML ; Schmauss, Erik > > Subject:

[PATCH v1] thermal: core: Fix use-after-free in thermal_cooling_device_destroy_sysfs

2018-08-13 Thread Dmitry Osipenko
This patch fixes use-after-free that was detected by KASAN. The bug is triggered on a CPUFreq driver module unload by freeing 'cdev' on device unregister and then using the freed structure during of the cdev's sysfs data destruction. The solution is to unregister the sysfs at first, then destroy

Re: [PATCH] drivers/thermal/tegra: fix a doule free devce node

2018-08-13 Thread Jon Hunter
Adding linux-tegra ... On 13/08/18 19:30, Jon Hunter wrote: > > On 09/08/18 14:40, zhong jiang wrote: >> Device node iterators will get the return node. Meawhile, It is >> also put the previous device node. An explicit put will cause >> a double put. >> >> Signed-off-by: zhong jiang >> --- >>

Re: [PATCH] x86/PCI: Claim the resources of firmware enabled IOAPIC before children bus

2018-08-13 Thread Bjorn Helgaas
On Sun, Aug 12, 2018 at 08:15:45AM +0800, joeyli wrote: > On Fri, Aug 10, 2018 at 08:58:37AM -0500, Bjorn Helgaas wrote: > > On Fri, Aug 10, 2018 at 05:25:01PM +0800, joeyli wrote: > > > On Wed, Aug 08, 2018 at 04:23:22PM -0500, Bjorn Helgaas wrote: > > > ... > [...snip] > > > hm... I have another

[PATCH 0/3] tools/lib/lockdep: fixes for v4.19

2018-08-13 Thread Sasha Levin
Hi Ingo, Please pull the following minor fixes for liblockdep. Also available at: git://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux.git liblockdep-fixes Sasha Levin (3): tools/lib/lockdep: update Sasha Levin email to MSFT tools/lib/lockdep: add empty nmi.h

[GIT PULL] IDA changes for 4.19

2018-08-13 Thread Matthew Wilcox
Hi Linus, Please pull the IDA patchset. It depends on the XArray patchset, so ignore this pull request if you've decided not to pull the XArray patches. The new IDA API is similar to ida_simple_get() but better named. The internal restructuring of the IDA code removes the bitmap preallocation

[PATCH] Staging: rtlwifi: efuse: fixed a line length coding style issue

2018-08-13 Thread Tom Todd
Fixed a code style issue. Line length over 80 characters. Signed-off-by: Tom Todd --- drivers/staging/rtlwifi/efuse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtlwifi/efuse.c b/drivers/staging/rtlwifi/efuse.c index 1dc71455f270..49ec9728fb04 100644

Re: [PATCH] ARM: require GCC for FRAME_POINTER

2018-08-13 Thread Arnd Bergmann
On Sat, Aug 11, 2018 at 11:52 AM Stefan Agner wrote: > > diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug > index 693f84392f1b..cb65cf67dfa2 100644 > --- a/arch/arm/Kconfig.debug > +++ b/arch/arm/Kconfig.debug > @@ -54,7 +54,7 @@ config DEBUG_WX > # n, but then RMK will have to kill

Re: [PATCH] perf tools: arm-spe: Fix uninitialized record error variable

2018-08-13 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 10, 2018 at 05:45:12PM -0500, Kim Phillips escreveu: > The auxtrace init variable 'err' was not being initialized, leading > perf to abort early in an SPE record command when there was no explicit > error, rather only based whatever memory contents were on the stack. > Initialize it

Re: [PATCH v2 2/4] dt-bindings: soc: amlogic: add meson-canvas documentation

2018-08-13 Thread Rob Herring
On Wed, Aug 08, 2018 at 12:00:09AM +0200, Maxime Jourdan wrote: > DT bindings doc for amlogic,meson-canvas > > Signed-off-by: Maxime Jourdan > --- > .../soc/amlogic/amlogic,meson-canvas.txt | 36 +++ > 1 file changed, 36 insertions(+) > create mode 100644 >

[PATCH v6 5/5] drm/nouveau: Fix deadlocks in nouveau_connector_detect()

2018-08-13 Thread Lyude Paul
When we disable hotplugging on the GPU, we need to be able to synchronize with each connector's hotplug interrupt handler before the interrupt is finally disabled. This can be a problem however, since nouveau_connector_detect() currently grabs a runtime power reference when handling connector

Re: [PATCH RESEND RFC 2/4] drivers: pinctrl: qcom: add wakeup gpio map for sdm845

2018-08-13 Thread Lina Iyer
On Wed, Aug 01 2018 at 14:04 -0600, Lina Iyer wrote: On Wed, Aug 01 2018 at 02:42 -0600, Marc Zyngier wrote: On Wed, 01 Aug 2018 03:00:19 +0100, Lina Iyer wrote: Add GPIO to PDC pin map for the SDM845 SoC. Signed-off-by: Lina Iyer --- drivers/pinctrl/qcom/pinctrl-sdm845.c | 76

Re: [PATCH 2/5] vmbus: add driver_override support

2018-08-13 Thread Stephen Hemminger
On Mon, 13 Aug 2018 19:30:50 + "Michael Kelley (EOSG)" wrote: > From: k...@linuxonhyperv.com Sent: Friday, August > 10, 2018 4:06 PM > > > From: Stephen Hemminger > > > > Add support for overriding the default driver for a VMBus device > > in the same way that it can be done for PCI

[GIT PULL] hardened-usercopy updates for v4.19-rc1

2018-08-13 Thread Kees Cook
Hi Linus, Please pull these hardened-usercopy changes for v4.19-rc1. This cleans up a minor Kconfig issue and adds a kernel boot option for disabling hardened usercopy for distro users that may have corner-case performance issues (e.g. high bandwidth small-packet UDP traffic). Thanks! -Kees

[PATCH v3] spi: orion: cosmetics - alias long direct_access variables

2018-08-13 Thread Kosta Zertsekel
This change increases the source code readability. Instead of using `spi->child[cs].direct_access.XXX` use `dir_acc->XXX`. Instead of using `orion_spi->child[cs].direct_access.vaddr` use `vaddr`. Signed-off-by: Kosta Zertsekel Reviewed-by: Andrew Lunn --- drivers/spi/spi-orion.c | 22

Re: [PATCH 1/2] kconfig: remove unused sym_get_env_prop() function

2018-08-13 Thread Sam Ravnborg
On Tue, Aug 14, 2018 at 01:48:38AM +0900, Masahiro Yamada wrote: > This function is unused since commit 104daea149c4 ("kconfig: reference > environment variables directly and remove 'option env='"). > > Signed-off-by: Masahiro Yamada Both patches are obviously correct. Feel free to add:

[PATCH] spi:fix IDR collision on systems with both fixed and dynamic SPI bus numbers

2018-08-13 Thread Kirill Kapranov
On systems where some controllers get a dynamic ID assigned and some have a fixed number (e.g. from ACPI tables), the current implementation might run into an IDR collision: in case of a fixed bus number is gotten by a driver (but not marked busy in IDR tree) and a driver with dynamic bus number

Re: [PATCH v2 18/18] dt-bindings: serial: lantiq: Add optional properties for CCF

2018-08-13 Thread Rob Herring
On Fri, Aug 03, 2018 at 11:02:37AM +0800, Songjun Wu wrote: > Clocks and clock-names are updated in device tree binding. > > Signed-off-by: Songjun Wu > --- > > Changes in v2: None > > Documentation/devicetree/bindings/serial/lantiq_asc.txt | 15 +++ > 1 file changed, 15

Re: [PATCH] perf tools: arm-spe: Fix uninitialized record error variable

2018-08-13 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 13, 2018 at 03:55:11PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Aug 10, 2018 at 05:45:12PM -0500, Kim Phillips escreveu: > > The auxtrace init variable 'err' was not being initialized, leading > > perf to abort early in an SPE record command when there was no explicit > >

Re: [PATCH] perf tools: Fix check-headers.sh AND list path of execution

2018-08-13 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 13, 2018 at 02:19:10PM +0300, Alexander Kapshuk escreveu: > On Mon, Aug 13, 2018 at 2:16 PM Jiri Olsa wrote: > > > > On Sat, Aug 11, 2018 at 11:39:15AM +0300, Alexander Kapshuk wrote: > > > The '||' path of execution in the 'test' block of the check_2() function > > > may also be

[GIT PULL] pstore update for v4.19-rc1

2018-08-13 Thread Kees Cook
Hi Linus, Please pull this pstore change for v4.19-rc1. This cycle has been very quiet for pstore: the only change is adding awareness of the zstd compression method. Thanks! -Kees The following changes since commit 7daf201d7fe8334e2d2364d4e8ed3394ec9af819: Linux 4.18-rc2 (2018-06-24

Re: [PATCH RFC 1/3] cgroup: list all subsystem states in debugfs files

2018-08-13 Thread Johannes Weiner
On Mon, Aug 13, 2018 at 06:48:42AM -0700, Tejun Heo wrote: > Hello, Konstantin. > > On Mon, Aug 13, 2018 at 09:58:05AM +0300, Konstantin Khlebnikov wrote: > > After removing cgroup subsystem state could leak or live in background > > forever because it is pinned by some reference. For example

Re: [PATCH] drivers/thermal/tegra: fix a doule free devce node

2018-08-13 Thread Jon Hunter
On 09/08/18 14:40, zhong jiang wrote: > Device node iterators will get the return node. Meawhile, It is > also put the previous device node. An explicit put will cause > a double put. > > Signed-off-by: zhong jiang > --- > drivers/thermal/tegra/soctherm.c | 1 - > 1 file changed, 1

[GIT PULL] MD update for 4.19-rc1

2018-08-13 Thread Shaohua Li
Hi, A few MD fixes for 4.19-rc1: - Several md-cluster fixes from Guoqing - A data corruption fix from BingJing - Other cleanups Please pull! Thanks, Shaohua The following changes since commit 06c85639897cf3ea6a11c5cb6929fb0d9d7efea5: Merge tag 'acpi-4.18-rc4' of

RE: [PATCH 2/5] vmbus: add driver_override support

2018-08-13 Thread Michael Kelley (EOSG)
From: k...@linuxonhyperv.com Sent: Friday, August 10, 2018 4:06 PM > From: Stephen Hemminger > > Add support for overriding the default driver for a VMBus device > in the same way that it can be done for PCI devices. This patch > adds the /sys/bus/vmbus/devices/.../driver_override file > and

Re: [PATCH] gcc-plugins: require GCC

2018-08-13 Thread Kees Cook
On Mon, Aug 13, 2018 at 12:38 AM, Masahiro Yamada wrote: > 2018-08-11 18:48 GMT+09:00 Stefan Agner : >> Unsurprisingly GCC plugins require GCC as a compiler. This avoids >> GCC plugins being selectable when using clang. >> >> Signed-off-by: Stefan Agner >> --- >> arch/Kconfig | 2 +- >> 1 file

Re: [PATCH] uapi: fix sound/skl-tplg-interface.h userspace compilation errors

2018-08-13 Thread Guenter Roeck
On Mon, Aug 13, 2018 at 8:50 AM Dmitry V. Levin wrote: > > Include and consistently use types it provides > to fix the following sound/skl-tplg-interface.h userspace compilation errors: > > /usr/include/sound/skl-tplg-interface.h:146:2: error: unknown type name 'u32' > u32 set_params:2; >

[PATCH v3] spi: orion: cosmetics - alias long direct_access variables

2018-08-13 Thread Kosta Zertsekel
This change increases the source code readability. Instead of using `spi->child[cs].direct_access.XXX` use `dir_acc->XXX`. Instead of using `orion_spi->child[cs].direct_access.vaddr` use `vaddr`. Signed-off-by: Kosta Zertsekel --- drivers/spi/spi-orion.c | 22 +++--- 1 file

Re: [PATCH] gcc-plugins: require GCC

2018-08-13 Thread Stefan Agner
On 13.08.2018 22:18, Kees Cook wrote: > On Mon, Aug 13, 2018 at 1:10 PM, Kees Cook wrote: >> On Mon, Aug 13, 2018 at 12:38 AM, Masahiro Yamada >> wrote: >>> 2018-08-11 18:48 GMT+09:00 Stefan Agner : Unsurprisingly GCC plugins require GCC as a compiler. This avoids GCC plugins being

[GIT PULL] parisc architecture updates for kernel v4.19

2018-08-13 Thread Helge Deller
Hi Linus, please pull fixes and updates for the parisc architecture for kernel 4.19 from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.19-1 Changes include: - parisc now uses the generic dma_noncoherent_ops implementation, by Christoph Hellwig. - further

Re: [PATCH] reiserfs: fix broken xattr handling (heap corruption, bad retval)

2018-08-13 Thread Will Deacon
Hi Jann, On Fri, Aug 10, 2018 at 05:19:38AM +0200, Jann Horn wrote: > On Thu, Aug 2, 2018 at 5:16 PM Jann Horn wrote: > > > > This fixes the following issues: > > > > - When a buffer size is supplied to reiserfs_listxattr() such that each > >individual name fits, but the concatenation of

Re: [PATCH] reiserfs: fix broken xattr handling (heap corruption, bad retval)

2018-08-13 Thread Jann Horn
On Mon, Aug 13, 2018 at 7:42 PM Will Deacon wrote: > > Hi Jann, > > On Fri, Aug 10, 2018 at 05:19:38AM +0200, Jann Horn wrote: > > On Thu, Aug 2, 2018 at 5:16 PM Jann Horn wrote: > > > > > > This fixes the following issues: > > > > > > - When a buffer size is supplied to reiserfs_listxattr()

Re: [RFC PATCH] ASoC: core: Optimise suspend/resume of DAPM widgets

2018-08-13 Thread Jon Hunter
On 03/08/18 17:36, Mark Brown wrote: > On Fri, Aug 03, 2018 at 01:57:05PM +0100, Jon Hunter wrote: > >> For soundcards that have several DAI links and many DAPM widgets the >> time taken for snd_soc_suspend to execute has been observed to be >> several milliseconds. The time is largely spent

Re: [PATCH v2] perf tools: Check for null when copying nsinfo.

2018-08-13 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 10, 2018 at 03:36:13PM +0200, Benno Evers escreveu: > The argument to nsinfo__copy() was assumed to be valid, but some code paths > exist that will lead to NULL being passed. > > In particular, running 'perf script -D' on a perf.data file containing an > PERF_RECORD_MMAP event

Re: [PATCH] ide: mark expected switch fall-throughs

2018-08-13 Thread David Miller
From: "Gustavo A. R. Silva" Date: Tue, 3 Jul 2018 14:23:05 -0500 > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Signed-off-by: Gustavo A. R. Silva Applied.

Re: [PATCH] ide: remove redundant variables queue_run_ms and left

2018-08-13 Thread David Miller
From: Colin King Date: Mon, 2 Jul 2018 10:47:05 +0100 > From: Colin Ian King > > Variable queue_run_ms is not being used and is redundant and hence can > be removed. Removing this also means that variable left can also be > removed. > > Cleans up clang warning: > warning: variable

Re: [PATCH] remoteproc/davinci: Mark error recovery as disabled

2018-08-13 Thread Bjorn Andersson
On Mon 13 Aug 08:11 PDT 2018, Suman Anna wrote: > Hi Bjorn, > > On 07/23/2018 06:27 PM, Suman Anna wrote: > > The Davinci remoteproc driver does not support error recovery at > > present, so mark the corresponding remoteproc flag appropriately > > so that the debugfs flag shows the value as

Re: [PATCH] ide-tape: remove redundant variable buffer_size

2018-08-13 Thread David Miller
From: Colin King Date: Mon, 2 Jul 2018 11:00:26 +0100 > From: Colin Ian King > > Variable buffer_size is being assigned but is never used hence it is > redundant and can be removed. > > Cleans up clang warning: > warning: variable 'buffer_size' set but not used [-Wunused-but-set-variable] >

[PATCH] arm64: mm: check for upper PAGE_SHIFT bits in pfn_valid()

2018-08-13 Thread Greg Hackmann
ARM64's pfn_valid() shifts away the upper PAGE_SHIFT bits of the input before seeing if the PFN is valid. This leads to false positives when some of the upper bits are set, but the lower bits match a valid PFN. For example, the following userspace code looks up a bogus entry in /proc/kpageflags:

Re: [PATCH v2 1/3] dt-bindings: interrupt-controller: Actions external interrupt controller

2018-08-13 Thread Rob Herring
On Sun, Aug 12, 2018 at 02:22:13PM +0200, Parthiban Nallathambi wrote: > Actions Semi OWL family SoC's provides support for external interrupt > controller to be connected and controlled using SIRQ pins. S500, S700 > and S900 provides 3 SIRQ lines and works independently for 3 external > interrupt

[PATCH v5 2/2] tpm: add support for nonblocking operation

2018-08-13 Thread Tadeusz Struk
Currently the TPM driver only supports blocking calls, which doesn't allow asynchronous IO operations to the TPM hardware. This patch changes it and adds support for nonblocking write and a new poll function to enable applications, which want to take advantage of this. Tested-by: Philip Tricca

[PATCH v5 0/2] tpm: add support for nonblocking operation

2018-08-13 Thread Tadeusz Struk
The TCG SAPI specification [1] defines a set of functions, which allow applications to use the TPM device in either blocking or non-blocking fashion. Each command defined by the specification has a corresponding Tss2_Sys__Prepare() and Tss2_Sys__Complete() call, which together with

[PATCH v5 1/2] tpm: add ptr to the tpm_space struct to file_priv

2018-08-13 Thread Tadeusz Struk
Add a ptr to struct tpm_space to the file_priv to have an easy access to it in the async job without the need to allocate memory. This also allows to consolidate of the write operations for the two interfaces. Tested-by: Philip Tricca Signed-off-by: Tadeusz Struk ---

Re: [PATCH v8 3/6] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-13 Thread Song Liu
On Mon, Aug 13, 2018 at 6:17 AM, Oleg Nesterov wrote: > On 08/13, Ravi Bangoria wrote: >> >> > But damn, process creation (exec) is trivial. We could add a new >> > uprobe_exec() >> > hook and avoid delayed_uprobe_install() in uprobe_mmap(). >> >> I'm sorry. I didn't get this. > > Sorry for

[PATCH v1] dd: Invoke one probe retry cycle after some initcall levels

2018-08-13 Thread Rishabh Bhatnagar
From: Rishabh Bhatnagar Drivers that are registered at an initcall level may have to wait until late_init before the probe deferral mechanism can retry their probe functions. It is possible that their dependencies were resolved much earlier, in some cases even before the next initcall level.

Re: [PATCH v3 0/7] perf: Add ioctl for PMU driver configuration

2018-08-13 Thread Kim Phillips
On Wed, 18 Jul 2018 15:48:00 -0600 Mathieu Poirier wrote: > This set adds the capability to communiate event specific configuration > to the PMU kernel driver using an ioctl(). The functionatlity is made > generic enough for anyone to use but is targeted at the identification > of CoreSight

Re: [RFC] perf/x86/intel: Export mem events only if there's PEBs support

2018-08-13 Thread Andi Kleen
On Mon, Aug 13, 2018 at 05:48:20PM +0200, Jiri Olsa wrote: > hi, > we had some reports that we show mem* events on KVM servers > where they are not available, this patch hides them if there's > no PEBs available > > currently on those servers we fail to open mem* events, > because we can't access

Re: [PATCH v2 1/2] dt-binding: i2c: npcm7xx: add binding for i2c controller

2018-08-13 Thread Rob Herring
On Tue, Aug 07, 2018 at 02:07:08PM +0300, Tali Perry wrote: > Nuvoton NPCM7XX I2C Controller > NPCM7xx includes 16 I2C contollers. THis driver operates the controller. > This module also includes a slave mode, which will be submitted later on. > > Any feedback would be appreciated. > > v2 ->

Re: [PATCH v2 1/8] dt-bindings: mmc: Add DQS trim value to Tegra SDHCI

2018-08-13 Thread Rob Herring
On Fri, Aug 10, 2018 at 09:13:58PM +0300, Aapo Vienamo wrote: > Document HS400 DQS trim value device tree property. > > Signed-off-by: Aapo Vienamo > --- > Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt | 4 > 1 file changed, 4 insertions(+) Reviewed-by: Rob Herring

Re: [PATCH] gcc-plugins: require GCC

2018-08-13 Thread Kees Cook
On Mon, Aug 13, 2018 at 1:10 PM, Kees Cook wrote: > On Mon, Aug 13, 2018 at 12:38 AM, Masahiro Yamada > wrote: >> 2018-08-11 18:48 GMT+09:00 Stefan Agner : >>> Unsurprisingly GCC plugins require GCC as a compiler. This avoids >>> GCC plugins being selectable when using clang. >>> >>>

Re: [PATCH RFC 1/3] cgroup: list all subsystem states in debugfs files

2018-08-13 Thread Roman Gushchin
On Mon, Aug 13, 2018 at 01:11:19PM -0400, Johannes Weiner wrote: > On Mon, Aug 13, 2018 at 06:48:42AM -0700, Tejun Heo wrote: > > Hello, Konstantin. > > > > On Mon, Aug 13, 2018 at 09:58:05AM +0300, Konstantin Khlebnikov wrote: > > > After removing cgroup subsystem state could leak or live in

Re: [PATCH v2] clk: qcom: Add some missing gcc clks for msm8996

2018-08-13 Thread Bjorn Andersson
On Fri 10 Aug 08:11 PDT 2018, Stephen Boyd wrote: > Quoting Bjorn Andersson (2018-08-09 15:01:19) > > From: Rajendra Nayak > > > > Add a few missing gcc clks for msm8996 > > > > Signed-off-by: Rajendra Nayak > > [bjorn: omit aggre0_noc_qosgen_extref_clk] > > Signed-off-by: Bjorn Andersson >

[PATCH 3/3] tools/lib/lockdep: add dummy task_struct state member

2018-08-13 Thread Sasha Levin
Commit 8cc05c71ba5f ("locking/lockdep: Move sanity check to inside lockdep_print_held_locks()") added accesses to the task_struct's state member. Add dummy userspace declaration. Signed-off-by: Sasha Levin --- tools/include/linux/lockdep.h | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 1/3] tools/lib/lockdep: update Sasha Levin email to MSFT

2018-08-13 Thread Sasha Levin
Signed-off-by: Sasha Levin --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 544cac829cf4..2e02bae7b7e0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8143,7 +8143,7 @@ F:include/linux/libata.h F:

[PATCH 2/3] tools/lib/lockdep: add empty nmi.h

2018-08-13 Thread Sasha Levin
Required since 88f1c87de11a8 ("locking/lockdep: Avoid triggering hardlockup from debug_show_all_locks()"). Signed-off-by: Sasha Levin --- tools/include/linux/nmi.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tools/include/linux/nmi.h diff --git

[GIT PULL] LED updates for 4.19-rc1

2018-08-13 Thread Jacek Anaszewski
Hi Linus, Please pull LED updates for 4.19-rc1. LED triggers improvements make the biggest part of this pull request. The most striking ones, that allowed for nice cleanups in the triggers are: - centralized handling of creation and removal of trigger sysfs attributes via

[GIT PULL] Devicetree updates for 4.19

2018-08-13 Thread Rob Herring
Linus, Please pull DT updates for 4.19. There's a few trivial context conflicts with the pinctrl, net-next and staging trees due to the interrupt-parent removal. Rob The following changes since commit 021c91791a5e7e85c567452f1be3e4c2c6cb6063: Linux 4.18-rc3 (2018-07-01 16:04:53 -0700) are

[PATCH] fat: Support timespec64 for 2107

2018-08-13 Thread OGAWA Hirofumi
On disk format of FAT is supporting until the end of 2107 year. So this uses timespec64 internally without any truncation (until 2107). Signed-off-by: OGAWA Hirofumi --- fs/fat/dir.c |2 +- fs/fat/fat.h |6 +++--- fs/fat/inode.c | 20 ++--

Re: [PATCH] reiserfs: fix broken xattr handling (heap corruption, bad retval)

2018-08-13 Thread Jeff Mahoney
On 8/13/18 2:04 PM, Jann Horn wrote: > On Mon, Aug 13, 2018 at 7:42 PM Will Deacon wrote: >> >> Hi Jann, >> >> On Fri, Aug 10, 2018 at 05:19:38AM +0200, Jann Horn wrote: >>> On Thu, Aug 2, 2018 at 5:16 PM Jann Horn wrote: This fixes the following issues: - When a buffer size

Re: [PATCH] reiserfs: fix broken xattr handling (heap corruption, bad retval)

2018-08-13 Thread Jeff Mahoney
On 8/2/18 11:15 AM, Jann Horn wrote: > This fixes the following issues: > > - When a buffer size is supplied to reiserfs_listxattr() such that each >individual name fits, but the concatenation of all names doesn't >fit, reiserfs_listxattr() overflows the supplied buffer. This leads to >

Re: [PATCH v2 03/40] dt-bindings: Add Tegra SDHCI pad pdpu offset bindings

2018-08-13 Thread Rob Herring
On Fri, Aug 10, 2018 at 09:08:05PM +0300, Aapo Vienamo wrote: > Add bindings documentation for pad pull up and pull down offset values to be > programmed before executing automatic pad drive strength calibration. > > Signed-off-by: Aapo Vienamo > --- > .../bindings/mmc/nvidia,tegra20-sdhci.txt

Re: [PATCH 2/5] vmbus: add driver_override support

2018-08-13 Thread gre...@linuxfoundation.org
On Mon, Aug 13, 2018 at 07:30:50PM +, Michael Kelley (EOSG) wrote: > From: k...@linuxonhyperv.com Sent: Friday, August > 10, 2018 4:06 PM > > > From: Stephen Hemminger > > > > Add support for overriding the default driver for a VMBus device > > in the same way that it can be done for PCI

PCI: Add function 1 DMA alias quirk for Marvell 88SS9183

2018-08-13 Thread Bjorn Helgaas
Hi, Thanks a lot for your new report (https://bugzilla.kernel.org/show_bug.cgi?id=42679#c134). Can you confirm that the patch below is equivalent to what you tested and it resolves the problem? If so, I'll try to include it for v4.19. commit dd4e0ad485e12c9c04eb7a21ba69c24f12cb1918 Author:

Re: [PATCH v3 1/3] dt-bindings: thermal: Add binding document for SR thermal

2018-08-13 Thread Rob Herring
On Thu, Aug 09, 2018 at 06:24:57PM +0530, Srinath Mannam wrote: > From: Pramod Kumar > > Add binding document for supported thermal implementation > in Stingray. > > Signed-off-by: Pramod Kumar > Signed-off-by: Srinath Mannam > Reviewed-by: Ray Jui > Reviewed-by: Scott Branden > --- >

Re: [PATCH v2 04/40] dt-bindings: mmc: Add Tegra SDHCI sampling trimmer values

2018-08-13 Thread Rob Herring
On Fri, Aug 10, 2018 at 09:08:06PM +0300, Aapo Vienamo wrote: > Document the Tegra SDHCI inbound and outbound sampling trimmer values. > > Signed-off-by: Aapo Vienamo > --- > .../devicetree/bindings/mmc/nvidia,tegra20-sdhci.txt | 11 > +++ > 1 file changed, 11 insertions(+)

[GIT PULL] ext4 updates for 4.19

2018-08-13 Thread Theodore Y. Ts'o
The following changes since commit 5012284700775a4e6e3fbe7eac4c543c4874b559: ext4: fix check to prevent initializing reserved inodes (2018-07-29 15:34:00 -0400) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus for

Re: [PATCH v2 1/2] dt-bindings: arm: amlogic: Add Meson G12A binding

2018-08-13 Thread Rob Herring
On Mon, Aug 13, 2018 at 07:48:19PM +0800, Jianxin Pan wrote: > Introduce new bindings for the Meson G12A SoC > > Signed-off-by: Jianxin Pan > --- > Documentation/devicetree/bindings/arm/amlogic.txt | 6 ++ > 1 file changed, 6 insertions(+) Reviewed-by: Rob Herring

Re: [PATCH] cpumask: provide a dummy cpumask_next_wrap

2018-08-13 Thread Caleb Raitto
On Mon, Aug 13, 2018 at 2:55 PM Arnd Bergmann wrote: > > The virtio_net driver has become the first one to call cpumask_next_wrap() > even if CONFIG_SMP is disabled, leading to a build error: > > drivers/net/virtio_net.c: In function 'virtnet_set_affinity': > drivers/net/virtio_net.c:1916:10:

[PATCH] bitfield: avoid gcc-8 -Wint-in-bool-context warning

2018-08-13 Thread Arnd Bergmann
Passing an enum into FIELD_GET() produces a long but harmless warning on newer compilers: from include/linux/linkage.h:7, from include/linux/kernel.h:7, from include/linux/skbuff.h:17, from include/linux/if_ether.h:23,

Re: [PATCH] mailbox: mediatek: add module license

2018-08-13 Thread Randy Dunlap
On 08/13/2018 02:44 PM, Arnd Bergmann wrote: > The missing license tag in the new driver causes a compile-time warning, > and may result in the module being unusable if it calls EXPORT_SYMBOL_GPL() > functions: > > WARNING: modpost: missing MODULE_LICENSE() in >

Re: [PATCH] mm: migration: fix migration of huge PMD shared pages

2018-08-13 Thread Mike Kravetz
On 08/13/2018 03:58 AM, Kirill A. Shutemov wrote: > On Sun, Aug 12, 2018 at 08:41:08PM -0700, Mike Kravetz wrote: >> The page migration code employs try_to_unmap() to try and unmap the >> source page. This is accomplished by using rmap_walk to find all >> vmas where the page is mapped. This

Re: [PATCH v8 3/6] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-13 Thread Steven Rostedt
On Fri, 10 Aug 2018 23:14:01 -0700 Song Liu wrote: > On Fri, Aug 10, 2018 at 12:58 PM, Steven Rostedt wrote: > > On Thu, 9 Aug 2018 16:38:28 +0200 > > Oleg Nesterov wrote: > > > >> I need to read this (hopefully final) version carefully. I'll try to do > >> this before next Monday. > >> >

Re: [PATCH] fsi: ast: select GENERIC_ALLOCATOR

2018-08-13 Thread Benjamin Herrenschmidt
On Tue, 2018-08-14 at 00:37 +0200, Arnd Bergmann wrote: > In randconfig builds without CONFIG_GENERIC_ALLOCATOR, this driver > fails to link: > > ERROR: "gen_pool_alloc_algo" [drivers/fsi/fsi-master-ast-cf.ko] undefined! > ERROR: "gen_pool_fixed_alloc" [drivers/fsi/fsi-master-ast-cf.ko]

[PATCH] fsi: ast: select GENERIC_ALLOCATOR

2018-08-13 Thread Arnd Bergmann
In randconfig builds without CONFIG_GENERIC_ALLOCATOR, this driver fails to link: ERROR: "gen_pool_alloc_algo" [drivers/fsi/fsi-master-ast-cf.ko] undefined! ERROR: "gen_pool_fixed_alloc" [drivers/fsi/fsi-master-ast-cf.ko] undefined! ERROR: "of_gen_pool_get" [drivers/fsi/fsi-master-ast-cf.ko]

Re: [PATCH] perf/x86: Add __ro_after_init annotations

2018-08-13 Thread Kees Cook
On Fri, Aug 10, 2018 at 8:43 AM, Zubin Mithra wrote: > x86_pmu_{format,events,attr,caps}_group is written to in > init_hw_perf_events and not modified after. This makes them suitable > candidates for annotating as __ro_after_init. > > Signed-off-by: Zubin Mithra Reviewed-by: Kees Cook -Kees

[PATCH v2] ASoC: wm9712: fix replace codec to component

2018-08-13 Thread Marcel Ziswiler
From: Marcel Ziswiler Since commit 143b44845d87 ("ASoC: wm9712: replace codec to component") "wm9712-codec" got renamed to "wm9712-component", however, this change never got propagated down to the actual board/platform drivers. E.g. on Colibri T20 this lead to the following spew upon boot with

Re: [PATCH] cpumask: provide a dummy cpumask_next_wrap

2018-08-13 Thread David Miller
From: Arnd Bergmann Date: Mon, 13 Aug 2018 23:55:16 +0200 > The virtio_net driver has become the first one to call cpumask_next_wrap() > even if CONFIG_SMP is disabled, leading to a build error: > > drivers/net/virtio_net.c: In function 'virtnet_set_affinity': >

[PATCH 2/9] platform: goldfish: pipe: Update license

2018-08-13 Thread rkir
From: Roman Kiryanov goldfish_pipe is distributed under GPL v2. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c

[PATCH 1/9] platform: goldfish: pipe: Fix comments to fit 80 columns

2018-08-13 Thread rkir
From: Roman Kiryanov Some comment lines are longer than 80 symbols. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c

[PATCH 3/9] platform: goldfish: pipe: Fix checkpatch warning

2018-08-13 Thread rkir
From: Roman Kiryanov Function's opening brace has to be at the beginning of the next line. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c

[PATCH 6/9] platform: goldfish: pipe: Fail compilation if structs are too large

2018-08-13 Thread rkir
From: Roman Kiryanov Since the driver provides no workaround prevent in cases if structs do no fit into a memory page, it is better to fail complation to find about the issue earlt instead of returning errors at runtime. Signed-off-by: Roman Kiryanov ---

[PATCH 8/9] platform: goldfish: pipe: Replace pr_ with dev_ for logging

2018-08-13 Thread rkir
From: Roman Kiryanov dev_ is preferred if struct device is available. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c

[PATCH 7/9] platform: goldfish: pipe: Replace an array of 1 with a variable

2018-08-13 Thread rkir
From: Roman Kiryanov There is no reason to have an array of 1. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 28 +++ 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c

Re: [PATCH v8 3/6] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-13 Thread Steven Rostedt
On Mon, 13 Aug 2018 20:01:41 -0400 Steven Rostedt wrote: > On Fri, 10 Aug 2018 23:14:01 -0700 > Song Liu wrote: > > > On Fri, Aug 10, 2018 at 12:58 PM, Steven Rostedt > > wrote: > > > On Thu, 9 Aug 2018 16:38:28 +0200 > > > Oleg Nesterov wrote: > > > > > >> I need to read this

Re: [RFC] vruntime updated incorrectly when rt_mutex boots prio?

2018-08-13 Thread Steve Muckle
On 08/07/2018 10:40 AM, 'Todd Kjos' via kernel-team wrote: This issue was discovered on a 4.9-based android device, but the relevant mainline code appears to be the same. The symptom is that over time the some workloads become sluggish resulting in missed frames or sluggishness. It appears to be

Re: [PATCH v8 1/6] Uprobes: Simplify uprobe_register() body

2018-08-13 Thread Steven Rostedt
On Mon, 13 Aug 2018 01:56:12 -0700 Srikar Dronamraju wrote: > * Ravi Bangoria [2018-08-09 09:48:51]: > > > Simplify uprobe_register() function body and let __uprobe_register() > > handle everything. Also move dependency functions around to fix build > > failures. > > > > One nit: > s/to

Re: [PATCH 1/9] platform: goldfish: pipe: Fix comments to fit 80 columns

2018-08-13 Thread Joe Perches
On Mon, 2018-08-13 at 16:38 -0700, r...@google.com wrote: > From: Roman Kiryanov > > Some comment lines are longer than 80 symbols. [] > diff --git a/drivers/platform/goldfish/goldfish_pipe.c > b/drivers/platform/goldfish/goldfish_pipe.c [] > @@ -84,7 +84,10 @@ enum PipePollFlags { >

[PATCH] arm/mach-at91/pm: Do not double put the device node

2018-08-13 Thread zhong jiang
Device node iterators put the previous value of the index variable, so an explicit put causes a double put. I detect the issue with the help of Coccinelle. Signed-off-by: zhong jiang --- arch/arm/mach-at91/pm.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

Re: [PATCH] kconfig: fix the rule of mainmenu_stmt symbol

2018-08-13 Thread Masahiro Yamada
2018-08-09 15:47 GMT+09:00 Masahiro Yamada : > The rule of mainmenu_stmt does not have debug print of zconf_lineno(), > but if it had, it would print a wrong line number for the same reason > as commit b2d00d7c61c8 ("kconfig: fix line numbers for if-entries in > menu tree"). > > The mainmenu_stmt

Re: [PATCH 1/2] kconfig: remove unused sym_get_env_prop() function

2018-08-13 Thread Masahiro Yamada
2018-08-14 2:20 GMT+09:00 Sam Ravnborg : > On Tue, Aug 14, 2018 at 01:48:38AM +0900, Masahiro Yamada wrote: >> This function is unused since commit 104daea149c4 ("kconfig: reference >> environment variables directly and remove 'option env='"). >> >> Signed-off-by: Masahiro Yamada > > Both patches

Re: linux-next: Signed-off-by missing for commit in the kbuild tree

2018-08-13 Thread Masahiro Yamada
Stephen, 2018-08-14 6:33 GMT+09:00 Stephen Rothwell : > Hi Masahiro, > > Commit > > bd714f5f14e0 ("Coccinelle: doubletest: reduce side effect false positives") > > is missing a Signed-off-by from its committer. Thanks for catching this. I will fix it. > -- > Cheers, > Stephen Rothwell

Re: [PATCH v1 2/3] dt-bindings: i3c: Document Qualcomm GENI I3C master bindings

2018-08-13 Thread Rob Herring
On Tue, Jul 31, 2018 at 11:39:01PM -0600, Mike Shettel wrote: > Signed-off-by: Mike Shettel > --- > .../devicetree/bindings/i3c/qcom,geni-i3c.txt | 44 > ++ > 1 file changed, 44 insertions(+) > create mode 100644 Documentation/devicetree/bindings/i3c/qcom,geni-i3c.txt

[PATCH v3 0/7] mtd: rawnand: ams-delta: Use GPIO API for data I/O

2018-08-13 Thread Janusz Krzysztofik
Implement the idea suggested by Artem Bityutskiy and Tony Lindgren, described in commit b027274d2e3a ("mtd: ams-delta: fix request_mem_region() failure"). Use pure GPIO API as suggested by Boris Brezillon. Janusz Krzysztofik (7): mtd: rawnand: ams-delta: show parent device in sysfs

[PATCH v3 5/7] mtd: rawnand: ams-delta: Set port direction when needed

2018-08-13 Thread Janusz Krzysztofik
In its current shape, the driver sets data port direction before each byte read/write operation, even during multi-byte transfers. Improve performance of the driver by setting the port direction only when needed. This optimisation will become particularly important as soon as planned conversion

[PATCH v3 1/7] mtd: rawnand: ams-delta: show parent device in sysfs

2018-08-13 Thread Janusz Krzysztofik
Fix a bug where parent device symlinks aren't shown in sysfs. While at it, make use of the default owner set by mtdcore. Signed-off-by: Janusz Krzysztofik Reviewed-by: Boris Brezillon --- drivers/mtd/nand/raw/ams-delta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3 6/7] mtd: rawnand: ams-delta: Simplify pointer resolution on read/write

2018-08-13 Thread Janusz Krzysztofik
Simplify data read/write sub-functions by making them accept private structure pointer instead of resolving it again from mtd_info. Signed-off-by: Janusz Krzysztofik Reviewed-by: Boris Brezillon --- drivers/mtd/nand/raw/ams-delta.c | 30 +++--- 1 file changed, 15

[PATCH v3 3/7] ARM: OMAP1: ams-delta: Provide GPIO lookup table for NAND data port

2018-08-13 Thread Janusz Krzysztofik
Data port used by Amstrad Delta NAND driver is actually an OMAP MPUIO device, already under control of gpio-omap driver. The NAND driver gets access to the port by ioremapping it and performs read/write operations. That is done without any proteciton from other users legally manipulating the

[PATCH v3 4/7] mtd: rawnand: ams-delta: request data port GPIO resource

2018-08-13 Thread Janusz Krzysztofik
Data port used by the driver is actually an OMAP MPUIO device, already under control of gpio-omap driver. For that reason we used to not request the memory region of the port as that would fail because the region is already busy. Despite that, we are still accessing the port by just ioremapping

[PATCH v3 7/7] mtd: rawnand: ams-delta: use GPIO API for data I/O

2018-08-13 Thread Janusz Krzysztofik
Don't readw()/writew() data directly from/to GPIO port which is under control of gpio-omap driver, use GPIO API instead. Degrade of performance on Amstrad Delta is significant, can be recognized as a regression, that's why I'm still submitting this patch as RFC. The driver should work with any

[PATCH v3 2/7] mtd: rawnand: ams-delta: Use private structure

2018-08-13 Thread Janusz Krzysztofik
Introduce a driver private structure and allocate it on device probe. Use it for storing nand_chip structure, GPIO descriptors prevoiusly stored in static variables as well as io_base pointer previously passed as nand controller data or platform driver data. Subsequent patches may populate the

  1   2   3   4   5   6   7   8   >