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

2018-03-16 Thread Dou Liyang
Hi Stephen, At 03/16/2018 01:52 PM, Dou Liyang wrote: Hi Stephen, At 03/16/2018 01:37 PM, Stephen Rothwell wrote: Hi all, After merging the tip tree, yesterday's linux-next build (x86_64 allnoconfig) produced this warning: kernel/cpu.c:129:13: warning: 'cpuhp_is_ap_state' defined but not

Re: [PATCH v4.16-rc5 1/3] x86/vdso: on Intel, VDSO should handle CLOCK_MONOTONIC_RAW

2018-03-16 Thread kbuild test robot
-dias-gmail-com/x86-vdso-on-Intel-VDSO-should-handle-CLOCK_MONOTONIC_RAW/20180316-070319 config: x86_64-rhel (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed

Re: [PATCH RFC 2/2] virtio_ring: support packed ring

2018-03-16 Thread Tiwei Bie
On Fri, Mar 16, 2018 at 12:03:25PM +0800, Jason Wang wrote: > On 2018年02月23日 19:18, Tiwei Bie wrote: > > Signed-off-by: Tiwei Bie > > --- > > drivers/virtio/virtio_ring.c | 699 > > +-- > > include/linux/virtio_ring.h | 8 +- > >

[PATCH 5/6] staging: ks7010: Fix line over 80 characters.

2018-03-16 Thread Quytelda Kahja
There is no reason for comment describing the BSSID check for loop to be spaced so far to the right. Move it above the for loop. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 3/6] staging: ks7010: Remove unnecessary parentheses.

2018-03-16 Thread Quytelda Kahja
Remove unnecessary parentheses highlighted by checkpatch. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c

[PATCH 2/6] staging: ks7010: Factor out code into helper methods.

2018-03-16 Thread Quytelda Kahja
Some cases in the switch statement in get_ap_information() are indented as much as five levels, which makes the code difficult to read because of all the wrapping. Factor them out into helper methods. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c |

[PATCH 6/6] staging: ks7010: Factor out repeated request initialization code.

2018-03-16 Thread Quytelda Kahja
The code to initialize various different types of request structs is repeated multiple times. Factor this code out into a macro called INIT_REQUEST. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 55 +++--- 1 file

Re: [PATCH v3 07/11] mmc: sdhci: Program a relatively accurate SW timeout value

2018-03-16 Thread Kishon Vijay Abraham I
Hi, On Thursday 15 March 2018 06:43 PM, Adrian Hunter wrote: > On 07/03/18 15:20, Kishon Vijay Abraham I wrote: >> sdhci has a 10 second timeout to catch devices that stop responding. >> Instead of programming 10 second arbitrary value, calculate the total time >> it would take for the entire

[PATCH 4/6] staging: ks7010: Remove unnecessary braces.

2018-03-16 Thread Quytelda Kahja
Braces aren't required for a single line if statement. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c index

Re: [PATCHv2 5/5] arm64: allwinner: a64: Add support for TERES-I laptop

2018-03-16 Thread afzal mohammed
Hi, On Thu, Mar 15, 2018 at 04:25:10PM +, Harald Geyer wrote: > The TERES-I is an open hardware laptop built by Olimex using the > Allwinner A64 SoC. > > Add the board specific .dts file, which includes the A64 .dtsi and > enables the peripherals that we support so far. > > Signed-off-by:

Re: [RFC v2 03/83] Add super.h.

2018-03-16 Thread Darrick J. Wong
On Thu, Mar 15, 2018 at 11:17:54PM -0700, Andiry Xu wrote: > On Thu, Mar 15, 2018 at 7:59 PM, Theodore Y. Ts'o wrote: > > On Thu, Mar 15, 2018 at 09:38:29PM +0100, Arnd Bergmann wrote: > >> > >> You could also have a resolution of less than a nanosecond. Note > >> that today, the

Re: [PATCH][RFC] kernel.h: provide array iterator

2018-03-16 Thread Julia Lawall
Le 16.03.2018 05:21, Kees Cook a écrit : On Thu, Mar 15, 2018 at 3:00 AM, Kieran Bingham wrote: Simplify array iteration with a helper to iterate each entry in an array. Utilise the existing ARRAY_SIZE macro to identify the length of the array and pointer

Re: [PATCH] ARM: dts: sun7i: Add pinmux settings for LCD0 RGB888 output.

2018-03-16 Thread Maxime Ripard
Hi Giulio, On Thu, Mar 15, 2018 at 02:43:30PM +0100, Giulio Benetti wrote: > The A20 supports RGB888 with H/V sync from LCD0. Add a pinmux setting > for the needed pins. > > Signed-off-by: Giulio Benetti Like we discussed last time, we only merge this kind of

RE: [Blackfin removal] [PATCH 01/28] Blackfin arch: Remove Blackfin CPU arch general support

