Re: [PATCH v6 08/13] arm64: expose user PAC bit positions via ptrace

2018-12-10 Thread Richard Henderson
On 12/10/18 6:03 AM, Catalin Marinas wrote: >> However, it won't be too long before someone implements support for >> ARMv8.2-LVA, at which point, without changes to mandatory pointer tagging, we >> will only have 3 authentication bits: [54:52]. This seems useless and easily >> brute-force-able. >

[PATCH] iio: accel: mma9551_core: prevent using uninitialized variable

2018-12-10 Thread Martin Kepplinger
mma9551_gpio_config()'s switch statement sets the uninitialized pol_mask variable but doesn't have default settings. Said function can therefore be called in a way to use the uninitialized variable (at least in case enum mma9551_gpio_pin is extended with unhandled values). While things should be f

Re: next/master boot bisection: Oops in nouveau driver on jetson-tk1

2018-12-10 Thread Mark Brown
On Mon, Dec 10, 2018 at 10:00:08AM +, Guillaume Tucker wrote: > On 08/12/2018 00:08, Lyude Paul wrote: > > uh > > didn't we fix this weeks ago? with "drm/nouveau: tegra: Call > > nouveau_drm_device_init()" > > Yes here's the fix from Thierry: > > https://patchwork.freedesktop.or

Re: [PATCH v5 24/25] ptrace: add PTRACE_GET_SYSCALL_INFO request

2018-12-10 Thread kbuild test robot
://github.com/0day-ci/linux/commits/Dmitry-V-Levin/ptrace-add-PTRACE_GET_SYSCALL_INFO-request/20181210-174745 config: mips-malta_kvm_defconfig (attached as .config) compiler: mipsel-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin

Re: [PATCH v6 08/13] arm64: expose user PAC bit positions via ptrace

2018-12-10 Thread Will Deacon
On Mon, Dec 10, 2018 at 08:22:06AM -0600, Richard Henderson wrote: > On 12/10/18 6:03 AM, Catalin Marinas wrote: > >> However, it won't be too long before someone implements support for > >> ARMv8.2-LVA, at which point, without changes to mandatory pointer tagging, > >> we > >> will only have 3 au

Re: [PATCH V2 2/2] iio: accell: mma8452: add optional vdd/vddio regulator operation support

2018-12-10 Thread Martin Kepplinger
On 10.12.18 08:25, Anson Huang wrote: > The accelerometer's power supply could be controlled by regulator > on some platforms, such as i.MX6Q-SABRESD board, the mma8451's > power supply is controlled by a GPIO fixed regulator, need to make > sure the regulator is enabled before any communication wi

[RFC][PATCH 1/3] elf: Make AT_FLAGS arch configurable

2018-12-10 Thread Vincenzo Frascino
Currently, the AT_FLAGS in the elf auxiliary vector are set to 0 by default by the kernel. Some architectures might need to expose to the userspace a non-zero value to advertise some platform specific ABI functionalities. This patch makes AT_FLAGS configurable by the architectures that require it.

[RFC][PATCH 3/3] arm64: elf: Advertise relaxed ABI

2018-12-10 Thread Vincenzo Frascino
On arm64 the TCR_EL1.TBI0 bit has been set since Linux 3.x hence the userspace (EL0) is allowed to set a non-zero value in the top byte but the resulting pointers are not allowed at the user-kernel syscall ABI boundary. This patch sets ARM64_AT_FLAGS_SYSCALL_TBI (bit[0]) in the AT_FLAGS to adverti

[RFC][PATCH 0/3] arm64 relaxed ABI

2018-12-10 Thread Vincenzo Frascino
On arm64 the TCR_EL1.TBI0 bit has been set since Linux 3.x hence the userspace (EL0) is allowed to set a non-zero value in the top byte but the resulting pointers are not allowed at the user-kernel syscall ABI boundary. This patchset proposes a relaxation of the ABI and a mechanism to advertise it

[RFC][PATCH 2/3] arm64: Define Documentation/arm64/elf_at_flags.txt

2018-12-10 Thread Vincenzo Frascino
On arm64 the TCR_EL1.TBI0 bit has been set since Linux 3.x hence the userspace (EL0) is allowed to set a non-zero value in the top byte but the resulting pointers are not allowed at the user-kernel syscall ABI boundary. With the relaxed ABI proposed through this document, it is now possible to pas

Re: [PATCH 1/2] Input: omap-keypad: Fix keyboard debounce configuration

2018-12-10 Thread Tony Lindgren
* Pavel Machek [181209 11:56]: > So, if I press key "." quickly on console in > 4.18.0-rc4-88970-gf075a2c-dirty it starts repeating. I could reproduce > it 3 times from tree tries. Then I decided to test your patch, and so > I booted 4.20-rc5+ using kexec. Turns out, I can't reproduce that > repea

Re: [PATCH] mm/zsmalloc.c: Fix zsmalloc 32-bit PAE support

2018-12-10 Thread Robin Murphy
On 10/12/2018 14:21, Rafael David Tinoco wrote: On 32-bit systems, zsmalloc uses HIGHMEM and, when PAE is enabled, the physical frame number might be so big that zsmalloc obj encoding (to location) will break, causing: BUG: KASAN: null-ptr-deref in zs_map_object+0xa4/0x2bc Read of size 4 at addr

Re: [PATCH v6 10/24] arm64: irqflags: Use ICC_PMR_EL1 for interrupt masking

