Re: [PATCH V2] livepatch: fix non-static warnings

2018-12-17 Thread Petr Mladek
On Sun 2018-12-16 14:07:37, Nicholas Mc Guire wrote: > Sparse reported warnings about non-static symbols. For the variables > a simple static attribute is fine - for those symbols referenced by > livepatch via klp_func the symbol-names must be unmodified in the > symbol table - to resolve this the

Re: [PATCH V2] livepatch: fix non-static warnings

2018-12-17 Thread Miroslav Benes
Hi, I'm sorry for being late to the party. On Sun, 16 Dec 2018, Nicholas Mc Guire wrote: > Sparse reported warnings about non-static symbols. For the variables > a simple static attribute is fine - for those symbols referenced by > livepatch via klp_func the symbol-names must be unmodified in th

Re: [PATCH 1/2 v3] kdump: add the vmcoreinfo documentation

2018-12-17 Thread Borislav Petkov
On Sun, Dec 16, 2018 at 09:16:16PM +0800, Lianbo Jiang wrote: This... > +node_online_map > +=== > +It is a macro definition, actually it is an array node_states[N_ONLINE], > +and it represents the set of online node in a system, one bit position > +per node number. > + > +This is used

Re: [PATCH] fork,memcg: fix crash in free_thread_stack on memcg charge fail

2018-12-17 Thread Michal Hocko
On Fri 14-12-18 23:17:26, Rik van Riel wrote: > Changeset 9b6f7e163cd0 ("mm: rework memcg kernel stack accounting") > will result in fork failing if allocating a kernel stack for a task > in dup_task_struct exceeds the kernel memory allowance for that cgroup. > > Unfortunately, it also results in

Re: [PATCH v6 3/3] of/property: Add of_fwnode_name()

2018-12-17 Thread Heikki Krogerus
On Fri, Dec 14, 2018 at 11:46:02AM -0600, Rob Herring wrote: > On Fri, Dec 14, 2018 at 3:36 AM Rafael J. Wysocki wrote: > > > > On Tue, Dec 11, 2018 at 2:15 PM Heikki Krogerus > > wrote: > > > > > > This implements get_name fwnode op for DT. > > > > > > Signed-off-by: Heikki Krogerus > > > > Rob

[PATCH] mm: Remove __hugepage_set_anon_rmap()

2018-12-17 Thread Kirill Tkhai
This function is identical to __page_set_anon_rmap() since the time, when it was introduced (8 years ago). The patch removes the function, and makes its users to use __page_set_anon_rmap() instead. Signed-off-by: Kirill Tkhai --- mm/rmap.c | 25 - 1 file changed, 4 inse

[PATCH 2/9] MAINTAINERS: Add entry for sound/soc/ti and update the OMAP audio support

2018-12-17 Thread Peter Ujfalusi
The sound/soc/davinci and omap directories are merged under sound/soc/ti. Add myself as maintainer and update the OMAP audio support section with the new path and file names. Signed-off-by: Peter Ujfalusi --- MAINTAINERS | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --

[PATCH 5/9] ARM: davinci: dm365-evm: Update for the new ASoC Kcofnig options

2018-12-17 Thread Peter Ujfalusi
The codec selection config options for DMA365 has been changed. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-davinci/board-dm365-evm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c ind

[PATCH 8/9] ARM: davinci_all_defconfig: Update the audio options

2018-12-17 Thread Peter Ujfalusi
Use the new options for default audio support. Signed-off-by: Peter Ujfalusi --- arch/arm/configs/davinci_all_defconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/configs/davinci_all_defconfig b/arch/arm/configs/davinci_all_defconfig index 07b2eadac3dd..20

[PATCH 6/9] ARM: omap2plus_defconfig: Update the audio options

2018-12-17 Thread Peter Ujfalusi
Use the new options for default audio support and enable Nokia n900 audio as well. Signed-off-by: Peter Ujfalusi --- arch/arm/configs/omap2plus_defconfig | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/om

[PATCH 1/9] ASoC: ti: Merge davinci and omap directories

2018-12-17 Thread Peter Ujfalusi
Create new directory to contain all Texas Instruments specific DAI, platform and machine drivers instead of scattering them under davinci and omap directories. There is already inter dependency between the two directories becasue of McASP (on dra7x it is serviced by sDMA, not EDMA). With the upco

[PATCH 7/9] ARM: omap1_defconfig: Do not select ASoC by default

2018-12-17 Thread Peter Ujfalusi
No audio support is enabled by default via ASoC, disable the code as well. Signed-off-by: Peter Ujfalusi --- arch/arm/configs/omap1_defconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/configs/omap1_defconfig b/arch/arm/configs/omap1_defconfig index 72f4bc83f467..cfc00b0961ec

[PATCH 4/9] ARM: OMAP2: Update for new MCBSP Kconfig option

2018-12-17 Thread Peter Ujfalusi
The MCBSP config option has been changed. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-omap2/Makefile | 2 +- arch/arm/mach-omap2/pdata-quirks.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 013

[PATCH 3/9] ARM: OMAP1: Makefile: Update for new MCBSP Kconfig option

2018-12-17 Thread Peter Ujfalusi
The MCBSP config option has been changed. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-omap1/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap1/Makefile b/arch/arm/mach-omap1/Makefile index e8ccf51c6f29..a7e9c6d19fb5 100644 --- a/arch/arm/mach-oma

