Re: [PATCH 4/8] drm/sun4i: Add compatible strings for the A80 display pipeline

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 07:41:32PM +0800, Chen-Yu Tsai wrote: > This patch adds compatible strings for the remaining documented > components of the Allwinner A80 display pipeline. > > Signed-off-by: Chen-Yu Tsai > --- > Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 6 +- >

Re: [PATCH v11 1/2] clk: npcm750: Add binding for Nuvoton NPCM7XX clock\n

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 03:45:17PM +0200, Tali Perry wrote: > * Nuvoton NPCM7XX Clock Controller Trailing '\n' on the subject. > > Nuvoton Poleg BMC NPCM7XX contains an integrated clock controller, which > generates and supplies clocks to all modules within the BMC. > > 10 ==> 11 > update docume

Re: [PATCH 2/2] usb: dwc3: add clock and resets

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 08:39:58PM +0900, Masahiro Yamada wrote: > dwc3-of-simple.c only handles arbitrary number of clocks and resets. > They are both generic enough to be put into the dwc3 core. For simple > cases, a nested node structure like follows: > > dwc3-glue { > compatible =

Re: [PATCH 2/8] drm/sun4i: Add DT binding for Detail Enhancement Unit in Allwinner A80 SoC

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 07:41:30PM +0800, Chen-Yu Tsai wrote: > The display pipeline on the A80 SoC has what is called the Detail > Enhancement Unit, or DEU for short, block in between the display > frontend and backend. This unit can sharpen images in both luma > and chroma channels. It seems to a

Re: [PATCH v2] clk: Add driver for the si544 clock generator chip

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 12:50:08PM +0100, Mike Looijmans wrote: > This patch adds the driver and devicetree documentation for the > Silicon Labs SI544 clock generator chip. This is an I2C controlled > oscillator capable of generating clock signals ranging from 200kHz > to 1500MHz. > > Signed-off-b

Re: [PATCH] of: unittest: fix an error code in of_unittest_apply_overlay()

2018-03-18 Thread Rob Herring
On Wed, Mar 14, 2018 at 11:08:28PM +0300, Dan Carpenter wrote: > We accidentally return zero on failure instead of a negative error code. > > Fixes: 39a751a4cb7e ("of: change overlay apply input data from unflattened to > FDT") > Signed-off-by: Dan Carpenter Applied. Rob

Re: [PATCH] mfd: dt-bindings: Add PMIC reset property

2018-03-18 Thread Rob Herring
On Thu, Mar 15, 2018 at 11:58:50AM +0100, Daniel Schultz wrote: > Add documentation about a new rk808 devicetree property, which can > enable resets by the PMIC. The subject needs to be more specific that this is for Rockchip PMIC. > > Signed-off-by: Daniel Schultz > --- > Documentation/device

Re: [PATCH v4 1/3] dt-bindings: pinctrl: bcm2835-gpio: Add generic pinctrl support

2018-03-18 Thread Rob Herring
On Fri, Mar 09, 2018 at 01:13:58PM -0400, Matheus Castello wrote: > Added generic pin configuration and multiplexing support, > and shoud be preferred than brcm legacy one. > > Signed-off-by: Matheus Castello > --- > .../devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt | 19 > +

Re: [PATCH] of: unittest: Remove VLA stack usage

2018-03-18 Thread Rob Herring
On Mon, Mar 12, 2018 at 03:27:23PM +1100, Tobin C. Harding wrote: > The kernel would like to have all stack VLA usage removed[1]. This is a > test function so the execution speed is not critical. We can allocate > memory for this buffer instead of using a VLA. If kmalloc() fails just > return. >

Re: [PATCH 3/3] of: overlay: Remove unused of_overlay_remove_all()

2018-03-18 Thread Rob Herring
On Fri, Mar 09, 2018 at 11:44:48AM +0100, Geert Uytterhoeven wrote: > of_overlay_remove_all(), and its predecessor of_overlay_destroy_all(), > were never used. Maybe, but I think we should leave it. It's not that much and we'll just end up with open coded versions. > > Signed-off-by: Geert Uytt

Re: [PATCH 2/3] of: overlay: Fix forgotten reference to of_overlay_apply()

2018-03-18 Thread Rob Herring
On Fri, Mar 09, 2018 at 11:44:47AM +0100, Geert Uytterhoeven wrote: > While technically the ovcs_id is still returned by of_overlay_apply(), > this is an internal function. All public callers of of_overlay_remove() > pass an ovcs_id returned by the public function of_overlay_fdt_apply(). > > Fixe

Re: [PATCH v3 3/6] dt-bindings: soc: Add a binding for the Broadcom VCHIQ services. (v3)

2018-03-18 Thread Rob Herring
On Fri, Mar 09, 2018 at 10:44:14AM -0800, Eric Anholt wrote: > The VCHIQ communication channel can be provided by BCM283x and Capri > SoCs, to communicate with the VPU-side OS services. > > Signed-off-by: Eric Anholt > --- > > v2: VCHI->VCHIQ, dropped firmware property, added cache-line-size > v

Re: [PATCH 2/2] ARM: dts: imx6sx-sabreauto: add external 24MHz clock source

2018-03-18 Thread Fabio Estevam
On Sun, Mar 18, 2018 at 12:14 AM, Anson Huang wrote: > diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts > b/arch/arm/boot/dts/imx6sx-sabreauto.dts > index 72da5ac..83f7cac 100644 > --- a/arch/arm/boot/dts/imx6sx-sabreauto.dts > +++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts > @@ -18,6 +18,14 @@

Re: [PATCH v2 1/2] sysfs: symlink: export sysfs_create_link_nowarn()

2018-03-18 Thread Greg Kroah-Hartman
On Fri, Mar 16, 2018 at 05:08:34PM -0500, Grygorii Strashko wrote: > The sysfs_create_link_nowarn() is going to be used in phylib framework in > subsequent patch which can be built as module. Hence, export > sysfs_create_link_nowarn() to avoid build errors. > > Cc: Florian Fainelli > Cc: Andrew L

[PATCH 1/7] 2 1-byte checks more safer for memory_is_poisoned_16

2018-03-18 Thread Abbott Liu
Because in some architecture(eg. arm) instruction set, non-aligned access support is not very well, so 2 1-byte checks is more safer than 1 2-byte check. The impact on performance is small because 16-byte accesses are not too common. Cc: Andrey Ryabinin Reviewed-by: Andrew Morton Reviewed-by: Ru

[PATCH v2 0/7] KASan for arm

2018-03-18 Thread Abbott Liu
Changelog: v2 - v1 - Fixed some compiling error which happens on changing kernel compression mode to lzma/xz/lzo/lz4. ---Reported by: Florian Fainelli , Russell King - ARM Linux - Fixed a compiling error cause by some older arm instruction set(armv4t) don't suppory movw/movt whi

[PATCH 4/7] Replace memory function for kasan

2018-03-18 Thread Abbott Liu
From: Andrey Ryabinin Functions like memset/memmove/memcpy do a lot of memory accesses. If bad pointer passed to one of these function it is important to catch this. Compiler's instrumentation cannot do this since these functions are written in assembly. KASan replaces memory functions with manu

[PATCH 3/7] Disable instrumentation for some code

2018-03-18 Thread Abbott Liu
From: Andrey Ryabinin Disable instrumentation for arch/arm/boot/compressed/* and arch/arm/vdso/* because those code won't linkd with kernel image. Disable kasan check in the function unwind_pop_register because it doesn't matter that kasan checks failed when unwind_pop_register read stack memory

[PATCH 7/7] Enable KASan for arm

2018-03-18 Thread Abbott Liu
From: Andrey Ryabinin This patch enable kernel address sanitizer for arm. Cc: Andrey Ryabinin Tested-by: Florian Fainelli Signed-off-by: Abbott Liu --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 7e3d535..ac2287b 100644 --- a

[PATCH 5/7] Define the virtual space of KASan's shadow region

2018-03-18 Thread Abbott Liu
Define KASAN_SHADOW_OFFSET,KASAN_SHADOW_START and KASAN_SHADOW_END for arm kernel address sanitizer. ++ 0x || || || ++ CONFIG_PAGE_OFFSET ||\ || |-> module virtual address space area. ||/ ++ MODULE_VADDR = KA

[PATCH 2/7] Add TTBR operator for kasan_init

2018-03-18 Thread Abbott Liu
The purpose of this patch is to provide set_ttbr0/get_ttbr0 to kasan_init function. The definitions of cp15 registers should be in arch/arm/include/asm/cp15.h rather than arch/arm/include/asm/kvm_hyp.h, so move them. Cc: Andrey Ryabinin Reviewed-by: Marc Zyngier Reviewed-by: Russell King - ARM L

[PATCH 6/7] Initialize the mapping of KASan shadow memory

2018-03-18 Thread Abbott Liu
From: Andrey Ryabinin This patch initializes KASan shadow region's page table and memory. There are two stage for KASan initializing: 1. At early boot stage the whole shadow region is mapped to just one physical page (kasan_zero_page). It's finished by the function kasan_early_init which is

Re: Linux 4.16-rc1: regression bisected, Debian kernel package tool make-kpkg stalls indefinitely during kernel build due to commit "kconfig: remove check_stdin()"

2018-03-18 Thread Sander Eikelenboom
On 13/02/18 14:07, Ulf Magnusson wrote: > On Tue, Feb 13, 2018 at 1:35 PM, Ulf Magnusson wrote: >> On Tue, Feb 13, 2018 at 12:33:24PM +0100, Ulf Magnusson wrote: >>> On Tue, Feb 13, 2018 at 11:00:49AM +0100, Sander Eikelenboom wrote: On 13/02/18 05:09, Masahiro Yamada wrote: > 2018-02-13

Re: [PATCH 1/7] 2 1-byte checks more safer for memory_is_poisoned_16

2018-03-18 Thread Russell King - ARM Linux
On Sun, Mar 18, 2018 at 08:53:36PM +0800, Abbott Liu wrote: > Because in some architecture(eg. arm) instruction set, non-aligned > access support is not very well, so 2 1-byte checks is more > safer than 1 2-byte check. The impact on performance is small > because 16-byte accesses are not too commo

linux-next: Signed-off-by missing for commits in the kvm tree

2018-03-18 Thread Stephen Rothwell
Hi all, There is a series if commits e84b7119e891 ("x86/msr: Add AMD Core Perf Extension MSRs") to e1de91ccab31 ("KVM: VMX: WARN on a MOV CR3 exit w/ unrestricted guest") that are missing a Signed-off-by from their committer. It looks like they have been rebased? -- Cheers, Stephen Rothwe

Re: [PATCHv2 4/5] arm64: dts: allwinner: a64: Add pwm device

2018-03-18 Thread André Przywara
On 18/03/18 12:52, Rob Herring wrote: > On Thu, Mar 15, 2018 at 04:25:09PM +, Harald Geyer wrote: >> This device is compatible with A13, so no new driver is needed. >> A new compatible string is reserved in the binding documentation, to be >> used together with the proper fall back. Tested on T

Re: [PATCH] net: dsa: drop some VLAs in switch.c

2018-03-18 Thread Salvatore Mesoraca
2018-03-14 13:48 GMT+01:00 Salvatore Mesoraca : > 2018-03-14 12:24 GMT+01:00 David Laight : >> Isn't using DECLARE_BITMAP() completely OTT when the maximum size is less >> than the number of bits in a word? > > It allocates ceiling(size/8) "unsigned long"s, so yes. Actually I meant ceiling(size/8/

Re: [PATCH v16 06/13] task_isolation: userspace hard isolation from kernel

2018-03-18 Thread Yury Norov
Hi Chris, On Fri, Nov 03, 2017 at 01:04:45PM -0400, Chris Metcalf wrote: > The existing nohz_full mode is designed as a "soft" isolation mode > that makes tradeoffs to minimize userspace interruptions while > still attempting to avoid overheads in the kernel entry/exit path, > to provide 100% kern

Re: [PATCH 1/4] gpio: Remove VLA from gpiolib

2018-03-18 Thread Lukas Wunner
On Sat, Mar 17, 2018 at 09:25:09AM +0100, Lukas Wunner wrote: > On Mon, Mar 12, 2018 at 04:00:36PM +0100, Rasmus Villemoes wrote: > > On 2018-03-10 01:10, Laura Abbott wrote: > > > @@ -2887,14 +2909,30 @@ void gpiod_set_array_value_complex(bool raw, bool > > > can_sleep, > > > > > > while (i <

Re: [PATCH] leds: fix wrong dmi_match on PC Engines APU LEDs

2018-03-18 Thread Hans Ulli Kroll
Hi Jacek On Sat, 10 Mar 2018, Jacek Anaszewski wrote: > Hi Hans, > > Thank you for the patch. > > On 03/05/2018 06:09 PM, Hans Ulli Kroll wrote: > > APU has compared to APU2 no DMI_BOARD_NAME. > > Use DMI_PRODUCT_NAME instead. > > Could we have the commit message more expressive? > > Is it th

[PATCH v2] clk: qcom: rpmcc: Add support to XO buffered clocks

2018-03-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla XO is onchip buffer clock to generate 19.2MHz. This patch adds support to 5 XO buffer clocks found on PMIC8921, these buffer clocks can be controlled from external pin or in manual mode. Signed-off-by: Srinivas Kandagatla --- Changes since v1: - Made buffer clk word

[PATCH 1/1] usb: dwc3: ep0: remove redundant assignment

2018-03-18 Thread Heinrich Schuchardt
In dwc3_request*r = NULL; r = A; the first assignment has no effect. Remove it. Signed-off-by: Heinrich Schuchardt --- drivers/usb/dwc3/ep0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c index 18be31d574

[PATCH] char: pcmcia: cm4000_cs: Replace mdelay with usleep_range in set_protocol

2018-03-18 Thread Jia-Ju Bai
set_protocol() is never called in atomic context. The call chains ending up at set_protocol() are: [1] set_protocol() <- monitor_card() [2] set_protocol() <- cmm_ioctl() monitor_card() is only set in setup_timer(), and cmm_ioctl() is only set as ".unlocked_ioctl" in file_operations structure "cm4

[PATCH] crypto: cavium: cpt: Replace mdelay with msleep in cpt_device_init

2018-03-18 Thread Jia-Ju Bai
cpt_device_init() is never called in atomic context. The call chain ending up at cpt_device_init() is: [1] cpt_device_init() <- cpt_probe() cpt_probe() is only set as ".probe" in pci_driver structure "cpt_pci_driver". Despite never getting called from atomic context, cpt_device_init() calls mdel

[PATCH 1/3] sound: usb: line6: Replace mdelay with msleep in line6_read_data

2018-03-18 Thread Jia-Ju Bai
line6_read_data() is never called in atomic context. The call chains ending up at line6_read_data() are: [1] line6_read_data() <- line6_read_serial_number() -> pod_startup4() [2] line6_read_data() <- line6_read_serial_number() <- podhd_startup_workqueue() [3] line6_read_data() <- podhd_de

[PATCH 2/3] sound: usb: line6: Replace mdelay with msleep in line6_write_data

2018-03-18 Thread Jia-Ju Bai
line6_write_data() is never called in atomic context. The call chains ending up at line6_write_data() are: [1] line6_write_data() <- toneport_setup() <- toneport_init() <- line6_probe() [2] line6_write_data() <- toneport_setup() <- toneport_reset_resume() line6_probe() is called in tonep

[PATCH 3/3] sound: usb: line6: Replace GFP_ATOMIC with GFP_KERNEL in line6_alloc_sysex_buffer

2018-03-18 Thread Jia-Ju Bai
line6_alloc_sysex_buffer() is never called in atomic context. The call chain ending up at line6_alloc_sysex_buffer() are: [1] line6_alloc_sysex_buffer() <- pod_alloc_sysex_buffer() <- pod_set_system_param_int() <- snd_pod_control_monitor_put() snd_pod_control_monitor_put() is only set as

[PATCH 1/2] pci: host: pci-hyperv: Replace GFP_ATOMIC with GFP_KERNEL in hv_pci_onchannelcallback

2018-03-18 Thread Jia-Ju Bai
hv_pci_onchannelcallback() is not called in atomic context. The call chain ending up at hv_pci_onchannelcallback() is: [1] hv_pci_onchannelcallback() <- hv_pci_probe() hv_pci_probe() is only set as ".probe" in hv_driver structure "hv_pci_drv". Despite never getting called from atomic context, h

[PATCH 2/2] pci: host: pci-hyperv: Replace GFP_ATOMIC with GFP_KERNEL in new_pcichild_device

2018-03-18 Thread Jia-Ju Bai
new_pcichild_device() is not called in atomic context. The call chain ending up at new_pcichild_device() is: [1] new_pcichild_device() <- pci_devices_present_work() pci_devices_present_work() is only set in INIT_WORK(). Despite never getting called from atomic context, new_pcichild_device() calls

Re: [PATCH v16 10/13] arch/arm: enable task isolation functionality

2018-03-18 Thread Yury Norov
Hi Francis, Chris, On Fri, Nov 03, 2017 at 01:04:49PM -0400, Chris Metcalf wrote: > From: Francis Giraldeau > > This patch is a port of the task isolation functionality to the arm 32-bit > architecture. The task isolation needs an additional thread flag that > requires to change the entry assemb

Re: [patch -mm 4/6] mm, memcg: evaluate root and leaf memcgs fairly on oom

2018-03-18 Thread kbuild test robot
/0day-ci/linux/commits/David-Rientjes/rewrite-cgroup-aware-oom-killer-for-general-use/20180318-222124 config: i386-randconfig-x013-201811 (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 All errors

Re: [PATCH v12 00/11] Application Data Integrity feature introduced by SPARC M7

2018-03-18 Thread David Miller
From: Khalid Aziz Date: Wed, 21 Feb 2018 10:15:42 -0700 > V12 changes: > This series is same as v10 and v11 and was simply rebased on 4.16-rc2 > kernel and patch 11 was added to update signal delivery code to use the > new helper functions added by Eric Biederman. Can mm maintainers please > revi

Re: [PATCH 1/4] dt-bindings: clock: meson: update documentation with hhi syscon

2018-03-18 Thread Jerome Brunet
On Sun, 2018-03-18 at 07:52 -0500, Rob Herring wrote: > On Thu, Mar 15, 2018 at 12:55:42PM +0100, Jerome Brunet wrote: > > The HHI register region hosts more than just clocks and needs to > > accessed drivers other than the clock controller, such as the display > > driver. > > > > This register re

[PATCH] xhci: Fix USB ports for Dell Inspiron 5775

2018-03-18 Thread Kai-Heng Feng
The Dell Inspiron 5775 is a Raven Ridge. The Enable Slot command timed out when a USB device gets plugged: [ 212.156326] xhci_hcd :03:00.3: Error while assigning device slot ID [ 212.156340] xhci_hcd :03:00.3: Max number of devices this xHCI host supports is 64. [ 212.156348] usb usb2-port

Re: [PATCH] char: pcmcia: cm4000_cs: Replace mdelay with usleep_range in set_protocol

2018-03-18 Thread Harald Welte
Hi Jia-Ju Bai, On Sun, Mar 18, 2018 at 10:49:57PM +0800, Jia-Ju Bai wrote: > This is found by a static analysis tool named DCNS written by myself. nice catch! > Signed-off-by: Jia-Ju Bai Acked-by: Harald Welte -- - Harald Weltehttp://laforge.gnumonks.org/ ===

Re: [alsa-devel] [PATCH 1/3] sound: usb: line6: Replace mdelay with msleep in line6_read_data

2018-03-18 Thread Ladislav Michl
On Sun, Mar 18, 2018 at 10:51:33PM +0800, Jia-Ju Bai wrote: > line6_read_data() is never called in atomic context. > > The call chains ending up at line6_read_data() are: > [1] line6_read_data() <- line6_read_serial_number() -> pod_startup4() > [2] line6_read_data() <- line6_read_serial_number() <

[PATCH] ASoC: samsung: Mark unused Odroid compatibles as deprecated

2018-03-18 Thread Krzysztof Kozlowski
Compatible for XU4 audio is not being used. Instead the board uses the same compatible as XU3. The devices are now just compatible so they should use the same value. Mark hardkernel,odroid-xu4-audio as being deprecated so in future could be removed to limit useless compatibles. Additionally add

Re: [PATCH v4 1/3] dt-bindings: pinctrl: bcm2835-gpio: Add generic pinctrl support

2018-03-18 Thread Matheus Castello
Hi Rob, sorry I used allwinner,sunxi-pinctrl.txt from Maxime Ripard as a base, I used the same words, I thought it would be correct. I will modify this to: The BCM2835 pin configuration and multiplexing supports the generic bindings. For details on each properties, you can refer to ./pinctr

RE: [RFT][PATCH v5 0/7] sched/cpuidle: Idle loop rework

2018-03-18 Thread Doug Smythies
On 2018.03.18 04:01 Rafael J. Wysocki wrote: > Below is a drop-in v6 replacement for patch [4/7]. > > With this new patch applied instead of the [4/7] the behavior should be much > more in line with the v4 behavior, so please try it if you can and let me know > if that really is the case on your s

[GIT PULL] ARM: dts: exynos: Second pull for v4.17

2018-03-18 Thread Krzysztof Kozlowski
Hi, On top of previous DT pull. Best regards, Krzysztof The following changes since commit 6f4870753f29edf7dc39444246f9e39987b8b158: ARM: dts: exynos: Fix IOMMU support for GScaler devices on Exynos5250 (2018-03-05 19:11:40 +0100) are available in the git repository at: https://git.kern

[PATCH v2] ASoC: samsung: Mark unused Odroid compatibles as deprecated

2018-03-18 Thread Krzysztof Kozlowski
Compatible for XU4 audio is not being used. Instead the board uses the same compatible as XU3. The devices are now just compatible so they should use the same value. Mark "hardkernel,odroid-xu4-audio" as being deprecated so in this future could be removed to limit useless properties. Additional

Re: [PATCH v4 4/7] x86/hyper-v: allocate and use Virtual Processor Assist Pages

2018-03-18 Thread Thomas Gleixner
On Fri, 16 Mar 2018, Vitaly Kuznetsov wrote: > static int hv_cpu_init(unsigned int cpu) > @@ -101,6 +104,23 @@ static int hv_cpu_init(unsigned int cpu) > if (msr_vp_index > hv_max_vp_index) > hv_max_vp_index = msr_vp_index; > > + if (!hv_vp_assist_page) > + re

Re: [PATCH v4 6/7] x86/hyper-v: detect nested features

2018-03-18 Thread Thomas Gleixner
On Fri, 16 Mar 2018, Vitaly Kuznetsov wrote: > > + if (ms_hyperv.hints & HV_X64_ENLIGHTENED_VMCS_RECOMMENDED) > + ms_hyperv.nested_features = > + cpuid_eax(HYPERV_CPUID_NESTED_FEATURES); Please add curly braces. Rationale: https://marc.info/?l=linux-ke

Re: [PATCH v4 6/7] x86/hyper-v: detect nested features

2018-03-18 Thread Thomas Gleixner
On Sun, 18 Mar 2018, Thomas Gleixner wrote: > On Fri, 16 Mar 2018, Vitaly Kuznetsov wrote: > > > > + if (ms_hyperv.hints & HV_X64_ENLIGHTENED_VMCS_RECOMMENDED) > > + ms_hyperv.nested_features = > > + cpuid_eax(HYPERV_CPUID_NESTED_FEATURES); > > Please add curly bra

Re: [PATCH v4 0/7] Enlightened VMCS support for KVM on Hyper-V

2018-03-18 Thread Thomas Gleixner
On Fri, 16 Mar 2018, Vitaly Kuznetsov wrote: > Ladi Prosek (1): > x86/kvm: rename HV_X64_MSR_APIC_ASSIST_PAGE to > HV_X64_MSR_VP_ASSIST_PAGE > > Vitaly Kuznetsov (6): > x86/hyper-v: move hyperv.h out of uapi > x86/hyper-v: move definitions from TLFS to hyperv-tlfs.h > x86/hyper-v: all

Re: [PATCH] Staging: xgifb: XGI_main_26.c: Fixed over 80 column characters

2018-03-18 Thread Joe Perches
On Sun, 2018-03-18 at 16:36 +0530, Pratik Jain wrote: > Fixed coding style issues detected by checkpatch.pl Hi. Rather than just following what checkpatch says, try to look for opportunities to improve the code a bit. Instead of wrapping, try unwrapping by unindenting blocks. > diff --git a/dri

Nachricht als Spam erkannt: 饱飘芒芳皮辊栏冀好栓燕缸射汉 永利331458。COMM邀您紸冊嶺⑤8赢5⒏0提,专员Q352739098嶺

2018-03-18 Thread Mail Delivery Subsystem
Dies ist eine Informationsnachricht gesendet durch Kerio Connect 9.2.5 patch 3 von kerio.cocc.ch. Ihre Nachricht: From: To: Subject: 饱飘芒芳皮辊栏冀好栓燕缸射汉 永利331458。 ... Date: Sun, 18 Mar 2018 23:53:24 +0800 wurde als eine unangeforderte Werbemail (spam) erkannt und deswegen nicht a

Re: [PATCH] sparc64: Oracle DAX driver depends on SPARC64

2018-03-18 Thread David Miller
From: Guenter Roeck Date: Mon, 26 Feb 2018 15:21:18 -0800 > sparc:allmodconfig fails to build as follows. > > ERROR: "mdesc_release" [drivers/sbus/char/oradax.ko] undefined! > ERROR: "sun4v_hvapi_register" [drivers/sbus/char/oradax.ko] undefined! > ERROR: "mdesc_get_property" [drivers/sbus/char/

Re: [PATCH] Staging: xgifb: XGI_main_26.c: Fixed over 80 column characters

2018-03-18 Thread Pratik Jain
Thanks for the advice. I will work on it.

Re: [RFT][PATCH v5 0/7] sched/cpuidle: Idle loop rework

2018-03-18 Thread Rafael J. Wysocki
On Sun, Mar 18, 2018 at 4:30 PM, Doug Smythies wrote: > On 2018.03.18 04:01 Rafael J. Wysocki wrote: > >> Below is a drop-in v6 replacement for patch [4/7]. >> >> With this new patch applied instead of the [4/7] the behavior should be much >> more in line with the v4 behavior, so please try it if

Re: [PATCH v1 0/2] PCI: Sparc 64-bit resource fixups

2018-03-18 Thread David Miller
From: Bjorn Helgaas Date: Tue, 20 Feb 2018 17:39:35 -0600 > Both these patches are on my pci/sparc branch and appeared in the > Feb 19 linux-next tree. > > Any testing and feedback (especially on the second patch, which should > change /proc/iomem) would be great. > > They're headed for v4.17 u

[RFC PATCH 5/6] x86: use _do_fork() in compat_sys_x86_clone()

2018-03-18 Thread Dominik Brodowski
It is trivial to directly call _do_fork() instead of the sys_clone() syscall in compat_sys_x86_clone(). This patch is part of a series which tries to remove in-kernel calls to syscalls. On this basis, the syscall entry path can be streamlined. Cc: Ingo Molnar Cc: Jiri Slaby Cc: x...@kernel.org

[RFC PATCH 0/6] remove in-kernel syscall invocations (part 3 == compat cruft)

2018-03-18 Thread Dominik Brodowski
Here is a third series of patches which reduce the number of syscall invocations from within the kernel. Once this long-term goal is achieved, the syscall entry path can be streamlined. This series focuses on a few compat syscall definitions in arch/ which have no other in-kernel users. In particu

[RFC PATCH 6/6] x86: remove compat_sys_x86_waitpid()

2018-03-18 Thread Dominik Brodowski
compat_sys_x86_waitpid() is not needed, as it takes the same parameters (int, *int, int) as the native syscall. Suggested-by: Al Viro Cc: Ingo Molnar Cc: Jiri Slaby Cc: x...@kernel.org Signed-off-by: Dominik Brodowski --- arch/x86/entry/syscalls/syscall_32.tbl | 2 +- arch/x86/ia32/sys_ia32.c

Re: [PATCH v4 01/10] x86/microcode/AMD: Subtract SECTION_HDR_SIZE from file leftover length

2018-03-18 Thread Borislav Petkov
On Fri, Mar 16, 2018 at 12:07:42AM +0100, Maciej S. Szmigiero wrote: > verify_patch_size() function verifies whether the microcode container file > remaining size is large enough to contain a patch of the indicated size. > > However, the section header length is not included in this indicated size

[RFC PATCH 1/6] fs: provide a generic compat_sys_fallocate() implementation

2018-03-18 Thread Dominik Brodowski
The compat_sys_fallocate() implementations in mips, powerpc, s390, sparc and x86 only differed based on the endianness of the u64 being passed as parameters (3, 4) and (5, 6). In addition, do not call sys_fallocate() from compat_sys_fallocate(), but use a common do_fallocate() helper instead. Thi

[RFC PATCH 4/6] mm: provide generic compat_sys_readahead() implementation

2018-03-18 Thread Dominik Brodowski
The compat_sys_readahead() implementations in mips, powerpc, s390, sparc and x86 only differed based on whether the u64 parameter needed padding and on their endianness. Oh, and some defined the parameters as u64 or "unsigned long" which expanded to u64, though it only expected u32 in these parame

[RFC PATCH 2/6] fs: provide a generic compat_sys_truncate64() implementation

2018-03-18 Thread Dominik Brodowski
The compat_sys_truncate64() implementations in mips, powerpc, s390, sparc and x86 only differed based on whether the u64 parameter needed padding and on its endianness. Oh, and some defined the parameters as "unsigned long" which expanded to u64, though it only expected u32 in these parameters. T

Re: [PATCH v12 1/9] iomap: Fix sparse endian check warnings

2018-03-18 Thread Luc Van Oostenryck
On Fri, Mar 16, 2018 at 09:48:44AM -0600, Logan Gunthorpe wrote: > Warnings of the form: > > lib/iomap.c:84:9: warning: cast to restricted __be16 > > Are found when running sparse checker with: > > make C=2 CF=-D__CHECK_ENDIAN__ > > This patch casts them with __force to suppress the warnings.

[RFC PATCH 3/6] fs: provide generic compat_sys_p{read,write}64() implementations

2018-03-18 Thread Dominik Brodowski
The compat_sys_{read,write}64() implementations in mips, powerpc, s390, sparc and x86 only differed based on whether the u64 parameter needed padding and on their endianness. Oh, and some defined the parameters as u64 or "unsigned long" which expanded to u64, though it only expected u32 in these p

Re: [RFT][PATCH v5 0/7] sched/cpuidle: Idle loop rework

2018-03-18 Thread Rafael J. Wysocki
On Sun, Mar 18, 2018 at 12:00 PM, Rafael J. Wysocki wrote: > On Saturday, March 17, 2018 5:11:53 PM CET Doug Smythies wrote: >> On 2018.03.17 Thomas Ilsche wrote: >> >> > Over the last week I tested v4+pollv2 and now v5+pollv3. With v5, I >> > observe a particular idle behavior, that I have not se

[PATCH v2 2/2] mtd: nand: Remove print after allocation failure

2018-03-18 Thread Arushi Singhal
The prints after [k|v][m|z|c]alloc() etc. functions are not needed, because in case of failure, allocator will print their internal error prints anyway. Signed-off-by: Arushi Singhal --- changes in v2 *done the similar changes in other files. drivers/mtd/nand/ams-delta.c | 1 - dri

[PATCH v2 1/2] mtd: maps: Remove print after allocation failure

2018-03-18 Thread Arushi Singhal
The prints after [k|v][m|z|c]alloc() functions are not needed, because in case of failure, allocator will print their internal error prints anyway. Signed-off-by: Arushi Singhal --- changes in v2 * done changes in all the other files. drivers/mtd/maps/amd76xrom.c | 6 ++ drivers/mtd/maps/c

Re: [PATCH 1/2] x86, msr: add rdmsr_safe_on_cpu_resched() and use it in msr_read()

2018-03-18 Thread kbuild test robot
Hi Eric, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc5 next-20180316] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/com

coccinelle & linux-kernel: unindent blocks by reversing tests?

2018-03-18 Thread Joe Perches
There are many blocks of code that could be unindented and so neatened by reversing tests. For instance, here are linux-kernel void functions with deep indentation at the end of the function definition. These functions are all similar to: void foo(...) { [code...] if (foo) {

Re: [PATCH 1/2] x86, msr: add rdmsr_safe_on_cpu_resched() and use it in msr_read()

2018-03-18 Thread kbuild test robot
Hi Eric, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc5 next-20180316] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/com

Re: [PATCH] MAINTAINERS: update maintainers for MTD and SPI NOR subsystems

2018-03-18 Thread Cyrille Pitchen
Hi Marek, Le 18/03/2018 à 00:41, Marek Vasut a écrit : > On 03/15/2018 08:04 PM, Cyrille Pitchen wrote: >> remove myself as MTD and SPI NOR maintainer. >> >> Signed-off-by: Cyrille Pitchen > > What happened ? > Nothing to worry. Since I was hired for a new job, I've been facing issues to do spi

[PATCH v2] clang-format: add configuration file

2018-03-18 Thread Miguel Ojeda
clang-format is a tool to format C/C++/... code according to a set of rules and heuristics. Like most tools, it is not perfect nor covers every single case, but it is good enough to be helpful. In particular, it is useful for quickly re-formatting blocks of code automatically, for reviewing full f

Re: [PATCH 2/2] ASoC: add tda7419 audio processor driver

2018-03-18 Thread Matt Porter
On Fri, Mar 09, 2018 at 03:29:12PM +, Mark Brown wrote: > On Fri, Mar 09, 2018 at 09:35:48AM -0500, Matt Porter wrote: > > On Wed, Feb 28, 2018 at 11:00:38AM +, Mark Brown wrote: > > > On Tue, Feb 27, 2018 at 05:51:28PM -0500, Matt Porter wrote: > > > > > +static struct snd_kcontrol_new td

[PATCH v2 0/2] TDA7419 audio processor driver

2018-03-18 Thread Matt Porter
This series adds an ASoC component driver for the ST TDA7419 audio processor which is commonly used in automotive audio applications. The datasheet can be found at http://www.st.com/resource/en/datasheet/tda7419.pdf Changes since v1: * add supply and mute gpios to binding * remove

[PATCH v2 1/2] ASoC: add tda7419 audio processor binding

2018-03-18 Thread Matt Porter
DeviceTree binding for the tda7419 audio processor. Signed-off-by: Matt Porter --- .../devicetree/bindings/sound/tda7419.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/tda7419.txt diff --git a/Documentation/

[PATCH v2 2/2] ASoC: add tda7419 audio processor driver

2018-03-18 Thread Matt Porter
Component driver for the tda7419 audio processor. Signed-off-by: Matt Porter --- sound/soc/codecs/Kconfig | 6 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/tda7419.c | 654 + 3 files changed, 662 insertions(+) create mode 100644 sound/so

Re: [RFC PATCH 3/6] fs: provide generic compat_sys_p{read,write}64() implementations

2018-03-18 Thread Linus Torvalds
Honestly, I think the patches like this are disgusting: On Sun, Mar 18, 2018 at 9:10 AM, Dominik Brodowski wrote: > +#ifdef __ARCH_WANT_COMPAT_SYS_PREADWRITE64 > +#if defined(__ARCH_WANT_COMPAT_SYS_WITH_PADDING) && \ > + defined(__ARCH_WANT_LE_COMPAT_SYS) > +COMPAT_SYSCALL_DEFINE6(pread64,

Re: [RFC PATCH 4/6] mm: provide generic compat_sys_readahead() implementation

2018-03-18 Thread Al Viro
On Sun, Mar 18, 2018 at 05:10:54PM +0100, Dominik Brodowski wrote: > +#ifdef __ARCH_WANT_COMPAT_SYS_READAHEAD > +#if defined(__ARCH_WANT_COMPAT_SYS_WITH_PADDING) && \ > + defined(__ARCH_WANT_LE_COMPAT_SYS) > +COMPAT_SYSCALL_DEFINE5(readahead, int, fd, unsigned int, padding, > +

Re: [RFC PATCH 2/6] fs: provide a generic compat_sys_truncate64() implementation

2018-03-18 Thread Al Viro
On Sun, Mar 18, 2018 at 05:10:52PM +0100, Dominik Brodowski wrote: > +#ifdef __ARCH_WANT_COMPAT_SYS_TRUNCATE64 > +#if defined(__ARCH_WANT_COMPAT_SYS_WITH_PADDING) && \ > + defined(__ARCH_WANT_LE_COMPAT_SYS) > +COMPAT_SYSCALL_DEFINE4(truncate64, const char __user *, filename, u32 > padding, >

[PATCH RESEND] perf unwind: Report error from dwfl_attach_state

2018-03-18 Thread Martin Vuille
In verbose level 2, errors returned by libdw are reported in most cases, but not when calling dwfl_attach_state. Since elfutils v 0.160 (2014), dwfl_attach_state sets the error code to report failure cause. On failure, log the reported error. Signed-off-by: Martin Vuille --- tools/perf/util/unw

[PATCH] mtd: Replace typedef with struct

2018-03-18 Thread Arushi Singhal
Using typedef for a structure type is not suggested in Linux kernel coding style guidelines. Hence, occurrence of typedefs has been removed. Signed-off-by: Arushi Singhal --- drivers/mtd/ssfdc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/ssfdc.c b/drive

Re: [RFC PATCH 3/6] fs: provide generic compat_sys_p{read,write}64() implementations

2018-03-18 Thread Al Viro
On Sun, Mar 18, 2018 at 05:10:53PM +0100, Dominik Brodowski wrote: > +#ifdef __ARCH_WANT_COMPAT_SYS_PREADWRITE64 > +#if defined(__ARCH_WANT_COMPAT_SYS_WITH_PADDING) && \ > + defined(__ARCH_WANT_LE_COMPAT_SYS) > +COMPAT_SYSCALL_DEFINE6(pread64, unsigned int, fd, char __user *, ubuf, > +

Re: [patch -mm 4/6] mm, memcg: evaluate root and leaf memcgs fairly on oom

2018-03-18 Thread kbuild test robot
/0day-ci/linux/commits/David-Rientjes/rewrite-cgroup-aware-oom-killer-for-general-use/20180318-222124 config: i386-randconfig-s0-201811 (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026 reproduce: # save the attached .config to linux build tree make ARCH=i386 All

Re: [RFC PATCH 4/6] mm: provide generic compat_sys_readahead() implementation

2018-03-18 Thread Linus Torvalds
On Sun, Mar 18, 2018 at 10:40 AM, Al Viro wrote: > > *UGH* > > static inline compat_to_u64(u32 w0, u32 w1) > { > #ifdef __BIG_ENDIAN > return ((u64)w0 << 32) | w1; > #else > return ((u64)w1 << 32) | w0; > #endif > } > > in compat.h, then this turns into > > #ifdef __ARCH_WANT_COMPA

Re: [RFC PATCH 4/6] mm: provide generic compat_sys_readahead() implementation

2018-03-18 Thread Al Viro
On Sun, Mar 18, 2018 at 11:06:42AM -0700, Linus Torvalds wrote: > and then we can do > > COMPAT_SYSCALL_DEFINE5(readahead, int, fd, > COMPAT_ARG_64BIT_ODD(off), compat_size_t, count) > { > return do_readahead(fd, off_lo + ((u64)off_hi << 64), count); > } > > which at least looks reas

Re: [RFC PATCH 2/6] fs: provide a generic compat_sys_truncate64() implementation

2018-03-18 Thread Linus Torvalds
On Sun, Mar 18, 2018 at 9:10 AM, Dominik Brodowski wrote: > +#ifdef __ARCH_WANT_COMPAT_SYS_TRUNCATE64 > +#if defined(__ARCH_WANT_COMPAT_SYS_WITH_PADDING) && \ > + defined(__ARCH_WANT_LE_COMPAT_SYS) > +COMPAT_SYSCALL_DEFINE4(truncate64, const char __user *, filename, u32 > padding, > +

[PATCH net-next] net: dsa: mv88e6xxx: Fix missing register lock in serdes_get_stats

2018-03-18 Thread Florian Fainelli
We can hit the register lock not held assertion with the following path: [ 34.170631] mv88e6085 0.1:00: Switch registers lock not held! [ 34.176510] CPU: 0 PID: 950 Comm: ethtool Not tainted 4.16.0-rc4 #143 [ 34.182985] Hardware name: Freescale Vybrid VF5xx/VF6xx (Device Tree) [ 34.189519]

Re: coccinelle & linux-kernel: unindent blocks by reversing tests?

2018-03-18 Thread Joe Perches
On Sun, 2018-03-18 at 18:50 +0100, Julia Lawall wrote: > > On Sun, 18 Mar 2018, Joe Perches wrote: > > > There are many blocks of code that could be > > unindented and so neatened by reversing tests. [] > > Which often saves many vertical lines by reducing > > now unnecessary line-wrapping done a

Re: [PATCH v2] clang-format: add configuration file

2018-03-18 Thread Joe Perches
On Sun, 2018-03-18 at 18:16 +0100, Miguel Ojeda wrote: > * Uses clang's tooling support behind the scenes to parse and rewrite > the code. It is not based on ad-hoc regexps. Did you look at the results of a typical and generally style conforming subsystem when reformatted with the new rules

[PATCH 1/2] brcmfmac: add new dt entries for SG SDIO settings

2018-03-18 Thread Alexey Roslyakov
There are 3 fields in SDIO settings (quirks) to workaround some of the SG SDIO host particularities, i.e higher align requirements for SG items. All coding is done the long time ago, but there is no way to change the driver behavior without patching the kernel. Add missing devicetree entries. Sign

[PATCH 2/2] dt: bindings: add new dt entries for brcmfmac

2018-03-18 Thread Alexey Roslyakov
In case if the host has higher align requirements for SG items, allow setting device-specific aligns for scatterlist items. Signed-off-by: Alexey Roslyakov --- Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documenta

Re: [PATCH v2 10/21] lightnvm: Remove depends on HAS_DMA in case of platform dependency

2018-03-18 Thread Matias Bjørling
On 03/16/2018 02:51 PM, Geert Uytterhoeven wrote: Remove dependencies on HAS_DMA where a Kconfig symbol depends on another symbol that implies HAS_DMA, and, optionally, on "|| COMPILE_TEST". In most cases this other symbol is an architecture or platform specific symbol, or PCI. Generic symbols a

Re: [PATCH net-next] net: dsa: mv88e6xxx: Fix missing register lock in serdes_get_stats

2018-03-18 Thread Andrew Lunn
On Sun, Mar 18, 2018 at 11:23:05AM -0700, Florian Fainelli wrote: > We can hit the register lock not held assertion with the following path: > > [ 34.170631] mv88e6085 0.1:00: Switch registers lock not held! > [ 34.176510] CPU: 0 PID: 950 Comm: ethtool Not tainted 4.16.0-rc4 #143 > [ 34.1829

Re: [PATCH v2] clang-format: add configuration file

2018-03-18 Thread Miguel Ojeda
On Sun, Mar 18, 2018 at 7:26 PM, Joe Perches wrote: > On Sun, 2018-03-18 at 18:16 +0100, Miguel Ojeda wrote: >> * Uses clang's tooling support behind the scenes to parse and rewrite >> the code. It is not based on ad-hoc regexps. > > Did you look at the results of a typical and generally > s

<    1   2   3   4   5   >