Re: [PATCH] arch: unexport asm/shmparam.h for all architectures

2019-01-07 Thread Geert Uytterhoeven
Hi Yamada-san, On Tue, Jan 8, 2019 at 12:41 AM Masahiro Yamada wrote: > Most architectures do not export shmparam.h to user-space. > > $ find arch -name shmparam.h | sort > arch/alpha/include/asm/shmparam.h > arch/arc/include/asm/shmparam.h > arch/arm64/include/asm/shmparam.h >

Re: [PATCH 4.9 00/71] 4.9.149-stable review

2019-01-07 Thread Naresh Kamboju
On Mon, 7 Jan 2019 at 21:23, Greg Kroah-Hartman wrote: > > On Mon, Jan 07, 2019 at 01:32:29PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.149 release. > > There are 71 patches in this series, all will be posted as a response > > to this one. If

Re: [RFC v2 0/6] x86: dynamic indirect branch promotion

2019-01-07 Thread Adrian Hunter
On 7/01/19 6:32 PM, Peter Zijlstra wrote: > On Thu, Jan 03, 2019 at 02:18:15PM -0800, Andi Kleen wrote: >> Nadav Amit writes: >>> >>> - Do we use periodic learning or not? Josh suggested to reconfigure the >>> branches whenever a new target is found. However, I do not know at >>> this time

Re: [PATCH v2 1/2] mm: add probe_user_read()

2019-01-07 Thread Mike Rapoport
On Tue, Jan 08, 2019 at 07:37:44AM +, Christophe Leroy wrote: > In powerpc code, there are several places implementing safe > access to user data. This is sometimes implemented using > probe_kernel_address() with additional access_ok() verification, > sometimes with get_user() enclosed in a

Re: [PATCH v4 05/10] KVM/x86: expose MSR_IA32_PERF_CAPABILITIES to the guest

2019-01-07 Thread Wei Wang
On 01/08/2019 02:48 AM, Jim Mattson wrote: On Mon, Jan 7, 2019 at 10:20 AM Andi Kleen wrote: The issue is compatibility. Prior to your change, reading this MSR from a VM would raise #GP. After your change, it won't. That means that if you have a VM migrating between hosts with kernel versions

Re: [PATCH 4.20 000/145] 4.20.1-stable review

2019-01-07 Thread Greg Kroah-Hartman
On Mon, Jan 07, 2019 at 03:36:48PM -0700, shuah wrote: > On 1/7/19 5:30 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.20.1 release. > > There are 145 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with

Re: [PATCH 4.20 000/145] 4.20.1-stable review

2019-01-07 Thread Greg Kroah-Hartman
On Mon, Jan 07, 2019 at 01:17:49PM -0800, Guenter Roeck wrote: > On Mon, Jan 07, 2019 at 01:30:37PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.20.1 release. > > There are 145 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH] parisc: remove meaningless ccflags-y in arch/parisc/boot/Makefile

2019-01-07 Thread Helge Deller
On 08.01.19 07:45, Masahiro Yamada wrote: > This ccflags-y is never used because arch/parisc/boot/Makefile > only contains objcopy and install targets. > > Signed-off-by: Masahiro Yamada I've added this patch to the parisc for-next tree. Thanks, Helge > --- > > arch/parisc/boot/Makefile | 6

Re: [PATCH] parisc: replace oops_in_progress manipulation with bust_spinlocks()

2019-01-07 Thread Helge Deller
On 07.01.19 10:56, Sergey Senozhatsky wrote: > Use bust_spinlocks() function to set oops_in_progress. > > Signed-off-by: Sergey Senozhatsky I've added this patch to the parisc for-next tree. Thanks, Helge > --- > arch/parisc/kernel/traps.c | 4 ++-- > 1 file changed, 2 insertions(+), 2

Re: [PATCH 4.14 002/101] net: core: Fix Spectre v1 vulnerability

2019-01-07 Thread Greg KH
On Mon, Jan 07, 2019 at 04:36:26PM -0800, David Miller wrote: > From: Sudip Mukherjee > Date: Mon, 7 Jan 2019 21:13:06 + > > > Hi Greg, > > > > On Mon, Jan 7, 2019 at 1:00 PM Greg Kroah-Hartman > > wrote: > >> > >> 4.14-stable review patch. If anyone has any objections, please let me >

Re: [PATCH 4.14 001/101] phonet: af_phonet: Fix Spectre v1 vulnerability

2019-01-07 Thread Greg KH
On Mon, Jan 07, 2019 at 04:36:15PM -0800, David Miller wrote: > From: Sudip Mukherjee > Date: Mon, 7 Jan 2019 21:11:33 + > > > Hi Greg, > > > > On Mon, Jan 7, 2019 at 1:16 PM Greg Kroah-Hartman > > wrote: > >> > >> 4.14-stable review patch. If anyone has any objections, please let me >

Re: [PATCH] ARM: mach-s3c24xx: Fix boolean expressions in osiris_dvs_notify

2019-01-07 Thread Krzysztof Kozlowski
On Mon, 7 Jan 2019 at 21:33, Gustavo A. R. Silva wrote: > > Hi Krzysztof, > > On 1/7/19 1:43 PM, Krzysztof Kozlowski wrote: > > On Thu, Jan 03, 2019 at 02:14:08PM -0600, Gustavo A. R. Silva wrote: > >> Fix boolean expressions by using logical AND operator '&&' > >> instead of bitwise operator

