Re: WARNING: CPU: 0 PID: 0 at drivers/irqchip/irq-gic-v3-its.c

2018-11-09 Thread Marc Zyngier
On 09/11/18 15:52, Qian Cai wrote: > > >> On Nov 9, 2018, at 10:38 AM, Marc Zyngier wrote: >> >> On 09/11/18 15:28, Qian Cai wrote: >>> >>> On Nov 9, 2018, at 8:50 AM, Marc Zyngier wrote: On 09/11/18 12:28, Qian Cai wrote: > > On 11/9/18 at 7:08 AM, Marc Zyngier wrote: >>

RE: [PATCH v2] x86/cpu: fix prototype warning

2018-11-09 Thread David Laight
From: Thomas Gleixner > Sent: 08 November 2018 15:36 > On Thu, 8 Nov 2018, Borislav Petkov wrote: > > And frankly, I don't see why we should be fixing all those. So what if a > > global function does't have a previous prototype declaration?! > > Global function declarations must have a prototype d

Re: [PATCH 3.18 052/144] ARM: dra7xx: Fix counter frequency drift for AM572x errata i856

2018-11-09 Thread Lennart Sorensen
On Thu, Nov 08, 2018 at 01:50:23PM -0800, Greg Kroah-Hartman wrote: > 3.18-stable review patch. If anyone has any objections, please let me know. > > -- > > [ Upstream commit afc9d590b8a150cfeaac0078ef5de6fb21a5ea6a ] > > Errata i856 for the AM572x (DRA7xx) points out that the 3

Re: [PATCH v2] i2c: rk3x: fix some typo

2018-11-09 Thread Wolfram Sang
On Tue, Nov 06, 2018 at 01:01:33PM +0100, Heiko Stuebner wrote: > Hi Yangtao, Peter, > > Am Montag, 5. November 2018, 16:59:58 CET schrieb Frank Lee: > > I am sorry. > > -- Yangtao > > If anything, it is me that should be sorry, as I did suggest the > patch description, including the new spelling

Re: [PATCH v3 3/3] MAINTAINERS: Add entry for i2c-omap driver

2018-11-09 Thread Tony Lindgren
* Wolfram Sang [181109 15:56]: > > Cool, thanks all! Tony, I took the liberty to interpret this message as > > an Acked-by so I could apply V3 of this series right away. > > Doh, v4 I meant. Sorry for the noise. OK Thanks, Tony

Re: x86_64 INIT/SIPI Bug

2018-11-09 Thread Rian Quinn
>> I apologize upfront if this is the wrong place to post this, pretty new to >> this. >> >> We are working on the Bareflank Hypervisor (www.bareflank.org), and we >> are passing through the INIT/SIPI process (similar to how a VMX >> rootkit from EFI might boot the OS) and we noticed that on Arch

Re: [PATCH 3/4] dt-bindings: reset: uniphier: Add AHCI core reset description

2018-11-09 Thread Masahiro Yamada
On Sat, Nov 10, 2018 at 12:02 AM Philipp Zabel wrote: > > Hi Kunihiko, > > On Fri, 2018-11-09 at 10:42 +0900, Kunihiko Hayashi wrote: > > Add compatible strings for reset control of AHCI core implemented in > > UniPhier SoCs. The reset control belongs to AHCI glue layer. > > > > Signed-off-by: Kun

Re: [PATCH v2 3/4] of/property: Add of_fwnode_name()

2018-11-09 Thread Rob Herring
On Fri, Nov 9, 2018 at 7:34 AM Heikki Krogerus wrote: > > On Thu, Nov 08, 2018 at 03:18:21PM -0600, Rob Herring wrote: > > On Thu, Nov 8, 2018 at 1:25 PM Andy Shevchenko > > wrote: > > > > > > On Thu, Nov 08, 2018 at 12:23:51PM -0600, Rob Herring wrote: > > > > On Thu, Nov 8, 2018 at 10:52 AM Hei

Re: [PATCH 4.4 000/114] 4.4.163-stable review

2018-11-09 Thread Greg Kroah-Hartman
On Fri, Nov 09, 2018 at 06:14:06AM -0800, Guenter Roeck wrote: > On 11/9/18 5:50 AM, Guenter Roeck wrote: > > On 11/8/18 1:50 PM, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.4.163 release. > > > There are 114 patches in this series, all will be posted as a

Re: [PATCH] kbuild: deb-pkg: fix bindeb-pkg breakage when O= is used

2018-11-09 Thread Masahiro Yamada
On Mon, Nov 5, 2018 at 4:53 PM Masahiro Yamada wrote: > > Ard Biesheuvel reports bindeb-pkg with O= option is broken in the > following way: > > ... > LD [M] sound/soc/rockchip/snd-soc-rk3399-gru-sound.ko > LD [M] sound/soc/rockchip/snd-soc-rockchip-pcm.ko > LD [M] sound/soc/rockc

Re: [PATCH] kbuild: rpm-pkg: fix binrpm-pkg breakage when O= is used

2018-11-09 Thread Masahiro Yamada
On Mon, Nov 5, 2018 at 4:52 PM Masahiro Yamada wrote: > > Zhenzhong Duan reported that running 'make O=/build/kernel binrpm-pkg' > failed with the following errors: > > Running 'make O=/build/kernel binrpm-pkg' failed with below two errors. > > Makefile:600: include/config/auto.conf: No such f

[PATCH v6 0/2] sched/fair: update scale invariance of PELT

2018-11-09 Thread Vincent Guittot
This new version of the scale invariance patchset adds an important change compare to v3 and before. It still scales the time to reflect the amount of work that has been done during the elapsed running time but this is now done at rq level instead of per entity and rt/dl/cfs_rq. The main advantage

[PATCH v6 1/2] sched/fair: move rq_of helper function