[PATCH 9/9] ASoC: ti: Kconfig: Remove the deprecated options

2018-12-17 Thread Peter Ujfalusi
We no longer have these options used anywhere. Signed-off-by: Peter Ujfalusi --- sound/soc/ti/Kconfig | 159 --- 1 file changed, 159 deletions(-) diff --git a/sound/soc/ti/Kconfig b/sound/soc/ti/Kconfig index 698810c770f0..4bf3c15d4e51 100644 --- a/sound/

[PATCH 0/9] ASoC/ARM: Merge the davinci and omap audio directories

2018-12-17 Thread Peter Ujfalusi
Hi, Changes since RFC: - Added Jarkko's Acked-by/Tested-by for the {omap->ti} changes - Rebased on top of next-20181210 (20181214+ is not booting on any of my boards) For Texas Instruments audio support we have two directories at the moment: davinci omap In reality TI have the following SoC line

Re: [PATCH v7 00/24] Tegra GART driver clean up and optimization

2018-12-17 Thread Dmitry Osipenko
On 17.12.2018 12:14, Joerg Roedel wrote: > On Wed, Dec 12, 2018 at 11:38:43PM +0300, Dmitry Osipenko wrote: >> Dmitry Osipenko (24): >> iommu/tegra: gart: Remove pr_fmt and clean up includes >> iommu/tegra: gart: Clean up driver probe errors handling >> iommu/tegra: gart: Ignore devices witho

RE: [PATCH] usb: typec: tcpm: Extend the matching rules on PPS APDO selection

2018-12-17 Thread Adam Thomson
On 17 December 2018 02:48, Kyle Tso wrote: > Current matching rules ensure that the voltage range of selected Source > Capability is entirely within the range defined in one of the Sink > Capabilities. This > is reasonable but not practical because Sink may not support wide range of > voltage whe

[PATCH v2 1/6] staging: iio: adc: ad7606: Simplify the Kconfing menu

2018-12-17 Thread Stefan Popa
There is no point in having three menu entries that can be selected individually. Instead, the SPI and parallel interfaces should select AD7606. Signed-off-by: Stefan Popa --- drivers/staging/iio/adc/Kconfig | 27 ++- 1 file changed, 10 insertions(+), 17 deletions(-) dif

[PATCH v2 2/6] staging: iio: adc: ad7606: Use SPDX identifier

2018-12-17 Thread Stefan Popa
This patch replaces the license text at the top of ad7606 driver files and instead adds SPDX GPL-2.0 license identifier. Signed-off-by: Stefan Popa --- drivers/staging/iio/adc/ad7606.c | 5 ++--- drivers/staging/iio/adc/ad7606.h | 3 +-- drivers/staging/iio/adc/ad7606_par.c | 5 ++--- dr

Re: [PATCH 2/3] ASoC: xlnx: Add i2s driver

2018-12-17 Thread Mark Brown
On Fri, Dec 14, 2018 at 07:50:43AM +0100, Michal Simek wrote: > On 13. 12. 18 16:31, Mark Brown wrote: > > On Sat, Dec 08, 2018 at 12:02:37AM +0530, Maruthi Srinivas Bayyavarapu > > wrote: > >> @@ -0,0 +1,185 @@ > >> +// SPDX-License-Identifier: GPL-2.0 > >> +/* > >> + * Xilinx ASoC I2S audio sup

[PATCH v2 4/6] staging: iio: adc: ad7606: Misc style fixes (no functional change)

2018-12-17 Thread Stefan Popa
* Placed includes in alphabetical order * Added brackets around num and mask through out for AD760X_CHANNEL * Used single line comments where needed * Removed extra lines and spaces Signed-off-by: Stefan Popa --- drivers/staging/iio/adc/ad7606.c | 27 --- drivers/stag

[PATCH v2 3/6] staging: iio: adc: ad7606: Add support for threaded irq

2018-12-17 Thread Stefan Popa
This patch replaces the use of a polling ring buffer with a threaded interrupt. Enabling the buffer sets the CONVST signal to high. When the rising edge of the CONVST is applied, BUSY signal goes logic high and transitions low at the end of the entire conversion process. The falling edge of the BU

Re: [PATCH] squashfs: enable __GFP_FS in ->readpage to prevent hang in mem alloc

2018-12-17 Thread Matthew Wilcox
On Mon, Dec 17, 2018 at 07:51:27PM +0900, Tetsuo Handa wrote: > On 2018/12/17 18:33, Michal Hocko wrote: > > On Sun 16-12-18 19:51:57, Matthew Wilcox wrote: > > [...] > >> Ah, yes, that makes perfect sense. Thank you for the explanation. > >> > >> I wonder if the correct fix, however, is not to mo

Re: [PATCH] regulator: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-17 Thread Mark Brown
On Sat, Dec 15, 2018 at 03:21:48AM -0500, Yangtao Li wrote: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li > +#ifdef CONFIG_DEBUG_FS > debugfs_create_file("supply_map", 0444, debugfs_root, NULL, > &supply_map_fops); > >

[PATCH v2 6/6] dt-bindings: iio: adc: Add docs for AD7606 ADC

2018-12-17 Thread Stefan Popa
Document support for AD7606 Analog to Digital Converter. Signed-off-by: Stefan Popa Reviewed-by: Rob Herring --- .../devicetree/bindings/iio/adc/adi,ad7606.txt | 65 ++ MAINTAINERS| 1 + 2 files changed, 66 insertions(+) create m

