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

2018-04-17 Thread Pablo Neira Ayuso
On Mon, Apr 16, 2018 at 05:51:12PM -0700, Cong Wang wrote: > On Mon, Apr 16, 2018 at 4:28 PM, Stephen Rothwell > wrote: > > Hi all, > > > > After merging the netfilter tree, today's linux-next build (powerpc > > ppc64_defconfig) failed like this: > > > > net/netfilter/nf_conntrack_extend.c: In fu

Re: [PATCH v1 4/4] drm/tegra: plane: Add custom CSC BLOB property

2018-04-17 Thread Daniel Vetter
On Mon, Apr 16, 2018 at 03:16:28PM +0300, Dmitry Osipenko wrote: > This new property allows userspace to apply custom color conversion > coefficients per plane, making possible to utilize display controller > for color adjustments of a video overlay. > > Signed-off-by: Dmitry Osipenko Same here,

Re: [PATCH] usb: always build usb/common/ targets; fixes extcon-axp288 build error

2018-04-17 Thread Hans de Goede
Hi, On 17-04-18 07:14, Randy Dunlap wrote: From: Randy Dunlap The extcon-axp288 driver selects USB_ROLE_SWITCH, but the USB Makefile does not currently build drivers/usb/common/ (where USB_ROLE_SWITCH code is) unless USB_COMMON is set, so modify the USB Makefile to always descend into drivers/

[PATCH net-next 3/3] net: phy: Enable C45 PHYs with vendor specific address space

2018-04-17 Thread Vicentiu Galanopulo
A search of the dev-addr property is done in of_mdiobus_register. If the property is found in the PHY node, of_mdiobus_register_vend_spec_phy() is called. This is a wrapper function for of_mdiobus_register_phy() which finds the device in package based on dev-addr, and fills devices_addrs, which is

[PATCH net-next 1/3] net: phy: Add binding for vendor specific C45 MDIO address space

2018-04-17 Thread Vicentiu Galanopulo
The extra property enables the discovery on the MDIO bus of the PHYs which have a vendor specific address space for accessing the C45 MDIO registers. Signed-off-by: Vicentiu Galanopulo --- Documentation/devicetree/bindings/net/phy.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Doc

[PATCH net-next 0/3] net: phy: Enable C45 vendor specific MDIO register addr space

2018-04-17 Thread Vicentiu Galanopulo
Enabling the discovery on the MDIO bus of PHYs which have a vendor specific address space for accessing the C45 MDIO registers. Vicentiu Galanopulo (3): net: phy: Add binding for vendor specific C45 MDIO address space net: phy: Change the array size to 32 for device_ids net: phy: Enable C45

Re: [RFC PATCH 1/1] vmscan: Support multiple kswapd threads per node

2018-04-17 Thread Michal Hocko
On Mon 16-04-18 20:02:22, Buddy Lumpkin wrote: > > > On Apr 12, 2018, at 6:16 AM, Michal Hocko wrote: [...] > > But once you hit a wall with > > hard-to-reclaim pages then I would expect multiple threads will simply > > contend more (e.g. on fs locks in shrinkers etc…). > > If that is the case,

Re: Issue with Enable LTR while pcie_aspm off

2018-04-17 Thread Srinath Mannam
Hi Bjorn, Thank you for more insight you have given about the problem. For us the issue comes before we disable apst feature. on APST quirk set, NVMe driver disable apst by send a command to NVMe controller. We see issue at the time of NVMe initialization only. So APST quirk did not helped. O

Re: [PATCH] fasync: Fix deadlock between task-context and interrupt-context kill_fasync()

2018-04-17 Thread Kirill Tkhai
Hi, almost two weeks passed, while there is no reaction. Jeff, Bruce, what is your point of view? Just to underline, the problem is because of rw_lock fairness, which does not allow a reader to take a read locked lock in case of there is already a writer called write_lock(). See queued_read_lock

Re: [PATCH] drm/xen-front: Remove CMA support

2018-04-17 Thread Daniel Vetter
On Tue, Apr 17, 2018 at 10:40:12AM +0300, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Even if xen-front allocates its buffers from contiguous memory > those are still not contiguous in PA space, e.g. the buffer is only > contiguous in IPA space. > The only use-case for this

[PATCH net-next 2/3] net: phy: Change the array size to 32 for device_ids

2018-04-17 Thread Vicentiu Galanopulo
In the context of enabling the discovery of the PHYs which have the C45 MDIO address space in a non-standard address: num_ids in get_phy_c45_ids, has the value 8 (ARRAY_SIZE(c45_ids->device_ids)), but the u32 *devs can store 32 devices in the bitfield. If a device is stored in *devs, in bits 32 t

Re: [PATCH] checkpatch: Add a --strict test for structs with bool member definitions

2018-04-17 Thread yuankuiz
Hi julia, On 2018-04-15 05:19 AM, Julia Lawall wrote: On Wed, 11 Apr 2018, Joe Perches wrote: On Thu, 2018-04-12 at 08:22 +0200, Julia Lawall wrote: > On Wed, 11 Apr 2018, Joe Perches wrote: > > On Wed, 2018-04-11 at 09:29 -0700, Andrew Morton wrote: > > > We already have some 500 bools-in-str

Re: [PATCH] drm/xen-front: Remove CMA support