2018-11-09 Thread Vincent Guittot
Move rq_of() helper function so it can be used in pelt.c Signed-off-by: Vincent Guittot --- kernel/sched/fair.c | 13 - kernel/sched/sched.h | 16 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index d59307

Re: [PATCH v2] kconfig: merge_config: avoid false positive matches from comment lines

2018-11-09 Thread Masahiro Yamada
On Mon, Nov 5, 2018 at 6:35 PM Arnout Vandecappelle wrote: > > > > On 05/11/18 09:19, Masahiro Yamada wrote: > > The current SED_CONFIG_EXP could match to comment lines in config > > fragment files, especially when CONFIG_PREFIX_ is empty. For example, > > Buildroot uses empty prefixing; starting

[PATCH v6 2/2] sched/fair: update scale invariance of PELT

2018-11-09 Thread Vincent Guittot
The current implementation of load tracking invariance scales the contribution with current frequency and uarch performance (only for utilization) of the CPU. One main result of this formula is that the figures are capped by current capacity of CPU. Another one is that the load_avg is not invariant

Re: [PATCH] binder: fix race that allows malicious free of live buffer

2018-11-09 Thread Todd Kjos
On Fri, Nov 9, 2018 at 4:32 AM Greg KH wrote: > > On Tue, Nov 06, 2018 at 03:55:32PM -0800, Todd Kjos wrote: > > Malicious code can attempt to free buffers using the > > BC_FREE_BUFFER ioctl to binder. There are protections > > against a user freeing a buffer while in use by the > > kernel, howeve

Re: [PATCH anybus v3 4/6] bus: support HMS Anybus-S bus