[PATCH v2 0/6] staging: iio: ad7606: Move out of staging

2018-12-17 Thread Stefan Popa
Changes in v2: Patch 1: - Moved the HAS_IOMEM under AD7606_IFACE_PARALLEL and dropped GPIOLIB. Patch 2: - Used SPDX GPL-2.0 license identifier instead of GPL-2.0+. Patch 3: - Before disabling the buffer, there is no need to trigger a conversion. Patches 4, 5, 6: - No

Re: [PATCH 01/14] mm, compaction: Shrink compact_control

2018-12-17 Thread Vlastimil Babka
On 12/15/18 12:02 AM, Mel Gorman wrote: > The isolate and migrate scanners should never isolate more than a pageblock > of pages so unsigned int is sufficient saving 8 bytes on a 64-bit build. > > Signed-off-by: Mel Gorman Acked-by: Vlastimil Babka > --- > mm/internal.h | 4 ++-- > 1 file cha

[PATCH v2 5/6] staging: iio: adc: ad7606: Move out of staging

2018-12-17 Thread Stefan Popa
Move ad7606 ADC driver out of staging and into the mainline. Signed-off-by: Stefan Popa --- MAINTAINERS | 7 + drivers/iio/adc/Kconfig | 27 ++ drivers/iio/adc/Makefile | 3 + drivers/iio/adc/ad7606.c | 583 ++

Re: [PATCH v2 1/1] mm, memory_hotplug: Initialize struct pages for the full memory section

2018-12-17 Thread Michal Hocko
On Mon 17-12-18 10:38:32, David Hildenbrand wrote: [...] > I am wondering if we should fix this on the memblock level instead than. > Something like, before handing memory over to the page allocator, add > memory as reserved up to the last section boundary. Or even when setting > the physical memor

Re: [PATCH v2] powerpc/mm: make NULL pointer deferences explicit on bad page faults.

2018-12-17 Thread Michael Ellerman
Christophe Leroy writes: > diff --git a/arch/powerpc/mm/fault.c b/arch/powerpc/mm/fault.c > index 01b9bcc7fa85..3398291f4785 100644 > --- a/arch/powerpc/mm/fault.c > +++ b/arch/powerpc/mm/fault.c > @@ -636,21 +636,24 @@ void bad_page_fault(struct pt_regs *regs, unsigned long > address, int sig)

Re: [PATCH 2/3] ASoC: xlnx: Add i2s driver

2018-12-17 Thread Michal Simek
On 17. 12. 18 13:24, Mark Brown wrote: > On Fri, Dec 14, 2018 at 07:50:43AM +0100, Michal Simek wrote: >> On 13. 12. 18 16:31, Mark Brown wrote: >>> On Sat, Dec 08, 2018 at 12:02:37AM +0530, Maruthi Srinivas Bayyavarapu >>> wrote: > @@ -0,0 +1,185 @@ +// SPDX-License-Identifier: GPL-2.0

Re: [PATCH] usb: typec: tcpm: Extend the matching rules on PPS APDO selection

2018-12-17 Thread Kyle Tso
On Mon, Dec 17, 2018 at 7:36 PM Heikki Krogerus wrote: > > On Mon, Dec 17, 2018 at 10:48:05AM +0800, Kyle Tso wrote: > > Current matching rules ensure that the voltage range of selected Source > > Capability is entirely within the range defined in one of the Sink > > Capabilities. This is reasonab

Re: [regression] Mute button LED stopped working on Lenovo X1 Extreme

2018-12-17 Thread Bartosz Golaszewski
pt., 14 gru 2018 o 18:30 Greg Kroah-Hartman napisał(a): > > On Fri, Dec 14, 2018 at 06:20:10PM +0100, Bartosz Golaszewski wrote: > > Hi, > > > > I'm not sure what the connection is exactly but commit dcd51305cd41 > > ("ALSA: hda/realtek - fix the pop noise on headphone for lenovo > > laptops") bro

[PATCH] posix-timers: Prevent division by zero

2018-12-17 Thread Thomas Gleixner
The signal delivery path of posix-timers can try to rearm the timer even if the interval is zero. That's handled for the common case (hrtimer) but not for alarm timers. In that case the forwarding function raises a division by zero exception. The handling for hrtimer based posix timers is wrong be

Re: [PATCH -next] irqchip: irq-rda-intc: Fix return value check in rda8810_intc_init()