2018-04-17 Thread Oleksandr Andrushchenko
On 04/17/2018 12:04 PM, Daniel Vetter wrote: On Tue, Apr 17, 2018 at 10:40:12AM +0300, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Even if xen-front allocates its buffers from contiguous memory those are still not contiguous in PA space, e.g. the buffer is only contiguous in I

[PATCH] pinctrl: meson-axg: fix the range of aobus bank

2018-04-17 Thread Yixun Lan
The GPIOAO bank is range from GPIOAO_0 to GPIOAO_13. Fixes: 83c566806a68 ("pinctrl: meson-axg: Add new pinctrl driver for Meson AXG SoC") Reported-by: Xingyu Chen Signed-off-by: Yixun Lan --- drivers/pinctrl/meson/pinctrl-meson-axg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH] x86: remove pci-nommu.c

2018-04-17 Thread Thomas Gleixner
On Mon, 16 Apr 2018, Christoph Hellwig wrote: > The commit that switches x86 to dma_direct_ops stopped using and building > this file, but accidentally left it in the tree. Remove it. There is also stale documentation in Documentation/x86/x86_64/boot-options.txt which mentiones that file

Re: repeatable boot randomness inside KVM guest

2018-04-17 Thread James Bottomley
On Sat, 2018-04-14 at 17:41 -0700, Matthew Wilcox wrote: > On Sat, Apr 14, 2018 at 06:44:19PM -0400, Theodore Y. Ts'o wrote: > > What needs to happen is freelist should get randomized much later > > in the boot sequence.  Doing it later will require locking; I don't > > know enough about the slab/s

[PATCH] clk: stm32: fix: stm32 clock drivers are not compiled by default

2018-04-17 Thread gabriel.fernandez
From: Gabriel Fernandez Clock driver is mandatory if the machine is selected. Then don't use 'bool' and 'depends on' commands, but 'def_bool' with the machine(s). Fixes: da32d3539fca ("clk: stm32: add configuration flags for each of the stm32 drivers") Signed-off-by: Gabriel Fernandez --- d

Re: [PATCH v4 02/10] PCI: dwc: Add support for endpoint mode

2018-04-17 Thread Kishon Vijay Abraham I
On Monday 16 April 2018 08:07 PM, Gustavo Pimentel wrote: > The PCIe controller dual mode is capable of operating in host mode as well > as endpoint mode by configuration, therefore this patch aims to add > endpoint mode support to the designware driver. looks good to me. Acked-by: Kishon Vijay A

Re: [PATCH v4 03/10] PCI: endpoint: functions/pci-epf-test: Add second entry

2018-04-17 Thread Kishon Vijay Abraham I
Hi, On Monday 16 April 2018 08:07 PM, Gustavo Pimentel wrote: > Adds a seconds entry on the pci_epf_test_ids structure that disables the > linkup_notifier parameter on driver. > > This allows EPs that doesn't have linkup notification signal to work > with pcitest. > > Signed-off-by: Gustavo Pime

Re: [PATCH v3 2/5] efi: Add embedded peripheral firmware support