2018-11-09 Thread Sven Van Asbroeck
On Thu, Nov 8, 2018 at 9:07 AM Arnd Bergmann wrote: > > > +struct anybus_mbox_hdr { > > + u16 id; > > + u16 info; > > + u16 cmd_num; > > + u16 data_size; > > + u16 frame_count; > > + u16 frame_num; > > + u16 offset_high; > > + u16 offset_low; > > +

Re: [PATCH v3 1/4] x86/mm: declare check_la57_support() as inline

2018-11-09 Thread Masahiro Yamada
On Fri, Nov 2, 2018 at 8:28 PM Borislav Petkov wrote: > > On Mon, Oct 29, 2018 at 10:04:46PM +0900, Masahiro Yamada wrote: > > On Mon, Oct 29, 2018 at 3:09 AM Steven Rostedt wrote: > > > > > > On Sun, 28 Oct 2018 13:09:42 + > > > Changbin Du wrote: > > > > > > > The level4_kernel_pgt is only

Re: [PATCH 4.4 063/114] l2tp: hold socket before dropping lock in l2tp_ip{, 6}_recv()

2018-11-09 Thread Greg Kroah-Hartman
On Fri, Nov 09, 2018 at 04:33:32PM +0100, Guillaume Nault wrote: > On Thu, Nov 08, 2018 at 01:51:18PM -0800, Greg Kroah-Hartman wrote: > > 4.4-stable review patch. If anyone has any objections, please let me know. > > > This patch was partly wrong. Here is the followup fix: > 94d7ee0baa8b ("l2tp:

Re: [GIT PULL] s390 patches for 4.20 #2

2018-11-09 Thread pr-tracker-bot
The pull request you sent on Fri, 9 Nov 2018 08:14:02 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git s390-4.20-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3541833fd1f264e7579e573a6586a1b665da37db Thank you! -- Deet-doot-dot, I am a bot. h

Re: [PATCH 1/4] of/device: Add a way to probe drivers by match data

2018-11-09 Thread Rob Herring
On Fri, Nov 9, 2018 at 4:36 AM Geert Uytterhoeven wrote: > > Hi Matthias, > > On Fri, Nov 9, 2018 at 11:29 AM Matthias Brugger > wrote: > > On 08/11/2018 18:58, Stephen Boyd wrote: > > > Quoting Matthias Brugger (2018-11-08 00:29:46) > > >> On 06/11/2018 19:36, Stephen Boyd wrote: > > >>> +int p

Re: [PATCH 4.4 063/114] l2tp: hold socket before dropping lock in l2tp_ip{, 6}_recv()

2018-11-09 Thread Guillaume Nault
On Fri, Nov 09, 2018 at 08:28:56AM -0800, Greg Kroah-Hartman wrote: > On Fri, Nov 09, 2018 at 04:33:32PM +0100, Guillaume Nault wrote: > > On Thu, Nov 08, 2018 at 01:51:18PM -0800, Greg Kroah-Hartman wrote: > > > 4.4-stable review patch. If anyone has any objections, please let me > > > know. > >

Re: perf: perf_fuzzer triggers NULL pointer dereference

2018-11-09 Thread Jiri Olsa
On Thu, Nov 08, 2018 at 11:46:41AM -0500, Vince Weaver wrote: > On Thu, 8 Nov 2018, Alexander Shishkin wrote: > > > Vince Weaver writes: > > > > > On Thu, 8 Nov 2018, Vince Weaver wrote: > > > > > >> [91760.326510] BUG: unable to handle kernel NULL pointer dereference at > > >>

[RFC PATCH v2] gen/irq: Change the way to differentiate between managed and unmanaged interrupts by bitmap

2018-11-09 Thread Dou Liyang
As Kashyap and Sumit reported, in MSI/-x subsystem, the pre/post vectors may be used to some extra reply queues for performance. the best way to map the pre/post vectors is map them to unmanaged interrupts. But, current Linux can't do that, because the way which we use to differentiate between man

Re: [RFC PATCH] dt-bindings: opp: Extend qcom-opp bindings with properties needed for CPR

2018-11-09 Thread Niklas Cassel
On Mon, Nov 05, 2018 at 05:17:45PM -0600, Rob Herring wrote: > On Mon, Oct 15, 2018 at 02:47:49PM +0200, Niklas Cassel wrote: > > Extend qcom-opp bindings with properties needed for Core Power Reduction > > (CPR). > > > > CPR is included in a great variety of Qualcomm SoC, e.g. msm8916 and > > msm

Re: [PATCH] Revert "scripts/setlocalversion: git: Make -dirty check more robust"

2018-11-09 Thread Masahiro Yamada
On Wed, Nov 7, 2018 at 12:05 PM Christian Kujau wrote: > > On Tue, 6 Nov 2018, Brian Norris wrote: > > > Perhaps both scenarios could be satisfied by having > > > scripts/setlocalversion first check if .git has write permissions, and > > > acting accordingly. Looking into history, this actually us

Re: [PATCH v2] PCI/MSI: Don't touch MSI bits when the PCI device is disconnected

2018-11-09 Thread Keith Busch
On Fri, Nov 09, 2018 at 03:32:57AM -0800, Greg Kroah-Hartman wrote: > On Fri, Nov 09, 2018 at 08:29:53AM +0100, Lukas Wunner wrote: > > On Thu, Nov 08, 2018 at 02:01:17PM -0800, Greg Kroah-Hartman wrote: > > > On Thu, Nov 08, 2018 at 02:09:17PM -0600, Bjorn Helgaas wrote: > > > > I'm having second

Re: [PATCH] Revert "scripts/setlocalversion: git: Make -dirty check more robust"

2018-11-09 Thread Masahiro Yamada
On Wed, Nov 7, 2018 at 3:39 AM Guenter Roeck wrote: > > This reverts commit 6147b1cf19651c7de297e69108b141fb30aa2349. > > The reverted patch results in attempted write access to the source > repository, even if that repository is mounted read-only. > > Output from "strace git status -uno --porcela

Re: [PATCH RFC 0/3] Static calls

2018-11-09 Thread Josh Poimboeuf
On Fri, Nov 09, 2018 at 09:21:39AM -0600, Josh Poimboeuf wrote: > On Fri, Nov 09, 2018 at 07:16:17AM -0800, Andy Lutomirski wrote: > > On Thu, Nov 8, 2018 at 11:28 PM Ingo Molnar wrote: > > > > > > > > > All other usecases are bonus, but it would certainly be interesting to > > > investigate the i

Re: [PATCH 02/13] elf-em.h: add EM_ARC

2018-11-09 Thread Vineet Gupta
On 11/8/18 7:15 PM, Dmitry V. Levin wrote: > The uapi/linux/audit.h header is going to use EM_ARC in order > to define AUDIT_ARCH_ARC which is needed to implement > syscall_get_arch() which in turn is required to extend > the generic ptrace API with PTRACE_GET_SYSCALL_INFO request. > > The value fo

Re: [PATCH v2 1/7] tty: Fix whitespace before tab warnings

2018-11-09 Thread Greg Kroah-Hartman
On Fri, Oct 19, 2018 at 09:37:01AM +1100, Tobin C. Harding wrote: > This patch is whitespace only. > > Checkpatch emits a BUNCH of warnings of type > > WARNING: please, no spaces at the start of a line > WARNING: please, no space before tabs > > While these may seem trivial they hind

Re: [PATCH v3] ext4: missing !bh check in ext4_xattr_inode_write()

2018-11-09 Thread Theodore Y. Ts'o
On Fri, Nov 09, 2018 at 08:49:48AM +0300, Vasily Averin wrote: > According to Ted Ts'o ext4_getblk() called in ext4_xattr_inode_write() > should not return bh = NULL > > The only time that bh could be NULL, then, would be in the case of > something really going wrong; a programming error elsewhere

Re: [LINUX PATCHv3 0/9] serial-uartlite: Add support for dynamic allocation

2018-11-09 Thread Greg KH
On Tue, Oct 16, 2018 at 03:47:59PM +0530, shubhrajyoti.da...@gmail.com wrote: > From: Shubhrajyoti Datta > > Currently the number of uarts are configured through a Kconfig > option Make it dynamic. > While at it adapt to the runtime framework. > > It is based a similar series on the uartps from

Re: [PATCH] arm64: dts: k3-am65-wakeup: Fix wakeup_uart reg address

2018-11-09 Thread Tero Kristo
On 07/11/2018 23:00, Nishanth Menon wrote: On 10:10-20181005, Vutla, Lokesh wrote: On Thursday 27 September 2018 10:31 AM, Vignesh R wrote: cbass_wakeup interconnect which is the parent of wakeup_uart node defines address-cells=1 and size-cells=1, therefore fix up reg property of wakeup_uart

[GIT PULL] Ceph fixes for 4.20-rc2

2018-11-09 Thread Ilya Dryomov
Hi Linus, The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the Git repository at: https://github.com/ceph/ceph-client.git tags/ceph-for-4.20-rc2 for you to fetch changes up to 23c625ce3065e40c933a4239ef

[PATCH] infiniband/hw/cxgb3/cxio_hal.c: Use dma_zalloc_coherent

2018-11-09 Thread Sabyasachi Gupta
Replaced dma_alloc_coherent + memset with dma_zalloc_coherent Signed-off-by: Sabyasachi Gupta --- drivers/infiniband/hw/cxgb3/cxio_hal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/cxgb3/cxio_hal.c b/drivers/infiniband/hw/cxgb3/cxio_hal.c index dc

Re: [PATCH 06/13] arc: define syscall_get_arch()

2018-11-09 Thread Vineet Gupta
On 11/8/18 7:16 PM, Dmitry V. Levin wrote: > syscall_get_arch() is required to be implemented on all architectures > that use tracehook_report_syscall_entry() in order to extend > the generic ptrace API with PTRACE_GET_SYSCALL_INFO request. > > Signed-off-by: Dmitry V. Levin > --- > arch/arc/incl

RE: [PATCH v4 4/4] perf/smmuv3_pmu: Enable HiSilicon Erratum 162001800 quirk

2018-11-09 Thread Shameerali Kolothum Thodi
Hi Robin, > -Original Message- > From: Linuxarm [mailto:linuxarm-boun...@huawei.com] On Behalf Of > Shameerali Kolothum Thodi > Sent: 18 October 2018 16:27 > To: Robin Murphy ; lorenzo.pieral...@arm.com; > jean-philippe.bruc...@arm.com > Cc: mark.rutl...@arm.com; vkil...@codeaurora.org; >

Re: [RCF PATCH,v2,2/2] pwm: imx: Configure output to GPIO in disabled state

2018-11-09 Thread Uwe Kleine-König
On Fri, Nov 09, 2018 at 02:24:42PM +, Vokáč Michal wrote: > On 8.11.2018 20:18, Uwe Kleine-König wrote: > > On Thu, Nov 08, 2018 at 03:21:44PM +, Vokáč Michal wrote: > >> Hi Uwe, > >> > >> On 7.11.2018 16:01, Uwe Kleine-König wrote: > Interesting idea. I just wonder why nobody else did

Re: [PATCH 01/23] x86/fpu: Use ULL for shift in xfeature_uncompacted_offset()

2018-11-09 Thread Sebastian Andrzej Siewior
On 2018-11-08 12:38:17 [+0100], Borislav Petkov wrote: > Or simply BIT_ULL(xfeature_nr). Yes, why not. Updated. Thanks. Sebastian

Re: [PATCH 1/4] of/device: Add a way to probe drivers by match data

2018-11-09 Thread Frank Rowand
On 11/9/18 2:36 AM, Geert Uytterhoeven wrote: > Hi Matthias, > > On Fri, Nov 9, 2018 at 11:29 AM Matthias Brugger > wrote: >> On 08/11/2018 18:58, Stephen Boyd wrote: >>> Quoting Matthias Brugger (2018-11-08 00:29:46) On 06/11/2018 19:36, Stephen Boyd wrote: > +int platform_driver_probe

[PATCH v2 0/5] mtd: spi-nor: fixes found when debugging smpt

2018-11-09 Thread Tudor.Ambarus
Bunch of fixes that we found while debugging the roll back to SPINOR_OP_READ_1_1_4_4B in case smpt parser fails. Boris, Yogesh, Now I'm looking for a fix in case the smpt detection commands define variable address length and dummy bytes. Will follow. v2: - drop patches 3 and 6 - update fixes tag

[PATCH v2 5/5] mtd: spi-nor: remove unneeded smpt zeroization

2018-11-09 Thread Tudor.Ambarus
The entire smpt array is initialized with data read from sfdp, there is no need to init it with zeroes before. Signed-off-by: Tudor Ambarus --- drivers/mtd/spi-nor/spi-nor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/sp

[PATCH v2 3/5] mtd: spi-nor: don't overwrite errno in spi_nor_get_map_in_use()

2018-11-09 Thread Tudor.Ambarus
Don't overwrite the errno from spi_nor_read_raw(). Signed-off-by: Tudor Ambarus --- drivers/mtd/spi-nor/spi-nor.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index 98e433e8e4c2..04a1c5b825e6 10064

[PATCH v2 1/5] mtd: spi-nor: don't drop sfdp data if optional parsers fail

2018-11-09 Thread Tudor.Ambarus
JESD216C states that just the Basic Flash Parameter Table is mandatory. Already defined (or future) additional parameter headers and tables are optional. Don't drop already collected sfdp data in case an optional table parser fails. In case of failing, each optional parser is responsible to roll b

[PATCH v2 2/5] mtd: spi-nor: fix iteration over smpt array

2018-11-09 Thread Tudor.Ambarus
Iterate over smpt array using its starting address and length instead of the blind iterations that used data found in the array. This prevents possible memory accesses outside of the smpt array boundaries in case software, or manufacturers, misrepresent smpt array fields. Fixes: b038e8e3be72 ("mt

[PATCH v2 4/5] mtd: spi_nor: pass DMA-able buffer to spi_nor_read_raw()

2018-11-09 Thread Tudor.Ambarus
spi_nor_read_raw() calls nor->read() which might be implemented by the m25p80 driver. m25p80 uses the spi-mem layer which requires DMA-able in/out buffers. Pass kmalloc'ed dma buffer to spi_nor_read_raw(). Fixes: b038e8e3be72 ("mtd: spi-nor: parse SFDP Sector Map Parameter Table") Signed-off-by: T

Re: [PATCH 1/4] of/device: Add a way to probe drivers by match data

2018-11-09 Thread Stephen Boyd
Quoting Geert Uytterhoeven (2018-11-09 01:56:01) > On Wed, Nov 7, 2018 at 7:37 PM Stephen Boyd wrote: > > Quoting Rob Herring (2018-11-06 12:44:52) > > > On Tue, Nov 6, 2018 at 12:36 PM Stephen Boyd wrote: > > int (*probe)(struct platform_device *pdev); > > }; > > > > struct of_platfo

Re: [PATCH 2/2] tty: serial: add driver for the SiFive UART

2018-11-09 Thread Greg Kroah-Hartman
On Thu, Oct 18, 2018 at 04:43:54PM -0700, Paul Walmsley wrote: > Add a serial driver for the SiFive UART, found on SiFive FU540 devices > (among others). > > The underlying serial IP block is relatively basic, and currently does > not support serial break detection. Further information on the IP

Re: [PATCH 2/2] tty: serial: add driver for the SiFive UART

2018-11-09 Thread Greg Kroah-Hartman
On Fri, Nov 09, 2018 at 08:59:51AM -0800, Greg Kroah-Hartman wrote: > On Thu, Oct 18, 2018 at 04:43:54PM -0700, Paul Walmsley wrote: > > Add a serial driver for the SiFive UART, found on SiFive FU540 devices > > (among others). > > > > The underlying serial IP block is relatively basic, and curren

Re: [PATCH v3 1/1] serial: imx - Add dma buffer confugration via sysfs

2018-11-09 Thread Greg KH
On Wed, Oct 17, 2018 at 10:20:25AM +0200, Fabien Lahoudere wrote: > Hi Greg, > > On Mon, 2018-10-15 at 16:01 +0200, Greg KH wrote: > > On Thu, Oct 11, 2018 at 11:25:03AM +0200, Fabien Lahoudere wrote: > > > In order to optimize serial communication on imx53 and imx6, we may > > > need to tweak DMA

Re: [PATCH 1/3] gpio: mockup: fix indicated direction

2018-11-09 Thread Uwe Kleine-König
Hello Bartosz, On Fri, Nov 09, 2018 at 04:24:10PM +0100, Bartosz Golaszewski wrote: > pt., 9 lis 2018 o 15:39 Uwe Kleine-König > napisał(a): > > On Fri, Nov 09, 2018 at 02:53:16PM +0100, Bartosz Golaszewski wrote: > > > pt., 9 lis 2018 o 14:10 Uwe Kleine-König > > > napisał(a): > > > > Which tes

Re: [PATCH 3/4] x86/microcode: Add SPDX license identifiers

2018-11-09 Thread Borislav Petkov
On Fri, Nov 09, 2018 at 03:34:16PM +, Tigran Aivazian wrote: > Ok, that's fine. I noticed these things when changing BFS code a > couple of days ago and wondered what they were --- now I know :) Thx. For more info, see https://www.kernel.org/doc/html/latest/process/license-rules.html Doc is

Re: [PATCH 7/9] serial: Add Tegra Combined UART driver

2018-11-09 Thread Greg Kroah-Hartman
On Fri, Oct 26, 2018 at 01:16:36PM +0200, Thierry Reding wrote: > From: Thierry Reding > > The Tegra Combined UART (TCU) is a mailbox-based mechanism that allows > multiplexing multiple "virtual UARTs" into a single hardware serial > port. The TCU is the primary serial port on Tegra194 devices. >

Re: [PATCH] clk: qcom: gcc: Fix board clock node name

2018-11-09 Thread Stephen Boyd
Quoting Vinod Koul (2018-11-09 01:50:54) > Device tree node name are not supposed to have "_" in them so fix the > node name use of xo_board to xo-board > > Fixes: 652f1813c113 ("clk: qcom: gcc: Add global clock controller driver for > QCS404") > Signed-off-by: Vinod Koul > --- > > Steve: RobH

Re: [PATCH v3] driver-staging: vsoc.c: Add sysfs support for examining the permissions of regions.

2018-11-09 Thread Dan Carpenter
On Wed, Nov 07, 2018 at 10:30:43AM +0800, Jerry Lin wrote: > Add a attribute called permissions under vsoc device node for examining > current granted permissions in vsoc_device. > > This file will display permissions in following format: > begin_offset end_offset owner_offset owned_value >

Re: [PATCH 00/10] irqdomain, gic-v3-its: Implement late irq domain initialization

2018-11-09 Thread John Garry
On 07/11/2018 22:03, Robert Richter wrote: This patch series is a rework of the gic-v3-its initialization. It is in preparation of a further series that uses CMA memory allocation for ITS tables. For this the CMA framework must be available and thus ITS needs to be initialized after the arch_init

[PATCH] irq/irq_sim: store multiple interrupt offsets in a bitmap

2018-11-09 Thread Bartosz Golaszewski
Two threads can try to fire the irq_sim with different offsets and will end up fighting for the irq_work asignment. Thomas Gleixner suggested a solution based on a bitfield where we set a bit for every offset associated with an interrupt that should be fired and then iterate over all set bits in th

Re: [PATCH v2] objtool: fix .cold. functions parent symbols search

2018-11-09 Thread Josh Poimboeuf
On Wed, Nov 07, 2018 at 10:45:15PM +0100, Artem Savkov wrote: > Because find_symbol_by_name() traverses the same lists as read_symbols() > changing sym->name in place without copying it affects the result of > find_symbol_by_name() and, in case when ".cold" function precedes it's > parent in sec->s

Re: [PATCH 1/3] gpio: mockup: fix indicated direction

2018-11-09 Thread Bartosz Golaszewski
pt., 9 lis 2018 o 18:03 Uwe Kleine-König napisał(a): > > Hello Bartosz, > > On Fri, Nov 09, 2018 at 04:24:10PM +0100, Bartosz Golaszewski wrote: > > pt., 9 lis 2018 o 15:39 Uwe Kleine-König > > napisał(a): > > > On Fri, Nov 09, 2018 at 02:53:16PM +0100, Bartosz Golaszewski wrote: > > > > pt., 9 l

Re: [RFC PATCH 1/3] static_call: Add static call infrastructure

2018-11-09 Thread Ard Biesheuvel
On 9 November 2018 at 16:14, Ard Biesheuvel wrote: > On 9 November 2018 at 16:10, Josh Poimboeuf wrote: >> On Fri, Nov 09, 2018 at 02:39:17PM +0100, Ard Biesheuvel wrote: >>> > + for (site = start; site < stop; site++) { >>> > + struct static_call_key *key = static_call_key(si

Re: [PATCH v12 2/5] clk: imx: add fractional PLL output clock

2018-11-09 Thread Stephen Boyd
Quoting kbuild test robot (2018-11-09 02:18:24) > Hi Lucas, > > I love your patch! Yet something to improve: > > [auto build test ERROR on shawnguo/for-next] > [also build test ERROR on v4.20-rc1 next-20181109] > [if your patch is applied to the wrong git tree, please drop

Re: WARNING: CPU: 0 PID: 0 at drivers/irqchip/irq-gic-v3-its.c

2018-11-09 Thread Sudeep Holla
On Fri, Nov 9, 2018 at 4:10 PM Marc Zyngier wrote: > [...] > > See bb42ca474010 and d003d029cea8 for details. > > Now, activating this workaround leads to lockdep being really angry, > most likely because the cpus_read_lock is not taken, which is a change > in behaviour... > > I'm trying to dig i

Re: [PATCH v15 0/3]: perf: reduce data loss when profiling highly parallel CPU bound workloads

2018-11-09 Thread Alexey Budankov
Hi, On 09.11.2018 11:22, Jiri Olsa wrote: > On Tue, Nov 06, 2018 at 11:53:02AM +0300, Alexey Budankov wrote: >> >> Alexey Budankov (3): >> perf util: map data buffer for preserving collected data >> perf record: enable asynchronous trace writing >> perf record: extend trace writing

Re: [PATCH 4.14 01/31] eeprom: at24: Add support for address-width property

2018-11-09 Thread Sasha Levin
On Fri, Nov 09, 2018 at 12:25:34PM +0100, Bartosz Golaszewski wrote: pt., 9 lis 2018 o 12:16 Greg Kroah-Hartman napisał(a): On Fri, Nov 09, 2018 at 08:48:32AM +0100, Bartosz Golaszewski wrote: > czw., 8 lis 2018 o 23:08 Greg Kroah-Hartman > napisał(a): > > > > 4.14-stable review patch. If an

Re: [RFC PATCH 1/3] static_call: Add static call infrastructure

2018-11-09 Thread Josh Poimboeuf
On Fri, Nov 09, 2018 at 06:25:24PM +0100, Ard Biesheuvel wrote: > On 9 November 2018 at 16:14, Ard Biesheuvel wrote: > > On 9 November 2018 at 16:10, Josh Poimboeuf wrote: > >> On Fri, Nov 09, 2018 at 02:39:17PM +0100, Ard Biesheuvel wrote: > >>> > + for (site = start; site < stop; site++)

Re: [PATCH v5] perf: Support for Arm A32/T32 instruction sets in CoreSight trace

2018-11-09 Thread Mathieu Poirier
On Fri, 9 Nov 2018 at 02:11, Robert Walker wrote: > > This patch adds support for generating instruction samples from trace of > AArch32 programs using the A32 and T32 instruction sets. > > T32 has variable 2 or 4 byte instruction size, so the conversion between > addresses and instruction counts

Re: [RFC PATCH 1/3] static_call: Add static call infrastructure

2018-11-09 Thread Josh Poimboeuf
On Fri, Nov 09, 2018 at 11:31:06AM -0600, Josh Poimboeuf wrote: > On Fri, Nov 09, 2018 at 06:25:24PM +0100, Ard Biesheuvel wrote: > > On 9 November 2018 at 16:14, Ard Biesheuvel > > wrote: > > > On 9 November 2018 at 16:10, Josh Poimboeuf wrote: > > >> On Fri, Nov 09, 2018 at 02:39:17PM +0100, A

[PATCH 1/9] powerpc: simplify patch_instruction_site() and patch_branch_site()

2018-11-09 Thread Christophe Leroy
Using patch_site_addr() helper, patch_instruction_site() and patch_branch_site() can be simplified and inlined. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/code-patching.h | 12 ++-- arch/powerpc/lib/code-patching.c | 16 2 files changed, 10 inse

[PATCH 8/9] powerpc/44x: use patch_sites for TLB handlers patching

2018-11-09 Thread Christophe Leroy
Use patch sites and associated helpers to manage TLB handlers patching instead of hardcoding. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/mmu-44x.h | 3 +++ arch/powerpc/kernel/head_44x.S | 11 +-- arch/powerpc/mm/44x_mmu.c | 14 +++--- 3 files chan

[PATCH 4/9] powerpc/book3s/32: Use MMU_FTR_HPTE_TABLE in head_32.S

2018-11-09 Thread Christophe Leroy
Instead of manually patching a blr at hash_page() entry in MMU_init_hw(), this patch adds a features section in head_32.S Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_32.S | 4 arch/powerpc/mm/ppc_mmu_32.c | 12 +--- 2 files changed, 5 insertions(+), 11 deletions(-

[PATCH 3/9] powerpc/32: use patch_site_addr() in machine_init()

2018-11-09 Thread Christophe Leroy
Use patch_site_addr() instead of hardcoding the address calculation in machine_init() Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/setup_32.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c index 819

Re: [RFC PATCH 1/3] static_call: Add static call infrastructure

2018-11-09 Thread Ard Biesheuvel
On 9 November 2018 at 18:31, Josh Poimboeuf wrote: > On Fri, Nov 09, 2018 at 06:25:24PM +0100, Ard Biesheuvel wrote: >> On 9 November 2018 at 16:14, Ard Biesheuvel >> wrote: >> > On 9 November 2018 at 16:10, Josh Poimboeuf wrote: >> >> On Fri, Nov 09, 2018 at 02:39:17PM +0100, Ard Biesheuvel wr

[PATCH 1/3] add generic builtin command line

2018-11-09 Thread Daniel Walker
This code allows architectures to use a generic builtin command line. The state of the builtin command line options across architecture is diverse. On x86 and mips they have pretty much the same code and the code prepends the builtin command line onto the boot loader provided one. On powerpc there

[PATCH 3/3] powerpc: convert config files to generic cmdline

2018-11-09 Thread Daniel Walker
This is a scripted mass convert of the config files to use the new generic cmdline. There is a bit of a trim effect here. It would seems that some of the config haven't been trimmed in a while. The script used to convert is as follows, if [[ -z "$1" || -z "$2" ]]; then echo "Two arguments

[PATCH 2/3] powerpc: convert to generic builtin command line

2018-11-09 Thread Daniel Walker
This updates the powerpc code to use the CONFIG_GENERIC_CMDLINE option. [maksym.kok...@globallogic.com: add strlcat to prom_init_check.sh whitelist] Cc: Daniel Walker Cc: Daniel Walker Cc: xe-linux-exter...@cisco.com Signed-off-by: Daniel Walker Signed-off-by: Maksym Kokhan --- arch/powerpc/K

Re: [PATCH 02/23] x86/fpu: Remove fpu->initialized usage in __fpu__restore_sig()

2018-11-09 Thread Sebastian Andrzej Siewior
On 2018-11-08 15:57:21 [+0100], Borislav Petkov wrote: > On Wed, Nov 07, 2018 at 08:48:37PM +0100, Sebastian Andrzej Siewior wrote: > > This is a preparation for the removal of the ->initialized member in the > > fpu struct. > > __fpu__restore_sig() is deactivating the FPU via fpu__drop() and then

Re: [PATCH v3 03/10] sched/topology: Provide cfs_overload_cpus bitmap

2018-11-09 Thread Valentin Schneider
Hi Steve, On 09/11/2018 12:50, Steve Sistare wrote: [...] > @@ -482,6 +484,10 @@ static void update_top_cache_domain(int cpu) > dirty_sched_domain_sysctl(cpu); > destroy_sched_domains(tmp); > > + sd = highest_flag_domain(cpu, SD_SHARE_PKG_RESOURCES); > + cfs_overload_cpus = (

[PATCH] mtd: spi-nor: mark desirable switch case fall through

2018-11-09 Thread Tudor.Ambarus
gcc 7 with -Wimplicit-fallthrough raises: drivers/mtd/spi-nor/spi-nor.c: In function ‘set_4byte’: drivers/mtd/spi-nor/spi-nor.c:289:13: warning: this statement may fall through [-Wimplicit-fallthrough=] need_wren = true; ~~^~ drivers/mtd/spi-nor/spi-nor.c:290:2: note: here cas

Re: WARNING: CPU: 0 PID: 0 at drivers/irqchip/irq-gic-v3-its.c

2018-11-09 Thread Marc Zyngier
On 09/11/18 17:28, Sudeep Holla wrote: > On Fri, Nov 9, 2018 at 4:10 PM Marc Zyngier wrote: >> > [...] > >> >> See bb42ca474010 and d003d029cea8 for details. >> >> Now, activating this workaround leads to lockdep being really angry, >> most likely because the cpus_read_lock is not taken, which is

Re: [RFC PATCH 1/3] static_call: Add static call infrastructure

2018-11-09 Thread Josh Poimboeuf
On Fri, Nov 09, 2018 at 06:33:03PM +0100, Ard Biesheuvel wrote: > On 9 November 2018 at 18:31, Josh Poimboeuf wrote: > > On Fri, Nov 09, 2018 at 06:25:24PM +0100, Ard Biesheuvel wrote: > >> On 9 November 2018 at 16:14, Ard Biesheuvel > >> wrote: > >> > On 9 November 2018 at 16:10, Josh Poimboeuf

Re: [PATCH] clk: qcom: gcc: Fix board clock node name

2018-11-09 Thread Vinod Koul
(Add Rob & Bjorn) Hi Steve, On 09-11-18, 09:12, Stephen Boyd wrote: > Quoting Vinod Koul (2018-11-09 01:50:54) > > Device tree node name are not supposed to have "_" in them so fix the > > node name use of xo_board to xo-board > > > > Fixes: 652f1813c113 ("clk: qcom: gcc: Add global clock contro

Re: x86_64 INIT/SIPI Bug

2018-11-09 Thread Sean Christopherson
On Thu, Nov 08, 2018 at 03:23:59PM -0700, Rian Quinn wrote: > I apologize upfront if this is the wrong place to post this, pretty new to > this. > > We are working on the Bareflank Hypervisor (www.bareflank.org), and we > are passing through the INIT/SIPI process (similar to how a VMX > rootkit f

Re: [PATCH] clk: qcom: gcc: Fix board clock node name

2018-11-09 Thread Vinod Koul
Fix Rob's email id... and looping him correctly :) On 09-11-18, 23:18, Vinod Koul wrote: > (Add Rob & Bjorn) > > Hi Steve, > > On 09-11-18, 09:12, Stephen Boyd wrote: > > Quoting Vinod Koul (2018-11-09 01:50:54) > > > Device tree node name are not supposed to have "_" in them so fix the > > >

Re: [RFC PATCH 1/3] static_call: Add static call infrastructure

2018-11-09 Thread Ard Biesheuvel
On 9 November 2018 at 18:46, Josh Poimboeuf wrote: > On Fri, Nov 09, 2018 at 06:33:03PM +0100, Ard Biesheuvel wrote: >> On 9 November 2018 at 18:31, Josh Poimboeuf wrote: >> > On Fri, Nov 09, 2018 at 06:25:24PM +0100, Ard Biesheuvel wrote: >> >> On 9 November 2018 at 16:14, Ard Biesheuvel >> >>

Re: [RFC PATCH 1/3] static_call: Add static call infrastructure

2018-11-09 Thread Ard Biesheuvel
On 9 November 2018 at 18:52, Ard Biesheuvel wrote: > On 9 November 2018 at 18:46, Josh Poimboeuf wrote: >> On Fri, Nov 09, 2018 at 06:33:03PM +0100, Ard Biesheuvel wrote: >>> On 9 November 2018 at 18:31, Josh Poimboeuf wrote: >>> > On Fri, Nov 09, 2018 at 06:25:24PM +0100, Ard Biesheuvel wrote:

Re: [PATCH V3] binder: ipc namespace support for android binder

2018-11-09 Thread Todd Kjos
On Thu, Nov 8, 2018 at 5:02 AM chouryzhou(周威) wrote: > > We are working for running android in container, but we found that binder is > not isolated by ipc namespace. Since binder is a form of IPC and therefore > should > be tied to ipc namespace. With this patch, we can run more than one andro

Re: [PATCH v2 3/4] coresight: etm3x: Deal with CLAIM tag before and after accessing HW

2018-11-09 Thread Mathieu Poirier
On Thu, 8 Nov 2018 at 10:13, Suzuki K Poulose wrote: > > Hi, > > On 07/11/2018 23:08, Mathieu Poirier wrote: > > This patch moves access to the CLAIM tag so that no modification to the HW > > happens before and after the CLAIM operation has been carried. > > > > Signed-off-by: Mathieu Poirier > >

Re: [PATCH v2 3/4] coresight: etm3x: Deal with CLAIM tag before and after accessing HW

2018-11-09 Thread Suzuki K Poulose
On 11/09/2018 05:59 PM, Mathieu Poirier wrote: On Thu, 8 Nov 2018 at 10:13, Suzuki K Poulose wrote: Hi, On 07/11/2018 23:08, Mathieu Poirier wrote: This patch moves access to the CLAIM tag so that no modification to the HW happens before and after the CLAIM operation has been carried. Signe

Re: [PATCH] proc: fix and merge proc-self-map-file tests

2018-11-09 Thread Cyrill Gorcunov
On Fri, Nov 09, 2018 at 10:01:13AM -0200, Rafael David Tinoco wrote: > > Alright, I'm fixing membarrier_test before, so.. I guess we have a > competition.. =o) Rafael, Alexey, what about simply wrap the test code with x86 and extend later with all archs which support zero address mapping? --- t

Re: x86_64 INIT/SIPI Bug

2018-11-09 Thread Rian Quinn
>> I apologize upfront if this is the wrong place to post this, pretty new to >> this. >> >> We are working on the Bareflank Hypervisor (www.bareflank.org), and we >> are passing through the INIT/SIPI process (similar to how a VMX >> rootkit from EFI might boot the OS) and we noticed that on Arch

Re: [PATCH V3] binder: ipc namespace support for android binder

2018-11-09 Thread Davidlohr Bueso
On Thu, 08 Nov 2018, chouryzhou(??) wrote: +#ifdef CONFIG_ANDROID_BINDER_IPC + /* next fields are for binder */ + struct mutex binder_procs_lock; + struct hlist_head binder_procs; + struct hlist_head binder_contexts; +#endif Now, I took a look at how the binder

Re: [PATCH v3 1/3] dt-bindings: Add vendor prefix for Smartlabs LLC

2018-11-09 Thread Andreas Färber
Am 08.11.18 um 20:43 schrieb Christian Hewitt: > Smartlabs LLC are a professional integrator of Interactive TV solutions > and IPTV/VOD devices (https://www.smartlabs.tv/en/about/). > > Signed-off-by: Christian Hewitt > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file

Re: [PATCH 4.14 07/31] clk: tegra: Add quirk for getting CDEV1/2 clocks on Tegra20

2018-11-09 Thread Dmitry Osipenko
On 09.11.2018 0:52, Greg Kroah-Hartman wrote: > 4.14-stable review patch. If anyone has any objections, please let me know. > > -- > > [ Upstream commit 5d797111afe12e488e08432fd9b372fae2cc7e93 ] > > CDEV1 and CDEV2 clocks are a bit special case, their parent clock is > created

Re: [RFC PATCH 1/3] static_call: Add static call infrastructure

2018-11-09 Thread Steven Rostedt
On Thu, 8 Nov 2018 15:15:51 -0600 Josh Poimboeuf wrote: > Add a static call infrastructure. Static calls use code patching to > hard-code function pointers into direct branch instructions. They give > the flexibility of function pointers, but with improved performance. > This is especially imp

[PATCH] scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks

2018-11-09 Thread Brian Norris
git-diff-index does not refresh the index for you, so using it for a "-dirty" check can give misleading results. Commit 6147b1cf19651 ("scripts/setlocalversion: git: Make -dirty check more robust") tried to fix this by switching to git-status, but it overlooked the fact that git-status also writes

Re: WARNING: CPU: 0 PID: 0 at drivers/irqchip/irq-gic-v3-its.c

2018-11-09 Thread Qian Cai
> On Nov 9, 2018, at 12:41 PM, Marc Zyngier wrote: > > On 09/11/18 17:28, Sudeep Holla wrote: >> On Fri, Nov 9, 2018 at 4:10 PM Marc Zyngier wrote: >>> >> [...] >> >>> >>> See bb42ca474010 and d003d029cea8 for details. >>> >>> Now, activating this workaround leads to lockdep being really

Re: x86_64 INIT/SIPI Bug

2018-11-09 Thread Sean Christopherson
On Fri, Nov 09, 2018 at 11:04:59AM -0700, Rian Quinn wrote: > >> I apologize upfront if this is the wrong place to post this, pretty new to > >> this. > >> > >> We are working on the Bareflank Hypervisor (www.bareflank.org), and we > >> are passing through the INIT/SIPI process (similar to how a V

Re: [PATCH RFC 0/3] Static calls

2018-11-09 Thread Steven Rostedt
On Fri, 9 Nov 2018 10:41:37 -0600 Josh Poimboeuf wrote: > On Fri, Nov 09, 2018 at 09:21:39AM -0600, Josh Poimboeuf wrote: > > On Fri, Nov 09, 2018 at 07:16:17AM -0800, Andy Lutomirski wrote: > > > On Thu, Nov 8, 2018 at 11:28 PM Ingo Molnar wrote: > > > > > > > > > > > > All other usecases a

Re: [PATCH] usb: dwc2: gadget: fix ISOC frame overflow handling

2018-11-09 Thread John Keeping
Hi Minas, On Fri, 9 Nov 2018 14:36:36 + Minas Harutyunyan wrote: > On 11/9/2018 12:43 PM, Minas Harutyunyan wrote: > > Hi John, > > > > On 11/8/2018 9:37 PM, John Keeping wrote: > >> Hi Minas, > >> > >> On Mon, 5 Nov 2018 08:28:07 + > >> Minas Harutyunyan wrote: > >> > >>> On 10/23/201

<    1   2   3   4   5   6   7   >