device tree file

2017-05-16 Thread Karthik BalaGuru T
Hi, Can someone point me to a specific device tree file for Intel Atom processor for reference ? Thanks in advance, Karthik Balaguru Disclaimer : This email communication may contain privileged and confidential information and is intended for the use of the addressee only. If you are not an

Re: [PATCH v1] cpufreq: kirkwood-cpufreq:- Handle return value of clk_prepare_enable

2017-05-16 Thread Arvind Yadav
Yes, I will add check for powersave clk. Thanks - Arvind On Wednesday 17 May 2017 10:04 AM, Viresh Kumar wrote: On 16-05-17, 12:41, Arvind Yadav wrote: Here, Clock enable can failed. So adding an error check for clk_prepare_enable. Rewrite it as: clk_prepare_enable() can fail here and we

Re: [V2, 2/6] tty: serial: lpuart: add little endian 32 bit register support

2017-05-16 Thread Nikita Yushchenko
> static u32 lpuart32_read(void __iomem *addr) > { > - return ioread32be(addr); > + return lpuart_is_be ? ioread32be(addr) : readl(addr); > } > > static void lpuart32_write(u32 val, void __iomem *addr) > { > - iowrite32be(val, addr); > + if

rcu: NO_HZ_FULL_SYSIDLE leftovers

2017-05-16 Thread Valentin Rothberg
em on LKML, and as I am unsure if you like to keep the affected code, I want to report it to you. To get the report in linux-next: $ checkkconfigsymbols.py --diff next-20170516..next-20170517 --find Kind regards, Valentin

[PATCH] dlm: Make dismatch error message more clear

2017-05-16 Thread Gang He
This change will try to make this error message more clear, since the upper applications (e.g. ocfs2) invoke dlm_new_lockspace to create a new lockspace with passing a cluster name. Sometimes, dlm_new_lockspace return failure while two cluster names dismatch, the user is a little confused since

Re: [PATCH] usb: class: usblp: Fixed assignments inside if conditions

2017-05-16 Thread Alberto Ladron
On Tue, May 16, 2017 at 01:44:47PM +0800, kbuild test robot wrote: Hi, Here is the fix. Or I have to resubmit the whole patch? Signed-off-by: Alberto Ladron --- diff --git a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c index b1879ff..c335878 100644 ---

Re: [V2, 2/6] tty: serial: lpuart: add little endian 32 bit register support

2017-05-16 Thread Nikita Yushchenko
>>> @@ -2000,6 +2007,7 @@ static int lpuart_probe(struct platform_device *pdev) >>> } >>> sport->port.line = ret; >>> sport->lpuart32 = sdata->is_32; >>> + lpuart_is_be = sdata->is_be; >> >> Setting a global variable in per-device routine is quite bad design. >> > > There is a

Re: [PATCH-RFT 2/2] pinctrl: samsung: Split Exynos drivers per ARMv7 and ARMv8

2017-05-16 Thread Marek Szyprowski
Hi Krzysztof, On 2017-05-16 22:06, Krzysztof Kozlowski wrote: Exynos pinctrl drivers contain pretty big per-SoC data structures. The pinctrl-exynos object file contained code and data for both ARMv7 and ARMv8 SoCs thus it grew big. There will not be a shared image between ARMv7 and ARMv8 so

Re: [V2, 2/6] tty: serial: lpuart: add little endian 32 bit register support

2017-05-16 Thread Dong Aisheng
On Wed, May 17, 2017 at 08:37:41AM +0300, Nikita Yushchenko wrote: > > > 17.05.2017 06:39, Dong Aisheng wrote: > > On Tue, May 16, 2017 at 02:15:08PM +0300, Nikita Yushchenko wrote: > >>> static u32 lpuart32_read(void __iomem *addr) > >>> { > >>> - return ioread32be(addr); > >>> + return

[PATCH 3/4] mtd: mchp23k256: add partitioning support

2017-05-16 Thread Chris Packham
Setting the of_node for the mtd device allows the generic mtd code to setup the partitions. Additionally we must specify a non-zero erasesize for the partitions to be writeable. Signed-off-by: Chris Packham --- drivers/mtd/devices/mchp23k256.c | 5 + 1

[PATCH 2/4] mtd: mchp23k256: switch to mtd_device_register()

2017-05-16 Thread Chris Packham
Use mtd_device_register() instead of mtd_device_parse_register() to eliminate two unused parameters. Signed-off-by: Chris Packham --- drivers/mtd/devices/mchp23k256.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 4/4] mtd: mchp23k256: Add support for mchp23lcv1024

2017-05-16 Thread Chris Packham
The mchp23lcv1024 is software compatible with the mchp23k256, the only difference (from a software point of view) is the size. There is no way to detect the size so we must be told via a Device Tree. Signed-off-by: Chris Packham ---

[PATCH 1/4] mtd: mchp23k256: Add OF device ID table

2017-05-16 Thread Chris Packham
This allows registering of this device via a Device Tree. Signed-off-by: Chris Packham --- .../devicetree/bindings/mtd/microchip,mchp23k256.txt | 18 ++ drivers/mtd/devices/mchp23k256.c | 8 2 files changed, 26