2018-03-16 Thread Wu, Aaron
> -Original Message- > From: arndbergm...@gmail.com [mailto:arndbergm...@gmail.com] On > Behalf Of Arnd Bergmann > Sent: 2018年3月15日 22:46 > To: Arnd Bergmann ; linux-arch ; > Linux Kernel Mailing List ; Lennox Wu >

Re: linux-next: manual merge of the net-next tree with the rdma-fixes tree

2018-03-16 Thread Saeed Mahameed
On Thu, 2018-03-15 at 21:18 -0400, Doug Ledford wrote: > On Fri, 2018-03-16 at 11:56 +1100, Stephen Rothwell wrote: > > Hi all, > > > > Today's linux-next merge of the net-next tree got a conflict in: > > > > drivers/infiniband/hw/mlx5/main.c > > > > between commit: > > > > 42cea83f9524

[Blackfin removal] [PATCH 02/28] net: Remove Blackfin Ethernet support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin Ethernet support --- drivers/net/ethernet/Kconfig |1 - drivers/net/ethernet/Makefile|1 - drivers/net/ethernet/adi/Kconfig | 66 -- drivers/net/ethernet/adi/Makefile|5 -

[Blackfin removal] [PATCH 24/28] pinctrl: Remove Blackfin pinctrl support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin pinctrl support --- drivers/pinctrl/Kconfig | 19 - drivers/pinctrl/Makefile |3 - drivers/pinctrl/pinctrl-adi2-bf54x.c | 588 -- drivers/pinctrl/pinctrl-adi2-bf60x.c | 517

[Blackfin removal] [PATCH 20/28] pwm: Remove Blackfin PWM support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin PWM support --- drivers/pwm/Kconfig| 9 --- drivers/pwm/Makefile | 1 - drivers/pwm/pwm-bfin.c | 157 - 3 files changed, 167 deletions(-) delete mode 100644

[Blackfin removal] [PATCH 22/28] can: Remove Blackfin CAN bus support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin CAN bus support --- drivers/net/can/Kconfig| 9 - drivers/net/can/Makefile | 1 - drivers/net/can/bfin_can.c | 784 - 3 files changed, 794 deletions(-) delete mode 100644

[Blackfin removal] [PATCH 05/28] rtc: Remove Blackfin RTC support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin RTC support --- drivers/rtc/Kconfig| 10 -- drivers/rtc/Makefile | 1 - drivers/rtc/rtc-bfin.c | 448 - 3 files changed, 459 deletions(-) delete mode 100644

[Blackfin removal] [PATCH 09/28] input: Remove Blackfin input support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin input support --- drivers/input/keyboard/Kconfig| 9 - drivers/input/keyboard/Makefile | 1 - drivers/input/keyboard/bf54x-keys.c | 396 -- drivers/input/misc/Kconfig

[Blackfin removal] [PATCH 06/28] mmc: Remove Blackfin SD host support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin SD host support --- drivers/mmc/host/Kconfig| 19 -- drivers/mmc/host/Makefile | 1 - drivers/mmc/host/bfin_sdh.c | 679 3 files changed, 699 deletions(-) delete mode 100644

[Blackfin removal] [PATCH 10/28] i2c: Remove Blackfin I2C bus support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin I2C bus support --- drivers/i2c/busses/Kconfig| 18 - drivers/i2c/busses/Makefile | 1 - drivers/i2c/busses/i2c-bfin-twi.c | 737 -- 3 files changed, 756 deletions(-) delete mode

Re: [PATCH][RFC] kernel.h: provide array iterator

2018-03-16 Thread Kieran Bingham
Hi Kees, Julia, On 16/03/18 07:41, Julia Lawall wrote: > Le 16.03.2018 05:21, Kees Cook a écrit : >> On Thu, Mar 15, 2018 at 3:00 AM, Kieran Bingham >> wrote: >>> Simplify array iteration with a helper to iterate each entry in an array. >>> Utilise the existing

Re: [PATCH v2 2/4] ioremap: Implement TLB_INV before huge mapping

2018-03-16 Thread Chintan Pandya
On 3/15/2018 9:42 PM, Kani, Toshi wrote: On Thu, 2018-03-15 at 18:15 +0530, Chintan Pandya wrote: Huge mapping changes PMD/PUD which could have valid previous entries. This requires proper TLB maintanance on some architectures, like ARM64. Implent BBM (break-before-make) safe TLB

[PATCH v2] Add udmabuf misc device

2018-03-16 Thread Gerd Hoffmann
A driver to let userspace turn iovecs into dma-bufs. Use case: Allows qemu create dmabufs for the vga framebuffer or virtio-gpu ressources. Then they can be passed around to display those guest things on the host. To spice client for classic full framebuffer display, and hopefully some day to

Re: Intel GemniLake xHCI connected devices can never wake up the system from suspend