[PATCH] Input: elan_i2c - Add auto recovery handle for absolute mode

2019-01-07 Thread KT Liao
Sometimes touchpad will be reset to mouse mode unexpectedly. And cause invalid report detection. I add a mouse report detection and send mode-switching command again. Signed-off-by: KT Liao --- drivers/input/mouse/elan_i2c_core.c | 9 + 1 file changed, 9 insertions(+) diff --git

Re: [PATCH 4/4] arm64: dts: rockchip: add video codec for rk3399

2019-01-07 Thread Ayaka
Sent from my iPad > On Jan 8, 2019, at 2:33 PM, Tomasz Figa wrote: > >> On Mon, Jan 7, 2019 at 2:30 AM Ayaka wrote: >> >> Hello Ezequiel >> >> Sent from my iPad >> On Jan 7, 2019, at 1:21 AM, Ezequiel Garcia wrote: On Sun, 6 Jan 2019 at 13:16, Ayaka wrote:

Re: [PATCH 4.14 090/101] MIPS: c-r4k: Add r4k_blast_scache_node for Loongson-3

2019-01-07 Thread Greg Kroah-Hartman
On Mon, Jan 07, 2019 at 09:17:22PM +, Sudip Mukherjee wrote: > Hi Greg, > > On Mon, Jan 7, 2019 at 1:14 PM Greg Kroah-Hartman > wrote: > > > > 4.14-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Huacai Chen > > > > commit

[PATCH v2 2/2] powerpc: use probe_user_read()

2019-01-07 Thread Christophe Leroy
Instead of opencoding, use probe_user_read() to failessly read a user location. Signed-off-by: Christophe Leroy --- v2: Using probe_user_read() instead of probe_user_address() arch/powerpc/kernel/process.c | 12 +--- arch/powerpc/mm/fault.c | 6 +-

[PATCH v2 1/2] mm: add probe_user_read()

2019-01-07 Thread Christophe Leroy
In powerpc code, there are several places implementing safe access to user data. This is sometimes implemented using probe_kernel_address() with additional access_ok() verification, sometimes with get_user() enclosed in a pagefault_disable()/enable() pair, etc. : show_user_instructions()

Re: [PATCH 4.14 069/101] spi: bcm2835: Fix race on DMA termination

2019-01-07 Thread Greg Kroah-Hartman
On Mon, Jan 07, 2019 at 09:15:20PM +, Sudip Mukherjee wrote: > HI Greg, > > On Mon, Jan 7, 2019 at 1:15 PM Greg Kroah-Hartman > wrote: > > > > 4.14-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Lukas Wunner > > > > commit

Re: [PATCH v1 1/2] drm/fb-helper: Bring back workaround for bugs of SDL 1.2