2018-12-17 Thread Manivannan Sadhasivam
On Mon, Dec 17, 2018 at 11:58:18AM +, Wei Yongjun wrote: > In case of error, the function of_io_request_and_map() returns ERR_PTR() > and never returns NULL. The NULL test in the return value check should > be replaced with IS_ERR(). > > Fixes: d852e62ad689 ("irqchip: Add RDA8810PL interrupt d

Re: [PATCH] mm: Remove __hugepage_set_anon_rmap()

2018-12-17 Thread Kirill A. Shutemov
On Mon, Dec 17, 2018 at 03:13:51PM +0300, Kirill Tkhai wrote: > This function is identical to __page_set_anon_rmap() > since the time, when it was introduced (8 years ago). > The patch removes the function, and makes its users > to use __page_set_anon_rmap() instead. > > Signed-off-by: Kirill Tkha

[PATCH 04/15] clk: rockchip: use clock id for 24m dsi on rk3368

2018-12-17 Thread Heiko Stuebner
Export the clock using the newly added clock id. Signed-off-by: Heiko Stuebner --- drivers/clk/rockchip/clk-rk3368.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3368.c b/drivers/clk/rockchip/clk-rk3368.c index 58debf7daf85..56ca10fe3e96 100644

[PATCH 01/15] clk: rockchip: add clock ids for dphy rx and tx channels on rk3368

2018-12-17 Thread Heiko Stuebner
Add the clock ids so that they can be exported from the clock driver and referenced in the rk3368 devicetree. Signed-off-by: Heiko Stuebner --- include/dt-bindings/clock/rk3368-cru.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/clock/rk3368-cru.h b/include/dt-bindin

[PATCH 06/15] drm/rockchip: analogix_dp: add support for the rk3368 variant

2018-12-17 Thread Heiko Stuebner
Add the compatible and allow the driver to also not set any crtc input on socs that only have one vop. While that was already possible because the driver checked against the grf-reg being 0, make that var an int as "0x0" is a valid grf address itself. So standardize on -1 for "no setting needed".

[PATCH 09/15] arm64: dts: rockchip: add power-domain nodes on rk3368

2018-12-17 Thread Heiko Stuebner
Add the power-controller main node, the individual power domains below it and their used quality-of-service syscons on rk3368 and hook the power-domains to their user-devicenodes. Signed-off-by: Heiko Stuebner --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 177 +++ 1 file cha

[PATCH 00/15] drm/rockchip: add display support for rk3368

2018-12-17 Thread Heiko Stuebner
This ties together the last lose ends to make display support work on rk3368 and includes some missing clock exports, compatible values+settings for the specific encoder drivers and quite a number of dt-changes enabling power-domains first and then adding the display stuff. The core rk3368 support

[PATCH 08/15] arm64: dts: rockchip: default values for core clocks on rk3368

2018-12-17 Thread Heiko Stuebner
Add better default values for PLLs and core clocks on rk3368. This includes all plls as well as core aclk,hclk and pclk in both the cpu as well as peripheral domain. Signed-off-by: Heiko Stuebner --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff

[PATCH 03/15] clk: rockchip: use clock ids for dphy rx and tx on rk3368

2018-12-17 Thread Heiko Stuebner
Export the clocks using the newly added clock ids. Signed-off-by: Heiko Stuebner --- drivers/clk/rockchip/clk-rk3368.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3368.c b/drivers/clk/rockchip/clk-rk3368.c index 7c4d242f19c1..58debf7daf85 1

[PATCH 05/15] drm/rockchip: dw_hdmi: add support for rk3368

2018-12-17 Thread Heiko Stuebner
The rk3368 only has one vop block and thus the dw_hdmi does not need to do the source selection. Signed-off-by: Heiko Stuebner --- .../display/rockchip/dw_hdmi-rockchip.txt | 1 + drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 15 +++ 2 files changed, 16 insertions(+)

[PATCH 07/15] drm/rockchip: dw-mipi-dsi: add support for rk3368-variant

2018-12-17 Thread Heiko Stuebner
Add the compatible and grf values and allow the driver to also not select a specific crtc input on systems with only one vop. Signed-off-by: Heiko Stuebner --- .../display/rockchip/dw_mipi_dsi_rockchip.txt | 1 + .../gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 25 +-- 2 files ch

[PATCH 02/15] clk: rockchip: add clock id 24m dsi clock on rk3368

2018-12-17 Thread Heiko Stuebner
Needed as input for the dsi controller. Signed-off-by: Heiko Stuebner --- include/dt-bindings/clock/rk3368-cru.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/rk3368-cru.h b/include/dt-bindings/clock/rk3368-cru.h index a4ed1f094da8..04fbcd92adc0 100644 --- a/incl

[PATCH 11/15] arm64: dts: rockchip: add analogix-dp controller on rk3368

2018-12-17 Thread Heiko Stuebner
Add the core node for the Analogix displayport controller found on rk3368 socs. Signed-off-by: Heiko Stuebner --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/r

[PATCH 13/15] arm64: dts: rockchip: add core display support for rk3368

2018-12-17 Thread Heiko Stuebner
Add the display subsystem and vop and hook up the individual encoder ports. Signed-off-by: Heiko Stuebner --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 73 1 file changed, 73 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/roc

[PATCH 10/15] arm64: dts: rockchip: add dw-hdmi controller on rk3368

2018-12-17 Thread Heiko Stuebner
Add the core node for the dw-hdmi controller found on rk3368 socs. Signed-off-by: Heiko Stuebner --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi i

[PATCH 12/15] arm64: dts: rockchip: add dw-mipi-dsi controller on rk3368

2018-12-17 Thread Heiko Stuebner
Add the core node for the mipi-dsi controller found on rk3368 socs. Signed-off-by: Heiko Stuebner --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi i

Re: [PATCH] seccomp, s390: fix build for syscall type change

2018-12-17 Thread Heiko Carstens
On Thu, Dec 13, 2018 at 04:50:06PM -0800, Kees Cook wrote: > On Thu, Dec 13, 2018 at 12:10 PM Tycho Andersen wrote: > > > > A recent patch landed in the security tree [1] that changed the type of the > > seccomp syscall. Unfortunately, I didn't quite get every instance of the > > forward declarati

[PATCH 15/15] arm64: defconfig: enable hym8563 rtc driver

2018-12-17 Thread Heiko Stuebner
The hym8563 is used on a number of Rockchip boards on 64bit as well and maybe even more importantly is the source for 32kHz clock on those as well, completing the clock tree of the soc. So enable it as built-in. Signed-off-by: Heiko Stuebner --- arch/arm64/configs/defconfig | 1 + 1 file changed

[PATCH] scripts/tags: Add more declarations

2018-12-17 Thread Kirill Tkhai
New declarations and identifier (__always_inline). Signed-off-by: Kirill Tkhai --- scripts/tags.sh | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/scripts/tags.sh b/scripts/tags.sh index 4fa070f9231a..f470d9919ed7 100755 --- a/scripts/tags.sh +++ b/scripts/ta

[PATCH 14/15] arm64: dts: rockchip: enable display on rk3368-r88

2018-12-17 Thread Heiko Stuebner
Enable vop, hdmi and hdmi-i2c on the R88 board. Signed-off-by: Heiko Stuebner --- arch/arm64/boot/dts/rockchip/rk3368-r88.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts index 74

Re: [PATCH] usb: typec: tcpm: Extend the matching rules on PPS APDO selection

2018-12-17 Thread Kyle Tso
On Mon, Dec 17, 2018 at 8:23 PM Adam Thomson wrote: > > On 17 December 2018 02:48, Kyle Tso wrote: > > > Current matching rules ensure that the voltage range of selected Source > > Capability is entirely within the range defined in one of the Sink > > Capabilities. This > > is reasonable but not

Re: [PATCH] ARM: shmobile: fix build regressions

2018-12-17 Thread Simon Horman
On Wed, Dec 12, 2018 at 11:30:33AM +0100, Simon Horman wrote: > On Tue, Dec 11, 2018 at 09:58:05AM +0100, Geert Uytterhoeven wrote: > > Hi Arnd, > > > > On Mon, Dec 10, 2018 at 10:00 PM Arnd Bergmann wrote: > > > A number of Kconfig options have become available now to random ARM > > > platforms

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

2018-12-17 Thread Arnd Bergmann
On Mon, Dec 17, 2018 at 10:11 AM Stephen Rothwell wrote: > I have applied the following merge fix patch (better versions welcome): > > From: Stephen Rothwell > Date: Mon, 17 Dec 2018 20:03:28 +1100 > Subject: [PATCH] cifs: update for current_kernel_time64() removal > > Signed-off-by: Stephen Rot

Re: [PATCH 6/6] Drop flex_arrays

2018-12-17 Thread Kent Overstreet
On Thu, Dec 13, 2018 at 01:09:17PM -0500, Neil Horman wrote: > On Thu, Dec 13, 2018 at 08:45:33AM -0800, Matthew Wilcox wrote: > > On Thu, Dec 13, 2018 at 10:51:49AM -0500, Neil Horman wrote: > > > On Thu, Dec 13, 2018 at 06:41:11AM -0800, Matthew Wilcox wrote: > > > > On Thu, Dec 13, 2018 at 09:30

Re: [PATCH 0/5] Add support for STM32F4 SPI

2018-12-17 Thread Amelie DELAUNAY
Hi Cezary, On 12/10/18 8:05 PM, Cezary Gapiński wrote: > Hi Amelie, > > On Mon, 2018-12-10 at 12:37 +, Amelie DELAUNAY wrote: >> Hi Cezary, >> >> On 12/9/18 2:53 PM, cezary.gapin...@gmail.com wrote: >>> >>> From: Cezary Gapinski >>> >>> This series of patches adds support for first generatio

Re: [PATCH v10 6/6] ACPI/IORT: Stub out ACS functions when CONFIG_PCI is not set

2018-12-17 Thread Lorenzo Pieralisi
On Sat, Dec 15, 2018 at 01:02:47AM +, Sinan Kaya wrote: > Remove PCI dependent code out of iort.c when CONFIG_PCI is not defined. > > Signed-off-by: Sinan Kaya > --- > drivers/acpi/arm64/iort.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/acpi/arm64/iort.c b/drivers/ac

Re: [PATCH V3 1/3] misc/pvpanic: return 0 for empty body register function

2018-12-17 Thread Greg KH
On Mon, Dec 17, 2018 at 06:43:12PM +0800, Peng Hao wrote: > Return 0 for empty body register function normally. > > Signed-off-by: Peng Hao > --- > drivers/misc/pvpanic.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) What is changing in these different version? You always have to lis

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-17 Thread Michal Hocko
On Thu 13-12-18 16:37:35, Pingfan Liu wrote: [...] > [0.409667] NUMA: Node 1 [mem 0x-0x0009] + [mem > 0x0010-0x7fff] -> [mem 0x-0x7fff] > [0.419885] NUMA: Node 1 [mem 0x-0x7fff] + [mem > 0x1-0x47fff] -> [mem 0x-0x47fff] >