[PATCH 0/4] mtd: mchp23k256: device tree and mchp23lcv1024

2017-05-16 Thread Chris Packham
This series adds device tree support to the mchp23k256 driver and support for the mchp23lcv1024 chip. I suspect there are more compatible variants that we could now enumerate if desired. Chris Packham (4): mtd: mchp23k256: Add OF device ID table mtd: mchp23k256: switch to

Re: [V2, 2/6] tty: serial: lpuart: add little endian 32 bit register support

2017-05-16 Thread Nikita Yushchenko
17.05.2017 06:39, Dong Aisheng wrote: > On Tue, May 16, 2017 at 02:15:08PM +0300, Nikita Yushchenko wrote: >>> static u32 lpuart32_read(void __iomem *addr) >>> { >>> - return ioread32be(addr); >>> + return lpuart_is_be ? ioread32be(addr) : readl(addr); >>> } >>> >>> static void

Re: [PATCH 2/4] arm: dts: rk322x: add operating-points-v2 property for cpu

2017-05-16 Thread Viresh Kumar
On 17-05-17, 12:45, Frank Wang wrote: > From: Finley Xiao > > This patch adds a new opp table for cpu on rk322x SoC. > > Signed-off-by: Frank Wang > --- > arch/arm/boot/dts/rk322x.dtsi | 36 > 1 file

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

2017-05-16 Thread Takashi Iwai
^ > sound/pcmcia/vx/vxp_ops.c:512:31: note: in expansion of macro 'to_vxpocket' > struct snd_vxpocket *pchip = to_vxpocket(_chip); >^ > > Caused by commit > > 7c46696e8fef ("ALSA: vxpocket: Use container_of()") > > I have used the sound tree from next-20170516 for today. My bad, I applied the wrong version of the patch. Now fixed and pushed out. thanks, Takashi

Re: [PATCH 3/4] arm: dts: rk3229: add a new cpu opp table

2017-05-16 Thread Viresh Kumar
On 17-05-17, 12:45, Frank Wang wrote: > From: Finley Xiao > > This patch adds some new frequencies for rk3229 board. > > Signed-off-by: Frank Wang > --- > arch/arm/boot/dts/rk3229-cpu-opp.dtsi | 85 > +++ >

Re: [kbuild-all] [PATCH v4 2/3] hwmon: (adt7475) temperature smoothing

2017-05-16 Thread Guenter Roeck
On 05/16/2017 09:39 PM, Ye Xiaolong wrote: On 05/17, Chris Packham wrote: On 17/05/17 15:09, Ye Xiaolong wrote: On 05/16, Chris Packham wrote: On 16/05/17 20:23, kbuild test robot wrote: Hi Chris, [auto build test ERROR on hwmon/hwmon-next] [also build test ERROR on v4.12-rc1 next-20170516

Re: [PATCH 03/18] xen/pvcalls: initialize the module and register the xenbus backend

2017-05-16 Thread Juergen Gross
On 16/05/17 21:58, Stefano Stabellini wrote: > On Tue, 16 May 2017, Juergen Gross wrote: >> On 15/05/17 22:35, Stefano Stabellini wrote: >>> The pvcalls backend has one ioworker per cpu: the ioworkers are >>> implemented as a cpu bound workqueue, and will deal with the actual >>> socket and data

Re: [PATCH] iommu: of: Fix check for returning EPROBE_DEFER

2017-05-16 Thread Sricharan R
Hi, On 5/16/2017 7:39 PM, Jonathan Neuschäfer wrote: > Hi, I have a few suggestions on how to make this commit message more > readable: > > On Tue, May 16, 2017 at 10:54:13AM +0530, Sricharan R wrote: >> While returning EPROBE_DEFER for iommu masters > > Add a comma at the end of this line >

Re: [PATCH v2] perf report: fix off-by-one for non-activation frames

2017-05-16 Thread Namhyung Kim
On Tue, May 16, 2017 at 06:26:47PM +0200, Milian Wolff wrote: > On Dienstag, 16. Mai 2017 18:17:26 CEST Milian Wolff wrote: > > On Dienstag, 16. Mai 2017 16:38:29 CEST Namhyung Kim wrote: > > > On Tue, May 16, 2017 at 10:59:51AM +0200, Milian Wolff wrote: > > > > As the documentation for

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

2017-05-16 Thread Willem de Bruijn
On Tue, May 16, 2017 at 11:45 PM, Stephen Rothwell wrote: > Hi all, > > After merging the netfilter tree, today's linux-next build (i386 > defconfig) failed like this: > > net/netfilter/x_tables.c: In function 'xt_match_to_user': > net/netfilter/x_tables.c:303:13: error:

Re: linux-next: build warning after merge of the overlayfs tree

2017-05-16 Thread Amir Goldstein
On Wed, May 17, 2017 at 3:19 AM, Stephen Rothwell wrote: > Hi Miklos, > > After merging the overlayfs tree, today's linux-next build (powerpc > ppc64_defconfig) produced this warning: > > fs/overlayfs/dir.c: In function 'ovl_rename': > fs/overlayfs/dir.c:1060:2: warning:

[PATCH 3/4] arm: dts: rk3229: add a new cpu opp table

2017-05-16 Thread Frank Wang
From: Finley Xiao This patch adds some new frequencies for rk3229 board. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk3229-cpu-opp.dtsi | 85 +++ 1 file changed, 85 insertions(+) create mode 100644

[PATCH 2/4] arm: dts: rk322x: add operating-points-v2 property for cpu

2017-05-16 Thread Frank Wang
From: Finley Xiao This patch adds a new opp table for cpu on rk322x SoC. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 36 1 file changed, 32 insertions(+), 4 deletions(-) diff --git

[PATCH 0/4] amend some properties related clk and cpu for rk322x

2017-05-16 Thread Frank Wang
These series of patches amend some assigned-clocks and add cpu opp table for rk322x SoCs. the following patches on patchwork are required for this changes. https://patchwork.kernel.org/patch/9627639/ https://patchwork.kernel.org/patch/9703945/ https://patchwork.kernel.org/patch/9703939/

[PATCH 1/4] arm: dts: rk322x: add some assigned-clocks

2017-05-16 Thread Frank Wang
From: Elaine Zhang Add CPLL, GPLL and some other assigned-clocks for rk322x SoC. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git

[PATCH 4/4] arm: dts: rk322x: update tsadc's frequence setting

2017-05-16 Thread Frank Wang
From: Rocky Hao Update freq of tsadc's working clock as 32768 hz, if not set, tsadc will work at a default frequence. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 2/4] PM / OPP: Don't create copy of regulators unnecessarily

2017-05-16 Thread Viresh Kumar
This code was required while the OPP core was managed with help of RCUs, but not anymore. Get rid of unnecessary alloc/memcpy operations. Signed-off-by: Viresh Kumar --- drivers/base/power/opp/core.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-)

