Re: [PATCH] perf/x86/intel: Avoid unnecessary reallocations of memory allocated in cpu hotplug prepare state

2018-12-18 Thread Sebastian Andrzej Siewior
On 2018-12-18 12:02:09 [+0100], Peter Zijlstra wrote: > On Tue, Dec 18, 2018 at 06:30:33PM +0800, zhe...@windriver.com wrote: > > Besides, in preempt-rt full mode, the freeing can happen in atomic context > > and > > thus cause the following BUG. > > Hurm, I though we fixed all those long ago..

[PATCH 1/2] f2fs: clean up structure extent_node

2018-12-18 Thread Chao Yu
The union in struct extent_node wass only to indicate below fields struct rb_node rb_node; union { struct { unsigned int fofs; unsigned int len; ... ... can be parsed as fields in struct

[PATCH 2/2] f2fs: fix to dirty inode synchronously

2018-12-18 Thread Chao Yu
If user change inode's i_flags via ioctl, let's add it into global dirty list, so that checkpoint can guarantee its persistence before fsync, it can make checkpoint keeping strong consistency. Signed-off-by: Chao Yu --- fs/f2fs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH 6/6] psi: introduce psi monitor

2018-12-18 Thread Peter Zijlstra
On Tue, Dec 18, 2018 at 11:46:22AM +0100, Peter Zijlstra wrote: > On Mon, Dec 17, 2018 at 05:21:05PM -0800, Suren Baghdasaryan wrote: > > On Mon, Dec 17, 2018 at 8:22 AM Peter Zijlstra wrote: > > > > How well has this thing been fuzzed? Custom string parser, yay! > > > > Honestly, not much.

Re: [RFC/RFT 08/10] i2c: exynos5: use core helper to mark adapter suspended

2018-12-18 Thread Marek Szyprowski
Hi, On 2018-12-10 22:03, Wolfram Sang wrote: > Rejecting transfers should be handled by the core. Also, this will > ensure proper locking which was forgotten in this open coded version. > > Signed-off-by: Wolfram Sang Tested-by: Marek Szyprowski Works fine on TM2e and OdroidXU3. The only

Re: [RFC/RFT 09/10] i2c: s3c2410: use core helper to mark adapter suspended

2018-12-18 Thread Marek Szyprowski
Hi, On 2018-12-10 22:03, Wolfram Sang wrote: > Rejecting transfers should be handled by the core. Also, this will > ensure proper locking which was forgotten in this open coded version. > > Signed-off-by: Wolfram Sang Tested-by: Marek Szyprowski Works fine on Odroid U3. > --- >

Re: [PATCH v2] net/smc: fix TCP fallback socket release

2018-12-18 Thread Ursula Braun
On 12/18/2018 08:03 AM, Myungho Jung wrote: > On Mon, Dec 17, 2018 at 03:58:58PM +0100, Ursula Braun wrote: >> > > Hi Ursula, > > Thank you for your suggestion. I have a question on your comment. > >> >> On 12/17/2018 06:21 AM, Myungho Jung wrote: >>> clcsock can be released while

Re: [PATCH] perf/x86/intel: Avoid unnecessary reallocations of memory allocated in cpu hotplug prepare state

2018-12-18 Thread Thomas Gleixner
On Tue, 18 Dec 2018, Peter Zijlstra wrote: > On Tue, Dec 18, 2018 at 06:30:33PM +0800, zhe...@windriver.com wrote: > > Besides, in preempt-rt full mode, the freeing can happen in atomic context > > and > > thus cause the following BUG. > > Hurm, I though we fixed all those long ago.. Either we

Re: [PATCH] mm: do not report isolation failures for CMA pages

2018-12-18 Thread Michal Hocko
On Tue 18-12-18 11:18:35, Oscar Salvador wrote: > On Tue, Dec 18, 2018 at 10:28:02AM +0100, Michal Hocko wrote: > > From: Michal Hocko > > > > Heiko has complained that his log is swamped by warnings from > > has_unmovable_pages > > [ 20.536664] page dumped because: has_unmovable_pages > > [

Re: [PATCH v14 1/5] x86/boot: Introduce get_acpi_rsdp() to parse RSDP in cmdline from KEXEC

2018-12-18 Thread Borislav Petkov
On Tue, Dec 18, 2018 at 09:27:04AM +0800, Chao Fan wrote: > The basic conflict is the kernel avoiding KASLR-randomizing into > hot-removable memory areas. And this should be in a prominent place in your commit message to give an idea *why* you're doing this in the first place. -- Regards/Gruss,

Re: [Xen-devel] [PATCH -next] x86/xen: Fix read buffer overflow

2018-12-18 Thread Andrew Cooper
On 18/12/2018 10:42, YueHaibing wrote: > On 2018/12/18 16:31, Juergen Gross wrote: >> On 18/12/2018 09:19, YueHaibing wrote: >>> Fix smatch warning: >>> >>> arch/x86/xen/enlighten_pv.c:649 get_trap_addr() error: >>> buffer overflow 'early_idt_handler_array' 32 <= 32 >>> >>> Fixes: 42b3a4cb5609

Re: [RFC][PATCH] printk: increase devkmsg write() ratelimit

2018-12-18 Thread Peter Zijlstra
On Tue, Dec 18, 2018 at 08:17:01PM +0900, Sergey Senozhatsky wrote: > On (12/18/18 11:48), Peter Zijlstra wrote: > > > I know that there is a "kernel.printk_devkmsg" interface; do we > > > expect every systemd-enabled distro to find that out and to tweak > > > kernel.printk_devkmsg or shall we

Re: [PATCH] perf/x86/intel: Avoid unnecessary reallocations of memory allocated in cpu hotplug prepare state

2018-12-18 Thread Peter Zijlstra
On Tue, Dec 18, 2018 at 12:16:37PM +0100, Sebastian Andrzej Siewior wrote: > On 2018-12-18 12:02:09 [+0100], Peter Zijlstra wrote: > > On Tue, Dec 18, 2018 at 06:30:33PM +0800, zhe...@windriver.com wrote: > > > Besides, in preempt-rt full mode, the freeing can happen in atomic > > > context and >

Re: [Xen-devel] [PATCH v2 1/1] xen/blkback: rework connect_ring() to avoid inconsistent xenstore 'ring-page-order' set by malicious blkfront

2018-12-18 Thread Dongli Zhang
Hi Roger, On 12/18/2018 05:33 PM, Roger Pau Monné wrote: > On Tue, Dec 18, 2018 at 08:55:38AM +0800, Dongli Zhang wrote: >> The xenstore 'ring-page-order' is used globally for each blkback queue and >> therefore should be read from xenstore only once. However, it is obtained >> in

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

2018-12-18 Thread Michal Hocko
On Tue 18-12-18 14:06:11, Hou Tao wrote: [...] > In my understanding (correct me if I am wrong), there are three ways through > which > reclamation will invoked fs related code and may cause dead-lock: > > (1) write-back dirty pages. Not possible for squashfs. only from kswapd context. So not

[PATCH v4 1/6] dt-bindings: media: sun6i: Add A64 CSI compatible

2018-12-18 Thread Jagan Teki
Allwinner A64 CSI is a single channel time-multiplexed BT.656 protocol interface. Add separate compatible string for A64 since it require explicit change in sun6i_csi driver to update default CSI_SCLK rate. Reviewed-by: Rob Herring Signed-off-by: Jagan Teki ---

[PATCH v4 5/6] arm64: dts: allwinner: a64: Add pinmux setting for CSI MCLK on PE1

2018-12-18 Thread Jagan Teki
Some camera modules have the SoC feeding a master clock to the sensor instead of having a standalone crystal. This clock signal is generated from the clock control unit and output from the CSI MCLK function of pin PE1. Add a pinmux setting for it for camera sensors to reference. Signed-off-by:

[PATCH v4 4/6] arm64: dts: allwinner: a64: Add A64 CSI controller

2018-12-18 Thread Jagan Teki
Add dts node details for Allwinner A64 CSI controller. A64 CSI has similar features as like in H3, but the CSI_SCLK need to update it to 300MHz than default clock rate. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 20 +++ 1 file changed, 20

[PATCH v4 2/6] media: sun6i: Add A64 compatible support

2018-12-18 Thread Jagan Teki
Add compatible string for Allwinner A64 CSI. A64 CSI has similar features as like in H3, but the CSI_SCLK need to update it to 300MHz than default clock rate. A64 BSP is also operating same rate as default csi clock. Signed-off-by: Jagan Teki ---

[PATCH v4 0/6] media/sun6i: Allwinner A64 CSI support

2018-12-18 Thread Jagan Teki
This series support CSI on Allwinner A64. Tested 640x480, 320x240, 720p, 1080p resolutions UYVY8_2X8 format. Changes for v4: - update the compatible string order - add proper commit message - included BPI-M64 patch - skipped amarula-a64 patch Changes for v3: - update dt-bindings for A64 - set

[PATCH v4 3/6] media: sun6i: Update default CSI_SCLK for A64

2018-12-18 Thread Jagan Teki
Unfortunately A64 CSI cannot work with default CSI_SCLK rate. A64 BSP is using 300MHz clock rate as default csi clock, so sun6i_csi require explicit change to update CSI_SCLK rate to 300MHZ for A64 SoC's. So, set the clk_mod to 300MHz only for A64. Signed-off-by: Jagan Teki ---

[DO NOT MERGE] [PATCH v4 6/6] arm64: dts: allwinner: bananapi-m64: Add HDF5640 camera module

2018-12-18 Thread Jagan Teki
Bananapi M64 comes with an optional sensor based on the ov5640, add support for it with below pin information. - PE13, PE12 via i2c-gpio bitbanging - CLK_CSI_MCLK as external clock - PE1 as external clock pin muxing - DLDO3 as AVDD supply - ALDO1 as DOVDD supply - ELDO3 as DVDD supply - PE16 gpio

Re: kernel BUG at fs/inode.c:LINE!

2018-12-18 Thread Ian Kent
On Tue, 2018-12-18 at 18:42 +0800, Ian Kent wrote: > On Mon, 2018-12-17 at 07:21 +, Al Viro wrote: > > On Sun, Dec 16, 2018 at 10:11:04PM -0800, syzbot wrote: > > > Hello, > > > > > > syzbot found the following crash on: > > > > > > HEAD commit:d14b746c6c1c Add linux-next specific files

Re: [PATCH v3 2/3] staging: greybus: arche-apb-ctrl.c: Switch to the gpio descriptor interface

2018-12-18 Thread Johan Hovold
On Thu, Nov 22, 2018 at 10:38:18PM +0530, Nishad Kamdar wrote: > Use the gpiod interface instead of the deprecated old non-descriptor > interface. > > Signed-off-by: Nishad Kamdar > --- > Changes in v2: > - Resolved compilation errors. > --- > drivers/staging/greybus/arche-apb-ctrl.c | 159

[PATCH][next] staging: most: sound: replace snprintf with strscpy

2018-12-18 Thread Colin King
From: Colin Ian King Using snprintf without a format specifier is potentially risky if the string device_name contains format specifiers. Replace this with the safer and more efficient strscpy. Cleans up clang warning: drivers/staging/most/sound/sound.c:673:41: warning: format string is not a

[v3] drm/msm/dpu: Clean up dpu hw interrupts

2018-12-18 Thread Jayant Shekhar
Remove unused functions and macros from files handling dpu hardware interrupts. changes in v2: Removed clear_interrupt_status (Jordan Crouse) changes in v3: Changed commit text Signed-off-by: Jayant Shekhar --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c | 44 ---

Re: [PATCH v3 2/2] drm/panel: Add Feiyang FY07024DI26A30-D MIPI-DSI LCD panel

2018-12-18 Thread Jagan Teki
On Sat, Dec 15, 2018 at 3:32 AM Sean Paul wrote: > > On Sat, Dec 15, 2018 at 02:11:01AM +0530, Jagan Teki wrote: > > Feiyang FY07024DI26A30-D is 1024x600, 4-lane MIPI-DSI LCD panel. > > > > Add panel driver for it. > > > > Signed-off-by: Jagan Teki > > --- > > Changes for v2: > > - use simple

Re: [PATCH v10 0/8] kvm: arm64: Support PUD hugepage at stage 2

2018-12-18 Thread Christoffer Dall
On Tue, Dec 11, 2018 at 05:10:33PM +, Suzuki K Poulose wrote: > This series is an update to the PUD hugepage support previously posted > at [0]. This patchset adds support for PUD hugepages at stage 2 a > feature that is useful on cores that have support for large sized TLB > mappings (e.g.,

Re: [PATCH] perf/x86/intel: Avoid unnecessary reallocations of memory allocated in cpu hotplug prepare state

2018-12-18 Thread Peter Zijlstra
On Tue, Dec 18, 2018 at 12:31:19PM +0100, Peter Zijlstra wrote: > On Tue, Dec 18, 2018 at 12:16:37PM +0100, Sebastian Andrzej Siewior wrote: > > On 2018-12-18 12:02:09 [+0100], Peter Zijlstra wrote: > > > On Tue, Dec 18, 2018 at 06:30:33PM +0800, zhe...@windriver.com wrote: > > > > Besides, in

Re: selftests/net: udpgso: LTS kernels supportability ?

2018-12-18 Thread Rafael David Tinoco
On 12/17/18 4:42 PM, shuah wrote: > Hi Rafael, > > On 12/17/18 10:53 AM, Rafael David Tinoco wrote: >> Shuah, >> >> I was recently investigating some errors coming out of our functional >> tests and we, Dan and I, came up with a discussion that might not be new >> for you, but, interests us, in

Re: [PATCH] perf/x86/intel: Avoid unnecessary reallocations of memory allocated in cpu hotplug prepare state

2018-12-18 Thread Peter Zijlstra
On Tue, Dec 18, 2018 at 12:25:23PM +0100, Thomas Gleixner wrote: > On Tue, 18 Dec 2018, Peter Zijlstra wrote: > > On Tue, Dec 18, 2018 at 06:30:33PM +0800, zhe...@windriver.com wrote: > > > Besides, in preempt-rt full mode, the freeing can happen in atomic > > > context and > > > thus cause the

[PATCH v6 3/3] Documentation/filesystems/proc.txt: add AVX512_elapsed_ms

2018-12-18 Thread Aubrey Li
Added AVX512_elapsed_ms in /proc//status. Report it in Documentation/filesystems/proc.txt Signed-off-by: Aubrey Li Cc: Peter Zijlstra Cc: Andi Kleen Cc: Tim Chen Cc: Dave Hansen Cc: Arjan van de Ven --- Documentation/filesystems/proc.txt | 4 +++- 1 file changed, 3 insertions(+), 1

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

2018-12-18 Thread Borislav Petkov
On Tue, Dec 18, 2018 at 03:31:32PM +0800, lijiang wrote: > The printk_log is used to output human readable text, it will encapsulate > header > information for log_buf, such as timestamp, syslog level, etc. Me asking those questions is supposed to hint that the explanations need improvement. But

[PATCH V2 1/2] mmc: sdhci: Fix O2 Host PLL and card detect issue

2018-12-18 Thread Ernest Zhang(WH)
From: "Ernest Zhang" 1. O2 Host Controller PLL lock status is not in compliance with CLOCK_CONTROL register bit 1 2. O2 Host Controller card detect function only work when PLL is enabled and locked Signed-off-by: Ernest Zhang --- Change in V2: 1. Remove unused sdhci_ops function

[PATCH v6 2/3] proc: add AVX-512 usage elapsed time to /proc/pid/status

2018-12-18 Thread Aubrey Li
AVX-512 components use could cause core turbo frequency drop. So it's useful to expose AVX-512 usage elapsed time as a heuristic hint for the user space job scheduler to cluster the AVX-512 using tasks together. Example: $ cat /proc/pid/status | grep AVX512_elapsed_ms AVX512_elapsed_ms: 1020

[PATCH V2 2/2] mmc: sdhci: Moving sdhci_o2 into sdhci-pci-o2micro.c

2018-12-18 Thread Ernest Zhang(WH)
Moving sdhci_o2 into sdhci-pci-o2micro.c Signed-off-by: Ernest Zhang --- Change in V2: 1. Moving sdhci_o2 into sdhci-pci-o2micro.c Change in V1: N/A --- drivers/mmc/host/sdhci-pci-core.c| 19 --- drivers/mmc/host/sdhci-pci-o2micro.c | 19 +++

[PATCH v6 1/3] x86/fpu: track AVX-512 usage of tasks

2018-12-18 Thread Aubrey Li
User space tools which do automated task placement need information about AVX-512 usage of tasks, because AVX-512 usage could cause core turbo frequency drop and impact the running task on the sibling CPU. The XSAVE hardware structure has bits that indicate when valid state is present in

RE: [PATCH] dt-bindings: i2c: rcar: Add r8a774c0 support

2018-12-18 Thread Fabrizio Castro
Hello Wolfram, > From: Wolfram Sang > Sent: 17 December 2018 22:24 > To: Fabrizio Castro > Cc: Rob Herring ; Mark Rutland ; > Wolfram Sang engineering.com>; Geert Uytterhoeven ; Simon Horman > ; Biju Das > ; Ulrich Hecht ; > Sergei Shtylyov > ; Hiromitsu Yamasaki > ;

Re: [PATCH v2 3/3] sched/fair: fix unnecessary increase of balance interval

2018-12-18 Thread Valentin Schneider
On 18/12/2018 09:32, Vincent Guittot wrote: [...] > In this asym packing case, It has nothing to do with pinned tasks and > that's the root cause of the problem: > the active balance triggered by asym packing is wrongly assumed to be > an active balance due to pinned task(s) and the load balance

Re: [RFC][PATCH] printk: increase devkmsg write() ratelimit

2018-12-18 Thread Borislav Petkov
On Tue, Dec 18, 2018 at 08:17:01PM +0900, Sergey Senozhatsky wrote: > On (12/18/18 11:48), Peter Zijlstra wrote: > > > I know that there is a "kernel.printk_devkmsg" interface; do we > > > expect every systemd-enabled distro to find that out and to tweak > > > kernel.printk_devkmsg or shall we

Re: [PATCH] perf/x86/intel: Avoid unnecessary reallocations of memory allocated in cpu hotplug prepare state

2018-12-18 Thread Sebastian Andrzej Siewior
On 2018-12-18 12:37:00 [+0100], Peter Zijlstra wrote: > On Tue, Dec 18, 2018 at 12:31:19PM +0100, Peter Zijlstra wrote: > > On Tue, Dec 18, 2018 at 12:16:37PM +0100, Sebastian Andrzej Siewior wrote: > > > On 2018-12-18 12:02:09 [+0100], Peter Zijlstra wrote: > > > > On Tue, Dec 18, 2018 at

Re: [PATCH] cpuidle: New timer events oriented governor for tickless systems

2018-12-18 Thread Quentin Perret
Hi Rafael, I skimmed through the previous versions, but apologies if some of these things have been discussed already :-) On Tuesday 18 Dec 2018 at 12:09:05 (+0100), Rafael J. Wysocki wrote: <...> > + * - Find an idle state on the basis of the sleep length and state statistics > + * collected

Re: [PATCH v3 3/3] staging: greybus: arche-platform: Switch to the gpio descriptor interface

2018-12-18 Thread Johan Hovold
On Thu, Nov 22, 2018 at 10:39:24PM +0530, Nishad Kamdar wrote: > Use the gpiod interface instead of the deprecated > old non-descriptor interface. > > Signed-off-by: Nishad Kamdar > --- > Changes in v2: > - Move comment to the same line as to what it applies to. > --- >

[tip:x86/cache] x86/resctrl: Fix the uninitialized variable warning

2018-12-18 Thread tip-bot for MogerBabu
Commit-ID: 0858ea05ee8b424e7776237b06bdfc7d6de0e014 Gitweb: https://git.kernel.org/tip/0858ea05ee8b424e7776237b06bdfc7d6de0e014 Author: MogerBabu AuthorDate: Wed, 28 Nov 2018 20:15:02 + Committer: Thomas Gleixner CommitDate: Tue, 18 Dec 2018 12:47:07 +0100 x86/resctrl: Fix the

Re: [PATCH] drm/i915: Disable -Wuninitialized for intel_breadcrumbs.o

2018-12-18 Thread Chris Wilson
Quoting Nick Desaulniers (2018-10-25 23:20:58) > On Thu, Oct 25, 2018 at 12:36 PM Nathan Chancellor > wrote: > > > > This warning is disabled by default in scripts/Makefile.extrawarn when > > W= is not provided but this Makefile adds -Wall after this warning is > > disabled so it shows up in the

Re: kernel BUG at fs/inode.c:LINE!

2018-12-18 Thread Ian Kent
On Tue, 2018-12-18 at 13:01 +0200, Amir Goldstein wrote: > On Tue, Dec 18, 2018 at 12:43 PM Ian Kent wrote: > > > > On Mon, 2018-12-17 at 07:21 +, Al Viro wrote: > > > On Sun, Dec 16, 2018 at 10:11:04PM -0800, syzbot wrote: > > > > Hello, > > > > > > > > syzbot found the following crash on:

Re: [PATCH] r8a66597: Fix a possible concurrency use-after-free bug in r8a66597_endpoint_disable()

2018-12-18 Thread Jia-Ju Bai
On 2018/12/18 19:11, Greg KH wrote: On Tue, Dec 18, 2018 at 06:00:20PM +0800, Jia-Ju Bai wrote: The function r8a66597_endpoint_disable() and r8a66597_urb_enqueue() may be concurrently executed. The two functions both access a possible shared variable "hep->hcpriv". This shared variable is

Re: [RFC PATCH] x86_64: Add "-m elf_i386" when linking i386 object files.

2018-12-18 Thread George Rimar
Added Rui, an LLD code owner. This patch contains the approach we discussed earlier during LLD development when faced this issue first time (and as a result of the discussion, the same fix was suggested: https://bugzilla.kernel.org/show_bug.cgi?id=194091#c0), so I think it is fine. Best

Re: [PATCH v10 01/27] PM / Domains: Add generic data pointer to genpd_power_state struct

2018-12-18 Thread Ulf Hansson
On Tue, 18 Dec 2018 at 11:39, Daniel Lezcano wrote: > > On 29/11/2018 18:46, Ulf Hansson wrote: > > Let's add a data pointer to the genpd_power_state struct, to allow a genpd > > backend driver to store per state specific data. In order to introduce the > > pointer, we also need to adopt how

[PATCH v3] regmap: regmap-irq/gpio-max77620: add level-irq support

2018-12-18 Thread Matti Vaittinen
Add level active IRQ support to regmap-irq irqchip. Change breaks existing regmap-irq type setting. Convert the existing drivers which use regmap-irq with trigger type setting (gpio-max77620) to work with this new approach. So we do not magically support level-active IRQs on gpio-max77620 - but

Re: [PATCH v2 2/3] sched/fair: trigger asym_packing during idle load balance

2018-12-18 Thread Valentin Schneider
On 18/12/2018 08:17, Vincent Guittot wrote: [...] >> That change looks fine. However, you're mentioning newidle load_balance() >> not being triggered - you'd want to set root_domain->overload for any >> newidle pull to happen, probably with something like this: > > It's not needed in this case

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

2018-12-18 Thread Lorenzo Pieralisi
On Tue, Dec 18, 2018 at 02:56:05AM +, Sinan Kaya wrote: > Remove PCI dependent code out of iort.c when CONFIG_PCI is not defined. > A quick search reveals the following functions: > 1. pci_request_acs() > 2. pci_domain_nr() > 3. pci_is_root_bus() > 4. to_pci_dev() > > Both pci_domain_nr() and

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

2018-12-18 Thread Heikki Krogerus
On Mon, Dec 17, 2018 at 09:22:13PM +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 reasonable but not practical because Sink may not > support wide range of

[tip:x86/urgent] x86/fsgsbase/64: Fix the base write helper functions

2018-12-18 Thread tip-bot for Chang S. Bae
Commit-ID: 4771d4f5de52b4e7aa62334d7ba1e5bd22a5f900 Gitweb: https://git.kernel.org/tip/4771d4f5de52b4e7aa62334d7ba1e5bd22a5f900 Author: Chang S. Bae AuthorDate: Mon, 26 Nov 2018 11:55:24 -0800 Committer: Thomas Gleixner CommitDate: Tue, 18 Dec 2018 12:58:21 +0100 x86/fsgsbase/64: Fix

[PATCH v2] dt-bindings: PCI: rcar: Add device tree support for r8a774c0

2018-12-18 Thread Fabrizio Castro
Add PCIe support for the RZ/G2E (a.k.a. R8A774C0). Signed-off-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven --- v1->v2: * Dropped change to the description of "phys" optional property according to Geert's comment Documentation/devicetree/bindings/pci/rcar-pci.txt | 4 +++- 1 file

[PATCH v2] dt-bindings: serial: sh-sci: Document r8a774c0 bindings

2018-12-18 Thread Fabrizio Castro
RZ/G2E (R8A774C0) SoC also has the R-Car Gen3 compatible SCIF and HSCIF ports, so document the SoC specific bindings. Signed-off-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Reviewed-by: Simon Horman --- v1->v2: * Fixed title according to Geert's comment This patch depends on:

[PATCH v2] usb: r8a66597: Fix a possible concurrency use-after-free bug in r8a66597_endpoint_disable()

2018-12-18 Thread Jia-Ju Bai
The function r8a66597_endpoint_disable() and r8a66597_urb_enqueue() may be concurrently executed. The two functions both access a possible shared variable "hep->hcpriv". This shared variable is freed by r8a66597_endpoint_disable() via the call path: r8a66597_endpoint_disable kfree(hep->hcpriv)

[tip:timers/core] ntp: Remove duplicated include

2018-12-18 Thread tip-bot for YueHaibing
Commit-ID: 07daef8b41e0d9e7802a448f6766504e7641a234 Gitweb: https://git.kernel.org/tip/07daef8b41e0d9e7802a448f6766504e7641a234 Author: YueHaibing AuthorDate: Sun, 9 Dec 2018 14:22:25 +0800 Committer: Thomas Gleixner CommitDate: Tue, 18 Dec 2018 12:59:33 +0100 ntp: Remove duplicated

Re: [PATCH v4 4/9] drm/rockchip/rockchip_drm_gem.c: Convert to use vm_insert_range

2018-12-18 Thread Souptick Joarder
On Tue, Dec 18, 2018 at 3:27 PM Russell King - ARM Linux wrote: > > On Tue, Dec 18, 2018 at 01:53:34AM +0530, Souptick Joarder wrote: > > Convert to use vm_insert_range() to map range of kernel > > memory to user vma. > > > > Signed-off-by: Souptick Joarder > > Tested-by: Heiko Stuebner > >

[tip:x86/mm] x86/mm/dump_pagetables: Use DEFINE_SHOW_ATTRIBUTE()

2018-12-18 Thread tip-bot for Yangtao Li
Commit-ID: 6848ac7ca39a226ede5df7af0efcc4ef0611e99c Gitweb: https://git.kernel.org/tip/6848ac7ca39a226ede5df7af0efcc4ef0611e99c Author: Yangtao Li AuthorDate: Mon, 19 Nov 2018 10:43:34 -0500 Committer: Thomas Gleixner CommitDate: Tue, 18 Dec 2018 13:05:54 +0100 x86/mm/dump_pagetables:

Re: [PATCH 3/3] arm64/sve: Disentangle from

2018-12-18 Thread Dave Martin
On Sat, Dec 15, 2018 at 05:20:29PM +0800, kbuild test robot wrote: > Hi Dave, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on arm64/for-next/core] > [also build test WARNING on v4.20-rc6 next-20181214] > [if your patch is applied to the wrong git tree,

[PATCH] kconfig: convert to SPDX License Identifier

2018-12-18 Thread Masahiro Yamada
All files in lxdialog/ are licensed under GPL-2.0+, and the rest are under GPL-2.0. I added GPL-2.0 tags to python test scripts in tests/. Documentation/process/license-rules.rst does not suggest anything about the flex/bison files. Because flex does not accept the C++ comment style at the very

Re: objtool warnings for kernel/trace/trace_selftest_dynamic.o

2018-12-18 Thread Martin Jambor
Hi, On Tue, Dec 18 2018, Miroslav Benes wrote: >> Sorry for suggesting this prematurely, my email client stopped syncing >> and I missed your later replies to Peter about this. >> >> > > Should it be reverted, or just remove the noclone, and keep the >> > > noinline? >> > >> > It should not be

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

2018-12-18 Thread YueHaibing
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 driver") Signed-off-by: YueHaibing --- drivers/irqchip/irq-rda-intc.c

Re: [LKP] 5404a7f1c2 [ 90.902541] watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [swapper:1]

2018-12-18 Thread Matthew Wilcox
On Tue, Dec 18, 2018 at 08:20:28AM +0800, kernel test robot wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > commit 5404a7f1c21cfda061712bedf2d06cc0f6c755e9 I feel

[PATCH v2 0/4] serial: uartps: Driver updates

2018-12-18 Thread Michal Simek
Hi, I am sending 4 patches in series to fix some issues we found. Patches were sent separately but I have been asked to send them in serial that's why I am also adding cover letter to explain this v2 version. Thanks, Michal Changes in v2: - Change description based on request from Greg - Fix

[PATCH v2 2/4] serial: uartps: Check if the device is a console

2018-12-18 Thread Michal Simek
From: Shubhrajyoti Datta While checking for console_suspend_enabled also check if the device is a console. Signed-off-by: Shubhrajyoti Datta Signed-off-by: Michal Simek --- Changes in v2: None drivers/tty/serial/xilinx_uartps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH v2 4/4] serial: uartps: Fix interrupt mask issue to handle the RX interrupts properly

2018-12-18 Thread Michal Simek
From: Nava kishore Manne This patch Correct the RX interrupt mask value to handle the RX interrupts properly. Fixes: c8dbdc842d30 ("serial: xuartps: Rewrite the interrupt handling logic") Signed-off-by: Nava kishore Manne Signed-off-by: Michal Simek --- Changes in v2: - Fix Nava's email

[PATCH v2 1/4] serial: uartps: Add the device_init_wakeup

2018-12-18 Thread Michal Simek
From: Shubhrajyoti Datta Initialise the device wakeup. The device_init_wakeup is needed for the wakeup to work by default. Uart can be configured as the primary wakeup source so it is good to enable wakeup by default. The same functionality is enabled also by 8250_omap, atmel_serial,

[PATCH v2 3/4] serial: uartps: Fix error path when alloc failed

2018-12-18 Thread Michal Simek
When cdns_uart_console allocation failed there is a need to also clear ID from ID list. Fixes: ae1cca3fa347 ("serial: uartps: Change uart ID port allocation") Signed-off-by: Michal Simek --- Changes in v2: None drivers/tty/serial/xilinx_uartps.c | 6 -- 1 file changed, 4 insertions(+), 2

Re: [PATCH 6/6] Drop flex_arrays

2018-12-18 Thread Neil Horman
On Mon, Dec 17, 2018 at 07:50:11AM -0500, Kent Overstreet wrote: > 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

Re: [PATCH] mm: do not report isolation failures for CMA pages

2018-12-18 Thread Oscar Salvador
On Tue, Dec 18, 2018 at 12:28:22PM +0100, Michal Hocko wrote: > Well, I haven't seen any reports about hugetlb pages so I didn't bother > to mention it. Is this really important to note? I guess not. > > > "Only report isolation failures from memhotplug code" ? > > only report isolation

Re: [PATCH RFC v2 1/8] drm/bridge: dw-hdmi: Add SCDC and TMDS Scrambling support

2018-12-18 Thread Andrzej Hajda
Hi Neil, On 30.11.2018 14:42, Neil Armstrong wrote: > Add support for SCDC Setup for TMDS Clock > 3.4GHz and enable TMDS > Scrambling when supported or mandatory. > > This patch also adds an helper to setup the control bit to support > the high TMDS Bit Period/TMDS Clock-Period Ratio as required

Re: kernel BUG at fs/inode.c:LINE!

2018-12-18 Thread Dmitry Vyukov
On Tue, Dec 18, 2018 at 12:35 PM Ian Kent wrote: > > On Tue, 2018-12-18 at 18:42 +0800, Ian Kent wrote: > > On Mon, 2018-12-17 at 07:21 +, Al Viro wrote: > > > On Sun, Dec 16, 2018 at 10:11:04PM -0800, syzbot wrote: > > > > Hello, > > > > > > > > syzbot found the following crash on: > > > > >

[PATCH][next] gpiolib-acpi: remove unused variable 'err', cleans up build warning

2018-12-18 Thread Colin King
From: Colin Ian King Variable err is defined but never used. Remove it. Cleans up warning: warning: unused variable ‘err’ [-Wunused-variable] Signed-off-by: Colin Ian King --- drivers/gpio/gpiolib-acpi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/gpiolib-acpi.c

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

2018-12-18 Thread Chris Chiu
On Tue, Dec 18, 2018 at 5:45 AM Heiner Kallweit wrote: > > On 17.12.2018 14:25, Chris Chiu wrote: > > 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, >

Re: objtool warnings for kernel/trace/trace_selftest_dynamic.o

2018-12-18 Thread Steven Rostedt
On Tue, 18 Dec 2018 13:15:40 +0100 Martin Jambor wrote: > I am the developer who introduced attribute noclone to GCC and also the > one who advises against using it :-) ...at least without also using the > noinline attribute, the combination means "I want only one or zero > copies of this

Re: [PATCH v2 1/1] MAINTAINERS: update list of qcom drivers

2018-12-18 Thread Joe Perches
On Tue, 2018-12-18 at 15:29 +0530, Amit Kucheria wrote: > Several drivers didn't have a specific maintainer (other than the > subsystem maintainer). Add all drivers referring to qcom or msm to the > list of supported drivers. [] > diff --git a/MAINTAINERS b/MAINTAINERS [] > @@ -1929,20 +1929,61 @@

[v4] mmc: mediatek: Add MMC_CAP_SDIO_IRQ support

2018-12-18 Thread Jjian Zhou
From: jjian zhou This patch enables support SDIO IRQs. It enables MMC_CAP_SDIO_IRQ & MMC_CAP2_SDIO_IRQ_NOTHREAD and implement the ->ack_sdio_irq callback. Signed-off-by: Jjian Zhou Signed-off-by: Chaotian Jing Signed-off-by: Yong Mao --- drivers/mmc/host/mtk-sd.c | 53

Re: [PATCH v4 4/9] drm/rockchip/rockchip_drm_gem.c: Convert to use vm_insert_range

2018-12-18 Thread Russell King - ARM Linux
On Tue, Dec 18, 2018 at 05:36:04PM +0530, Souptick Joarder wrote: > On Tue, Dec 18, 2018 at 3:27 PM Russell King - ARM Linux > wrote: > > This looks like a change in behaviour. > > > > If user_count is zero, and offset is zero, then we pass into > > vm_insert_range() a page_count of zero, and

Re: [PATCH RESEND] KEYS: fix parsing invalid pkey info string

2018-12-18 Thread Dmitry Vyukov
On Mon, Dec 17, 2018 at 7:43 PM Linus Torvalds wrote: > > On Mon, Dec 17, 2018 at 10:13 AM Eric Biggers wrote: > > > > Hi Linus, please consider applying this patch. It's been ignored by the > > keyrings maintainer for a month and a half with multiple reminders. It > > fixes an easily

Re: [PATCH] perf/x86/intel: Avoid unnecessary reallocations of memory allocated in cpu hotplug prepare state

2018-12-18 Thread Peter Zijlstra
On Tue, Dec 18, 2018 at 12:47:08PM +0100, Sebastian Andrzej Siewior wrote: > On 2018-12-18 12:37:00 [+0100], Peter Zijlstra wrote: > > On Tue, Dec 18, 2018 at 12:31:19PM +0100, Peter Zijlstra wrote: > > > On Tue, Dec 18, 2018 at 12:16:37PM +0100, Sebastian Andrzej Siewior wrote: > > > > On

powerpc syscall_set_return_value() is confused (was Re: [PATCH v6 18/27] powerpc: define syscall_get_error())

2018-12-18 Thread Michael Ellerman
Hi Dmitry, "Dmitry V. Levin" writes: > syscall_get_error() is required to be implemented on this > architecture in addition to already implemented syscall_get_nr(), > syscall_get_arguments(), syscall_get_return_value(), and > syscall_get_arch() functions in order to extend the generic > ptrace

Re: [PATCH 09/14] mm, compaction: Ignore the fragmentation avoidance boost for isolation and compaction

2018-12-18 Thread Vlastimil Babka
On 12/15/18 12:03 AM, Mel Gorman wrote: > When pageblocks get fragmented, watermarks are artifically boosted to pages > are reclaimed to avoid further fragmentation events. However, compaction > is often either fragmentation-neutral or moving movable pages away from > unmovable/reclaimable pages.

Re: [PATCH RFC v2 2/8] drm/meson: add HDMI div40 TMDS mode

2018-12-18 Thread Andrzej Hajda
On 30.11.2018 14:42, Neil Armstrong wrote: > Add support for TMDS Clock > 3.4GHz for HDMI2.0 display modes. > > Signed-off-by: Neil Armstrong > --- > drivers/gpu/drm/meson/meson_dw_hdmi.c | 24 > 1 file changed, 20 insertions(+), 4 deletions(-) > > diff --git

Re: [PATCH RFC v2 3/8] drm/meson: add support for HDMI2.0 2160p modes

2018-12-18 Thread Andrzej Hajda
On 30.11.2018 14:42, Neil Armstrong wrote: > Now we support the TMDS Clock > 3.4GHz and support the SCDC Control > operation in the DW-HDMI Controller, we can enable support for the > HDMI2.0 3840x2160@60/50 RGB444 display modes. > > Signed-off-by: Neil Armstrong > --- >

[tip:x86/pti] x86/speculation: Add support for STIBP always-on preferred mode

2018-12-18 Thread tip-bot for LendackyThomas
Commit-ID: bbec2eb92c567938b0182a8534e7421f64fbd56d Gitweb: https://git.kernel.org/tip/bbec2eb92c567938b0182a8534e7421f64fbd56d Author: LendackyThomas AuthorDate: Thu, 13 Dec 2018 23:03:54 + Committer: Thomas Gleixner CommitDate: Tue, 18 Dec 2018 13:36:53 +0100 x86/speculation:

Re: WARNING in __rcu_read_unlock

2018-12-18 Thread Stefano Brivio
On Tue, 18 Dec 2018 09:49:17 +0100 Dmitry Vyukov wrote: > On Tue, Dec 18, 2018 at 12:18 AM Stefano Brivio wrote: > > > > On Mon, 17 Dec 2018 16:53:36 +0100 > > Dmitry Vyukov wrote: > > > > > On Mon, Dec 17, 2018 at 4:24 PM Stefano Brivio > > > wrote: > > > > > > > > On Mon, 17 Dec 2018

KMSAN: kernel-infoleak in video_usercopy

2018-12-18 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:0a602458c72c kmsan: random: another take at unpoisoning CR.. git tree: kmsan console output: https://syzkaller.appspot.com/x/log.txt?x=12f2cd5d40 kernel config: https://syzkaller.appspot.com/x/.config?x=9b071100dcf8e641

Re: kernel BUG at fs/inode.c:LINE!

2018-12-18 Thread Ian Kent
On Tue, 2018-12-18 at 13:27 +0100, Dmitry Vyukov wrote: > On Tue, Dec 18, 2018 at 12:35 PM Ian Kent wrote: > > > > On Tue, 2018-12-18 at 18:42 +0800, Ian Kent wrote: > > > On Mon, 2018-12-17 at 07:21 +, Al Viro wrote: > > > > On Sun, Dec 16, 2018 at 10:11:04PM -0800, syzbot wrote: > > > > >

[tip:x86/cpu] x86/topology: Use total_cpus for max logical packages calculation

2018-12-18 Thread tip-bot for Hui Wang
Commit-ID: aa02ef099cff042c2a9109782ec2bf1bffc955d4 Gitweb: https://git.kernel.org/tip/aa02ef099cff042c2a9109782ec2bf1bffc955d4 Author: Hui Wang AuthorDate: Wed, 7 Nov 2018 10:36:43 +0800 Committer: Thomas Gleixner CommitDate: Tue, 18 Dec 2018 13:38:37 +0100 x86/topology: Use

Re: [PATCH][next] gpiolib-acpi: remove unused variable 'err', cleans up build warning

2018-12-18 Thread Mika Westerberg
On Tue, Dec 18, 2018 at 12:28:02PM +, Colin King wrote: > From: Colin Ian King > > Variable err is defined but never used. Remove it. Cleans up warning: > > warning: unused variable ‘err’ [-Wunused-variable] > > Signed-off-by: Colin Ian King Acked-by: Mika Westerberg

Re: WIP Droid 4 voice calls, GNSS & PM with a TS 27.010 serdev driver

2018-12-18 Thread Pavel Machek
Hi! > So the little elves have been slowly working to get voice calls > working on droid 4 with the mainline kernel. And just in time for the > upcoming holidays, it might be possible to call friends and relatives. > > I've pushed out an experimental branch containing serdev ts 27.010 > UART

Re: [PATCH] Export mm_update_next_owner function for unuse_mm.

2018-12-18 Thread Matthew Wilcox
On Tue, Dec 18, 2018 at 11:42:11AM +0800, gchen.guo...@gmail.com wrote: > +EXPORT_SYMBOL(mm_update_next_owner); Unless you've figured out how to build mmu_context.c as a module, you don't need to EXPORT the symbol. Just the below hunk is enough. > diff --git a/mm/mmu_context.c

Re: [PATCH] perf/x86/intel: Avoid unnecessary reallocations of memory allocated in cpu hotplug prepare state

2018-12-18 Thread He Zhe
On 2018/12/18 19:47, Sebastian Andrzej Siewior wrote: > On 2018-12-18 12:37:00 [+0100], Peter Zijlstra wrote: >> On Tue, Dec 18, 2018 at 12:31:19PM +0100, Peter Zijlstra wrote: >>> On Tue, Dec 18, 2018 at 12:16:37PM +0100, Sebastian Andrzej Siewior wrote: On 2018-12-18 12:02:09 [+0100],

Re: [PATCH v2 2/2] gpio: Add Cadence GPIO driver

2018-12-18 Thread Bartosz Golaszewski
pon., 17 gru 2018 o 23:22 Linus Walleij napisał(a): > > On Mon, Dec 17, 2018 at 4:51 PM Bartosz Golaszewski > wrote: > > > The driver looks good but is there any particular reason not to use > > regmap for register IO? > > I thought we only use regmap for MMIO when the register range is > shared

Re: [PATCH v4 4/9] drm/rockchip/rockchip_drm_gem.c: Convert to use vm_insert_range

2018-12-18 Thread Souptick Joarder
On Tue, Dec 18, 2018 at 6:03 PM Russell King - ARM Linux wrote: > > On Tue, Dec 18, 2018 at 05:36:04PM +0530, Souptick Joarder wrote: > > On Tue, Dec 18, 2018 at 3:27 PM Russell King - ARM Linux > > wrote: > > > This looks like a change in behaviour. > > > > > > If user_count is zero, and offset

Re: [PATCH v4 2/9] arch/arm/mm/dma-mapping.c: Convert to use vm_insert_range

2018-12-18 Thread Souptick Joarder
On Tue, Dec 18, 2018 at 3:08 PM Russell King - ARM Linux wrote: > > On Tue, Dec 18, 2018 at 01:52:09AM +0530, Souptick Joarder wrote: > > Convert to use vm_insert_range() to map range of kernel > > memory to user vma. > > > > Signed-off-by: Souptick Joarder > > --- > > arch/arm/mm/dma-mapping.c

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

2018-12-18 Thread Marc Zyngier
On 18/12/2018 12:15, YueHaibing 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 driver") >

Re: [PATCH] irqchip/irq-imx-gpcv2: add IRQCHIP_DECLARE for i.MX8MQ compatible

2018-12-18 Thread Marc Zyngier
On 17/12/2018 15:51, Lucas Stach wrote: > Hi Marc, > > Am Freitag, den 14.12.2018, 13:15 +0100 schrieb Lucas Stach: >> The GPC node on i.MX8MQ can not claim to be compatible with the i.MX7D >> GPC, as the power gating part has some significant differences. Thus we >> can not rely on the irqchip

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