2018-04-17 Thread Hans de Goede
Hi, On 17-04-18 02:17, Luis R. Rodriguez wrote: On Sun, Apr 08, 2018 at 07:40:11PM +0200, Hans de Goede wrote: static void firmware_free_data(const struct firmware *fw) { @@ -576,6 +600,15 @@ _request_firmware(const struct firmware **firmware_p, const char *name, goto out;

Re: usercopy whitelist woe in scsi_sense_cache

2018-04-17 Thread Oleksandr Natalenko
Hi. 17.04.2018 05:12, Kees Cook wrote: Turning off HARDENED_USERCOPY and turning on KASAN, I see the same report: [ 38.274106] BUG: KASAN: slab-out-of-bounds in _copy_to_user+0x42/0x60 [ 38.274841] Read of size 22 at addr 8800122b8c4b by task smartctl/1064 [ 38.275630] [ 38.2758

Re: [PATCH v4 03/10] PCI: endpoint: functions/pci-epf-test: Add second entry

2018-04-17 Thread Kishon Vijay Abraham I
Hi, On Tuesday 17 April 2018 02:49 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Monday 16 April 2018 08:07 PM, Gustavo Pimentel wrote: >> Adds a seconds entry on the pci_epf_test_ids structure that disables the >> linkup_notifier parameter on driver. >> >> This allows EPs that doesn't have link

Re: [PATCH v4 06/10] misc: pci_endpoint_test: Add designware EP entry

2018-04-17 Thread Kishon Vijay Abraham I
On Monday 16 April 2018 08:07 PM, Gustavo Pimentel wrote: > Adds the designware EP device ID entry to pci_endpoint_test driver table > to allow this device to be recognize and handle by the pci_endpoint_test > driver. > > Signed-off-by: Gustavo Pimentel Acked-by: Kishon Vijay Abraham I > ---

Re: [PATCH v2 4/5] ALSA: xen-front: Implement handling of shared buffers

2018-04-17 Thread Oleksandr Andrushchenko
On 04/16/2018 04:39 PM, Juergen Gross wrote: On 16/04/18 08:24, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Implement shared buffer handling according to the para-virtualized sound device protocol at xen/interface/io/sndif.h: - manage buffer memory - handle granted refer

Re: [PATCH] x86/tsc: fix 64bit divisor be truncated in calc_hpet_ref

2018-04-17 Thread Thomas Gleixner
On Fri, 13 Apr 2018, Xiaoming Gao wrote: > From ba3d2fb699c4d8ee61b05d7e70be48b9c4e22baf Mon Sep 17 00:00:00 2001 > From: Xiaoming Gao > Date: Fri, 13 Apr 2018 17:05:18 +0800 > Subject: [PATCH] x86/tsc: fix 64bit divisor be truncated in calc_hpet_ref > > the HPET frequency got larger on intel sky

Re: [PATCH] nvme: lightnvm: add granby support

2018-04-17 Thread Javier Gonzalez
> On 17 Apr 2018, at 03.55, Wei Xu wrote: > > Add a new lightnvm quirk to identify CNEX’s Granby controller. > > Signed-off-by: Wei Xu > --- > drivers/nvme/host/pci.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c > index cb73bc8..94

Re: [PATCH v2 1/2] x86/mce: new Centaur CPUs support MCE broadcasting

2018-04-17 Thread David Wang
> -邮件原件- > 发件人: Borislav Petkov [mailto:b...@alien8.de] > 发送时间: 2018年4月16日 21:28 > 收件人: David Wang > 抄送: tony.l...@intel.com; t...@linutronix.de; mi...@redhat.com; > h...@zytor.com; x...@kernel.org; linux-e...@vger.kernel.org; linux- > ker...@vger.kernel.org; brucech...@via-alliance.com;

Re: [PATCH] powerpc/misc: get rid of add_reloc_offset()

2018-04-17 Thread Paul Mackerras
On Tue, Apr 17, 2018 at 09:56:24AM +0200, Christophe Leroy wrote: > add_reloc_offset() is almost redundant with reloc_offset() > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/include/asm/setup.h | 3 +-- > arch/powerpc/kernel/misc.S | 16 > arch/power

RE: [RFC 3/3] arm: shmobile: Add the RZ/N1D SMP enabler driver.

2018-04-17 Thread Michel Pollet
Hi Florian, On 16 April 2018 22:46, Florian Fainelli: > Hi Michel, > > On 04/16/2018 02:34 AM, Michel Pollet wrote: > > The Renesas RZ/N1D second CA7 is parked in a ROM pen at boot time, it > > requires a special enable method to get it started at boot time. > > > > Signed-off-by: Michel Pollet >

Re: [PATCH v2 2/2] parisc: define stronger ordering for the default readX()

2018-04-17 Thread James Bottomley
On Tue, 2018-04-17 at 00:08 -0400, Sinan Kaya wrote: > parisc architecture seems to be mapping readX() and readX_relaxed() > APIs > to __raw_readX() API. > > __raw_readX() API doesn't provide any kind of ordering guarantees. > commit 032d59e1cde9 ("io: define stronger ordering for the default > re

Re: [RFC PATCH v2 1/4] EDAC, GHES: Remove unused argument to ghes_edac_report_mem_error

2018-04-17 Thread Borislav Petkov
On Mon, Apr 16, 2018 at 04:59:00PM -0500, Alexandru Gagniuc wrote: <--- Insert commit message here. A possible candidate would be some blurb about what commit removed the use of that first arg. > Signed-off-by: Alexandru Gagniuc > --- > drivers/acpi/apei/ghes.c | 2 +- > drivers/edac/ghes_edac

[RESEND PATCH 2/3] powerpc: dts: use 'atmel' as at24 manufacturer for kmcent2

2018-04-17 Thread Bartosz Golaszewski
Using compatible strings without the part for at24 is now deprecated. Use a correct 'atmel,' value. Signed-off-by: Bartosz Golaszewski --- arch/powerpc/boot/dts/fsl/kmcent2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/boot/dts/fsl/kmcent2.dts b/arch/powe

[RESEND PATCH 1/3] powerpc: dts: use 'atmel' as at24 anufacturer for pdm360ng

2018-04-17 Thread Bartosz Golaszewski
Using 'at' as the part of the compatible string is now deprecated. Use a correct string: 'atmel,'. Signed-off-by: Bartosz Golaszewski --- arch/powerpc/boot/dts/pdm360ng.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/boot/dts/pdm360ng.dts b/arch/powerpc/boo

[RESEND PATCH 3/3] powerpc: dts: use a correct at24 compatible fallback in ac14xx

2018-04-17 Thread Bartosz Golaszewski
Using 'at24' as fallback is now deprecated - use the full 'atmel,' string. Signed-off-by: Bartosz Golaszewski --- arch/powerpc/boot/dts/ac14xx.dts | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/powerpc/boot/dts/ac14xx.dts b/arch/powerpc/boot/dts/a

[RESEND PATCH] ARM: dts: consistently use 'atmel' as at24 manufacturer in cyclone5

2018-04-17 Thread Bartosz Golaszewski
Using 'at' or 'at24' as the part of the compatible string is now deprecated. Use a correct value: 'atmel,'. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/socfp

Re: [PATCH v3 0/2] KVM: MSR-based features

2018-04-17 Thread Paolo Bonzini
On 17/04/2018 10:39, Wanpeng Li wrote: > 2018-02-22 3:39 GMT+08:00 Tom Lendacky : >> The following series implements support within KVM for MSR-based features. >> The first patch creates the MSR-based feature framework used to retrieve >> the available MSR-based features. The second patch makes us

[RESEND PATCH] clkdev: don't call __of_clk_get_by_name() unnecessarily from clk_get()

2018-04-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The way this function is implemented caused some confusion when converting the TI DaVinci platform to using the common clock framework. Current kernel supports booting DaVinci boards both in device tree as well as legacy, board-file mode. In the latter, we always end up

[PATCH] f2fs: fix race in between GC and atomic open

2018-04-17 Thread Chao Yu
Thread GC thread - f2fs_ioc_start_atomic_write - get_dirty_pages - filemap_write_and_wait_range - f2fs_gc - do_garbage_collect - gc_data_segm

Re: [PATCH] coresight: Moving framework and drivers to SPDX identifier

2018-04-17 Thread Alexander Shishkin
On Mon, Apr 16, 2018 at 02:51:02PM -0600, Mathieu Poirier wrote: > Moving all kernel side CoreSight framework and drivers to SPDX identifier. > > Signed-off-by: Mathieu Poirier This reminds me: there's drivers/hwtracing/stm/ftrace.c that I didn't convert during the previous round, do you want to

[tip:x86/urgent] x86/tsc: Prevent 32bit truncation in calc_hpet_ref()

2018-04-17 Thread tip-bot for Xiaoming Gao
Commit-ID: d3878e164dcd3925a237a20e879432400e369172 Gitweb: https://git.kernel.org/tip/d3878e164dcd3925a237a20e879432400e369172 Author: Xiaoming Gao AuthorDate: Fri, 13 Apr 2018 17:48:08 +0800 Committer: Thomas Gleixner CommitDate: Tue, 17 Apr 2018 11:50:42 +0200 x86/tsc: Prevent 32bit

[tip:x86/urgent] x86: Remove pci-nommu.c

2018-04-17 Thread tip-bot for Christoph Hellwig
Commit-ID: ef97837db916075af54554552628bcb0840df62f Gitweb: https://git.kernel.org/tip/ef97837db916075af54554552628bcb0840df62f Author: Christoph Hellwig AuthorDate: Mon, 16 Apr 2018 14:44:42 +0200 Committer: Thomas Gleixner CommitDate: Tue, 17 Apr 2018 11:48:06 +0200 x86: Remove pci-n

Re: [PATCH] clk: stm32: fix: stm32 clock drivers are not compiled by default

2018-04-17 Thread Alexandre Torgue
Hi Gabriel On 04/17/2018 11:15 AM, gabriel.fernan...@st.com wrote: From: Gabriel Fernandez Clock driver is mandatory if the machine is selected. Then don't use 'bool' and 'depends on' commands, but 'def_bool' with the machine(s). Fixes: da32d3539fca ("clk: stm32: add configuration flags for e

[tip:x86/urgent] x86/acpi: Prevent X2APIC id 0xffffffff from being accounted

2018-04-17 Thread tip-bot for Dou Liyang
Commit-ID: 10daf10ab154e31237a8c07242be3063fb6a9bf4 Gitweb: https://git.kernel.org/tip/10daf10ab154e31237a8c07242be3063fb6a9bf4 Author: Dou Liyang AuthorDate: Thu, 12 Apr 2018 09:40:52 +0800 Committer: Thomas Gleixner CommitDate: Tue, 17 Apr 2018 11:56:31 +0200 x86/acpi: Prevent X2APIC

[tip:x86/urgent] x86/processor: Remove two unused function declarations

2018-04-17 Thread tip-bot for Dou Liyang
Commit-ID: 451cf3ca7d4615631443014ee769c25e267c25ff Gitweb: https://git.kernel.org/tip/451cf3ca7d4615631443014ee769c25e267c25ff Author: Dou Liyang AuthorDate: Wed, 4 Apr 2018 14:45:27 +0800 Committer: Thomas Gleixner CommitDate: Tue, 17 Apr 2018 11:56:32 +0200 x86/processor: Remove two

Re: usercopy whitelist woe in scsi_sense_cache

2018-04-17 Thread James Bottomley
On Mon, 2018-04-16 at 20:12 -0700, Kees Cook wrote: > I still haven't figured this out, though... any have a moment to look > at this? Just to let you know you're not alone ... but I can't make any sense of this either. The bfdq is the elevator_data, which is initialised when the scheduler is att

Re: [RESEND PATCH v1 1/2] trace: events: scsi: Add tag in SCSI trace events

2018-04-17 Thread Bean Huo (beanhuo)
Hi, Steve Right, Please see below portion log from ftrace and blktrace, There is no any impact on blktrace. > >Looking at the code from >git://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git > >It appears that it does not rely on the ftrace ring buffers. > >So I'm guessing blktrace is

Re: linux-next: manual merge of the efi-lock-down tree with the modules tree

2018-04-17 Thread Stephen Rothwell
Hi David, On Tue, 17 Apr 2018 08:46:12 +0100 David Howells wrote: > > Stephen Rothwell wrote: > > > Today's linux-next merge of the efi-lock-down tree got a conflict in: > > Can you drop my branch for the moment? Sure, no problem. Just let me know when to grab it again. -- Cheers, Stephe

[PATCH RESEND net-next] ipv6: provide Kconfig switch to disable accept_ra by default

2018-04-17 Thread Matthias Schiffer
Many distributions and users prefer to handle router advertisements in userspace; one example is OpenWrt, which includes a combined RA and DHCPv6 client. For such configurations, accept_ra should not be enabled by default. As setting net.ipv6.conf.default.accept_ra via sysctl.conf or similar facil

Re: [PATCH v4 2/6] mfd: stm32-timers: add support for dmas

2018-04-17 Thread Lee Jones
On Tue, 17 Apr 2018, Fabrice Gasnier wrote: > On 04/17/2018 09:12 AM, Lee Jones wrote: > > On Mon, 16 Apr 2018, Fabrice Gasnier wrote: > > > >> STM32 Timers can support up to 7 DMA requests: > >> - 4 channels, update, compare and trigger. > >> Optionally request part, or all DMAs from stm32-timer

Re: [PATCH v4 03/15] KVM: s390: refactor crypto initialization

2018-04-17 Thread Cornelia Huck
On Tue, 17 Apr 2018 09:49:58 +0200 "Harald Freudenberger" wrote: > Didn't we say that when APXA is not available there is no Crypto support > for KVM ? [Going by the code, as I don't have access to the architecture] Current status seems to be: - setup crycb if facility 76 is available (that's M

[PATCH v3 1/3] alpha: Use OPTIMIZE_INLINING instead of asm/compiler.h

2018-04-17 Thread James Hogan
Use CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING and CONFIG_OPTIMIZE_INLINING instead of undefining the inline macros in the alpha specific asm/compiler.h. This is to allow asm/compiler.h to become a general header that can be used for overriding linux/compiler*.h. A build of alpha's defconfig on GCC 7

[PATCH v3 2/3] compiler.h: Allow arch-specific overrides

2018-04-17 Thread James Hogan
From: Paul Burton Include an arch-specific asm/compiler.h and allow for it to define a custom version of barrier_before_unreachable(), which is needed to workaround several issues on the MIPS architecture. This patch includes an effectively empty asm-generic implementation of asm/compiler.h for

[PATCH v3 3/3] MIPS: Workaround GCC __builtin_unreachable reordering bug

2018-04-17 Thread James Hogan
From: Paul Burton Older versions of GCC for the MIPS architecture suffer from a bug which can lead to instructions from beyond an unreachable statement being incorrectly reordered into earlier branch delay slots if the unreachable statement is the only content of a case in a switch statement. Thi

[PATCH v3 0/3] MIPS: Override barrier_before_unreachable() to fix microMIPS

2018-04-17 Thread James Hogan
This series overrides barrier_before_unreachable() for MIPS to add an .insn assembler directive. Due to the subsequent __builtin_unreachable(), the assembler can't tell that a label on the empty inline asm is code rather than data, so any microMIPS branches targetting it (which sadly can't be remo

[PATCH] drm/rockchip: vop: fixup linebuffer mode calc error

2018-04-17 Thread Sandy Huang
When video width is bigger than 3840 the linebuffer mode should be LB_YUV_3840X5. Signed-off-by: Sandy Huang --- drivers/gpu/drm/rockchip/rockchip_drm_vop.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.h b/drivers/gpu/drm/rockchip

Re: [PATCH] x86/centaur: report correct CPU/cache topology

2018-04-17 Thread Thomas Gleixner
On Wed, 4 Apr 2018, David Wang wrote: > This patch is used to support multi-core Centaur CPU. After using this > patch, we can get correct CPU topology and correct cache topology. David. This changelog is pretty useless. First of all, please do not use 'This patch ..'. We all know already that th

Re: [PATCH] x86/Centaur: show more HW features in /proc/cpuinfo

2018-04-17 Thread Thomas Gleixner
On Sun, 8 Apr 2018, David Wang wrote: > We add this patch to show correct HW features(arch_perfmon, tpr_shadow, > vnmi, flexpriority, ept and vpid) when user execute "cat /proc/cpuinfo". See the other mail vs. the changelog. > > Signed-off-by: David Wang > --- > arch/x86/kernel/cpu/centaur.c

Re: [PATCH] x86/boot/e820: add new chareater "-" to free BIOS memory in memmap bootargs

2018-04-17 Thread Thomas Gleixner
On Tue, 17 Apr 2018, zoucao-ipc wrote: > ping? You already pinged yesterday. Are you going to switch to hourly pings tomorrow?

Re: [RFC 03/10] PCI: endpoint: Add MSI-X interfaces

2018-04-17 Thread Kishon Vijay Abraham I
Hi, On Tuesday 10 April 2018 10:44 PM, Gustavo Pimentel wrote: > Implements the generic method for calling the get/set callbacks. > > Adds the PCI_EPC_IRQ_MSIX type. > > Adds the MSI-X callbacks signatures to the ops structure. > > Adds sysfs interface for altering the number of MSI-X entries.

Re: [PATCH v3 6/7] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-04-17 Thread Lorenzo Pieralisi
On Tue, Apr 17, 2018 at 09:17:36AM +0200, Daniel Lezcano wrote: [...] > Actually there is no impact with the change Sudeep is referring to. It > is for ACPI, we are DT based. Confirmed with Jeremy. > > So AFAICT, it is not a problem. > >>> > >>> It is a problem - DT or ACPI al

Re: [PATCH v8 0/4] Fix issues with huge mapping in ioremap for ARM64

2018-04-17 Thread Chintan Pandya
Ping... On 4/3/2018 1:30 PM, Chintan Pandya wrote: This series of patches are follow up work (and depends on) Toshi Kani 's patches "fix memory leak/ panic in ioremap huge pages". This series of patches are tested on 4.9 kernel with Cortex-A75 based SoC. These patches can also go into '-stable

[PATCH 1/6 v2] Docs: dt: add fsl-mc iommu-map device-tree binding

2018-04-17 Thread Nipun Gupta
The existing IOMMU bindings cannot be used to specify the relationship between fsl-mc devices and IOMMUs. This patch adds a generic binding for mapping fsl-mc devices to IOMMUs, using iommu-map property. Signed-off-by: Nipun Gupta --- .../devicetree/bindings/misc/fsl,qoriq-mc.txt | 39 +

[PATCH 0/6 v2] Support for fsl-mc bus and its devices in SMMU

2018-04-17 Thread Nipun Gupta
This patchset defines IOMMU DT binding for fsl-mc bus and adds support in SMMU for fsl-mc bus. This patch series is dependent on patset: https://patchwork.kernel.org/patch/10317337/ These patches - Define property 'iommu-map' for fsl-mc bus (patch 1) - Integrates the fsl-mc bus with the SMMU

[PATCH 2/6 v2] iommu: of: make of_pci_map_rid() available for other devices too

2018-04-17 Thread Nipun Gupta
iommu-map property is also used by devices with fsl-mc. This patch moves the of_pci_map_rid to generic location, so that it can be used by other busses too. Signed-off-by: Nipun Gupta --- drivers/iommu/of_iommu.c | 106 +-- drivers/of/irq.c |

[PATCH 3/6 v2] iommu: support iommu configuration for fsl-mc devices

2018-04-17 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/iommu/of_iommu.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/iommu/of_iommu.c b/drivers/iommu/of_iommu.c index 4e7712f..af4fc3b 100644 --- a/drivers/iommu/of_iommu.c +++ b/drivers/iommu/of_iommu.c @@ -24,6 +24,7 @@ #inc

[PATCH 6/6 v2] arm64: dts: ls208xa: comply with the iommu map binding for fsl_mc

2018-04-17 Thread Nipun Gupta
Fsl-mc bus now support the iommu-map property. Comply to this binding for fsl_mc bus. This patch also updates the dts w.r.t. the DMA configuration. Signed-off-by: Nipun Gupta --- arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH 4/6 v2] iommu: arm-smmu: Add support for the fsl-mc bus

2018-04-17 Thread Nipun Gupta
Implement bus specific support for the fsl-mc bus including registering arm_smmu_ops and bus specific device add operations. Signed-off-by: Nipun Gupta --- drivers/iommu/arm-smmu.c | 7 +++ drivers/iommu/iommu.c| 21 + include/linux/fsl/mc.h | 8 include/

[PATCH 5/6 v2] bus: fsl-mc: supoprt dma configure for devices on fsl-mc bus

2018-04-17 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fsl-mc/fsl-mc-bus.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/bus/fsl-mc/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c index 5d8266c..624828b 100644 --- a/drivers/bus/fsl-mc/fsl-mc-bus.c +++ b/drivers/

[RESEND PATCH v2 2/4] memory: aemif: add support for board files

2018-04-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Currently aemif is supported in two places separately. By the platform driver in drivers/memory and by a hand crafted driver in mach-davinci. We want to drop the latter but also keep the legacy mode. Add support for board files to the aemif driver. The new structure in

Re: [PATCH] trace: add missing forward declaration

2018-04-17 Thread Greg Kroah-Hartman
On Tue, Apr 17, 2018 at 02:18:47AM +, Ahbong Chang wrote: > It does not fail with any config without this fix. This is for new work. Then why not submit it as part of the "new work" patch series? That's how dependancies are normally handled. thanks, greg k-h

[RESEND PATCH v2 0/4] ARM: davinci: remove the mach-specific aemif driver - part 1

2018-04-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This is the first part of changes required to remove duplicate aemif support from mach-davinci. I actually noticed that one of my previous changes from 2017 broke nand in legacy mode - the clock lookup no longer works. This series addresses it as well. First patch just

[RESEND PATCH v2 4/4] ARM: davinci: use aemif platform driver in legacy mode for da850-evm

2018-04-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now support board files in aemif. Use the platform driver instead of the handcrafted API in da850-evm. Note: the id of davinci_nand is changed to 0 in order to make it work with the new common-clock framework based psc driver. Signed-off-by: Bartosz Golaszewski ---

[RESEND PATCH v2 3/4] ARM: davinci: add aemif & nand support to da850-lcdk in legacy mode

2018-04-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We now have support for aemif & nand from board files. As an example add support for nand to da850-lcdk in legacy mode. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-omapl138-hawk.c | 132 1 file changed, 132 insertions(+) di

[RESEND PATCH v2 1/4] memory: aemif: don't rely on kbuild for driver's name

2018-04-17 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We want to use aemif from board files. Use a static name in the driver's code. Signed-off-by: Bartosz Golaszewski --- drivers/memory/ti-aemif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/ti-aemif.c b/drivers/memory/ti-aemif.c in

Applied "ASoC: rt1305: fix platform_no_drv_owner.cocci warnings" to the asoc tree

2018-04-17 Thread Mark Brown
The patch ASoC: rt1305: fix platform_no_drv_owner.cocci warnings has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) an

Applied "ASoC: rt1305: fix platform_no_drv_owner.cocci warnings" to the asoc tree

2018-04-17 Thread Mark Brown
The patch ASoC: rt1305: fix platform_no_drv_owner.cocci warnings has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) an