Re: [kbuild-all] [PATCH v4 2/3] hwmon: (adt7475) temperature smoothing

2017-05-16 Thread Ye Xiaolong
On 05/17, Chris Packham wrote: >On 17/05/17 15:09, Ye Xiaolong wrote: >> On 05/16, Chris Packham wrote: >>> On 16/05/17 20:23, kbuild test robot wrote: >>>> Hi Chris, >>>> >>>> [auto build test ERROR on hwmon/hwmon-next] >>>> [als

[PATCH 3/4] PM / OPP: opp-microvolt is not optional if regulators are set

2017-05-16 Thread Viresh Kumar
If dev_pm_opp_set_regulators() is called for a device and its regulators are set in the OPP core, the OPP nodes for the device must contain the "opp-microvolt" property, otherwise there is something wrong and we better error out. Signed-off-by: Viresh Kumar ---

[PATCH 4/4] PM / OPP: Don't create debugfs "supply-0" directory unnecessarily

2017-05-16 Thread Viresh Kumar
We create "supply-0" debugfs directory even if the device doesn't do voltage scaling. That looks confusing, as if the regulator is found but we never managed to get voltage levels for it. Avoid creating such a directory unnecessarily. Signed-off-by: Viresh Kumar ---

[PATCH 1/4] PM / OPP: Reorganize _generic_set_opp_regulator()

2017-05-16 Thread Viresh Kumar
The code was overly complicated here because of the limitations that we had with RCUs (Couldn't use opp-table and OPPs outside RCU protected section and can't call sleep-able routines from within that). But that is long gone now. Reorganize _generic_set_opp_regulator() in order to avoid using

[PATCH 0/4] PM / OPP: Minor cleanups

2017-05-16 Thread Viresh Kumar
Hi, Here are few cleanup patches for the OPP core. The first two simplify the code that was written specifically due to the limitations that we had because of RCUs. We don't RCUs anymore and this can be simplified. The last two take care of specific corner cases. Rebased over pm/linux-next and

Re: [PATCH v1] cpufreq: kirkwood-cpufreq:- Handle return value of clk_prepare_enable

2017-05-16 Thread Viresh Kumar
On 16-05-17, 12:41, Arvind Yadav wrote: > Here, Clock enable can failed. So adding an error check for > clk_prepare_enable. Rewrite it as: clk_prepare_enable() can fail here and we must check its return value. > Signed-off-by: Arvind Yadav > --- >

[PATCH v3 2/2] powerpc/mm/hugetlb: Add support for 1G huge pages

2017-05-16 Thread Aneesh Kumar K.V
POWER9 supports hugepages of size 2M and 1G in radix MMU mode. This patch enables the usage of 1G page size for hugetlbfs. This also update the helper such we can do 1G page allocation at runtime. We still don't enable 1G page size on DD1 version. This is to avoid doing workaround mentioned in

[PATCH v3 1/2] mm/hugetlb: Cleanup ARCH_HAS_GIGANTIC_PAGE

2017-05-16 Thread Aneesh Kumar K.V
This moves the #ifdef in C code to a Kconfig dependency. Also we move the gigantic_page_supported() function to be arch specific. This gives arch to conditionally enable runtime allocation of gigantic huge page. Architectures like ppc64 supports different gigantic huge page size (16G and 1G) based

Re: [PATCH] perf report: do not drop last inlined frame

2017-05-16 Thread Namhyung Kim
On Tue, May 16, 2017 at 11:54:33PM +0200, Milian Wolff wrote: > The very last inlined frame, i.e. the one furthest away from the > non-inlined frame, was silently dropped. This is apparent when > comparing the output of `perf script` and `addr2line`: > > ~~ > $ perf script --inline > ... >

Re: [PATCH] perf report: always honor callchain order for inlined nodes

2017-05-16 Thread Namhyung Kim
On Tue, May 16, 2017 at 11:54:22PM +0200, Milian Wolff wrote: > So far, the inlined nodes where only reversed when we built perf > against libbfd. If that was not available, the addr2line fallback > code path was missing the inline_list__reverse call. > > Now this is done at the central place

[PATCH V2] i2c: xgene: Set ACPI_COMPANION_I2C

2017-05-16 Thread Tin Huynh
With ACPI, i2c-core requires ACPI companion to be set in order for it to create slave device. This patch sets the ACPI companion accordingly. Signed-off-by: Tin Huynh --- drivers/i2c/busses/i2c-xgene-slimpro.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) Change