2019-01-07 Thread Ivan Mironov
On Mon, 2019-01-07 at 11:08 +0100, Daniel Vetter wrote: > > > > @@ -1654,6 +1712,40 @@ int drm_fb_helper_check_var(struct > > > > fb_var_screeninfo *var, > > > > return -EINVAL; > > > > } > > > > > > > > + /* > > > > +* Workaround for SDL 1.2, which is

[PATCH] ARM: dts: sun6i: Add clock-output-names to osc24M clock

2019-01-07 Thread Chen-Yu Tsai
The osc24M clock does not have a "clock-output-names" property, which means that the clock name is derived from the node name in Linux. The node name was changed in commit acfd5bbe2641 ("ARM: dts: sun6i: Change clock node names to avoid warnings"). This breaks Linux as the sunxi-ng clock driver

[PATCH v2 1/2] drm/fb-helper: Partially bring back workaround for bugs of SDL 1.2

2019-01-07 Thread Ivan Mironov
SDL 1.2 sets all fields related to the pixel format to zero in some cases[1]. Prior to commit db05c48197759 ("drm: fb-helper: Reject all pixel format changing requests"), there was an unintentional workaround for this that existed for more than a decade. First in device-specific DRM drivers, then

[PATCH v2 2/2] drm/fb-helper: Ignore the value of fb_var_screeninfo.pixclock

2019-01-07 Thread Ivan Mironov
Strict requirement of pixclock to be zero breaks support of SDL 1.2 which contains hardcoded table of supported video modes with non-zero pixclock values[1]. To better understand which pixclock values are considered valid and how driver should handle these values, I briefly examined few existing

[PATCH v2 0/2] Fix SDL 1.2 on emulated fbdev devices (broken in kernels >=4.19)

2019-01-07 Thread Ivan Mironov
Hi, Originally this issue was brought up on linux.org.ru forum by user saahriktu, he is on Cc. He discovered that commit db05c48197759 ("drm: fb-helper: Reject all pixel format changing requests") breaks support of SDL1 programs, like various old games and emulators of old game consoles. First

Re: [PATCH v3 16/16] power: supply: olpc_battery: Add OLPC XO 1.75 support

2019-01-07 Thread kbuild test robot
Hi Lubomir, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.0-rc1 next-20190108] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v4 2/3] virtio-balloon: improve update_balloon_size_func

2019-01-07 Thread Greg KH
On Tue, Jan 08, 2019 at 12:50:04PM +0800, Wei Wang wrote: > There is no need to update the balloon actual register when there is no > ballooning request. This patch avoids update_balloon_size when diff is 0. > > Signed-off-by: Wei Wang > Reviewed-by: Cornelia Huck > Reviewed-by: Halil Pasic >

Re: [PATCH v4 3/3] virtio_balloon: remove the unnecessary 0-initialization

2019-01-07 Thread Greg KH
On Tue, Jan 08, 2019 at 12:50:05PM +0800, Wei Wang wrote: > We've changed to kzalloc the vb struct, so no need to 0-initialize > this field one more time. > > Signed-off-by: Wei Wang > Reviewed-by: Cornelia Huck > --- > drivers/virtio/virtio_balloon.c | 1 - > 1 file changed, 1 deletion(-) >

Re: [PATCH v4 1/3] virtio-balloon: tweak config_changed implementation

2019-01-07 Thread Greg KH
On Tue, Jan 08, 2019 at 12:50:03PM +0800, Wei Wang wrote: > virtio-ccw has deadlock issues with reading the config space inside the > interrupt context, so we tweak the virtballoon_changed implementation > by moving the config read operations into the related workqueue contexts. > The

Re: [PATCH 1/5 v2] PM / hibernate: Create snapshot keys handler

2019-01-07 Thread Stephan Mueller
Am Dienstag, 8. Januar 2019, 06:03:58 CET schrieb Herbert Xu: Hi Herbert, > Are we going to have multiple implementations for the same KDF? > If not then the crypto API is not a good fit. To consolidate > multiple implementations of the same KDF, simply provide helpers > for them. It is

[PATCH] NFC: fdp: Use signed max_size to catch fail

2019-01-07 Thread wangbo
The variable max_size's type is unsigned char,can not catch error number, change it to signed int. Signed-off-by: wangbo --- drivers/nfc/fdp/fdp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/nfc/fdp/fdp.c b/drivers/nfc/fdp/fdp.c index d5784a4..ba32a59 100644

Re: [RESEND PATCH v3 2/2] sysctl: handle overflow for file-max

2019-01-07 Thread Dominik Brodowski
On Mon, Jan 07, 2019 at 11:27:00PM +0100, Christian Brauner wrote: > @@ -2833,6 +2836,10 @@ static int __do_proc_doulongvec_minmax(void *data, > struct ctl_table *table, int > break; > if (neg) > continue; > +

Re: [PATCH v4 2/2] dts: arm64/sdm845: Add node for arm,mmu-500

2019-01-07 Thread Bjorn Andersson
On Thu 11 Oct 02:49 PDT 2018, Vivek Gautam wrote: > Add device node for arm,mmu-500 available on sdm845. > This MMU-500 with single TCU and multiple TBU architecture > is shared among all the peripherals except gpu. > Hi Vivek, Applying this patch together with UFS ([1] and [2]) ontop of

Re: [PATCH 13/20] xenbus: drop useless LIST_HEAD

2019-01-07 Thread Juergen Gross
On 23/12/2018 09:57, Julia Lawall wrote: > Drop LIST_HEAD where the variable it declares is never used. > > The declarations were introduced with the file, but the declared > variables were not used. > > The semantic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) >

[PATCH v4 1/2] crypto: talitos - reorder code in talitos_edesc_alloc()

2019-01-07 Thread Christophe Leroy
This patch moves the mapping of IV after the kmalloc(). This avoids having to unmap in case kmalloc() fails. Signed-off-by: Christophe Leroy --- new in v4 drivers/crypto/talitos.c | 25 +++-- 1 file changed, 7 insertions(+), 18 deletions(-) diff --git

[PATCH v4 2/2] crypto: talitos - fix ablkcipher for CONFIG_VMAP_STACK

2019-01-07 Thread Christophe Leroy
[2.364486] WARNING: CPU: 0 PID: 60 at ./arch/powerpc/include/asm/io.h:837 dma_nommu_map_page+0x44/0xd4 [2.373579] CPU: 0 PID: 60 Comm: cryptomgr_test Tainted: GW 4.20.0-rc5-00560-g6bfb52e23a00-dirty #531 [2.384740] NIP: c000c540 LR: c000c584 CTR: [

[tip:x86/urgent] samples/seccomp: Fix 32-bit build

2019-01-07 Thread tip-bot for Tycho Andersen
Commit-ID: a77d1d196bc63b37d9b4d1b614884669e8e79d32 Gitweb: https://git.kernel.org/tip/a77d1d196bc63b37d9b4d1b614884669e8e79d32 Author: Tycho Andersen AuthorDate: Mon, 7 Jan 2019 16:16:31 -0700 Committer: Ingo Molnar CommitDate: Tue, 8 Jan 2019 07:45:01 +0100 samples/seccomp: Fix

Re: [GIT PULL] security: seccomp changes for v4.21

2019-01-07 Thread Ingo Molnar
* Tycho Andersen wrote: > Hi, > > On Mon, Jan 07, 2019 at 01:09:09PM -0800, Kees Cook wrote: > > On Mon, Jan 7, 2019 at 2:15 AM Ingo Molnar wrote: > > > > > > > > > * James Morris wrote: > > > > > > > From Kees: > > > > > > > > "- Add SECCOMP_RET_USER_NOTIF > > > > > > > > - seccomp fixes

[PATCH] parisc: remove meaningless ccflags-y in arch/parisc/boot/Makefile

2019-01-07 Thread Masahiro Yamada
This ccflags-y is never used because arch/parisc/boot/Makefile only contains objcopy and install targets. Signed-off-by: Masahiro Yamada --- arch/parisc/boot/Makefile | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/parisc/boot/Makefile b/arch/parisc/boot/Makefile index

Re: [PATCH] samples/seccomp: fix 32-bit build

2019-01-07 Thread Ingo Molnar
* Kees Cook wrote: > On Mon, Jan 7, 2019 at 3:16 PM Tycho Andersen wrote: > > > > Both the .o and the actual executable need to be built with -m32 in order > > to link correctly. > > > > Signed-off-by: Tycho Andersen > > Reported-by: Ingo Molnar > > Fixes: fec7b6690541 ("samples: add an

Re: [PATCH 0/2] Add board support for Chameleon96 Board

2019-01-07 Thread Manivannan Sadhasivam
On Sat, Dec 15, 2018 at 08:31:50AM +0530, Manivannan Sadhasivam wrote: > Hello, > > This patchset adds board support for Chameleon96 board from Novetech > based on Intel Cyclone V SoC FPGA. This board is one of the Consumer > Edition boards of the 96Boards family and has the following key

Re: [PATCH] hv_balloon: avoid touching uninitialized struct page during tail onlining

2019-01-07 Thread Greg KH
On Mon, Jan 07, 2019 at 07:38:20PM +0100, Vitaly Kuznetsov wrote: > (I remember Greg disliked when people were tagging patches for stable@ > themselves, he prefered maintainers deciding if the particular commit > deserves stable@ or not - but as you have a tree now we may as well have > different

general protection fault in ipcomp_init_state

2019-01-07 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:b71acb0e3721 Merge branch 'linus' of git://git.kernel.org/.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=17f383bb40 kernel config: https://syzkaller.appspot.com/x/.config?x=b03c5892bb940c76

Re: [PATCH v1] arm64: dts: qcom: msm8996: Disable USB2 PHY suspend by core

2019-01-07 Thread Vivek Gautam
On Thu, Jan 3, 2019 at 6:18 PM Manu Gautam wrote: > > QUSB2 PHY on msm8996 doesn't work well when autosuspend by > dwc3 core using USB2PHYCFG register is enabled. One of the > issue seen is that PHY driver reports PLL lock failure and > fails phy_init() if dwc3 core has USB2 PHY suspend enabled.

general protection fault in ax25_send_control

2019-01-07 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:b71acb0e3721 Merge branch 'linus' of git://git.kernel.org/.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=174ccdbb40 kernel config: https://syzkaller.appspot.com/x/.config?x=b03c5892bb940c76

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

2019-01-07 Thread Martin Kepplinger
On 05.01.19 18:29, Jonathan Cameron wrote: > On Sun, 23 Dec 2018 09:02:32 + > Anson Huang wrote: > >> The accelerometer's power supply could be controllable on some >> platforms, such as i.MX6Q-SABRESD board, the mma8451's power supplies >> are controlled by a GPIO fixed regulator, need to

Re: [PATCH v5 13/15] KVM: s390: add function process_gib_alert_list()

2019-01-07 Thread Heiko Carstens
On Mon, Jan 07, 2019 at 08:19:26PM +0100, Michael Mueller wrote: > > On 03.01.19 15:43, Pierre Morel wrote: > >On 19/12/2018 20:17, Michael Mueller wrote: > >>This function processes the Gib Alert List (GAL). It is required > >>to run when either a gib alert interruption has been received or >

Re: [RFC PATCH 4/4] x86/mm: remove bottom-up allocation style for x86_64

2019-01-07 Thread Juergen Gross
On 08/01/2019 07:13, Pingfan Liu wrote: > On Tue, Jan 8, 2019 at 1:42 AM Dave Hansen wrote: >> >> On 1/7/19 12:24 AM, Pingfan Liu wrote: >>> There are two acheivements by this patch. >>> -1st. keep the subtree of pgtable away from movable node. >>> Background about the defect of the current

Re: [PATCH 4/4] arm64: dts: rockchip: add video codec for rk3399

2019-01-07 Thread Tomasz Figa
On Mon, Jan 7, 2019 at 2:30 AM Ayaka wrote: > > Hello Ezequiel > > Sent from my iPad > > > On Jan 7, 2019, at 1:21 AM, Ezequiel Garcia > > wrote: > > > >> On Sun, 6 Jan 2019 at 13:16, Ayaka wrote: > >> > >> > >> > >> Sent from my iPad > >> > >>> On Jan 7, 2019, at 12:04 AM, Ezequiel Garcia >

Re: [RFC PATCH 2/4] x86/setup: parse acpi to get hotplug info before init_mem_mapping()

2019-01-07 Thread Pingfan Liu
On Tue, Jan 8, 2019 at 1:11 AM Dave Hansen wrote: > > > On 1/7/19 12:24 AM, Pingfan Liu wrote: > > At present, memblock bottom-up allocation can help us against stamping over > > movable node in very high probability. > > Is this what you are fixing? Making a "high probability", a certainty? >

I WANT YOU TO USE THIS DONATION TO HELP THE POOR URGENT.

2019-01-07 Thread MRS. SONIA AVIS IBRAHIM
My Sincere Greetings, I am MRS. SONIA AVIS IBRAHIM, I decided to donate what I have to you for investment towards the good work of charity organization, and also to help the motherless and the less privileged ones and to carry out a charitable works in your Country and around the World on my

Re: [PATCH v3 05/16] Platform: OLPC: Add XO-1.75 EC driver

2019-01-07 Thread kbuild test robot
Hi Lubomir, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.0-rc1 next-20190107] [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

Re: WARNING in ep_poll_callback

2019-01-07 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:139287cc2cc0 Add linux-next specific files for 20190108 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=14c9dd4b40 kernel config:

Re: [PATCH v4] USB: Don't enable LPM if it's already enabled

2019-01-07 Thread Kai Heng Feng
> On Jan 8, 2019, at 00:16, Greg KH wrote: > > On Mon, Dec 03, 2018 at 06:26:43PM +0800, Kai-Heng Feng wrote: >> USB Bluetooth controller QCA ROME (0cf3:e007) sometimes stops working >> after S3: >> [ 165.110742] Bluetooth: hci0: using NVM file: qca/nvm_usb_0302.bin >> [ 168.432065]

Re: [RFC PATCH 4/4] x86/mm: remove bottom-up allocation style for x86_64

2019-01-07 Thread Pingfan Liu
On Tue, Jan 8, 2019 at 1:42 AM Dave Hansen wrote: > > On 1/7/19 12:24 AM, Pingfan Liu wrote: > > There are two acheivements by this patch. > > -1st. keep the subtree of pgtable away from movable node. > > Background about the defect of the current bottom-up allocation style, take > > the

Re: [PATCH v4 04/10] KVM/x86: intel_pmu_lbr_enable

2019-01-07 Thread Wei Wang
On 01/07/2019 10:22 PM, Liang, Kan wrote: Thanks for sharing. I understand the point of maintaining those models at one place, but this factor-out doesn't seem very elegant to me, like below __intel_pmu_init (int model, struct x86_pmu *x86_pmu) { ... switch (model) case INTEL_FAM6_NEHALEM:

Re: [PATCH] PCI: Add no-D3 quirk for Mellanox ConnectX-[45]

2019-01-07 Thread Leon Romanovsky
On Mon, Jan 07, 2019 at 09:01:29PM -0700, Jason Gunthorpe wrote: > On Sun, Jan 06, 2019 at 09:43:46AM +1100, Benjamin Herrenschmidt wrote: > > On Sat, 2019-01-05 at 10:51 -0700, Jason Gunthorpe wrote: > > > > > > > Interesting. I've investigated this further, though I don't have as > > > > many

[PATCH 2/3] usb: ehci: fsl: Update register accessing for arm/arm64 platforms

2019-01-07 Thread Ran Wang
arm/arm64's io.h doesn't define clrbits32() and clrsetbits_be32(), which causing compile failure on some Layerscape Platforms (such as LS1021A and LS2012A which also integrates FSL EHCI controller). So use ioread32be()/iowrite32be() instead to make it workable on both powerpc and arm.

[PATCH 3/3] drivers: usb :fsl: Remove USB Errata checking code

2019-01-07 Thread Ran Wang
From: yinbo.zhu Remove USB errata checking code from driver. Applicability of erratum is retrieved by reading corresponding property in device tree. This property is written during device tree fixup. Signed-off-by: Ramneek Mehresh Signed-off-by: Nikhil Badola Signed-off-by: yinbo.zhu

Re: [PATCH 1/1] net: bridge: fix a bug on using a neighbour cache entry without checking its state

2019-01-07 Thread kchen
From: David Miller Date: Mon, 07 Jan 2019 09:10:31 -0800 > From: David Miller > From: kchen Date: Sun, 6 Jan 2019 11:28:13 +0800 From: JianJhen Chen When handling DNAT'ed packets on a bridge device, the neighbour cache entry from lookup was used without checking its state. It means

[PATCH 1/3] usb: kconfig: remove dependency FSL_SOC for ehci fsl driver

2019-01-07 Thread Ran Wang
From: Rajesh Bhagat CONFIG_USB_EHCI_FSL is not dependent on FSL_SOC, it can be built on non-PPC platforms. Signed-off-by: Rajesh Bhagat Signed-off-by: Ran Wang --- drivers/usb/host/Kconfig |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/Kconfig

Re: WARNING in ep_poll_callback

2019-01-07 Thread Dmitry Vyukov
On Tue, Jan 8, 2019 at 6:59 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:139287cc2cc0 Add linux-next specific files for 20190108 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=16f563d740 > kernel config:

WARNING in ep_poll_callback

2019-01-07 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:139287cc2cc0 Add linux-next specific files for 20190108 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=16f563d740 kernel config: https://syzkaller.appspot.com/x/.config?x=1521b074ff5a5bdf

Re: [PATCH v3 04/16] Platform: OLPC: Move OLPC config symbol out of x86 tree

2019-01-07 Thread kbuild test robot
Hi Lubomir, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.0-rc1 next-20190107] [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

Re: [PATCH v3 15/16] power: supply: olpc_battery: Avoid using platform_info

2019-01-07 Thread kbuild test robot
Hi Lubomir, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.0-rc1 next-20190107] [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

Re: [RFC PATCH 0/4] x86_64/mm: remove bottom-up allocation style by pushing forward the parsing of mem hotplug info

2019-01-07 Thread Pingfan Liu
On Tue, Jan 8, 2019 at 1:04 AM Dave Hansen wrote: > > On 1/7/19 12:24 AM, Pingfan Liu wrote: > > Background about the defect of the current bottom-up allocation style, take > > the following scenario: > > | unmovable node | movable node | > > | kaslr-kernel

Re: [PATCH v4 5/6] usb: musb: gadget: implement optional explicit status stage

2019-01-07 Thread Paul Elder
On Sun, Jan 06, 2019 at 03:03:09PM -0500, Alan Stern wrote: > On Sun, 6 Jan 2019, Paul Elder wrote: > > > Implement the mechanism for optional explicit status stage for the MUSB > > driver. This allows a function driver to specify what to reply for the > > status stage. The functionality for an

[PATCH] x86:kernel:e820c:kmemdup instead of duplicating its function

2019-01-07 Thread Yi Wang
From: "huang.zijiang" kmemdup has implemented the function that kmalloc() and memcpy(). Signed-off-by: huang.zijiang --- arch/x86/kernel/e820.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index 50895c2..a687d10

[PATCH] virtio:linux:kernel:NULL check after kmalloc is needed

2019-01-07 Thread Yi Wang
From: "huang.zijiang" NULL check is needed because kmalloc maybe return NULL. Signed-off-by: huang.zijiang --- tools/virtio/linux/kernel.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/virtio/linux/kernel.h b/tools/virtio/linux/kernel.h index 7ef45a4..2afcad8 100644 ---

Re: CFS scheduler: spin_lock usage causes dead lock when smp_apic_timer_interrupt occurs

2019-01-07 Thread Mike Galbraith
On Mon, 2019-01-07 at 13:52 +0100, Peter Zijlstra wrote: > On Mon, Jan 07, 2019 at 01:28:34PM +0100, Mike Galbraith wrote: > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > > index 960ad0ce77d7..420624c49f38 100644 > > --- a/kernel/sched/fair.c > > +++ b/kernel/sched/fair.c > > @@

Re: [PATCH v3 1/3] virtio-balloon: tweak config_changed implementation

2019-01-07 Thread Wei Wang
On 01/07/2019 09:49 PM, Christian Borntraeger wrote: On 07.01.2019 08:01, Wei Wang wrote: virtio-ccw has deadlock issues with reading the config space inside the interrupt context, so we tweak the virtballoon_changed implementation by moving the config read operations into the related

[RFC v2 5/6] mfd: add EC host command support using rpmsg.

2019-01-07 Thread Pi-Hsun Shih
Add EC host command support through rpmsg. Cc: Enric Balletbo Serra Cc: Guenter Roeck Signed-off-by: Pi-Hsun Shih --- Changes from v1: - Code format fix based on feedback for cros_ec_rpmsg.c. - Extract feature detection for SCP into separate patch (Patch 6). ---

[RFC v2 2/6] remoteproc/mediatek: add SCP support for mt8183

2019-01-07 Thread Pi-Hsun Shih
From: Erin Lo Provide a basic driver to control Cortex M4 co-processor Signed-off-by: Erin Lo Signed-off-by: Nicolas Boichat --- Changes from v1: - Extract functions and rename variables in mtk_scp.c. --- drivers/remoteproc/Kconfig| 9 + drivers/remoteproc/Makefile |

[RFC v2 4/6] rpmsg: add rpmsg support for mt8183 SCP.

2019-01-07 Thread Pi-Hsun Shih
Add a simple rpmsg support for mt8183 SCP, that use IPI / IPC directly. Lots of TODO, and I'm not sure on all file / type / variable namings. Signed-off-by: Pi-Hsun Shih --- Changes from v1: - Do cleanup properly in mtk_rpmsg.c, which also removes the problem of short-lived work items. -

[RFC v2 3/6] remoteproc: move IPI interface into separate file.

2019-01-07 Thread Pi-Hsun Shih
Move the IPI interface into a separate file mtk_scp_ipi.c, so the things that use the interface only can depend on the module only. Signed-off-by: Pi-Hsun Shih --- Changes from v1: - Resolved conflict because of change in Patch 2. --- drivers/remoteproc/Makefile | 2 +-

[RFC v2 6/6] cros_ec: differentiate SCP from EC by feature bit.

2019-01-07 Thread Pi-Hsun Shih
Since a SCP and EC would both exist on a system, and use the cros_ec_dev driver, we need to differentiate between them for the userspace, or they would both be registered at /dev/cros_ec, causing a conflict. Cc: Enric Balletbo Serra Cc: Guenter Roeck Signed-off-by: Pi-Hsun Shih --- Changes

[RFC v2 1/6] dt-bindings: Add a binding for Mediatek SCP

2019-01-07 Thread Pi-Hsun Shih
From: Erin Lo Add a DT binding documentation of SCP for the MT8183 SoC from Mediatek. Signed-off-by: Erin Lo --- Changes from v1: - no change --- .../devicetree/bindings/remoteproc/mtk,scp.txt | 10 ++ 1 file changed, 10 insertions(+) create mode 100644

[PATCH v2] dt-bindings: input: ti-tsc-adc: Add new compatible for AM654 SoCs

2019-01-07 Thread Vignesh R
AM654 SoCs has ADC IP which is similar to AM335x, but without the touchscreen part. Add new compatible to handle AM654 SoCs. Also, it seems that existing compatible strings used in the kernel DTs were never documented. So, document them now. Signed-off-by: Vignesh R Reviewed-by: Rob Herring ---

[PATCH v4 3/3] virtio_balloon: remove the unnecessary 0-initialization

2019-01-07 Thread Wei Wang
We've changed to kzalloc the vb struct, so no need to 0-initialize this field one more time. Signed-off-by: Wei Wang Reviewed-by: Cornelia Huck --- drivers/virtio/virtio_balloon.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/virtio/virtio_balloon.c

[PATCH v4 0/3] virtio-balloon: tweak config_changed

2019-01-07 Thread Wei Wang
Since virtio-ccw doesn't work with accessing to the config space inside an interrupt context, this patch series avoids that issue by moving the config register accesses to the related workqueue contexts. v3->v4 ChangeLog: - change virtio32_to_cpu to cpu_to_virtio_32 in send_cmd_id_start;

Re: [PATCH V2] x86/kexec: fix a kexec_file_load failure

2019-01-07 Thread Baoquan He
On 12/28/18 at 09:12am, Dave Young wrote: > The code cleanup mentioned in Fixes tag changed the behavior of > kexec_locate_mem_hole. The kexec_locate_mem_hole will try to > allocate free memory only when kbuf.mem is initialized as zero. > > But in x86 kexec_file_load implementation there are a

[PATCH v4 2/3] virtio-balloon: improve update_balloon_size_func

2019-01-07 Thread Wei Wang
There is no need to update the balloon actual register when there is no ballooning request. This patch avoids update_balloon_size when diff is 0. Signed-off-by: Wei Wang Reviewed-by: Cornelia Huck Reviewed-by: Halil Pasic Tested-by: Christian Borntraeger --- drivers/virtio/virtio_balloon.c |

[PATCH v4 1/3] virtio-balloon: tweak config_changed implementation

2019-01-07 Thread Wei Wang
virtio-ccw has deadlock issues with reading the config space inside the interrupt context, so we tweak the virtballoon_changed implementation by moving the config read operations into the related workqueue contexts. The config_read_bitmap is used as a flag to the workqueue callbacks about the

[PATCH 0/3] net: y2038-safe socket timeout options

2019-01-07 Thread Deepa Dinamani
The series is aimed at adding y2038-safe timeout options: SO_RCVTIMEO_NEW and SO_SNDTIMEO_NEW. This is similar to the previous series adding y2038-safe SO_TIMESTAMP* options. The series needs to be applied after the socket timestamp series:

[PATCH 3/3] sock: Add SO_RCVTIMEO_NEW and SO_SNDTIMEO_NEW

2019-01-07 Thread Deepa Dinamani
Add new socket timeout options that are y2038 safe. Signed-off-by: Deepa Dinamani Cc: ccaul...@redhat.com Cc: da...@davemloft.net Cc: del...@gmx.de Cc: pau...@samba.org Cc: r...@linux-mips.org Cc: r...@twiddle.net Cc: cluster-de...@redhat.com Cc: linuxppc-...@lists.ozlabs.org Cc:

[PATCH 1/3] socket: Use old_timeval types for socket timeouts

2019-01-07 Thread Deepa Dinamani
As part of y2038 solution, all internal uses of struct timeval are replaced by struct __kernel_old_timeval and struct compat_timeval by struct old_timeval32. Make socket timeouts use these new types. This is mainly to be able to verify that the kernel build is y2038 safe when such non y2038 safe

[PATCH 2/3] socket: Rename SO_RCVTIMEO/ SO_SNDTIMEO with _OLD suffixes

2019-01-07 Thread Deepa Dinamani
SO_RCVTIMEO and SO_SNDTIMEO socket options use struct timeval as the time format. struct timeval is not y2038 safe. The subsequent patches in the series add support for new socket timeout options with _NEW suffix that are y2038 safe. Rename the existing options with _OLD suffix forms so that the

Re: [PATCH] nfit: Hide unused functions behind CONFIG_X86

2019-01-07 Thread Nathan Chancellor
On Mon, Jan 07, 2019 at 09:14:05PM -0800, Dan Williams wrote: > On Mon, Jan 7, 2019 at 8:59 PM Nathan Chancellor > wrote: > > > > On arm64 little endian allyesconfig: > > > > drivers/acpi/nfit/intel.c:149:12: warning: unused function > > 'intel_security_unlock' [-Wunused-function] > > static int

Re: [PATCH v4 1/6] arm64/kvm: preserve host HCR_EL2 value

2019-01-07 Thread Amit Daniel Kachhap
Hi, On Sat, Jan 5, 2019 at 12:05 AM James Morse wrote: > > Hi Amit, > > On 18/12/2018 07:56, Amit Daniel Kachhap wrote: > > When restoring HCR_EL2 for the host, KVM uses HCR_HOST_VHE_FLAGS, which > > is a constant value. This works today, as the host HCR_EL2 value is > > always the same, but

Re: [PATCH] xfs: correct statx's result_mask value

2019-01-07 Thread Su Yanjun
On 1/8/2019 1:07 PM, Darrick J. Wong wrote: On Tue, Jan 08, 2019 at 12:58:43PM +0800, Su Yanjun wrote: On 1/8/2019 2:04 AM, Eric Sandeen wrote: On 1/7/19 11:52 AM, Darrick J. Wong wrote: On Mon, Jan 07, 2019 at 04:53:10AM -0500, Su Yanjun wrote: For statx syscall, xfs return the wrong

Re: [PATCH] nfit: Hide unused functions behind CONFIG_X86

2019-01-07 Thread Dan Williams
On Mon, Jan 7, 2019 at 8:59 PM Nathan Chancellor wrote: > > On arm64 little endian allyesconfig: > > drivers/acpi/nfit/intel.c:149:12: warning: unused function > 'intel_security_unlock' [-Wunused-function] > static int intel_security_unlock(struct nvdimm *nvdimm, >^ >

Re: [PATCH] xfs: correct statx's result_mask value

2019-01-07 Thread Darrick J. Wong
On Tue, Jan 08, 2019 at 12:58:43PM +0800, Su Yanjun wrote: > > > On 1/8/2019 2:04 AM, Eric Sandeen wrote: > > On 1/7/19 11:52 AM, Darrick J. Wong wrote: > > > On Mon, Jan 07, 2019 at 04:53:10AM -0500, Su Yanjun wrote: > > > > For statx syscall, xfs return the wrong result_mask. > > > > > > >

[PATCH] isdn: avm: Fix string plus integer warning from Clang

2019-01-07 Thread Nathan Chancellor
A recent commit in Clang expanded the -Wstring-plus-int warning, showing some odd behavior in this file. drivers/isdn/hardware/avm/b1.c:426:30: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] cinfo->version[j] = "\0\0" + 1;

Re: [PATCH 1/5 v2] PM / hibernate: Create snapshot keys handler

2019-01-07 Thread Herbert Xu
On Mon, Jan 07, 2019 at 04:52:00PM +0100, Stephan Mueller wrote: > > Would it make sense to polish these mentioned KDF patches and add them to the > kernel crypto API? The sprawl of key derivation logic here and there which > seemingly does not comply to any standard and thus possibly have

Re: [PATCH v3] crypto: talitos - fix ablkcipher for CONFIG_VMAP_STACK

2019-01-07 Thread Herbert Xu
On Fri, Dec 21, 2018 at 08:07:52AM +, Christophe Leroy wrote: > [2.364486] WARNING: CPU: 0 PID: 60 at ./arch/powerpc/include/asm/io.h:837 > dma_nommu_map_page+0x44/0xd4 > [2.373579] CPU: 0 PID: 60 Comm: cryptomgr_test Tainted: GW > 4.20.0-rc5-00560-g6bfb52e23a00-dirty

Re: [RFC PATCH net-next 2/5] net: 8021q: vlan_dev: add vid tag for uc and mc address lists

2019-01-07 Thread Florian Fainelli
Le 12/4/18 à 4:04 PM, Ivan Khoronzhuk a écrit : > On Tue, Dec 04, 2018 at 11:49:27AM -0800, Florian Fainelli wrote: > > ... > >>> >>> I was thinking also about pinned list of vlans to the address, but in >>> this case this information also has to be synced by members of device >>> chain, >>>

Re: [PATCH] cpufreq: e_powersaver: Use struct_size() in kzalloc()

2019-01-07 Thread Viresh Kumar
On 07-01-19, 11:33, Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding the > size of a structure that has a zero-sized array at the end, along with memory > for some number of elements for that array. For example: > > struct foo { > int stuff;

[PATCH] nfit: Hide unused functions behind CONFIG_X86

2019-01-07 Thread Nathan Chancellor
On arm64 little endian allyesconfig: drivers/acpi/nfit/intel.c:149:12: warning: unused function 'intel_security_unlock' [-Wunused-function] static int intel_security_unlock(struct nvdimm *nvdimm, ^ drivers/acpi/nfit/intel.c:230:12: warning: unused function 'intel_security_erase'

Re: [PATCH 4.14 000/101] 4.14.92-stable review

2019-01-07 Thread Guenter Roeck
On 1/7/19 4:31 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.92 release. There are 101 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH] xfs: correct statx's result_mask value

2019-01-07 Thread Su Yanjun
On 1/8/2019 2:04 AM, Eric Sandeen wrote: On 1/7/19 11:52 AM, Darrick J. Wong wrote: On Mon, Jan 07, 2019 at 04:53:10AM -0500, Su Yanjun wrote: For statx syscall, xfs return the wrong result_mask. Signed-off-by: Su Yanjun --- fs/xfs/xfs_iops.c | 3 +++ 1 file changed, 3 insertions(+)

Re: [PATCH 4.9 00/71] 4.9.149-stable review

2019-01-07 Thread Guenter Roeck
On 1/7/19 4:32 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.149 release. There are 71 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

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

2019-01-07 Thread Anshuman Khandual
On 01/08/2019 07:41 AM, Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm-current tree, today's linux-next build (native > perf) failed like this: > > bench/numa.c: In function 'bind_to_node': > bench/numa.c:301:21: error: 'NUMA_NO_NODE' undeclared (first use in this >

  1   2   3   4   5   6   7   8   9   10   >