2018-12-10 Thread Catalin Marinas
On Thu, Dec 06, 2018 at 09:50:18AM +, Julien Thierry wrote: > On 05/12/18 18:26, Catalin Marinas wrote: > > On Wed, Dec 05, 2018 at 04:55:54PM +, Julien Thierry wrote: > >> On 04/12/18 17:36, Catalin Marinas wrote: > >>> On Mon, Nov 12, 2018 at 11:57:01AM +, Julien Thierry wrote: >

Re: [PATCH 29/29] x86/fpu: Defer FPU state load until return to userspace

2018-12-10 Thread Sebastian Andrzej Siewior
On 2018-11-28 23:20:35 [+0100], To linux-kernel@vger.kernel.org wrote: > --- a/arch/x86/kernel/fpu/signal.c > +++ b/arch/x86/kernel/fpu/signal.c > @@ -228,13 +228,12 @@ static int __fpu__restore_sig(void __user *buf, void > __user *buf_fx, int size) > struct task_struct *tsk = current; >

Re: [alsa-devel] [PATCH] ASoC: Intel: kbl_da7219_max98927: fix the audio jack button remapping

2018-12-10 Thread Pierre-Louis Bossart
On 12/9/18 10:32 PM, Zhuohao Lee wrote: From the da7219 spec, the button A, B, C and D are remapped to 0, 1, 2 and 3 respectively where button A is KEY_PLAYPAUSE, B is KEY_VOLUMEUP, C is KEY_VOLUMEDOWN and D is KEY_VOICECOMMAND. Signed-off-by: Zhuohao Lee Signed-off-by: Max Chang I guess

Re: [PATCH V2 2/2] iio: accell: mma8452: add optional vdd/vddio regulator operation support