Re: [PATCH 1/2] irq/irq_sim: provide irq_sim_fire_edge()

2018-12-17 Thread Uwe Kleine-König
On Mon, Dec 17, 2018 at 11:32:45AM +0100, Bartosz Golaszewski wrote: > śr., 5 gru 2018 o 13:38 Bartosz Golaszewski > napisał(a): > > > > śr., 5 gru 2018 o 13:20 Linus Walleij napisał(a): > > > > > > On Mon, Dec 3, 2018 at 12:06 PM Uwe Kleine-König > > > wrote: > > > > On Mon, Dec 03, 2018 at 11:

Re: [PATCH] RISC-V: Make BSS section as the last section in vmlinux.lds.S

2018-12-17 Thread Nick Kossifidis
Στις 2018-12-17 11:36, Anup Patel έγραψε: On Mon, Nov 26, 2018 at 11:42 AM Anup Patel wrote: The objcopy only emits loadable sections when creating flat kernel Image. To have minimal possible size of flat kernel Image, we should have all non-loadable sections after loadable sections. Currentl

Re: [PATCH 1/2 v3] kdump: add the vmcoreinfo documentation

2018-12-17 Thread Borislav Petkov
On Sun, Dec 16, 2018 at 09:16:16PM +0800, Lianbo Jiang wrote: > +clear_idx > += > +The index that the next printk record to read after the last 'clear' > +command. It indicates the first record after the last SYSLOG_ACTION > +_CLEAR, like issued by 'dmesg -c'. What is that used for by the