2018-03-16 Thread Daniel Drake
Hi, I'm working alongside Chris on this issue. On Fri, Mar 16, 2018 at 12:11 AM, Mathias Nyman wrote: > Scope (_SB.PCI0.XHC) has _PS0 method, so Linux will look for a _S3W to get > the > lowest possible D state in S3, but_S3W is missing, so Linux pci-acpi code >

Re: [PATCH] cris: add ioremap_nocache declaration before include asm-generic/io.h.

2018-03-16 Thread Greentime Hu
2018-03-02 0:38 GMT+08:00 Greentime Hu : > A future commit for the nds32 architecture bootstrap("asm-generic/io.h: > move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef > CONFIG_MMU") will move the ioremap_nocache out of the CONFIG_MMU ifdef. > This means that

Re: [PATCH v3 04/14] KVM: s390: device attribute to set AP interpretive execution

2018-03-16 Thread Pierre Morel
On 16/03/2018 00:39, Tony Krowiak wrote: On 03/15/2018 01:56 PM, Pierre Morel wrote: On 15/03/2018 18:21, Tony Krowiak wrote: On 03/15/2018 11:45 AM, Pierre Morel wrote: On 15/03/2018 16:26, Tony Krowiak wrote: On 03/15/2018 09:00 AM, Pierre Morel wrote: On 14/03/2018 22:57, Halil Pasic

Re: [PATCH v4 2/2] Remove false-positive VLAs when using max()

2018-03-16 Thread Nikolay Borisov
On 15.03.2018 21:47, Kees Cook wrote: > As part of removing VLAs from the kernel[1], we want to build with -Wvla, > but it is overly pessimistic and only accepts constant expressions for > stack array sizes, instead of also constant values. The max() macro > triggers the warning, so this

Re: arc_usr_cmpxchg and preemption

2018-03-16 Thread Peter Zijlstra
On Thu, Mar 15, 2018 at 07:03:32PM +, Alexey Brodkin wrote: > > I think there's a bunch of architectures that are in the same boat. > > m68k, arm, mips was mentioned. Sure, the moment an arch has hardware > > support you don't need the syscall anymore. > > Here's a brief analysis: > ARM:

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

2018-03-16 Thread Thomas Gleixner
On Fri, 16 Mar 2018, Stephen Rothwell wrote: > Hi all, > > After merging the tip tree, yesterday's linux-next build (x86_64 allnoconfig) > produced this warning: > > kernel/cpu.c:129:13: warning: 'cpuhp_is_ap_state' defined but not used > [-Wunused-function] > static bool

Re: [PATCH v2] Add udmabuf misc device