Re: [RFC 06/10] misc: pci_endpoint_test: Add MSI-X support

2018-04-17 Thread Kishon Vijay Abraham I
Hi, On Tuesday 10 April 2018 10:44 PM, Gustavo Pimentel wrote: > Adds the MSI-X support and updates driver documentation accordingly. > > Changes the driver parameter in order to allow the interruption type > selection. > > Signed-off-by: Gustavo Pimentel > --- > Documentation/misc-devices/pci

Re: kernel panics with 4.14.X versions

2018-04-17 Thread Greg KH
On Mon, Apr 16, 2018 at 09:10:35PM +, Dexuan Cui wrote: > > From: Jan Kara > > Sent: Monday, April 16, 2018 07:41 > > ... > > How easily can you hit this? Are you able to run debug kernels / inspect > > crash dumps when the issue occurs? Also testing with the latest mainline > > kernel (4.16)

Re: [PATCH AUTOSEL for 4.14 015/161] printk: Add console owner and waiter logic to load balance console writes

2018-04-17 Thread Greg KH
On Mon, Apr 16, 2018 at 11:28:44PM +0200, Jiri Kosina wrote: > On Mon, 16 Apr 2018, Sasha Levin wrote: > > > I agree that as an enterprise distro taking everything from -stable > > isn't the best idea. Ideally you'd want to be close to the first > > extreme you've mentioned and only take commits i