2018-12-10 Thread Fabio Estevam
On Mon, Dec 10, 2018 at 5:25 AM Anson Huang wrote: > @@ -1533,6 +1536,27 @@ static int mma8452_probe(struct i2c_client *client, > data->client = client; > mutex_init(&data->lock); > data->chip_info = match->data; > + data->vdd_reg = devm_regulator_get_optional(&clien

Re: [PATCH 2/4] kernel.h: Add non_block_start/end()

2018-12-10 Thread Peter Zijlstra
On Mon, Dec 10, 2018 at 03:13:37PM +0100, Michal Hocko wrote: > I do not see any scheduler guys Cced and it would be really great to get > their opinion here. > > On Mon 10-12-18 11:36:39, Daniel Vetter wrote: > > In some special cases we must not block, but there's not a > > spinlock, preempt-off

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-12-10 Thread Dr. Greg
On Sun, Dec 09, 2018 at 06:01:32PM +0100, Pavel Machek wrote: > Hi! Good morning to everyone. > > On Thu, Nov 15, 2018 at 5:08 PM Jarkko Sakkinen > > wrote: > > > > > > Intel Software Guard eXtensions (SGX) is a set of CPU instructions that > > > can be used by applications to set aside private

Re: [RESEND PATCH v2] clocksource/arm_arch_timer: fix a lockdep warning

2018-12-10 Thread Peter Zijlstra
On Mon, Dec 10, 2018 at 02:19:53PM +, Valentin Schneider wrote: > Hi, > > On 10/12/2018 14:07, Peter Zijlstra wrote: > [...] > > --- > > kernel/cpu.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/kernel/cpu.c b/kernel/cpu.c > > index 91d5c38eb7e5..e1ee8caf28b5 100644 > > -

Re: [RESEND PATCH v2] clocksource/arm_arch_timer: fix a lockdep warning

2018-12-10 Thread Marc Zyngier
On 10/12/2018 13:52, Qian Cai wrote: > Booting this Huawei TaiShan 2280 arm64 server generated this lockdep > warning. > > [0.00] lockdep_assert_cpus_held+0x50/0x60 > [0.00] static_key_enable_cpuslocked+0x30/0xe8 > [0.00] arch_timer_check_ool_workaround+0x128/0x2d0 > [

Re: [PATCH 0/5] arm64: assorted fixes for dcache_by_line_op

2018-12-10 Thread Robin Murphy
Hi Will, On 07/12/2018 17:53, Will Deacon wrote: Hi Ard, Cheers for looking at this. On Thu, Dec 06, 2018 at 04:57:34PM +0100, Ard Biesheuvel wrote: This fixes two issues in dcache_by_line_op: patch #4 fixes the logic that is applied when patching DC CVAP instructions, and patch #5 gets rid o

Re: [PATCH v10 0/8] Introduce on-chip interconnect API

2018-12-10 Thread Georgi Djakov
On 12/10/18 13:00, Rafael J. Wysocki wrote: > On Mon, Dec 10, 2018 at 11:18 AM Georgi Djakov > wrote: >> >> Hi Rafael, >> >> On 12/10/18 11:04, Rafael J. Wysocki wrote: >>> On Thu, Dec 6, 2018 at 3:55 PM Greg KH wrote: On Wed, Dec 05, 2018 at 12:41:35PM -0800, Evan Green wrote: > O

Re: [PATCH v7 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

2018-12-10 Thread Miquel Raynal
Hi Liang, Liang Yang wrote on Mon, 10 Dec 2018 20:12:39 +0800: > On 2018/12/10 19:38, Boris Brezillon wrote: > > On Mon, 10 Dec 2018 19:23:46 +0800 > > Liang Yang wrote: > > > +mtd->ecc_stats.failed++; > +continue; > +

Re: [PATCH v6 01/20] lib/vsprintf: Print time and date in human readable format via %pt

2018-12-10 Thread Petr Mladek
On Tue 2018-12-04 23:23:11, Andy Shevchenko wrote: > There are users which print time and date represented by content of > struct rtc_time in human readable format. > > Instead of open coding that each time introduce %ptR[dt][r] specifier. > > Cc: Arnd Bergmann > Cc: Bartlomiej Zolnierkiewicz >

Re: [PATCH] ata: pata_oldpiix: Add missing device ID for INTEL_82371AB

2018-12-10 Thread Sergei Shtylyov
Hello! On 12/10/2018 04:46 PM, Corentin Labbe wrote: > When playing with a virtual SPARC machine with qemu, I found that the > IDE emulated device was not probing with the ata/pata_oldpiix driver. Correctly, it should probe with ata_piix, > But with the old ide/piix, it was probed.> > This

Re: [PATCH v2 3/4] x86/kvm/hyper-v: direct mode for synthetic timers

2018-12-10 Thread Vitaly Kuznetsov
Roman Kagan writes: > On Mon, Dec 10, 2018 at 01:54:18PM +0100, Vitaly Kuznetsov wrote: >> Roman Kagan writes: >> > Just noticed that the patch seems to assume that "direct" timers are >> > allowed to use any vectors including 0-15. I guess this is incorrect, >> > and instead stimer_set_config

Hello My Beloved One

2018-12-10 Thread Aisha Gaddafi
Assalamu alaikum, I came across your e-mail contact prior a private search while in need of a trusted person. My name is Mrs. Aisha Gaddafi, a single Mother and a Widow with three Children. I am the only biological Daughter of late Libyan President (Late Colonel Muammar Gaddafi)I have a busine

Re: [PATCH v2 3/6] misc: fastrpc: Add support for context Invoke method

2018-12-10 Thread kbuild test robot
://github.com/0day-ci/linux/commits/Srinivas-Kandagatla/misc-Add-support-to-Qualcomm-FastRPC-driver/20181210-093054 config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin

Re: siginfo pid not populated from ptrace?

2018-12-10 Thread Oleg Nesterov
On 12/06, Tycho Andersen wrote: > > --- a/kernel/signal.c > +++ b/kernel/signal.c > @@ -1056,11 +1056,14 @@ static int __send_signal(int sig, struct > kernel_siginfo *info, struct task_struc > goto ret; > > result = TRACE_SIGNAL_DELIVERED; > + > /* > - * Skip usele

Re: [PATCH v2 2/2] arm64: uaccess: Implement unsafe accessors

2018-12-10 Thread Catalin Marinas
On Fri, Dec 07, 2018 at 08:38:11AM +, Julien Thierry wrote: > > > On 12/06/2018 06:25 PM, Catalin Marinas wrote: > > On Mon, Dec 03, 2018 at 01:55:18PM +, Julien Thierry wrote: > > > diff --git a/arch/arm64/include/asm/uaccess.h > > > b/arch/arm64/include/asm/uaccess.h > > > index 07c340

[PATCH 0/3] i2c-axxia: support Sequence command

2018-12-10 Thread Adamski, Krzysztof (Nokia - PL/Wroclaw)
Hi Woflram, This patch was based on your i2c/for-current branch as it adds to my patch you incuded there. First two patches are just preparations and the 3rd one which is the actual change. It allows us using hardware mode to send i2c transfers consisting for a write followed by read without the n

[PATCH 1/3] i2c-axxia: dedicated function to set client addr

2018-12-10 Thread Adamski, Krzysztof (Nokia - PL/Wroclaw)
This patch moves configuration of hardware registers used for setting i2c client address to separate function. It is preparatory change for next commit. Signed-off-by: Krzysztof Adamski --- drivers/i2c/busses/i2c-axxia.c | 29 ++--- 1 file changed, 18 insertions(+), 11 de

Re: [PATCH 2/4] kernel.h: Add non_block_start/end()

2018-12-10 Thread Michal Hocko
On Mon 10-12-18 15:47:11, Peter Zijlstra wrote: > On Mon, Dec 10, 2018 at 03:13:37PM +0100, Michal Hocko wrote: > > I do not see any scheduler guys Cced and it would be really great to get > > their opinion here. > > > > On Mon 10-12-18 11:36:39, Daniel Vetter wrote: > > > In some special cases we

[PATCH 2/3] i2c-axxia: check for error conditions first

2018-12-10 Thread Adamski, Krzysztof (Nokia - PL/Wroclaw)
It was observed that when using seqentional mode contrary to the documentation, the SS bit (which is supposed to only be set if automatic/sequence command completed normally), is sometimes set together with NA (NAK in address phase) causing transfer to falsely be considered successful. My assumpti

[PATCH 3/3] i2c-axxia: support sequence command mode

2018-12-10 Thread Adamski, Krzysztof (Nokia - PL/Wroclaw)
In order to comply with SMBus specification, the Axxia I²C module will abort the multi message transfer if the delay between finishing sending one message and starting another is longer than 25ms. Unfortunately it isn't that hard to trigger this situation on a busy system. In order to fix this prob

Re: [PATCH] mm/zsmalloc.c: Fix zsmalloc 32-bit PAE support

2018-12-10 Thread Russell King - ARM Linux
On Mon, Dec 10, 2018 at 02:35:55PM +, Robin Murphy wrote: > On 10/12/2018 14:21, Rafael David Tinoco wrote: > >On 32-bit systems, zsmalloc uses HIGHMEM and, when PAE is enabled, the > >physical frame number might be so big that zsmalloc obj encoding (to > >location) will break, causing: > > > >

Re: [PATCH 1/1] mm, memory_hotplug: Initialize struct pages for the full memory section

2018-12-10 Thread Wei Yang
On Mon, Dec 10, 2018 at 02:07:12PM +0100, Mikhail Zaslonko wrote: >If memory end is not aligned with the sparse memory section boundary, the >mapping of such a section is only partly initialized. This may lead to >VM_BUG_ON due to uninitialized struct page access from >is_mem_section_removable() or

[PATCH 2/2] regulator: provide regulator_set_voltage_sel_regmap_step() helper

2018-12-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski On some devices we need to manually ramp the regulators to desired voltage one step at a time. This patch adds a helper routine for regmap users that checks if the regulator is enabled and, if so, iterates over all selectors between the current one and the one representi

[PATCH 1/2] regulator: make _regulator_is_enabled() available in internal.h

2018-12-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We want to use _regulator_is_enabled() in helpers.c. Export it locally in internal.h. Signed-off-by: Bartosz Golaszewski --- drivers/regulator/core.c | 3 +-- drivers/regulator/internal.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/driver

[PATCH 0/2] regulator: stepping set voltage for regmap users

2018-12-10 Thread Bartosz Golaszewski
I'm working on a regulator driver for a PMIC whose programming manual suggests manual ramping of the regulator output voltage one step at a time (when the regulator is enabled). Initially I wanted to simply put it into the driver but noticed that some other modules (e.g. rk808) seem to be doing th

[PATCH] kprobes/x86/xen: blacklist non-attachable xen interrupt functions

2018-12-10 Thread Andrea Righi
Blacklist symbols in Xen probe-prohibited areas, so that user can see these prohibited symbols in debugfs. See also: a50480cb6d61. Signed-off-by: Andrea Righi --- arch/x86/xen/xen-asm_64.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/xen/xen-asm_64.S b/arch/x86/xen/xen-asm_64.

Re: [RFC] locking/rwsem: Avoid issuing wakeup before setting the reader waiter to nil

2018-12-10 Thread Yongji Xie
On Fri, 30 Nov 2018 at 06:17, Peter Zijlstra wrote: > > On Thu, Nov 29, 2018 at 01:34:21PM -0800, Davidlohr Bueso wrote: > > I messed up something such that waiman was not in the thread. Ccing. > > > > > On Thu, 29 Nov 2018, Waiman Long wrote: > > > > > > > That can be costly for x86 which will no

Re: [PATCH v2.1 24/34] dt-bindings: arm: Convert Rockchip board/soc bindings to json-schema

2018-12-10 Thread Rob Herring
On Sun, Dec 9, 2018 at 4:14 PM Heiko Stuebner wrote: > > Convert Rockchip SoC bindings to DT schema format using json-schema. > > Cc: Mark Rutland > Cc: Heiko Stuebner > Cc: devicet...@vger.kernel.org > Cc: linux-arm-ker...@lists.infradead.org > Cc: linux-rockc...@lists.infradead.org > Signed-of

RE: [PATCH] regmap: regmap-irq/gpio-max77620: add level-irq support

2018-12-10 Thread Vaittinen, Matti
From: kbuild test robot [l...@intel.com] Sent: Monday, December 10, 2018 4:19 PM To: Vaittinen, Matti Cc: kbuild-...@01.org; Vaittinen, Matti; mazziesacco...@gmail.com; broo...@kernel.org; gre...@linuxfoundation.org; raf...@kernel.org; linus.wall...@lina

Re: [PATCH net 4/4] vhost: log dirty page correctly

2018-12-10 Thread kbuild test robot
Hi Jason, I love your patch! Perhaps something to improve: [auto build test WARNING on net/master] url: https://github.com/0day-ci/linux/commits/Jason-Wang/Fix-various-issue-of-vhost/20181210-223236 config: i386-randconfig-x072-201849 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1

Re: [PATCH 1/1] xen/blkback: rework connect_ring() to avoid inconsistent xenstore 'ring-page-order' set by malicious blkfront

2018-12-10 Thread Roger Pau Monné
On Fri, Dec 07, 2018 at 12:18:04PM +0800, Dongli Zhang wrote: > The xenstore 'ring-page-order' is used globally for each blkback queue and > therefore should be read from xenstore only once. However, it is obtained > in read_per_ring_refs() which might be called multiple times during the > initiali

Re: [PATCH] mm/zsmalloc.c: Fix zsmalloc 32-bit PAE support

2018-12-10 Thread Kirill A. Shutemov
On Mon, Dec 10, 2018 at 12:21:05PM -0200, Rafael David Tinoco wrote: > diff --git a/arch/x86/include/asm/pgtable_64_types.h > b/arch/x86/include/asm/pgtable_64_types.h > index 84bd9bdc1987..d808cfde3d19 100644 > --- a/arch/x86/include/asm/pgtable_64_types.h > +++ b/arch/x86/include/asm/pgtable_64_

Re: [PATCH] regmap: regmap-irq/gpio-max77620: add level-irq support

2018-12-10 Thread Vladimir Zapolskiy
On 12/10/2018 10:14 AM, Matti Vaittinen wrote: > Add level active IRQ support to regmap-irq irqchip. Change breaks > existing regmap-irq type setting. Convert the existing drivers which > use regmap-irq with trigger type setting (gpio-max77620) to work > with this new approach. So we do not magical

Re: [PATCH v3] ksm: Assist buddy allocator to assemble 1-order pages

2018-12-10 Thread Kirill Tkhai
Andrew, please, drop this patch. It misses, that the caller (i.e. cmp_and_merge_page()) is not symmetrical for page and tree_page (there is put_page(tree_page) in the caller). We could change try_to_merge_two_pages() arguments and to pass &rmap_item, &page, &tree_rmap_item and &tree_page from the

Re: [PATCH 2/4] kernel.h: Add non_block_start/end()

2018-12-10 Thread Peter Zijlstra
On Mon, Dec 10, 2018 at 04:01:59PM +0100, Michal Hocko wrote: > On Mon 10-12-18 15:47:11, Peter Zijlstra wrote: > > On Mon, Dec 10, 2018 at 03:13:37PM +0100, Michal Hocko wrote: > > > I do not see any scheduler guys Cced and it would be really great to get > > > their opinion here. > > > > > > On

Re: [PATCH] mmc: sdhci-omap: Workaround errata regarding SDR104/HS200 tuning failures (i929)

2018-12-10 Thread Ulf Hansson
On Mon, 10 Dec 2018 at 15:04, Faiz Abbas wrote: > > Hi, > > On 10/12/18 7:15 PM, Ulf Hansson wrote: > > On Mon, 10 Dec 2018 at 14:23, Faiz Abbas wrote: > >> > >> Hi Uffe, > >> > >> On 05/12/18 7:20 PM, Ulf Hansson wrote: > >>> On Fri, 30 Nov 2018 at 06:53, Faiz Abbas wrote: > > Hi Kish

[patch] futex: Cure exit race

2018-12-10 Thread Thomas Gleixner
Stefan reported, that the glibc tst-robustpi4 test case fails occasionally. That case creates the following race between sys_exit() and sys_futex(LOCK_PI): CPU0 CPU1 sys_exit() sys_futex() do_exit() futex_lock_pi() exit_sig

[PATCH] arm64: Add memory hotplug support

2018-12-10 Thread Robin Murphy
Wire up the basic support for hot-adding memory. Since memory hotplug is fairly tightly coupled to sparsemem, we tweak pfn_valid() to also cross-check the presence of a section in the manner of the generic implementation, before falling back to memblock to check for no-map regions within a present

Re: [PATCH v5 0/7] spi: add support for octal mode

2018-12-10 Thread Mark Brown
On Mon, Dec 10, 2018 at 04:13:28AM +, Yogesh Narayan Gaur wrote: > Hi Mark, Please don't top post, reply in line with needed context. This allows readers to readily follow the flow of conversation and understand what you are talking about and also helps ensure that everything in the discussio

*powersave* governor shown despite disabled in configuration

2018-12-10 Thread Paul Menzel
Dear Linux folks, With Linux 4.14.76, the scaling governor *powersave* is shown as being available despite being disabled in the configuration. ``` $ uname -a Linux xxx.molgen.mpg.de 4.14.76.mx64.228 #1 SMP Tue Oct 16 19:20:58 CEST 2018 x86_64 GNU/Linux $ zcat /proc/config.gz |grep CONFIG_CPU_F

tipc: NULL deref in tipc_net_finalize

2018-12-10 Thread Dmitry Vyukov
Hello, The following program crashes upstream kernel on 40e020c129cfc991e8ab4736d2665351ffd1468d (Dec 9) with: BUG: unable to handle kernel NULL pointer dereference at 0001 PGD 0 P4D 0 Oops: [#1] SMP PTI CPU: 1 PID: 45 Comm: kworker/1:1 Not tainted 4.20.0-rc6 #3 Hardware name: QE

Re: [PATCH v6 2/3] iommu/io-pgtable-arm-v7s: Request DMA32 memory, and improve debugging

2018-12-10 Thread Will Deacon
On Mon, Dec 10, 2018 at 09:15:03AM +0800, Nicolas Boichat wrote: > IOMMUs using ARMv7 short-descriptor format require page tables > (level 1 and 2) to be allocated within the first 4GB of RAM, even > on 64-bit systems. > > For level 1/2 pages, ensure GFP_DMA32 is used if CONFIG_ZONE_DMA32 > is def

Re: siginfo pid not populated from ptrace?

2018-12-10 Thread Oleg Nesterov
On 12/06, Eric W. Biederman wrote: > > The challenge is that we could be delivering this to a zombie signal > group leader. ... > Sigh it is probably time that I dig in and figure out how to avoid that > case which we need to fix anyway because we can get the permission > checks wrong for multi-t

Re: [PATCH 2/2] regulator: provide regulator_set_voltage_sel_regmap_step() helper

2018-12-10 Thread Mark Brown
On Mon, Dec 10, 2018 at 04:10:24PM +0100, Bartosz Golaszewski wrote: > On some devices we need to manually ramp the regulators to desired > voltage one step at a time. This patch adds a helper routine for > regmap users that checks if the regulator is enabled and, if so, My first question would b

Re: siginfo pid not populated from ptrace?

2018-12-10 Thread Tycho Andersen
Hi Oleg, On Mon, Dec 10, 2018 at 04:37:18PM +0100, Oleg Nesterov wrote: > On 12/06, Eric W. Biederman wrote: > > > > The challenge is that we could be delivering this to a zombie signal > > group leader. > > ... > > > Sigh it is probably time that I dig in and figure out how to avoid that > > ca

[PATCH] Input: touchscreen: ad7879: Fix ERROR: foo* bar should be "foo *bar"

2018-12-10 Thread Hardik Singh Rathore
Fix the coding style problem reported by checkpatch.pl. Signed-off-by: Hardik Singh Rathore --- drivers/input/touchscreen/ad7879.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/ad7879.c b/drivers/input/touchscreen/ad7879.c index 6bad23ee47a1..b689

Re: [PATCH] regulator: core: Clean enabling always-on regulators + their supplies

2018-12-10 Thread Mark Brown
On Thu, Dec 06, 2018 at 02:23:18PM -0800, Douglas Anderson wrote: > At the end of regulator_resolve_supply() we have historically turned > on our supply in some cases. This could be for one of two reasons: This doesn't apply against current code, please check and resend. signature.asc Descripti

[PATCH] ieee802154: at86rf230: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-10 Thread Yangtao Li
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/net/ieee802154/at86rf230.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index 3d9e91579866..02

Re: [PATCH v4 2/8] drm/msm/dsi: 28nm 8960 PHY: Get ref clock from the DT

2018-12-10 Thread Stephen Boyd
Quoting Matthias Kaehlcke (2018-12-04 14:42:28) > Get the ref clock of the PHY from the device tree instead of > hardcoding its name and rate. > > Signed-off-by: Matthias Kaehlcke > --- Reviewed-by: Stephen Boyd

Re: [RESEND PATCH v2] clocksource/arm_arch_timer: fix a lockdep warning

2018-12-10 Thread Qian Cai
On 12/10/18 9:07 AM, Peter Zijlstra wrote: > On Mon, Dec 10, 2018 at 08:52:28AM -0500, Qian Cai wrote: >> Booting this Huawei TaiShan 2280 arm64 server generated this lockdep >> warning. >> >> [0.00] lockdep_assert_cpus_held+0x50/0x60 >> [0.00] static_key_enable_cpuslocked+0x30/

Re: [PATCH v4 3/8] drm/msm/dsi: 28nm PHY: Get ref clock from the DT

2018-12-10 Thread Stephen Boyd
Quoting Matthias Kaehlcke (2018-12-04 14:42:29) > Get the ref clock of the PHY from the device tree instead of > hardcoding its name and rate. > > Signed-off-by: Matthias Kaehlcke > --- Reviewed-by: Stephen Boyd

Re: [PATCH v3 0/7] dma-debug cleanup and dynamic allocation

2018-12-10 Thread Qian Cai
On 12/10/18 9:00 AM, Robin Murphy wrote: > Hi all, > > Here's some assorted cleanup and improvements to dma-debug which grew > out of the problem that certain drivers use very large numbers of DMA > mappings, and knowing when to override "dma_debug_entries=..." and what > value to override it with

Re: [PATCH v4 4/8] drm/msm/dsi: 14nm PHY: Get ref clock from the DT

2018-12-10 Thread Stephen Boyd
Quoting Matthias Kaehlcke (2018-12-04 14:42:30) > diff --git a/drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c > b/drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c > index 71fe60e5f01f1..032bf3e8614bd 100644 > --- a/drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c > +++ b/drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c

[GIT PULL] Backlight fixes for v4.20

2018-12-10 Thread Lee Jones
Good afternoon Linus, Enjoy! The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git tags/backlight-fixes-4.20 for you t

Re: linux-next: build failure after merge of the rdma tree

2018-12-10 Thread Masahiro Yamada
On Thu, Dec 6, 2018 at 7:59 AM Stephen Rothwell wrote: > > Hi Guy, > > On Wed, 5 Dec 2018 12:25:57 + "Guy Levi(SW)" wrote: > > > > > > > > Huh. So apparently every compiler that tested this patch (0-day, mine, > > > the submitters) optimized this call away because is_atomic_response() > > > a

Re: [PATCH v4 5/8] drm/msm/dsi: 10nm PHY: Get ref clock from the DT

2018-12-10 Thread Stephen Boyd
Quoting Matthias Kaehlcke (2018-12-04 14:42:31) > Get the ref clock of the PHY from the device tree instead of > hardcoding its name and rate. > > Note: This change could break old out-of-tree DTS files that > use the 10nm PHY > > Signed-off-by: Matthias Kaehlcke > Reviewed-by: Douglas Anderson

[PATCH] net: xenbus: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-10 Thread Yangtao Li
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/net/xen-netback/xenbus.c | 18 +++--- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/drivers/net/xen-netback/xenbus.c b/drivers/net/xen-netback/xenbus.c index fe1d52247bbe..262

Re: use generic DMA mapping code in powerpc V4

2018-12-10 Thread Christian Zigotzky
Next step: 64ecd2c160bbef31465c4d34efc0f076a2aad4df (powerpc/dma: use phys_to_dma instead of get_dma_offset) The P5020 board boots and the PASEMI onboard ethernet works. -- Christian On 09 December 2018 at 7:26PM, Christian Zigotzky wrote: Next step: c1bfcad4b0cf38ce5b00f7ad880d3a13484c123a (

Re: [PATCH v2 01/34] kbuild: Add support for DT binding schema checks

2018-12-10 Thread Rob Herring
On Fri, Dec 7, 2018 at 10:47 PM Masahiro Yamada wrote: > > Hi Rob, > > > On Tue, Dec 4, 2018 at 6:32 AM Rob Herring wrote: > > > > This adds the build infrastructure for checking DT binding schema > > documents and validating dts files using the binding schema. > > > > Check DT binding schema doc

Re: + panic-avoid-the-extra-noise-dmesg.patch added to -mm tree

2018-12-10 Thread Petr Mladek
On Mon 2018-12-10 17:45:54, Feng Tang wrote: > Hi Sergey, > > + lkml. > > On Fri, Dec 07, 2018 at 06:50:04PM +0900, Sergey Senozhatsky wrote: > > On (12/06/18 11:58), Feng Tang wrote: > > > > Same here, I tried on several platforms and hardly get the sysrq magic > > > > key > > > > working, thou

[PATCH] fjes: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-10 Thread Yangtao Li
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/net/fjes/fjes_debugfs.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/net/fjes/fjes_debugfs.c b/drivers/net/fjes/fjes_debugfs.c index 30052ebd52bf..7fed88ea27a

Re: [PATCH] net: xenbus: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-10 Thread Wei Liu
On Mon, Dec 10, 2018 at 10:53:29AM -0500, Yangtao Li wrote: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li Acked-by: Wei Liu Thanks for the patch.

Re: [patch] futex: Cure exit race

2018-12-10 Thread Peter Zijlstra
On Mon, Dec 10, 2018 at 04:23:06PM +0100, Thomas Gleixner wrote: > kernel/futex.c | 57 > + > 1 file changed, 53 insertions(+), 4 deletions(-) > > --- a/kernel/futex.c > +++ b/kernel/futex.c > @@ -1148,11 +1148,60 @@ static int attach_to

[PATCH] bpf: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-10 Thread Yangtao Li
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/net/netdevsim/bpf.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/drivers/net/netdevsim/bpf.c b/drivers/net/netdevsim/bpf.c index cb3518474f0e..14b4d9774708 100644

Re: [PATCH v2] x86/fault: Decode and print #PF oops in human readable form

2018-12-10 Thread Sean Christopherson
On Fri, Dec 07, 2018 at 03:57:10PM -0800, Andy Lutomirski wrote: > On Fri, Dec 7, 2018 at 2:14 PM Linus Torvalds > wrote: > > > > On Fri, Dec 7, 2018 at 2:06 PM Sean Christopherson > > wrote: > > > > > > Looking at it again, my own personal preference would be to swap the order > > > of the #PF l

[PATCH RESEND v7 1/4] clk: meson: add emmc sub clock phase delay driver

2018-12-10 Thread Jianxin Pan
From: Yixun Lan Export the emmc sub clock phase delay ops which will be used by the emmc sub clock driver itself. Signed-off-by: Yixun Lan Signed-off-by: Jianxin Pan --- drivers/clk/meson/Makefile | 2 +- drivers/clk/meson/clk-phase-delay.c | 64 +

[PATCH RESEND v7 0/4] clk: meson: add a sub EMMC clock controller support

2018-12-10 Thread Jianxin Pan
This driver will add a MMC clock controller driver support. The original idea about adding a clock controller is during the discussion in the NAND driver mainline effort[1]. This driver is tested in the S400 board (AXG platform) with NAND driver. Changes since v6 [7]: - add one based support for

[PATCH RESEND v7 3/4] clk: meson: add sub MMC clock controller driver

2018-12-10 Thread Jianxin Pan
From: Yixun Lan The patch will add a MMC clock controller driver which used by MMC or NAND, It provide a mux and divider clock, and three phase clocks - core, tx, tx. Two clocks are provided as the parent of MMC clock controller from upper layer clock controller - eg "amlogic,axg-clkc" in AXG pl

[PATCH RESEND v7 4/4] clk: meson: add one based divider support for sclk divider

2018-12-10 Thread Jianxin Pan
When CLK_DIVIDER_ONE_BASED flag is set, the sclk divider will be: one based divider (div = val), and zero value gates the clock Signed-off-by: Jianxin Pan --- drivers/clk/meson/clkc-audio.h | 1 + drivers/clk/meson/sclk-div.c | 28 ++-- 2 files changed, 19 insertions(+

[GIT PULL] HID fixes

2018-12-10 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus to receive HID subsystem fixes: = - two device-specific quirks from Hans de Goede and Nic Soudée - reintroduction of (mistakenly remocved) ABS_RESERVED from Peter Hutterer = Thanks. -

[PATCH RESEND v7 2/4] clk: meson: add DT documentation for emmc clock controller

2018-12-10 Thread Jianxin Pan
From: Yixun Lan Document the MMC sub clock controller driver, the potential consumer of this driver is MMC or NAND. Also add four clock bindings IDs which provided by this driver. Reviewed-by: Rob Herring Signed-off-by: Yixun Lan Signed-off-by: Jianxin Pan --- .../devicetree/bindings/clock/a

[PATCH] ksm: React on changing "sleep_millisecs" parameter faster

2018-12-10 Thread Kirill Tkhai
ksm thread unconditionally sleeps in ksm_scan_thread() after each iteration: schedule_timeout_interruptible( msecs_to_jiffies(ksm_thread_sleep_millisecs)) The timeout is configured in /sys/kernel/mm/ksm/sleep_millisecs. In case of user writes a big value by a mistake, and

Re: [linux-sunxi] Re: [PATCH v4 08/26] drm/sun4i: sun6i_mipi_dsi: Fix VBP size calculation

2018-12-10 Thread Jagan Teki
On Fri, Dec 7, 2018 at 6:51 PM Maxime Ripard wrote: > > On Tue, Nov 27, 2018 at 04:34:35PM +0530, Jagan Teki wrote: > > On Tue, Nov 27, 2018 at 3:55 PM Maxime Ripard > > wrote: > > > > > > On Tue, Nov 20, 2018 at 09:55:42PM +0530, Jagan Teki wrote: > > > > On Tue, Nov 20, 2018 at 9:27 PM Maxime

[PATCH] bonding: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-10 Thread Yangtao Li
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/net/bonding/bond_debugfs.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/net/bonding/bond_debugfs.c b/drivers/net/bonding/bond_debugfs.c index 3868e1a5126d..1

Re: [PATCH v6 08/13] arm64: expose user PAC bit positions via ptrace

2018-12-10 Thread Catalin Marinas
On Mon, Dec 10, 2018 at 02:29:45PM +, Will Deacon wrote: > On Mon, Dec 10, 2018 at 08:22:06AM -0600, Richard Henderson wrote: > > On 12/10/18 6:03 AM, Catalin Marinas wrote: > > >> However, it won't be too long before someone implements support for > > >> ARMv8.2-LVA, at which point, without ch

Re: [PATCH v5 24/25] ptrace: add PTRACE_GET_SYSCALL_INFO request

2018-12-10 Thread Dmitry V. Levin
master] > [also build test ERROR on v4.20-rc6] > [cannot apply to next-20181207] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Dmitry-V-Levin/ptrace-add-PTRACE_GET_

Re: [PATCH v4 00/10] steal tasks to improve CPU utilization

2018-12-10 Thread Vincent Guittot
Hi Steven, On Thu, 6 Dec 2018 at 22:38, Steve Sistare wrote: > > When a CPU has no more CFS tasks to run, and idle_balance() fails to > find a task, then attempt to steal a task from an overloaded CPU in the > same LLC. Maintain and use a bitmap of overloaded CPUs to efficiently > identify candid

Re: [PATCH 3/7] doc/vm: New documentation for memory performance

2018-12-10 Thread Dan Williams
On Thu, Nov 15, 2018 at 4:59 AM Jonathan Cameron wrote: > > On Wed, 14 Nov 2018 15:49:16 -0700 > Keith Busch wrote: [..] > > +The kernel does not provide performance attributes for non-local memory > > +initiators. The performance characteristics the kernel provides for > > +the local initiators

Re: [PATCH v2 11/12] drm/panel: Add Feiyang FY07024DI26A30-D MIPI-DSI LCD panel

2018-12-10 Thread Jagan Teki
Hi Thierry and David, On Fri, Nov 16, 2018 at 10:10 PM Jagan Teki wrote: > > Feiyang FY07024DI26A30-D is 1024x600, 4-lane MIPI-DSI LCD panel. > > Add panel driver for it. > > Signed-off-by: Jagan Teki > --- > MAINTAINERS | 6 + > drivers/gpu/drm/panel/Kconfig

Re: [PATCH] media: vimc: add configfs API to configure the topology

2018-12-10 Thread Helen Koike
Hi Hans, On 12/10/18 9:31 AM, Hans Verkuil wrote: > On 12/7/18 7:22 PM, Helen Koike wrote: >> Add API to allow userspace to create any type of topology in vimc using >> basic system calls such as mkdir/rmdir/read/write. >> >> Signed-off-by: Helen Koike >> >> --- >> Hi, >> >> This patch introduces

[PATCH v5 00/17] drm/sun4i: Allwinner A64 MIPI-DSI support

2018-12-10 Thread Jagan Teki
This series fixed the issues related to work DSI on 2-lane panel which is reported on previous version[1][2][3] This supposed to be a clean series, where it support Allwinner A64 MIPI-DSI support for 4-lane, 2-lane DSI panels. This series fixed all previous series comments along with checkpatch w

[PATCH v5 01/17] clk: sunxi-ng: Add check for minimal rate to NKM PLLs

2018-12-10 Thread Jagan Teki
Some NKM PLLs doesn't work well when their output clock rate is set below certain rate. So, add support for minimal rate for relevant PLLs. Signed-off-by: Jagan Teki Acked-by: Stephen Boyd --- drivers/clk/sunxi-ng/ccu_nkm.c | 5 + drivers/clk/sunxi-ng/ccu_nkm.h | 1 + 2 files changed, 6 in

[PATCH v5 15/17] clk: sunxi-ng: a64: Add minimum rate for PLL_MIPI

2018-12-10 Thread Jagan Teki
Minimum PLL used for MIPI is 500MHz, as per manual, but lowering the min rate by 300MHz can result proper working nkms divider with the help of desired dclock rate from panel driver. Signed-off-by: Jagan Teki Acked-by: Stephen Boyd --- drivers/clk/sunxi-ng/ccu-sun50i-a64.c | 1 + 1 file changed

[PATCH v5 16/17] dt-bindings: sun6i-dsi: Add A64 DPHY compatible (w/ A31 fallback)

2018-12-10 Thread Jagan Teki
The MIPI DSI PHY HDMI controller on Allwinner A64 is similar on the one on A31. Add A64 compatible and append A31 compatible as fallback. Signed-off-by: Jagan Teki Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/display/sunxi/sun6i-dsi.txt | 1 + 1 file changed, 1 insertion(+)

[PATCH v5 12/17] drm/sun4i: sun6i_mipi_dsi: Set proper vblk timing calculation

2018-12-10 Thread Jagan Teki
Unlike hblk, the vblk timings should follow an equation to compute the desired value for lane 4 devices and rest of devices it would be 0. BSP code from BPI-M64-bsp is computing vblk as for 4-lane devices (from linux-sunxi drivers/video/sunxi/disp2/disp/de/lowlevel_sun50iw1/de_dsi.c) tmp = (ht*ds

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