Re: [PATCH v3 00/11] Broadcom Stingray SOC Initial Support

2017-05-16 Thread Anup Patel
On Wed, May 17, 2017 at 12:23 AM, Olof Johansson wrote: > Hi, > > > > On Tue, May 16, 2017 at 4:30 AM, Anup Patel wrote: >> This patchset adds initial support of Broadcom Stingray SOC >> by reusing existing Broadcom iProc device drivers. >> >> Most of the

Re: [PATCH] perf report: fix memory leak in addr2line when called by addr2inlines

2017-05-16 Thread Namhyung Kim
On Tue, May 16, 2017 at 11:53:59PM +0200, Milian Wolff wrote: > When a filename was found in addr2line it was duplicated via strdup > but never freed. Now we pass NULL and handle this gracefully in > addr2line. > > Detected by Valgrind: > > ==16331== 1,680 bytes in 21 blocks are definitely lost

linux-next: Tree for May 17

2017-05-16 Thread Stephen Rothwell
Hi all, Changes since 20170516: New trees: nand-fixes (yesterday) spi-nor-fixes The file-locks tree gained a build failure so I used the version from next-20170516. The netfilter tree gained a build failure for which I applied a fix patch. The sound tree gained a build failure so I

[PATCH net-next V5 1/9] ptr_ring: add ptr_ring_unconsume

2017-05-16 Thread Jason Wang
From: "Michael S. Tsirkin" Applications that consume a batch of entries in one go can benefit from ability to return some of them back into the ring. Add an API for that - assuming there's space. If there's no space naturally can't do this and have to drop entries, but this

[PATCH net-next V5 0/9] vhost_net rx batch dequeuing

2017-05-16 Thread Jason Wang
This series tries to implement rx batching for vhost-net. This is done by batching the dequeuing from skb_array which was exported by underlayer socket and pass the sbk back through msg_control to finish userspace copying. This is also the requirement for more batching implemention on rx path.

[PATCH net-next V5 4/9] skb_array: introduce batch dequeuing

2017-05-16 Thread Jason Wang
Signed-off-by: Jason Wang --- include/linux/skb_array.h | 25 + 1 file changed, 25 insertions(+) diff --git a/include/linux/skb_array.h b/include/linux/skb_array.h index 79850b6..35226cd 100644 --- a/include/linux/skb_array.h +++

[PATCH net-next V5 9/9] vhost_net: try batch dequing from skb array

2017-05-16 Thread Jason Wang
We used to dequeue one skb during recvmsg() from skb_array, this could be inefficient because of the bad cache utilization and spinlock touching for each packet. This patch tries to batch them by calling batch dequeuing helpers explicitly on the exported skb array and pass the skb back through

[PATCH net-next V5 7/9] tun: support receiving skb through msg_control

2017-05-16 Thread Jason Wang
This patch makes tun_recvmsg() can receive from skb from its caller through msg_control. Vhost_net will be the first user. Signed-off-by: Jason Wang --- drivers/net/tun.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git

[PATCH net-next V5 5/9] tun: export skb_array

2017-05-16 Thread Jason Wang
This patch exports skb_array through tun_get_skb_array(). Caller can then manipulate skb array directly. Signed-off-by: Jason Wang --- drivers/net/tun.c | 13 + include/linux/if_tun.h | 5 + 2 files changed, 18 insertions(+) diff --git

[PATCH net-next V5 6/9] tap: export skb_array

2017-05-16 Thread Jason Wang
This patch exports skb_array through tap_get_skb_array(). Caller can then manipulate skb array directly. Signed-off-by: Jason Wang --- drivers/net/tap.c | 13 + include/linux/if_tap.h | 5 + 2 files changed, 18 insertions(+) diff --git