kernel 4.14.x crash around fsnotify_mark_connector

2018-04-17 Thread Pavlos Parissis
Hi, In one of our production servers where we run kernel version 4.14.32, I noticed the following: [138630.417246] cache_from_obj: Wrong slab cache. fsnotify_mark_connector but object is from kmalloc-2048(361:anycast-healthchecker.service) [138630.477075] [ cut here ]

Re: [PATCH] KVM: X86: Allow userspace to define the microcode version

2018-04-17 Thread Wanpeng Li
Cc Eduardo, 2018-02-26 20:41 GMT+08:00 Paolo Bonzini : > On 26/02/2018 13:22, Borislav Petkov wrote: >> On Mon, Feb 26, 2018 at 01:18:07PM +0100, Paolo Bonzini wrote: In this context, "host-initiated" write means written by KVM userspace with ioctl(KVM_SET_MSR). It generally happens only

Re: [PATCH 4/4] ASoC: amd: enabling bt i2s config after acp reset

2018-04-17 Thread Agrawal, Akshu
On 4/17/2018 10:29 AM, Vijendar Mukunda wrote: On ST/CZ based platforms, for specific platform bt uart mux to be defined for bt i2s. By default, these pins will be used for uart. After acp reset , it requires to reprogram bt i2s config mux pins to enable bt i2s instance. added bt i2s enablement