Re: [PATCH 2/2 v3] kdump,vmcoreinfo: Export the value of sme mask to vmcoreinfo

2018-12-17 Thread Borislav Petkov
On Sun, Dec 16, 2018 at 09:16:17PM +0800, Lianbo Jiang wrote: > For AMD machine with SME feature, makedumpfile tools need to know > whether the crash kernel was encrypted or not. If SME is enabled > in the first kernel, the crash kernel's page table(pgd/pud/pmd/pte) > contains the memory encryption

[-next] strace tests fail because of "y2038: socket: Add compat_sys_recvmmsg_time64"

2018-12-17 Thread Heiko Carstens
Hi Arnd, in linux-next as of today 16 strace self tests fail on s390. I could bisect this to b136972b063b ("y2038: socket: Add compat_sys_recvmmsg_time64"). The following tests fail: mmsg.gen.test clock.gen.test regex.gen.test sched.gen.test trace_fstatfs.gen.test trace_personality_regex_64.gen.

Re: [PATCH v5 0/5] powerpc: system call table generation support

2018-12-17 Thread Michael Ellerman
Firoz Khan writes: > Hi Michael, > > On Mon, 17 Dec 2018 at 16:01, Michael Ellerman wrote: >> No it's fine if it applies on next. >> >> I can also fix up minor merge conflicts if there are any. > > Ohh. I already rebased and sent v6. That's OK. cheers

Re: WARNING in __rcu_read_unlock

2018-12-17 Thread Dmitry Vyukov
On Mon, Dec 17, 2018 at 12:29 PM Paul E. McKenney wrote: > > On Mon, Dec 17, 2018 at 10:44:52AM +0100, Dmitry Vyukov wrote: > > On Sun, Dec 16, 2018 at 8:04 PM Paul E. McKenney > > wrote: > > > > > > On Sat, Dec 15, 2018 at 04:41:03AM -0800, syzbot wrote: > > > > Hello, > > > > > > > > syzbot fo

Re: [RFC] locking/rwsem: Avoid issuing wakeup before setting the reader waiter to nil

2018-12-17 Thread Yongji Xie
On Mon, 17 Dec 2018 at 19:37, Peter Zijlstra wrote: > > On Mon, Dec 10, 2018 at 11:12:52PM +0800, Yongji Xie wrote: > > Hi Peter, > > > > Please let me know If there is any progress on this issue. Thank you! > > Right, sorry, my brain was filled with snot and didn't want to make > sense of things.

Re: [PATCH] Staging: comedi: 8255: fixed an SPDX License Tag coding style issue

2018-12-17 Thread Greg KH
On Thu, Dec 13, 2018 at 08:53:17AM -0800, Amir Mahdi Ghorbanian wrote: > From: Amir Mahdi Ghorbanian > > Fixed a coding style issue. > > Signed-off-by: Amir Mahdi Ghorbanian > --- > drivers/staging/comedi/drivers/8255.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/

Re: [PATCH 1/2] Staging: comedi: cb_pcidas: fixed a spelling mistake coding style issue

2018-12-17 Thread Greg KH
On Sun, Dec 16, 2018 at 08:57:25AM -0800, Amir Mahdi Ghorbanian wrote: > Fixed a coding style issue. > > Signed-off-by: Amir Mahdi Ghorbanian > --- > drivers/staging/comedi/drivers/cb_pcidas.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) You already sent this patch, right? What chan

Re: [PATCH] usb: typec: tcpm: Extend the matching rules on PPS APDO selection

2018-12-17 Thread Kyle Tso
On Mon, Dec 17, 2018 at 8:45 PM Kyle Tso wrote: > > On Mon, Dec 17, 2018 at 8:23 PM Adam Thomson > wrote: > > > > On 17 December 2018 02:48, Kyle Tso wrote: > > > > > Current matching rules ensure that the voltage range of selected Source > > > Capability is entirely within the range defined in o

[PATCH 3/7] selinux: convert to kvmalloc

2018-12-17 Thread Kent Overstreet
The flex arrays were being used for constant sized arrays, so there's no benefit to using flex_arrays over something simpler. Signed-off-by: Kent Overstreet Cc: linux-security-mod...@vger.kernel.org --- security/selinux/ss/avtab.c | 40 +- security/selinux/ss/avtab.h | 4 +

[PATCH 0/7] generic radix trees; drop flex arrays