[PATCH net-next V5 8/9] tap: support receiving skb from msg_control

2017-05-16 Thread Jason Wang
This patch makes tap_recvmsg() can receive from skb from its caller through msg_control. Vhost_net will be the first user. Signed-off-by: Jason Wang --- drivers/net/tap.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/net/tap.c

[PATCH net-next V5 3/9] ptr_ring: introduce batch dequeuing

2017-05-16 Thread Jason Wang
This patch introduce a batched version of consuming, consumer can dequeue more than one pointers from the ring at a time. We don't care about the reorder of reading here so no need for compiler barrier. Signed-off-by: Jason Wang --- include/linux/ptr_ring.h | 65

[PATCH net-next V5 2/9] skb_array: introduce skb_array_unconsume

2017-05-16 Thread Jason Wang
Signed-off-by: Jason Wang --- include/linux/skb_array.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/skb_array.h b/include/linux/skb_array.h index f4dfade..79850b6 100644 --- a/include/linux/skb_array.h +++ b/include/linux/skb_array.h @@ -156,6

[PATCH] crypto: x86/aes - Don't use %rbp as temporary register

2017-05-16 Thread Eric Biggers
From: Eric Biggers When using the "aes-asm" implementation of AES (*not* the AES-NI implementation) on an x86_64, v4.12-rc1 kernel with lockdep enabled, the following warning was reported, along with a long unwinder dump: WARNING: kernel stack regs at

[PATCH net v3] net: x25: fix one potential use-after-free issue

2017-05-16 Thread linzhang
The function x25_init is not properly unregister related resources on error handler.It is will result in kernel oops if x25_init init failed, so add properly unregister call on error handler. Also, i adjust the coding style and make x25_register_sysctl properly return failure. Signed-off-by:

RE: [PATCH 01/11] mwifiex: fixup error cases in mwifiex_add_virtual_intf()

2017-05-16 Thread Xinming Hu
Hi, This patch serials looks fine, thanks. > -Original Message- > From: linux-wireless-ow...@vger.kernel.org > [mailto:linux-wireless-ow...@vger.kernel.org] On Behalf Of Brian Norris > Sent: 2017年5月13日 0:42 > To: Ganapathi Bhat; Nishant Sarmukadam > Cc: linux-kernel@vger.kernel.org;

Re: [PATCH] kprobes: Document how optimized kprobes are removed from module unload

2017-05-16 Thread Masami Hiramatsu
On Tue, 16 May 2017 22:46:02 -0400 Steven Rostedt wrote: > On Wed, 17 May 2017 10:47:07 +0900 > Masami Hiramatsu wrote: > > > On Tue, 16 May 2017 14:58:35 -0400 > > Steven Rostedt wrote: > > > > > From: Steven Rostedt (VMware)

Re: [PATCHv2] Make initramfs honor CONFIG_DEVTMPFS_MOUNT