[PATCH v2 0/2] vunmap and debug objects

2018-04-17 Thread Chintan Pandya
I'm not entirely sure, how debug objects are really useful in vmalloc framework. I'm assuming they are useful in some ways. So, there are 2 issues in that. First patch is avoiding possible race scenario and second patch passes _proper_ args in debug object APIs. Both these patches can help debug o

[PATCH v2 2/2] mm: vmalloc: Pass proper vm_start into debugobjects

2018-04-17 Thread Chintan Pandya
Client can call vunmap with some intermediate 'addr' which may not be the start of the VM area. Entire unmap code works with vm->vm_start which is proper but debug object API is called with 'addr'. This could be a problem within debug objects. Pass proper start address into debug object API. Sign

[PATCH v2 1/2] mm: vmalloc: Avoid racy handling of debugobjects in vunmap

2018-04-17 Thread Chintan Pandya
Currently, __vunmap flow is, 1) Release the VM area 2) Free the debug objects corresponding to that vm area. This leave some race window open. 1) Release the VM area 1.5) Some other client gets the same vm area 1.6) This client allocates new debug objects on the same vm area 2) Free th

Re: [PATCH 5/5] dmaengine: sprd: Add 'device_config' and 'device_prep_slave_sg' interfaces

2018-04-17 Thread Lars-Peter Clausen
On 04/10/2018 09:46 AM, Baolin Wang wrote: [...] > +static int sprd_dma_slave_config(struct dma_chan *chan, > + struct dma_slave_config *config) > +{ > + struct sprd_dma_chn *schan = to_sprd_dma_chan(chan); > + struct sprd_dma_config *slave_cfg = > +

Re: [PATCH AUTOSEL for 4.14 015/161] printk: Add console owner and waiter logic to load balance console writes

2018-04-17 Thread Greg KH
On Mon, Apr 16, 2018 at 07:00:10PM +0200, Pavel Machek wrote: > Hi! > > > >> Let me ask my wife (who is happy using Linux as a regular desktop user) > > >> how comfortable she would be with triaging kernel bugs... > > > > > >That's really up to the distribution, not the main kernel stable. Does >

Re: [PATCH v6 01/11] ARM: sunxi: smp: Move assembly code into a file

2018-04-17 Thread kbuild test robot
Hi Mylène, Thank you for the patch! Yet something to improve: [auto build test ERROR on arm-soc/for-next] [also build test ERROR on v4.17-rc1 next-20180417] [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

[PATCH] powerpc: Allow selection of CONFIG_LD_DEAD_CODE_DATA_ELIMINATION

2018-04-17 Thread Christophe Leroy
This option does dead code and data elimination with the linker by compiling with -ffunction-sections -fdata-sections and linking with --gc-sections. By selecting this option on mpc885_ads_defconfig, vmlinux LOAD segment size gets reduced by 10% Program Header before the patch: LOAD off0x

Re: [PATCH AUTOSEL for 4.14 015/161] printk: Add console owner and waiter logic to load balance console writes

2018-04-17 Thread Greg KH
On Mon, Apr 16, 2018 at 06:54:51PM +0200, Pavel Machek wrote: > On Mon 2018-04-16 16:45:16, Sasha Levin wrote: > > On Mon, Apr 16, 2018 at 06:42:30PM +0200, Pavel Machek wrote: > > >On Mon 2018-04-16 16:39:20, Sasha Levin wrote: > > >> On Mon, Apr 16, 2018 at 06:28:50PM +0200, Pavel Machek wrote: >

Re: [RESEND PATCH v2 0/4] ARM: davinci: remove the mach-specific aemif driver - part 1

2018-04-17 Thread Sekhar Nori
Hi Bartosz, On Tuesday 17 April 2018 03:59 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This is the first part of changes required to remove duplicate aemif > support from mach-davinci. > > I actually noticed that one of my previous changes from 2017 broke nand > in legacy mod

RE: [RFC 1/6] dt-bindings: dma: xilinx_dma: Add optional property has_axieth_connected

2018-04-17 Thread Radhey Shyam Pandey
Hi Vinod, > -Original Message- > From: Vinod Koul [mailto:vinod.k...@intel.com] > Sent: Wednesday, April 11, 2018 2:35 PM > To: Radhey Shyam Pandey ; Rob Herring > ; devicet...@vger.kernel.org > Cc: dan.j.willi...@intel.com; michal.si...@xilinx.com; Appana Durga > Kedareswara Rao ; Radhey

Re: [PATCH 2/3] dt-bindings: add binding for at91-usart in spi mode

2018-04-17 Thread Mark Brown
On Fri, Apr 13, 2018 at 08:12:51PM +0200, Alexandre Belloni wrote: > On 13/04/2018 19:12:54+0200, Nicolas Ferre wrote: > > This layout of the hardware is completely different from the USART one and > > it seems to makes sense to address it with a different hardware description > > and so a differe

Re: [PATCH] mm: allow to decrease swap.max below actual swap usage

2018-04-17 Thread Roman Gushchin
Hi, Tejun! On Sun, Apr 15, 2018 at 06:39:02PM -0700, Tejun Heo wrote: > Hello, Roman. > > The reclaim behavior is a bit worrisome. > > * It disables an entire swap area while reclaim is in progress. Most > systems only have one swap area, so this would disable allocating > new swap area for

Re: [PATCH v2 2/5] ALSA: xen-front: Read sound driver configuration from Xen store

2018-04-17 Thread Juergen Gross
On 17/04/18 10:42, Oleksandr Andrushchenko wrote: > On 04/16/2018 03:55 PM, Juergen Gross wrote: >> On 16/04/18 08:24, Oleksandr Andrushchenko wrote: >>> +    goto fail; >>> +    } >>> + >>> +    if (!strncasecmp(str, XENSND_STREAM_TYPE_PLAYBACK, >>> + sizeof(XENSND_STREAM_TYPE_PLAY

Re: [PATCH AUTOSEL for 4.14 015/161] printk: Add console owner and waiter logic to load balance console writes

2018-04-17 Thread Michal Hocko
On Tue 17-04-18 12:39:36, Greg KH wrote: > On Mon, Apr 16, 2018 at 11:28:44PM +0200, Jiri Kosina wrote: > > On Mon, 16 Apr 2018, Sasha Levin wrote: > > > > > I agree that as an enterprise distro taking everything from -stable > > > isn't the best idea. Ideally you'd want to be close to the first >

Re: [PATCH v4 10/14] dt-bindings: Add support for SAW documentation

2018-04-17 Thread Mark Brown
On Mon, Apr 09, 2018 at 03:21:44PM -0500, Rob Herring wrote: > On Fri, Mar 30, 2018 at 12:26:43AM +0300, Ilia Lin wrote: > > Add support for SAW controlled regulators in 8x96. > > Document it. > Perhaps some clue in the subject what subsystem and/or device this > applies to. Right, especially gi

[PATCH v5 0/8] arm: Base support for Renesas RZN1D-DB Board

2018-04-17 Thread Michel Pollet
on the previous versions! v5: + Given the problems I have with getting in some structure around the sysctrl block, I've removed the MFD, I've now attached a simple reboot driver on it's own pair of registers. + Rebased on next-20180417 v4: + Fixes for suggestions by Simon Horm

[PATCH v5 1/6] arm: shmobile: Add the RZ/N1D (R9A06G032) to the shmobile Kconfig

2018-04-17 Thread Michel Pollet
Add the RZ/N1D SoC to the reset of the Renesas SoC Collection. Signed-off-by: Michel Pollet --- arch/arm/mach-shmobile/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index 96672da..fcc273f 100644 --- a/arch/arm/mach

[PATCH v5 5/6] ARM: dts: Renesas RZN1D-DB Board base file

2018-04-17 Thread Michel Pollet
This adds a base device tree file for the RZN1-DB board, with only the basic support allowing the system to boot to a prompt. Only one UART is used, with only a single CPU running. Signed-off-by: Michel Pollet --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/r9a06g032-rz

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