2018-03-16 Thread Greg KH
On Fri, Mar 16, 2018 at 08:46:49AM +0100, Gerd Hoffmann wrote: > --- /dev/null > +++ b/drivers/dma-buf/udmabuf.c > @@ -0,0 +1,261 @@ > +/* > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 as > + *

Re: [PATCH] Staging: comedi: drivers: ni_atmio.c: fixed multi-line derefernce issue

2018-03-16 Thread Dan Carpenter
On Fri, Mar 16, 2018 at 01:19:12AM +0530, Pratik Jain wrote: > Resending the email because it was sent only to Greg. > > Context: > In my previous patch, I had removed an extra newline > at the end of the code. > > My Reply: > It was unintentional, but does it violate any coding or > other

Re: [RFC tip/locking/lockdep v5 07/17] lockdep: Adjust check_redundant() for recursive read change

2018-03-16 Thread Boqun Feng
On Thu, Feb 22, 2018 at 06:29:06PM +0100, Peter Zijlstra wrote: > On Thu, Feb 22, 2018 at 03:08:54PM +0800, Boqun Feng wrote: > > As we have four kinds of dependencies now, check_redundant() should only > > report redundant if we have a dependency path which is equal or > > _stronger_ than the

[RFC PATCH martinbrandenburg] orangefs: orangefs_write_end() can be static

2018-03-16 Thread kbuild test robot
Fixes: 27dd09ddfeca ("orangefs: implement writepage") Signed-off-by: Fengguang Wu --- inode.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/orangefs/inode.c b/fs/orangefs/inode.c index b9b9d65..151 100644 --- a/fs/orangefs/inode.c +++

Re: [PATCH v2 1/2] hwmon: (ucd9000) Add gpio chip interface

2018-03-16 Thread kbuild test robot
/linux/commits/Eddie-James/hwmon-ucd9000-Add-gpio-and-debugfs-interfaces/20180316-125048 config: x86_64-randconfig-x017-201810 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones

Re: [PATCH 6/8] RCU, workqueue: Implement rcu_work

2018-03-16 Thread Lai Jiangshan
On Thu, Mar 15, 2018 at 3:45 AM, Tejun Heo wrote: > There are cases where RCU callback needs to be bounced to a sleepable > context. This is currently done by the RCU callback queueing a work > item, which can be cumbersome to write and confusing to read. > > This patch

Re: [RFC v2 03/83] Add super.h.

2018-03-16 Thread Andiry Xu
On Thu, Mar 15, 2018 at 7:59 PM, Theodore Y. Ts'o wrote: > On Thu, Mar 15, 2018 at 09:38:29PM +0100, Arnd Bergmann wrote: >> >> You could also have a resolution of less than a nanosecond. Note >> that today, the file time stamps generated by the kernel are in >> jiffies resolution,

[PATCH] kernel/cpu: Move cpuhp_is_atomic_state() into #ifdef CONFIG_SMP

2018-03-16 Thread Dou Liyang
Commit 17a2f1ced028 ("cpu/hotplug: Merge cpuhp_bp_states and cpuhp_ap_states") removed the last use of cpuhp_is_atomic_state() in common case, that caused Kernel produced a warning: 'cpuhp_is_ap_state' defined but not used So, Move it into #ifdef CONFIG_SMP Reported-by: Stephen Rothwell

Re: [PATCH RFC 2/2] virtio_ring: support packed ring

2018-03-16 Thread Jason Wang
On 2018年03月16日 14:10, Tiwei Bie wrote: On Fri, Mar 16, 2018 at 12:03:25PM +0800, Jason Wang wrote: On 2018年02月23日 19:18, Tiwei Bie wrote: Signed-off-by: Tiwei Bie --- drivers/virtio/virtio_ring.c | 699 +--

Re: [PATCH net-next] tuntap: XDP_TX can use native XDP

2018-03-16 Thread Jason Wang
On 2018年03月15日 21:32, Michael S. Tsirkin wrote: On Thu, Mar 15, 2018 at 04:39:25PM +0800, Jason Wang wrote: On 2018年03月14日 11:37, Michael S. Tsirkin wrote: return NULL; case XDP_TX: - xdp_xmit = true; - /*

[PATCH] fs: don't flush pagecache when expanding block device

2018-03-16 Thread shunki-fujita
When changing the size of a block device, its all caches are freed. It's necessary on shrinking to prevent spurious I/Os to the disappeared region. However, on expanding, such kind of I/Os doesn't happen. Similar things can be considered for btrfs filesystem resize and resize2fs, but they are

[PATCH 2/2] ASoC: uniphier: add syscon property for UniPhier sound system

2018-03-16 Thread Katsuhiro Suzuki
This patch adds syscon property for specifying soc-glue core. Currently, soc-glue core is used for changing the state of S/PDIF signal output pin to signal output state or Hi-Z state. After resetting of SoC Hi-Z state is selected. This driver set to signal output state when syscon property is

[PATCH 1/2] ASoC: uniphier: add syscon property to binding document

2018-03-16 Thread Katsuhiro Suzuki
This patch adds syscon property for specifying soc-glue core into DT binding documentation. Currently, soc-glue core is used for changing the state of S/PDIF signal output pin to signal output state or Hi-Z state. If you don't need to use features on soc-glue described above you can ommit this

[PATCH 0/2] add syscon property to binding document

2018-03-16 Thread Katsuhiro Suzuki
This patch adds syscon property for specifying soc-glue core. The soc-glue core is used for changing the state of S/PDIF signal output pin to signal output state or Hi-Z state. After resetting of SoC Hi-Z state is selected. Currently, we set this mode in local changed U-Boot or some bootloaders

[Blackfin removal] [PATCH 03/28] media: Remove Blackfin media support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin media support --- drivers/media/platform/Kconfig | 2 - drivers/media/platform/Makefile| 2 - drivers/media/platform/blackfin/Kconfig| 16 - drivers/media/platform/blackfin/Makefile |

[Blackfin removal] [PATCH 04/28] tty: Remove Blackfin tty and uart support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin tty and uart support --- drivers/tty/Kconfig | 13 - drivers/tty/Makefile |1 - drivers/tty/bfin_jtag_comm.c | 353 drivers/tty/hvc/Kconfig |9 -

[Blackfin removal] [PATCH 27/28] documentation: Remove Blackfin documentation

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin documentation --- Documentation/00-INDEX | 2 - Documentation/admin-guide/kernel-parameters.rst| 1 - Documentation/admin-guide/kernel-parameters.txt| 2 +- Documentation/blackfin/00-INDEX

[Blackfin removal] [PATCH 26/28] samples: Remove Blackfin gptimers sample code

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin gptimers sample code --- samples/Kconfig | 6 --- samples/Makefile| 2 +- samples/blackfin/Makefile | 1 - samples/blackfin/gptimers-example.c | 91

[Blackfin removal] [PATCH 19/28] ata: Remove Blackfin PATA support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin PATA support --- drivers/ata/Kconfig |9 - drivers/ata/Makefile |1 - drivers/ata/pata_bf54x.c | 1703 -- 3 files changed, 1713 deletions(-) delete mode 100644

[Blackfin removal] [PATCH 25/28] staging: Remove Blackfin iio trigger timer support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin iio trigger timer support --- drivers/staging/iio/Kconfig | 1 - drivers/staging/iio/Makefile | 1 - drivers/staging/iio/trigger/Kconfig | 19 --

[Blackfin removal] [PATCH 23/28] char: Remove Blackfin OTP support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin OTP support --- drivers/char/Kconfig| 28 -- drivers/char/Makefile | 1 - drivers/char/bfin-otp.c | 237 3 files changed, 266 deletions(-) delete mode 100644

[Blackfin removal] [PATCH 11/28] misc: Remove Blackfin DSP echo support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin DSP echo support --- drivers/misc/echo/echo.c | 73 drivers/misc/echo/fir.h | 50 - 2 files changed, 123 deletions(-) diff --git

Re: [PATCH 3/7] kbuild: move 'scripts' target below

2018-03-16 Thread Masahiro Yamada
tree, please drop us a note to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Masahiro-Yamada/kbuild-various-fix-clean-up-improvements-of-CONFIG_TRIM_UNUSED_KSYMS/20180316-123605 > config: i386-tinyconfig (attached as .config) > compi

[Blackfin removal] [PATCH 28/28] MAINTAINERS: Remove Blackfin from MAINTAINERS list

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin from MAINTAINERS list --- MAINTAINERS | 52 1 file changed, 52 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4623caf..f5a0857 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

Re: [PATCH 4/5] MODSIGN: checking the blacklisted hash before loading a kernel module

2018-03-16 Thread joeyli
On Thu, Mar 15, 2018 at 07:30:26AM -0700, James Bottomley wrote: > On Thu, 2018-03-15 at 14:16 +0800, joeyli wrote: > > On Wed, Mar 14, 2018 at 07:19:25AM -0700, James Bottomley wrote: > > > > > > On Wed, 2018-03-14 at 14:08 +0800, joeyli wrote: > > > > > > > > On Tue, Mar 13, 2018 at 10:18:35AM

Re: linux-next: Signed-off-by missing for commit in the arm-soc tree

2018-03-16 Thread Patrice CHOTARD
Hi Arnd, Stephen On 03/15/2018 10:06 PM, Arnd Bergmann wrote: > On Thu, Mar 15, 2018 at 9:56 PM, Stephen Rothwell > wrote: >> Hi all, >> >> Commit >> >>9a5f4879cd8d ("ARM: dts: stih4xx: Add missing #sound-dai-cells") >> >> is missing a Signed-off-by from its

[PATCH v4 7/7] kbuild: link vmlinux only once for CONFIG_TRIM_UNUSED_KSYMS

2018-03-16 Thread Masahiro Yamada
If CONFIG_TRIM_UNUSED_KSYMS is enabled and the kernel is built from a pristine state, the vmlinux is linked twice. [1] A user runs 'make' [2] First build with empty autoksyms.h [3] adjust_autoksyms.sh updates autoksyms.h and recurses 'make vmlinux' (begin sub-make) [4]

[PATCH v4 5/7] kbuild: move CONFIG_TRIM_UNUSED_KSYMS code unneeded for external module

2018-03-16 Thread Masahiro Yamada
The external module building does not need to parse this code because KBUILD_MODULES is always set anyway. Move this code inside the "ifeq ($(KBUILD_EXTMOD),) ... endif" block. Signed-off-by: Masahiro Yamada Acked-by: Nicolas Pitre --- Changes

[PATCH v4 6/7] kbuild: move include/config/ksym/* to include/ksym/*

2018-03-16 Thread Masahiro Yamada
The idea of using fixdep was inspired by Kconfig, but autoksyms belongs to a different group. So, I want to move those touched files under include/config/ksym/ to include/ksym/. The directory include/ksym/ can be removed by 'make clean' because it is meaningless for the external module building.

[PATCH v4 2/7] kbuild: remove wrong 'touch' in adjust_autoksyms.sh

2018-03-16 Thread Masahiro Yamada
The comment mentions it creates autoksyms.h in case it is missing, but the actual code touches it when it does exists. The build system creates it anyway because and need it. The code would not have worked as intended, and people have not noticed it. This is a proof that we can simply remove

[PATCH v4 0/7] kbuild: various fix, clean-up, improvements of CONFIG_TRIM_UNUSED_KSYMS

2018-03-16 Thread Masahiro Yamada
Masahiro Yamada (7): kbuild: clear LDFLAGS in the top Makefile kbuild: remove wrong 'touch' in adjust_autoksyms.sh kbuild: move 'scripts' target below kbuild: restore touching autoksyms.h to the top Makefile kbuild: move CONFIG_TRIM_UNUSED_KSYMS code unneeded for external module

[PATCH v4 1/7] kbuild: clear LDFLAGS in the top Makefile

2018-03-16 Thread Masahiro Yamada
Currently LDFLAGS is not cleared, so same flags are accumulated in LDFLAGS when the top Makefile is recursively invoked. I found unneeded rebuild for ARCH=arm64 when CONFIG_TRIM_UNUSED_KSYMS is enabled. If include/generated/autoksyms.h is updated, the top Makefile is recursively invoked, then

[PATCH v4 4/7] kbuild: restore touching autoksyms.h to the top Makefile

2018-03-16 Thread Masahiro Yamada
Commit d3fc425e819b ("kbuild: make sure autoksyms.h exists early") moved the code that touches autoksyms.h to scripts/kconfig/Makefile with obscure reason. >From Nicolas' comment [1], he did not seem to be sure about the root cause. I guess I figured it out, so here is a fix-up I think is more

[PATCH v4 3/7] kbuild: move 'scripts' target below

2018-03-16 Thread Masahiro Yamada
Just a trivial change to prepare for the next commit. This target is still invisible from external module building. Signed-off-by: Masahiro Yamada --- Changes in v4: - Remove a garbage code to fix build error Changes in v3: None Changes in v2: None Makefile |

Re: [PATCH 00/13] staging: add drivers to support Mediatek mt7621 in gnubee-pc1

2018-03-16 Thread Dan Carpenter
On Fri, Mar 16, 2018 at 07:02:51AM +1100, NeilBrown wrote: > On Thu, Mar 15 2018, Dan Carpenter wrote: > > > On Thu, Mar 15, 2018 at 10:04:33PM +1100, NeilBrown wrote: > >> On Thu, Mar 15 2018, Dan Carpenter wrote: > >> > >> > This all seems fine. Generally the requirements for staging are that

[PATCH V3] ZBOOT: fix stack protector in compressed boot phase

2018-03-16 Thread Huacai Chen
Call __stack_chk_guard_setup() in decompress_kernel() is too late that stack checking always fails for decompress_kernel() itself. So remove __stack_chk_guard_setup() and initialize __stack_chk_guard before we call decompress_kernel(). Original code comes from ARM but also used for MIPS and SH,

Re: [PATCH v10 1/5] arm64: KVM: Prepare set virtual SEI syndrome value

2018-03-16 Thread gengdongjiu
Hi James, Thank you very much for this mail and your time to review this patch. Appreciate that. I will check it and reply. On 2018/3/16 4:37, James Morse wrote: > Hi Dongjiu Geng, > > On 03/03/18 16:09, Dongjiu Geng wrote: >> Export one API to specify virtual SEI syndrome value >> for

Re: [PATCH] perf trace: remove redundant ')'

2018-03-16 Thread Du, Changbin
Hi Arnaldo, How about this simple one? Thanks. On Tue, Mar 13, 2018 at 06:40:01PM +0800, changbin...@intel.com wrote: > From: Changbin Du > > There is a redundant ')' at the tail of each event. So remove it. > $ sudo perf trace --no-syscalls -e 'kmem:*' -a >899.342

Re: [PATCH] kernel/cpu: Move cpuhp_is_atomic_state() into #ifdef CONFIG_SMP

2018-03-16 Thread Thomas Gleixner
On Fri, 16 Mar 2018, Dou Liyang wrote: > Commit 17a2f1ced028 ("cpu/hotplug: Merge cpuhp_bp_states and cpuhp_ap_states") > removed the last use of cpuhp_is_atomic_state() in common case, that caused > Kernel produced a warning: > > 'cpuhp_is_ap_state' defined but not used > > So, Move it into

Re: [PATCH RFC rebase 0/9] powerpc barrier_nospec

2018-03-16 Thread Greg Kroah-Hartman
On Thu, Mar 15, 2018 at 08:15:49PM +0100, Michal Suchanek wrote: > Yes, it is good idea to add some commit messages. Always a good idea :) Also, any reason you are not tagging these for the stable release(s)? thanks, greg k-h

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

2018-03-16 Thread Arnd Bergmann
On Thu, Mar 15, 2018 at 11:47 PM, Bin Liu wrote: > Hi, > > On Fri, Mar 16, 2018 at 09:13:55AM +1100, Stephen Rothwell wrote: >> Hi Arnd, >> >> After merging the asm-generic tree, today's linux-next build (arm >> multi_v7_defconfig) failed like this: >> >>

Re: [PATCH v4 2/2] media: staging/imx: fill vb2_v4l2_buffer sequence entry

2018-03-16 Thread Dan Carpenter
MUCH BETTER!111!Exclamationmark! Thanks! :) regards, dan carpenter

Re: [PATCH 1/2] ARM: imx: fix imx6sll-only build

2018-03-16 Thread Arnd Bergmann
On Fri, Mar 16, 2018 at 1:48 AM, Shawn Guo wrote: > On Thu, Mar 15, 2018 at 04:13:18PM +0100, Arnd Bergmann wrote: >> When selecting SOC_IMX6SLL but not SOC_IMX6SL, we get a link error: >> >> arch/arm/mach-imx/mach-imx6sl.o: In function `imx6sl_init_late': >>

Re: [PATCH v2 1/6] phy: rockchip-typec: fall back to working in host-mode if extcon is missing.

2018-03-16 Thread Kishon Vijay Abraham I
On Wednesday 14 March 2018 01:44 PM, Heiko Stübner wrote: > Hi Kishon, > > Am Donnerstag, 1. März 2018, 16:25:10 CET schrieb Enric Balletbo i Serra: >> Right now the rockchip type-c phy does fail probing when no extcon is >> detected. Some boards get the cable-state via the extcon interface and

[PATCH 1/6] staging: ks7010: Factor out repeated code.

2018-03-16 Thread Quytelda Kahja
Some of the code for reading IEs is replicated multiple times in the switch statement for get_ap_information(). Factor that code out into read_ie(). Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 48 +- 1 file

Re: arm64: allwinner: Add support for TERES I laptop

2018-03-16 Thread afzal mohammed
Hi, On Thu, Mar 15, 2018 at 10:36:06PM +0530, afzal mohammed wrote: > Thanks for the patches > > w/ defconfig could reach to prompt via serial console using audio > jack. > > And just by enabling PWM_SUN4I & FB_SIMPLE, laptop could function > standalone as well. > > Suggestions (feel free to

Re: [PATCH 00/11] kexec_file: Clean up purgatory load

2018-03-16 Thread Dave Young
On 03/15/18 at 11:13am, Philipp Rudo wrote: > Hi Dave, > > On Thu, 15 Mar 2018 15:34:22 +0800 > Dave Young wrote: > > > On 03/12/18 at 03:40pm, Dave Young wrote: > > > Hi Philipp, > > > On 03/09/18 at 03:25pm, Philipp Rudo wrote: > > > > Hi Dave, > > > > > > > > On Fri, 9

Re: [PATCH v10 4/5] iommu/arm-smmu: Add the device_link between masters and smmu

2018-03-16 Thread Tomasz Figa
Hi Vivek, On Wed, Mar 14, 2018 at 5:14 PM, Vivek Gautam wrote: > From: Sricharan R > > Finally add the device link between the master device and > smmu, so that the smmu gets runtime enabled/disabled only when the > master needs it. This is

linux-next: Tree for Mar 16

2018-03-16 Thread Stephen Rothwell
Hi all, Changes since 20180315: The asm-generic tree gained a build failure for which I applied a patch. The net-next tree gained a conflict against the rdma-fixes tree. The akpm-current tree gained a conflict against Linus' tree. Non-merge commits (relative to Linus' tree): 7732 10128 files

Re: [PATCH v2 1/1] can: ucan: add driver for Theobroma Systems UCAN devices

2018-03-16 Thread kbuild test robot
://github.com/0day-ci/linux/commits/Jakob-Unterwurzacher/can-ucan-add-driver-for-Theobroma-Systems-UCAN-devices/20180316-111528 config: i386-allmodconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH

Re: [PATCH v2 2/4] ioremap: Implement TLB_INV before huge mapping

2018-03-16 Thread Chintan Pandya
On 3/15/2018 8:46 PM, Mark Rutland wrote: On Thu, Mar 15, 2018 at 06:55:32PM +0530, Chintan Pandya wrote: On 3/15/2018 6:43 PM, Mark Rutland wrote: On Thu, Mar 15, 2018 at 06:15:04PM +0530, Chintan Pandya wrote: Huge mapping changes PMD/PUD which could have valid previous entries. This

Re: [PATCH 3/7] kbuild: move 'scripts' target below

2018-03-16 Thread kbuild test robot
/commits/Masahiro-Yamada/kbuild-various-fix-clean-up-improvements-of-CONFIG_TRIM_UNUSED_KSYMS/20180316-123605 config: i386-tinyconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 Note: the linux

[Blackfin removal] [PATCH 13/28] cpufreq: Remove Blackfin CPU frequency support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin CPU frequency support --- drivers/cpufreq/Makefile |1 - drivers/cpufreq/blackfin-cpufreq.c | 217 --- drivers/cpufreq/cpufreq.c | 2612 3 files changed, 2830 deletions(-)

[Blackfin removal] [PATCH 15/28] spi: Remove Blackfin SPI bus support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin SPI bus support --- drivers/spi/Kconfig | 19 - drivers/spi/Makefile |2 - drivers/spi/spi-adi-v3.c | 984 drivers/spi/spi-bfin-sport.c | 919 --

[Blackfin removal] [PATCH 17/28] usb: Remove Blackfin USB support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin USB support --- drivers/usb/gadget/function/f_uac1_legacy.c | 2 - drivers/usb/gadget/function/u_uac1_legacy.c | 2 - drivers/usb/gadget/function/u_uac1_legacy.h | 2 - drivers/usb/gadget/legacy/audio.c | 2 -

[Blackfin removal] [PATCH 21/28] pcmcia: Remove Blackfin PCMCIA support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin PCMCIA support --- drivers/pcmcia/Kconfig | 7 - drivers/pcmcia/Makefile | 1 - drivers/pcmcia/bfin_cf_pcmcia.c | 316 3 files changed, 324 deletions(-) delete mode 100644

[Blackfin removal] [PATCH 18/28] crypto: Remove Blackfin crypto support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin crypto support --- crypto/testmgr.c | 6 - crypto/testmgr.h | 88 -- drivers/crypto/Kconfig| 7 - drivers/crypto/Makefile | 1 - drivers/crypto/bfin_crc.c | 743

[Blackfin removal] [PATCH 14/28] mtd: Remove Blackfin MTD support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin MTD support --- drivers/mtd/maps/Kconfig| 10 - drivers/mtd/maps/Makefile | 1 - drivers/mtd/maps/bfin-async-flash.c | 196 drivers/mtd/nand/Kconfig| 32 -- drivers/mtd/nand/Makefile

[Blackfin removal] [PATCH 07/28] watchdog: Remove Blackfin watchdog support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin watchdog support --- drivers/watchdog/Kconfig| 13 -- drivers/watchdog/Makefile | 3 - drivers/watchdog/bfin_wdt.c | 476 3 files changed, 492 deletions(-) delete mode 100644

[Blackfin removal] [PATCH 16/28] irda: Remove Blackfin IRDA support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin IRDA support --- drivers/staging/irda/drivers/Kconfig| 45 -- drivers/staging/irda/drivers/Makefile | 1 - drivers/staging/irda/drivers/bfin_sir.c | 819

[Blackfin removal] [PATCH 02/28] net: Remove Blackfin Ethernet support

2018-03-16 Thread Aaron Wu
Signed-off-by: Aaron Wu Remove Blackfin Ethernet support --- drivers/net/ethernet/Kconfig |1 - drivers/net/ethernet/Makefile|1 - drivers/net/ethernet/adi/Kconfig | 66 -- drivers/net/ethernet/adi/Makefile|5 -

[PATCH -next] ASoC: da7210: Use devm_snd_soc_register_component()

2018-03-16 Thread Wei Yongjun
Since the remove callback is removed, the snd_soc_unregister_component() is missing when remove device. Using devm_snd_soc_register_component() instead of snd_soc_register_component(). Fixes: d06f33aed85c ("ASoC: da7210: replace codec to component") Signed-off-by: Wei Yongjun

[PATCH] perf-probe: Fix to convert array type collectly

2018-03-16 Thread Masami Hiramatsu
Fix to convert array element type collectly. Current perf-probe converts the type of array-elements incorrectly. It always converts the types as a pointer of array. This passes the "array" type DIE to the type converter so that it can get correct "element of array" type DIE from it. E.g.

[PATCH -next] ASoC: wm8400: Use devm_snd_soc_register_component()

2018-03-16 Thread Wei Yongjun
Since the remove callback is removed, the snd_soc_unregister_component() is missing when remove device. Using devm_snd_soc_register_component() instead of snd_soc_register_component(). Fixes: 10dc44c6462d ("ASoC: wm8400: replace codec to component") Signed-off-by: Wei Yongjun

[PATCH -next] ASoC: mediatek: mt2701: drop unnessary snd_soc_unregister_component()

2018-03-16 Thread Wei Yongjun
It's not necessary to unregister a component registered with devm_snd_soc_register_component(). Fixes: f1b5bf07365d ("ASoC: mt2701/mt8173: replace platform to componen") Signed-off-by: Wei Yongjun --- sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 2 -- 1 file changed, 2

Re: [PATCH v1 3/3] drm/tegra: dc: Dedicate overlay plane to cursor on older Tegra's

2018-03-16 Thread Daniel Vetter
On Thu, Mar 15, 2018 at 11:45 AM, Thierry Reding wrote: > On Thu, Mar 15, 2018 at 04:00:25AM +0300, Dmitry Osipenko wrote: >> Older Tegra's do not support RGBA format for the cursor, but instead >> overlay plane could be used for it. Since there is no much use for the >>

Re: [PATCH] drm: Reduce object size of DRM_ERROR and DRM_DEBUG uses

2018-03-16 Thread Daniel Vetter
On Tue, Mar 13, 2018 at 03:02:15PM -0700, Joe Perches wrote: > drm_printk is used for both DRM_ERROR and DRM_DEBUG with unnecessary > arguments that can be removed by creating separate functins. > > Create specific functions for these calls to reduce x86/64 defconfig > size by ~20k. > > Modify

Re: [PATCH RFC 2/2] virtio_ring: support packed ring

2018-03-16 Thread Tiwei Bie
On Fri, Mar 16, 2018 at 02:44:12PM +0800, Jason Wang wrote: > On 2018年03月16日 14:10, Tiwei Bie wrote: > > On Fri, Mar 16, 2018 at 12:03:25PM +0800, Jason Wang wrote: > > > On 2018年02月23日 19:18, Tiwei Bie wrote: > > > > Signed-off-by: Tiwei Bie > > > > --- > > > >

  1   2   3   4   5   6   7   8   9   10   >