2017-05-16 Thread Michael Ellerman
Rob Landley writes: > diff --git a/init/main.c b/init/main.c > index f866510..9ec09ff 100644 > --- a/init/main.c > +++ b/init/main.c > @@ -1055,8 +1049,17 @@ static noinline void __init kernel_init_freeable(void) > if (sys_access((const char __user *)

[PATCH] lpfc: fix build issue if NVME_FC_TARGET is not defined

2017-05-16 Thread James Smart
fix build issue if NVME_FC_TARGET is not defined. noop the code. The code will never be invoked if target mode is not enabled. Signed-off-by: Dick Kennedy Signed-off-by: James Smart --- drivers/scsi/lpfc/lpfc_nvmet.c | 2 ++ 1 file changed,

Re: [PATCH V2 6/6] tty: serial: lpuart: add a more accurate baud rate calculation method

2017-05-16 Thread Dong Aisheng
On Mon, May 15, 2017 at 10:06:41AM -0700, Stefan Agner wrote: > On 2017-05-15 00:48, Dong Aisheng wrote: > > On new LPUART versions, the oversampling ratio for the receiver can be > > changed from 4x (00011) to 32x (1) which could help us get a more > > accurate baud rate divider. > > > > The

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

2017-05-16 Thread Stephen Rothwell
Hi all, After merging the netfilter tree, today's linux-next build (i386 defconfig) failed like this: net/netfilter/x_tables.c: In function 'xt_match_to_user': net/netfilter/x_tables.c:303:13: error: implicit declaration of function 'COMPAT_XT_ALIGN' [-Werror=implicit-function-declaration]

Re: [PATCH v5 3/3] phy: Group vendor specific phy drivers

2017-05-16 Thread Vivek Gautam
On 05/16/2017 03:40 PM, Kishon Vijay Abraham I wrote: Hi Vivek, On Thursday 11 May 2017 12:17 PM, Vivek Gautam wrote: Adding vendor specific directories in phy to group phy drivers under their respective vendor umbrella. Also updated the MAINTAINERS file to reflect the correct directory

[PATCH 0/3] add and fix some device node for rk322x SoC

2017-05-16 Thread Frank Wang
These series of patches fix some device node errors and add watchdog device node support for rk322x SoC. Frank Wang (2): arm: dts: rk322x: correct uart2 pinctrl and add another sets arm: dts: rk322x: add watchdog device node. Sugar Zhang (1): arm: dts: rk322x: fix i2s1 pinctrl error

[PATCH 3/3] arm: dts: rk322x: add watchdog device node.

2017-05-16 Thread Frank Wang
Add watchdog device node for rk322x SoC. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index ea1239a..221251a 100644 ---

[PATCH 2/3] arm: dts: rk322x: correct uart2 pinctrl and add another sets

2017-05-16 Thread Frank Wang
Correct UART2 PINCTRL flag and add another PINCTRL sets for UART2 in case of confict with SDMMC. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rk322x.dtsi

[PATCH 1/3] arm: dts: rk322x: fix i2s1 pinctrl error

2017-05-16 Thread Frank Wang
From: Sugar Zhang Refer to Chapter 5.3.2 of rk3229 TRM, we can see that GPIO1A[2,4,5] using RK_FUNC_2 not RK_FUNC_1. This patch fixes it. Signed-off-by: Frank Wang --- arch/arm/boot/dts/rk322x.dtsi | 6 +++--- 1 file changed, 3

Re: [PATCH v3] x86/efi: Correct ident mapping of efi old_map when kalsr enabled

2017-05-16 Thread Baoquan He
On 05/17/17 at 11:35am, Baoquan He wrote: > On 05/17/17 at 10:55am, Dave Young wrote: > > Hi, Baoquan > > > arch/x86/platform/efi/efi_64.c | 69 > > > +- > > > 1 file changed, 61 insertions(+), 8 deletions(-) > > > > > > diff --git

Re: [V2, 2/6] tty: serial: lpuart: add little endian 32 bit register support

2017-05-16 Thread Dong Aisheng
On Tue, May 16, 2017 at 02:15:08PM +0300, Nikita Yushchenko wrote: > > static u32 lpuart32_read(void __iomem *addr) > > { > > - return ioread32be(addr); > > + return lpuart_is_be ? ioread32be(addr) : readl(addr); > > } > > > > static void lpuart32_write(u32 val, void __iomem *addr) > >

Re: [PATCH v3] x86/efi: Correct ident mapping of efi old_map when kalsr enabled

2017-05-16 Thread Baoquan He
On 05/17/17 at 10:55am, Dave Young wrote: > Hi, Baoquan > > arch/x86/platform/efi/efi_64.c | 69 > > +- > > 1 file changed, 61 insertions(+), 8 deletions(-) > > > > diff --git a/arch/x86/platform/efi/efi_64.c b/arch/x86/platform/efi/efi_64.c > > index

Re: [V2, 2/6] tty: serial: lpuart: add little endian 32 bit register support

2017-05-16 Thread Dong Aisheng
On Tue, May 16, 2017 at 02:08:12PM +0300, Nikita Yushchenko wrote: > > @@ -2000,6 +2007,7 @@ static int lpuart_probe(struct platform_device *pdev) > > } > > sport->port.line = ret; > > sport->lpuart32 = sdata->is_32; > > + lpuart_is_be = sdata->is_be; > > Setting a global variable

Re: [PATCH V2 2/6] tty: serial: lpuart: add little endian 32 bit register support

2017-05-16 Thread Dong Aisheng
On Mon, May 15, 2017 at 04:36:25PM +0300, Andy Shevchenko wrote: > On Mon, May 15, 2017 at 10:48 AM, Dong Aisheng wrote: > > It's based on the exist lpuart32 read/write implementation. > > Same as per previous comment (perhaps not in other UART driver, but > some might have

Re: [kbuild-all] [PATCH v4 2/3] hwmon: (adt7475) temperature smoothing

2017-05-16 Thread Chris Packham
On 17/05/17 15:09, Ye Xiaolong wrote: > On 05/16, Chris Packham wrote: >> On 16/05/17 20:23, kbuild test robot wrote: >>> Hi Chris, >>> >>> [auto build test ERROR on hwmon/hwmon-next] >>> [also build test ERROR on v4.12-rc1 next-20170516] >>> [

Re: [kbuild-all] [PATCH v4 2/3] hwmon: (adt7475) temperature smoothing

2017-05-16 Thread Ye Xiaolong
On 05/16, Chris Packham wrote: >On 16/05/17 20:23, kbuild test robot wrote: >> Hi Chris, >> >> [auto build test ERROR on hwmon/hwmon-next] >> [also build test ERROR on v4.12-rc1 next-20170516] >> [if your patch is applied to the wrong git tree, please drop us a no

Re: [PATCH v2 1/4] ftrace: Simplify glob handling in unregister_ftrace_function_probe_func()

2017-05-16 Thread Masami Hiramatsu
On Tue, 16 May 2017 23:21:25 +0530 "Naveen N. Rao" wrote: > Handle a NULL glob properly and simplify the check. > Looks good to me. Reviewed-by: Masami Hiramatsu Thanks! > Signed-off-by: Naveen N. Rao >

Re: [Patch v2] mm/vmscan: fix unsequenced modification and access warning

2017-05-16 Thread Nick Desaulniers
> I guess it is worth reporting this to clang bugzilla. Could you take > care of that Nick? Done: https://bugs.llvm.org//show_bug.cgi?id=33065

linux-next: build failure after merge of the scsi-mkp tree

2017-05-16 Thread Stephen Rothwell
MET IO context resources") CONFIG_NVME_TARGET_FC is not set for this build. I have used the scsi-mkp tree from next-20170516 for today. -- Cheers, Stephen Rothwell

Re: [PATCH v3] x86/efi: Correct ident mapping of efi old_map when kalsr enabled

2017-05-16 Thread Dave Young
Hi, Baoquan On 05/13/17 at 11:56am, Baoquan He wrote: > For EFI with 'efi=old_map' kernel option specified, Kernel will panic > when kaslr is enabled. > > The back trace is: > > BUG: unable to handle kernel paging request at 7febd57e > IP: 0x7febd57e > PGD 1025a067 > PUD 0 > > Oops:

Re: [PATCH] hwspinlock: sprd: Add hardware spinlock driver

2017-05-16 Thread Baolin Wang
Hi Bjorn, On 17 May 2017 at 03:18, Bjorn Andersson wrote: > On Tue 16 May 00:54 PDT 2017, Baolin Wang wrote: > >> diff --git a/drivers/hwspinlock/Makefile b/drivers/hwspinlock/Makefile >> index 6b59cb5a..03c442f 100644 >> --- a/drivers/hwspinlock/Makefile >> +++

Re: [PATCH] kprobes: Document how optimized kprobes are removed from module unload

2017-05-16 Thread Steven Rostedt
On Wed, 17 May 2017 10:47:07 +0900 Masami Hiramatsu wrote: > On Tue, 16 May 2017 14:58:35 -0400 > Steven Rostedt wrote: > > > From: Steven Rostedt (VMware) > > > > Thomas discovered a bug where the kprobe trace tests had a race >

Re: Programatically modifying .config

2017-05-16 Thread Steven Rostedt
On Tue, 16 May 2017 17:31:17 -0700 Randy Dunlap wrote: > On 05/16/17 03:57, Pavel Machek wrote: > > On Sun 2017-03-12 16:38:02, Drew DeVault wrote: > >> I'm in the research stage of making it so something to the effect of > >> `make setconfig OPTION="CONFIG_E100E=y"`

[PATCH] gpu: drm: radeon: refactor code

2017-05-16 Thread Gustavo A. R. Silva
Local variable _color_ is assigned to a constant value and it is never updated again. Remove this variable and refactor the code it affects. Addresses-Coverity-ID: 1226745 Signed-off-by: Gustavo A. R. Silva --- drivers/gpu/drm/radeon/radeon_legacy_encoders.c | 8

RE: Donation

2017-05-16 Thread Mayrhofer Family
Good Day, My wife and I have awarded you with a donation of $ 1,000,000.00 Dollars from part of our Jackpot Lottery of 50 Million Dollars, respond with your details for claims. We await your earliest response and God Bless you. Friedrich And Annand Mayrhofer. --- This email has been checked

Re: [PATCH v2] x86/efi: Disable runtime services on kexec kernel if booted with efi=old_map

2017-05-16 Thread Sai Praneeth Prakhya
On Wed, 2017-05-17 at 09:57 +0800, Dave Young wrote: > Hi Sai, > On 05/16/17 at 06:14pm, Sai Praneeth Prakhya wrote: > > From: Sai Praneeth > > > > Booting kexec kernel with "efi=old_map" in kernel command line hits > > kernel panic as shown below. > > > >

Re: [PATCH v2] x86/efi: Disable runtime services on kexec kernel if booted with efi=old_map

2017-05-16 Thread Dave Young
Hi Sai, On 05/16/17 at 06:14pm, Sai Praneeth Prakhya wrote: > From: Sai Praneeth > > Booting kexec kernel with "efi=old_map" in kernel command line hits > kernel panic as shown below. > > [0.001000] BUG: unable to handle kernel paging request at 88007fe78070

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

2017-05-16 Thread Stephen Rothwell
Hi Jeff, On Tue, 16 May 2017 21:10:03 -0400 Jeff Layton wrote: > > I think this patch will probably fix it, but I don't have a 32-bit host > set up to build on just now. I'll go ahead and merge this into the > branch, and will plan to test it tomorrow (hopefully before

Re: [PATCH] kprobes: Document how optimized kprobes are removed from module unload

2017-05-16 Thread Masami Hiramatsu
On Tue, 16 May 2017 14:58:35 -0400 Steven Rostedt wrote: > From: Steven Rostedt (VMware) > > Thomas discovered a bug where the kprobe trace tests had a race > condition where the kprobe_optimizer called from a delayed work queue > that does the

Re: WARNING at arch/x86/kernel/alternative.c:707 text_poke+0x25d/0x270

2017-05-16 Thread Masami Hiramatsu
On Tue, 16 May 2017 23:42:58 +0200 (CEST) Thomas Gleixner wrote: > On Wed, 17 May 2017, Masami Hiramatsu wrote: > > On Tue, 16 May 2017 09:48:02 -0400 > > Steven Rostedt wrote: > > > It appears that the kprobe_optimizer work thread call happened after >

linux-next: build failure after merge of the sound tree

2017-05-16 Thread Stephen Rothwell
vx/vxp_ops.c:512:31: note: in expansion of macro 'to_vxpocket' struct snd_vxpocket *pchip = to_vxpocket(_chip); ^ Caused by commit 7c46696e8fef ("ALSA: vxpocket: Use container_of()") I have used the sound tree from next-20170516 for today. -- Cheers, Stephen Rothwell

Re: [PATCH v13 00/12] power: add power sequence library

2017-05-16 Thread Peter Chen
On Tue, May 16, 2017 at 07:28:55PM +0200, Krzysztof Kozlowski wrote: > On Wed, Feb 15, 2017 at 09:38:09AM +0800, Peter Chen wrote: > > On Tue, Feb 14, 2017 at 12:21:48PM +0200, Roger Quadros wrote: > > > Peter, > > > > > > On 11/02/17 03:27, Peter Chen wrote: > > > > Hi all, > > > > > > > > This

[PATCH v2] x86/efi: Disable runtime services on kexec kernel if booted with efi=old_map

2017-05-16 Thread Sai Praneeth Prakhya
From: Sai Praneeth Booting kexec kernel with "efi=old_map" in kernel command line hits kernel panic as shown below. [0.001000] BUG: unable to handle kernel paging request at 88007fe78070 [0.001000] IP: virt_efi_set_variable.part.7+0x63/0x1b0 [0.001000] PGD

Re: [PATCH] arm64: dts: rockchip: Drop explicit "include/" prefix from #include

2017-05-16 Thread Ian Campbell
On Sat, 2017-05-13 at 17:43 +0200, Heiko Stuebner wrote: > Hi Ian, > > Am Samstag, 13. Mai 2017, 00:53:57 CEST schrieb Ian Campbell: > > It not necessary and counter to how all the other files are done. > > > > It also happens to break the build in the split device tree repo > >

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

2017-05-16 Thread Jeff Layton
ction) >err = fcntl_getlk64(filp, cmd, ); >^ > > Caused by commit > > 0416b792294c ("fs/locks: pass kernel struct flock to fcntl_getlk/setlk") > > This build has BITS_PER_LONG == 32. > > I have used the file-locks tree from

Re: [PATCH] scsi: libfc: fix incorrect variable assingment

2017-05-16 Thread Martin K. Petersen
Gustavo A., > Previous assignment was causing the use of the uninitialized variable > _explan_ inside fc_seq_ls_rjt() function, which in this particular > case is being called by fc_seq_els_rsp_send(). Applied to 4.12/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v4] sd: Ignore sync cache failures when not supported

2017-05-16 Thread Martin K. Petersen
Thierry, > Some external hard drives don't support the sync command even though > the hard drive has write cache enabled. In this case, upon suspend > request, sync cache failures are ignored if the error code in the > sense header is ILLEGAL_REQUEST. There's not much we can do for these >

Re: Programatically modifying .config

2017-05-16 Thread Randy Dunlap
On 05/16/17 03:57, Pavel Machek wrote: > On Sun 2017-03-12 16:38:02, Drew DeVault wrote: >> I'm in the research stage of making it so something to the effect of >> `make setconfig OPTION="CONFIG_E100E=y"` will work, bringing it up here >> for some discussion first. >> >> Digging into the kconfig

[PATCH] fs: fix utimensat to return correct error code

2017-05-16 Thread Myungho Jung
According to man utimensat(2), EACCES should be returned if the file is immutable and time values are null or UTIME_NOW. Testcase is utimesat01/LTP. Signed-off-by: Myungho Jung --- fs/attr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/attr.c

linux-next: build failure after merge of the file-locks tree

2017-05-16 Thread Stephen Rothwell
pass kernel struct flock to fcntl_getlk/setlk") This build has BITS_PER_LONG == 32. I have used the file-locks tree from next-20170516 for today. -- Cheers, Stephen Rothwell

linux-next: build warning after merge of the overlayfs tree

2017-05-16 Thread Stephen Rothwell
Hi Miklos, After merging the overlayfs tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: fs/overlayfs/dir.c: In function 'ovl_rename': fs/overlayfs/dir.c:1060:2: warning: 'newdentry' may be used uninitialized in this function [-Wmaybe-uninitialized]

Re: [Xen-devel] HPET enabled in BIOS, not presented as available_clocksource -- config, kernel code, &/or BIOS?

2017-05-16 Thread PGNet Dev
(apologies re: the empty 'double tap' :-/ ) On 5/14/17 8:39 AM, Andrew Cooper wrote: >> So I'm still unclear -- is this^ now, correctly "all" using MSI/HPET? > > What are you trying to achieve? It is still not clear despite all on > this thread. > > The Linux HEPT error messages are non-ideal,

  1   2   3   4   5   6   7   8   9   >