2018-12-17 Thread Kent Overstreet
this has been sitting on my todo list for far too long; let's try and get it merged before flex arrays grow any new users. The only significant change since the last time I mailed this out is that it's now safe to use a genradix from multiple threads, including when new nodes are being allocated.

[PATCH 4/7] Generic radix trees

2018-12-17 Thread Kent Overstreet
Very simple radix tree implementation that supports storing arbitrary size entries, up to PAGE_SIZE - upcoming patches will convert existing flex_array users to genradixes. The new genradix code has a much simpler API and implementation, and doesn't have a hard limit on the number of elements like

[PATCH 6/7] sctp: Convert to genradix

2018-12-17 Thread Kent Overstreet
This also makes sctp_stream_alloc_(out|in) saner, in that they no longer allocate new flex_arrays/genradixes, they just preallocate more elements. This code does however have a suspicious lack of locking. Signed-off-by: Kent Overstreet Cc: Vlad Yasevich Cc: Neil Horman Cc: Marcelo Ricardo Leit

[PATCH 5/7] proc: commit to genradix

2018-12-17 Thread Kent Overstreet
the new generic radix trees have a simpler API and implementation, and no limitations on number of elements, so all flex_array users are being converted Signed-off-by: Kent Overstreet Cc: Al Viro --- fs/proc/base.c | 43 +++ 1 file changed, 15 insertions(

[PATCH 1/7] openvswitch: convert to kvmalloc

2018-12-17 Thread Kent Overstreet
There was no real need for this code to be using flexarrays, it's just implementing a hash table - ideally it would be using rhashtables, but that conversion would be significantly more complicated. Signed-off-by: Kent Overstreet Cc: Pravin B Shelar Cc: d...@openvswitch.org Reviewed-by: Matthew

[PATCH 2/7] md: convert to kvmalloc

2018-12-17 Thread Kent Overstreet
The code really just wants a big flat buffer, so just do that. Signed-off-by: Kent Overstreet Cc: Shaohua Li Cc: linux-r...@vger.kernel.org Reviewed-by: Matthew Wilcox --- drivers/md/raid5-ppl.c | 6 +-- drivers/md/raid5.c | 87 +++--- drivers/md/raid5.

[PATCH 7/7] Drop flex_arrays

2018-12-17 Thread Kent Overstreet
All existing users have been converted to generic radix trees Signed-off-by: Kent Overstreet Acked-by: Dave Hansen --- Documentation/core-api/flexible-arrays.rst | 130 --- Documentation/flexible-arrays.txt | 123 --- include/linux/flex_array.h | 149 i

RE: [LINUX PATCH v12 3/3] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-12-17 Thread Naga Sureshkumar Relli
Hi Miquel, > -Original Message- > From: Miquel Raynal [mailto:miquel.ray...@bootlin.com] > Sent: Wednesday, December 12, 2018 6:48 PM > To: Naga Sureshkumar Relli > Cc: Boris Brezillon ; r...@kernel.org; > rich...@nod.at; linux- > ker...@vger.kernel.org; marek.va...@gmail.com; linux-...@

Re: [PATCH 02/14] mm, compaction: Rearrange compact_control

2018-12-17 Thread Vlastimil Babka
On 12/15/18 12:02 AM, Mel Gorman wrote: > compact_control spans two cache lines with write-intensive lines on > both. Rearrange so the most write-intensive fields are in the same > cache line. This has a negligible impact on the overall performance of > compaction and is more a tidying exercise tha

[GIT PULL] tpmdd updates for Linux v4.21

2018-12-17 Thread Jarkko Sakkinen
26b76320a8a550472bbb8f42257df83fcb8d8df6: Merge tag 'v4.20-rc2' into next-general (2018-11-12 09:07:41 -0800) are available in the Git repository at: git://git.infradead.org/users/jjs/linux-tpmdd.git tags/tpmdd-next-20181217 for you to fetch changes up to 9488585b21bef0df1217e510c7134905d1d376a7:

[PATCH v3] usb: typec: tcpm: Extend the matching rules on PPS APDO selection

2018-12-17 Thread Kyle Tso
Current matching rules ensure that the voltage range of selected Source Capability is entirely within the range defined in one of the Sink Capabilities. This is reasonable but not practical because Sink may not support wide range of voltage when sinking power while Source could advertise its capabi

Re: [PATCH v3 1/2] spi: Add Renesas R-Car Gen3 RPC SPI controller driver

2018-12-17 Thread Marek Vasut
On 12/17/2018 08:42 AM, masonccy...@mxic.com.tw wrote: > Hi Sergei, > > >> > +static int rpc_spi_io_xfer(struct rpc_spi *rpc, >> > +            const void *tx_buf, void *rx_buf) >> > +{ >> > +   u32 smenr, smcr, data, pos = 0; >> > +   int ret = 0; >> > + >> > +   regmap_write(rpc->regmap, RPC_CM

Re: [PATCH v2] HID: asus: Add support for the ASUS T101HA keyboard dock

2018-12-17 Thread Benjamin Tissoires
On Sun, Dec 16, 2018 at 4:52 PM Aleix Roca Nonell wrote: > > The ASUS T101HA keyboard dock generates HID events using the ASUS vendor > specific UsagePage 0xff31. In consequence, some multimedia keys such as > brightness up and down are not working with hid-generic. > > This commit adds the T101HA

Re: A weird problem of Realtek r8168 after resume from S3

2018-12-17 Thread Chris Chiu
On Fri, Dec 14, 2018 at 3:37 PM Heiner Kallweit wrote: > > On 14.12.2018 04:33, Chris Chiu wrote: > > On Thu, Dec 13, 2018 at 10:20 AM Chris Chiu wrote: > >> > >> Hi, > >> We got an acer laptop which has a problem with ethernet networking > >> after > >> resuming from S3. The ethernet is pop

RE: [PATCH] usb: typec: tcpm: Extend the matching rules on PPS APDO selection

2018-12-17 Thread Adam Thomson
On 17 December 2018 12:45, Kyle Tso wrote: > On Mon, Dec 17, 2018 at 8:23 PM Adam Thomson > wrote: > > > > On 17 December 2018 02:48, Kyle Tso wrote: > > > > > Current matching rules ensure that the voltage range of selected > > > Source Capability is entirely within the range defined in one of t

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-12-17 Thread Jarkko Sakkinen
On Fri, Dec 14, 2018 at 04:06:27PM -0800, Sean Christopherson wrote: > [ 504.149548] [ cut here ] > [ 504.149550] kernel BUG at /home/sean/go/src/kernel.org/linux/mm/mmap.c:669! > [ 504.150288] invalid opcode: [#1] SMP > [ 504.150614] CPU: 2 PID: 237 Comm: kworker/u

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-17 Thread Michal Hocko
On Thu 13-12-18 17:04:01, Pingfan Liu wrote: [...] > > > @@ -592,6 +600,10 @@ static int __init numa_register_memblks(struct > > > numa_meminfo *mi) > > > continue; > > > > > > alloc_node_data(nid); > > > + if (!end) > > > +

Re: [PATCH v2 1/1] mm, memory_hotplug: Initialize struct pages for the full memory section

2018-12-17 Thread David Hildenbrand
On 17.12.18 13:28, Michal Hocko wrote: > On Mon 17-12-18 10:38:32, David Hildenbrand wrote: > [...] >> I am wondering if we should fix this on the memblock level instead than. >> Something like, before handing memory over to the page allocator, add >> memory as reserved up to the last section bound

Re: WARNING in ovl_instantiate

2018-12-17 Thread Amir Goldstein
On Mon, Dec 17, 2018 at 12:47 PM Dmitry Vyukov wrote: > > On Sun, Dec 16, 2018 at 6:00 PM Amir Goldstein wrote: > > > > On Sat, Dec 15, 2018 at 9:34 PM syzbot > > wrote: > > > > > > syzbot has found a reproducer for the following crash on: > > > > > > HEAD commit:d14b746c6c1c Add linux-next

Re: [PATCH 6/6] arm64: Use ftrace_graph_get_ret_stack() instead of curr_ret_stack

2018-12-17 Thread James Morse
Hi Steve, On 15/12/2018 03:00, Steven Rostedt wrote: > On Thu, 13 Dec 2018 17:09:35 + > James Morse wrote: >> I gave this branch a spin, but I hit the WARN_ON() fairly easily: > > Thanks for testing! > > Can you see if this patch fixes it for you? > diff --git a/kernel/trace/fgraph.c b/ker

Re: [PATCH v5] arm64: implement ftrace with regs

2018-12-17 Thread Torsten Duwe
On Mon, Dec 17, 2018 at 09:52:04AM +0530, Amit Daniel Kachhap wrote: > There is no error message or crash but no useful output like below, > > /sys/kernel/tracing # echo wake_up_process > set_graph_function > /sys/kernel/tracing # echo function_graph > current_tracer > /sys/kernel/tracing # cat tr

Re: [PATCH v2 1/1] mm, memory_hotplug: Initialize struct pages for the full memory section

2018-12-17 Thread Michal Hocko
On Mon 17-12-18 14:29:04, David Hildenbrand wrote: > On 17.12.18 13:28, Michal Hocko wrote: > > On Mon 17-12-18 10:38:32, David Hildenbrand wrote: > > [...] > >> I am wondering if we should fix this on the memblock level instead than. > >> Something like, before handing memory over to the page allo

[PATCH] xhci: fix 'broken_suspend' placement in struct xchi_hcd

2018-12-17 Thread Nicolas Saenz Julienne
As commented in the struct's definition there shouldn't be anything underneath it's 'priv[0]' member as it would break some macros. The patch converts the broken_suspend into a bit-field and relocates it next to to the rest of bit-fields. Fixes: a7d57abcc8a5 ("xhci: workaround CSS timeout on AMD

Re: [PATCH] tools/perf: fix silent build with 'make -s'

2018-12-17 Thread Konstantin Khlebnikov
On 17.12.2018 14:47, Konstantin Khlebnikov wrote: tools/perf/Makefile conflicts with option '-j'. The rest options must be passed as is. Signed-off-by: Konstantin Khlebnikov --- tools/perf/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/Makefile b/t

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-12-17 Thread Jarkko Sakkinen
On Mon, Dec 17, 2018 at 03:28:59PM +0200, Jarkko Sakkinen wrote: > On Fri, Dec 14, 2018 at 04:06:27PM -0800, Sean Christopherson wrote: > > [ 504.149548] [ cut here ] > > [ 504.149550] kernel BUG at > > /home/sean/go/src/kernel.org/linux/mm/mmap.c:669! > > [ 504.150288]

<    3   4   5   6   7   8   9   10   11   12   >