[PATCH 4.4 14/87] x86/vsdo: Fix build on PARAVIRT_CLOCK=y, KVM_GUEST=n

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 8705d603edd49f1cff165cd3b7998f4c7f098d27 upstream. arch/x86/built-in.o: In function `arch_setup_additional_pages': (.text+0x587): undefined reference

[PATCH 4.4 20/87] ALSA: pcm: Allow aborting mutex lock at OSS read/write loops

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 900498a34a3ac9c611e9b425094c8106bdd7dc1c upstream. PCM OSS read/write loops keep taking the mutex lock for the whole read/write, and this might take very

[PATCH 4.4 19/87] ALSA: pcm: Abort properly at pending signal in OSS read/write loops

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 29159a4ed7044c52e3e2cf1a9fb55cec4745c60b upstream. The loops for read and write in PCM OSS emulation have no proper check of pending signals, and they keep

[PATCH 4.4 23/87] ALSA: aloop: Fix racy hw constraints adjustment

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 898dfe4687f460ba337a01c11549f87269a13fa2 upstream. The aloop driver tries to update the hw constraints of the connected target on the cable of the opened PCM

[PATCH 4.4 22/87] ALSA: aloop: Fix inconsistent format due to incomplete rule

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit b088b53e20c7d09b5ab84c5688e609f478e5c417 upstream. The extra hw constraint rule for the formats the aloop driver introduced has a slight flaw, where it

[PATCH 4.4 18/87] ALSA: pcm: Add missing error checks in OSS emulation plugin builder

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 6708913750344a900f2e73bfe4a4d6dbbce4fe8d upstream. In the OSS emulation plugin builder where the frame size is parsed in the plugin chain, some places miss

[PATCH 3.18 35/46] iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref

2018-01-15 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit ae072726f6109bb1c94841d6fb3a82dde298ea85 upstream. Since commit 59b6986dbf fixed a potential NULL pointer dereference by allocating a

[PATCH 3.18 40/46] usb: misc: usb3503: make sure reset is low for at least 100us

2018-01-15 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Agner commit b8626f1dc29d3eee444bfaa92146ec7b291ef41c upstream. When using a GPIO which is high by default, and initialize the driver in USB Hub mode, initialization

[PATCH 3.18 37/46] [PATCH] Revert "can: kvaser_usb: free buf in error paths"

2018-01-15 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman This reverts commit 70d9dccf50152b0d7bfb2697d8c51e9fab9f782c which was commit 435019b48033138581a6171093b181fc6b4d3d30 upstream. Jimmy Assarsson

[PATCH 3.18 41/46] USB: fix usbmon BUG trigger

2018-01-15 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Pete Zaitcev commit 46eb14a6e1585d99c1b9f58d0e7389082a5f466b upstream. Automated tests triggered this by opening usbmon and accessing the mmap while simultaneously

[PATCH 3.18 31/46] sh_eth: fix SH7757 GEther initialization

2018-01-15 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Sergei Shtylyov [ Upstream commit 5133550296d43236439494aa955bfb765a89f615 ] Renesas SH7757 has 2 Fast and 2 Gigabit Ether controllers, while the

[PATCH 3.18 03/46] fscache: Fix the default for fscache_maybe_release_page()

2018-01-15 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: David Howells commit 98801506552593c9b8ac11021b0cdad12cab4f6b upstream. Fix the default for fscache_maybe_release_page() for when the cookie isn't valid or the page isn't

Introducing GLU Businessware

2018-01-15 Thread Epost
The GLU Licence states that all software released under this licence, will have available source, and is intended for use in a system, where fair pay transactions in deliar are done for the maintenance of the software. Which will be The GLU Operating System. We hope deliar will grow to be a

[PATCH 3.18 13/46] MIPS: Fix an FCSR access API regression with NT_PRFPREG and MSA

2018-01-15 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Maciej W. Rozycki commit be07a6a1188372b6d19a3307ec33211fc9c9439d upstream. Fix a commit 72b22bbad1e7 ("MIPS: Don't assume 64-bit FP registers for FP regset") public API

RE: [tip:x86/pti] x86/retpoline: Fill RSB on context switch for affected CPUs

2018-01-15 Thread David Laight
From: David Woodhouse > Sent: 14 January 2018 17:04 > x86/retpoline: Fill RSB on context switch for affected CPUs > > On context switch from a shallow call stack to a deeper one, as the CPU > does 'ret' up the deeper side it may encounter RSB entries (predictions for > where the 'ret' goes to)

[PATCH] ARM: dts: imx6q-bx50v3: disable SD card (usdhc2)

2018-01-15 Thread Sebastian Reichel
From: Ian Ray Disable the SD card interface from devicetree. Signed-off-by: Ian Ray Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/imx6q-bx50v3.dtsi | 4 1 file changed, 4 insertions(+) diff --git

Re: HP ProLiant DL360p Gen8 hangs with Linux 4.13+.

2018-01-15 Thread Hellwig, Christoph
Laurence, I'm a little confused. Is this the same issue we just fixed, or is this an issue showing up with the fix? E.g. what kernel versions or trees are affected?

[PATCH] [linux-next][trivial] treewide: Fix typos in printk

2018-01-15 Thread Masanari Iida
This patch fixes spelling typos found in printk. Signed-off-by: Masanari Iida --- drivers/fmc/fmc-core.c| 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 2 +- drivers/gpu/drm/i915/intel_cdclk.c| 4 ++--

Re: [PATCH] s390: fix setgid16/setuid16 handling of -1

2018-01-15 Thread Heiko Carstens
On Mon, Jan 15, 2018 at 12:52:42PM +0100, Eugene Syromiatnikov wrote: > For some reason, the implementation of these two 16-bit ID system calls > used cast instead of low2highgid/low2highuid macros for converting [GU]IDs, > which leads to incorrect handling of value of -1 (which ought to be >

Re: [x86-tip] RSDP changes converted i4790 box SMP -> UP

2018-01-15 Thread Juergen Gross
On 15/01/18 15:56, Borislav Petkov wrote: > On Mon, Jan 15, 2018 at 03:52:25PM +0100, Juergen Gross wrote: >> Ingo, with my finding that above boot failure is related to a bug in >> openSUSE's grub2 (I've verified it soesn't exist in upstream grub2), > > The box I'm seeing this on has SLES12-SP2

Re: [PATCH v2] arm64: allwinner: a64: orangepi-zero-plus2: add usb otg

2018-01-15 Thread Maxime Ripard
On Mon, Jan 15, 2018 at 04:05:07PM +0800, Icenowy Zheng wrote: > 在 2018年1月15日星期一 CST 下午4:01:39,Maxime Ripard 写道: > > Hi, > > > > On Fri, Jan 12, 2018 at 02:39:04PM +0530, Jagan Teki wrote: > > > Add usb otg support for orangepi-zero-plus2 board: > > > - Add usb_otg node with dr_mode as 'otg' > >

Re: 4.16 genirq change prevents HP servers from booting [was: Re: linux-next: Signed-off-by missing for commit in the device-mapper tree]

2018-01-15 Thread Ming Lei
On Mon, Jan 15, 2018 at 10:25:01AM -0500, Mike Snitzer wrote: > On Mon, Jan 15 2018 at 8:27am -0500, > Stephen Rothwell wrote: > > > Hi all, > > > > Commit > > > > 34e1467da673 ("Revert "genirq/affinity: assign vectors to all possible > > CPUs"") > > > > is missing

RE: [PATCH V4 5/8] perf/x86/intel/uncore: add infrastructure for free running counter

2018-01-15 Thread Liang, Kan
> On Thu, 2 Nov 2017, kan.li...@intel.com wrote: > > > From: Kan Liang > > > > The free running counter is read-only and always active. Current generic > > uncore code does not support this kind of counters. > > > > The free running counter is read-only. It cannot be

[PATCH] x86: jailhouse: add PCI dependency

2018-01-15 Thread Arnd Bergmann
Building jailhouse support without PCI results in a link error: arch/x86/kernel/jailhouse.o: In function `jailhouse_init_platform': jailhouse.c:(.init.text+0x235): undefined reference to `pci_probe' arch/x86/kernel/jailhouse.o: In function `jailhouse_pci_arch_init':

Re: [PATCH] crypto: aes-generic - fix aes-generic regression on powerpc

2018-01-15 Thread Arnd Bergmann
On Mon, Jan 15, 2018 at 4:55 PM, Arnd Bergmann wrote: > --- a/crypto/Makefile > +++ b/crypto/Makefile > @@ -99,7 +99,7 @@ obj-$(CONFIG_CRYPTO_TWOFISH_COMMON) += twofish_common.o > obj-$(CONFIG_CRYPTO_SERPENT) += serpent_generic.o > CFLAGS_serpent_generic.o := $(call

[PATCH 0/2] genirq/affinity: try to make sure online CPU is assgined to irq vector

2018-01-15 Thread Ming Lei
Hi, These two patches fixes IO hang issue reported by Laurence. 84676c1f21 ("genirq/affinity: assign vectors to all possible CPUs") may cause one irq vector assigned to all offline CPUs, then this vector can't handle irq any more. The 1st patch moves irq vectors spread into one function, and

[PATCH] watchdog: rave-sp: add NVMEM dependency

2018-01-15 Thread Arnd Bergmann
We can build this driver with or without NVMEM, but not built-in when NVMEM is a loadable module: drivers/watchdog/rave-sp-wdt.o: In function `rave_sp_wdt_probe': rave-sp-wdt.c:(.text+0x27c): undefined reference to `nvmem_cell_get' rave-sp-wdt.c:(.text+0x290): undefined reference to

[RFC PATCH 1/2] pinctrl: add consumer variant for gpio request

2018-01-15 Thread Ludovic Desroches
Add a consumer variant to GPIO request relative functions. The goal is to fix the bad ownership, which is arbitrary set to "range->name:gpio", of a GPIO. There is a lack of configuration features for GPIO. For instance, we can't set the bias. Some pin controllers manage both device's pins and

[RESEND RFC PATCH 0/2] fixing the gpio ownership

2018-01-15 Thread Ludovic Desroches
RESEND: fix typo in email address. Hi, A few weeks ago, I have sent an RFC about adding bias support for GPIOs [1]. It was motivated by the fact that I wanted to enable the pinmuxing strict mode for my pin controller which can muxed a pin as a peripheral or as a GPIO. Enabling the strict mode

Re: [PATCH] ima: define new policy condition based on the filesystem name

2018-01-15 Thread Mimi Zohar
On Mon, 2018-01-15 at 08:27 -0800, Christoph Hellwig wrote: > On Mon, Jan 15, 2018 at 11:20:36AM -0500, Mimi Zohar wrote: > > Some filesystems do not export the filesystem's magic number, as it is > > considered internal, private data. In other cases, the policy rule > > needs to identify a

Re: [x86-tip] RSDP changes converted i4790 box SMP -> UP

2018-01-15 Thread Gabriel C
On 15.01.2018 17:42, Juergen Gross wrote: On 15/01/18 17:29, Gabriel C wrote: On 15.01.2018 16:40, Juergen Gross wrote: On 15/01/18 16:32, Ingo Molnar wrote: Hi Juergen, * Juergen Gross wrote: On 15/01/18 15:56, Borislav Petkov wrote: On Mon, Jan 15, 2018 at

Re: [PATCH 4.14 053/118] Revert "Revert "xfrm: Fix stack-out-of-bounds read in xfrm_state_find.""

2018-01-15 Thread David Miller
From: Steffen Klassert Date: Mon, 15 Jan 2018 14:23:29 +0100 > On Mon, Jan 15, 2018 at 01:34:40PM +0100, Greg Kroah-Hartman wrote: >> 4.14-stable review patch. If anyone has any objections, please let me know. >> >> -- >> >> From: "David S.

Re: [1/3] mfd/omap-usb-tll: Delete two error messages for a failed memory allocation in usbtll_omap_probe()

2018-01-15 Thread SF Markus Elfring
>>> Now, if probe function calls devm_kzalloc two times and one of them fails, >>> you cannot easily say which one without looking at assembly listing. >> >> Will this situation change with any other implementation for such backtraces? > > How much that situation changes depends mainly on that

[PATCH 18/40] drm/bridge: analogix_dp: Set PD_INC_BG first when powering up edp phy

2018-01-15 Thread Thierry Escande
From: zain wang Following the correct power up sequence: dp_pd=ff => dp_pd=7f => wait 10us => dp_pd=00 Cc: Stéphane Marchesin Signed-off-by: zain wang Signed-off-by: Sean Paul Signed-off-by: Thierry

[PATCH 13/40] drm/bridge: analogix_dp: Move enable video into config_video()

2018-01-15 Thread Thierry Escande
From: Lin Huang We need to enable video before analogix_dp_is_video_stream_on(), so we can get the right video stream status. Cc: 征增 王 Cc: Stéphane Marchesin Signed-off-by: Lin Huang Signed-off-by: Sean Paul

[PATCH 19/40] drm/bridge: analogix_dp: Ensure edp is disabled when shutting down the panel

2018-01-15 Thread Thierry Escande
From: Lin Huang When panel is shut down, we should make sure edp can be disabled to avoid undefined behavior. Cc: Stéphane Marchesin Signed-off-by: Lin Huang Signed-off-by: zain wang Signed-off-by: Sean Paul

[PATCH 17/40] drm/bridge: analogix_dp: Wait for HPD signal before configuring link

2018-01-15 Thread Thierry Escande
From: zain wang According to DP spec v1.3 chap 3.5.1.2 Link Training, Link Policy Maker must first detect that the HPD signal is asserted high by the Downstream Device before establishing a link with it. Cc: Stéphane Marchesin Signed-off-by: zain wang

[PATCH 20/40] drm/bridge: analogix_dp: Extend hpd check time to 100ms

2018-01-15 Thread Thierry Escande
From: Lin Huang There was a 1ms delay to detect the hpd signal, which is too short to detect a short pulse. This patch extends this delay to 100ms. Cc: Stéphane Marchesin Cc: 征增 王 Signed-off-by: Lin Huang

[PATCH 4.4 40/87] smsc75xx: use skb_cow_head() to deal with cloned skbs

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit b7c6d2675899cfff0180412c63fc9cbd5bacdb4d upstream. We need to ensure there is enough headroom to push extra header, but we also need to check if we are

Re: [PATCH v2] perf trace: Fix missing handling of --call-graph dwarf

2018-01-15 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 15, 2018 at 10:57:52AM -0300, Arnaldo Carvalho de Melo escreveu: > > [root@f27 perf]# ./perf trace --no-syscalls --max-stack 4 > > -e probe_libc:inet_pton/call-graph=dwarf/ ping -6 -c 1 ::1 > > PING ::1(::1) 56 data bytes > > 64 bytes from ::1: icmp_seq=1 ttl=64 time=0.020 ms >

[PATCH 4.4 33/87] [media] usbvision fix overflow of interfaces array

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit 588afcc1c0e45358159090d95bf7b246fb67565f upstream. This fixes the crash reported in: http://seclists.org/bugtraq/2015/Oct/35 The interface number needs a

[PATCH 4.4 16/87] iommu/arm-smmu-v3: Dont free page table ops twice

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jean-Philippe Brucker commit 57d72e159b60456c8bb281736c02ddd3164037aa upstream. Kasan reports a double free when finalise_stage_fn fails: the io_pgtable ops are

[PATCH 4.4 32/87] locking/mutex: Allow next waiter lockless wakeup

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Davidlohr Bueso commit 1329ce6fbbe4536592dfcfc8d64d61bfeb598fe6 upstream. Make use of wake-queues and enable the wakeup to occur after releasing the wait_lock. This is

Re: INFO: task hung in filemap_fault

2018-01-15 Thread Dmitry Vyukov
On Mon, Jan 15, 2018 at 3:25 PM, Tetsuo Handa wrote: > Dmitry Vyukov wrote: >> >> I am not completely following. You previously mentioned raw.log, which >> >> is a collection of multiple programs, but now you seem to be talking >> >> about a single reproducer.

Re: x86: Meltdown/Spectre_v2 status

2018-01-15 Thread Josh Poimboeuf
On Sat, Jan 13, 2018 at 11:55:17AM +, Woodhouse, David wrote: > FWIW we've done a backport of the sysfs/vulnerability and retpoline > parts to 4.9, including cherry-picking a few earlier needed commits: > http://git.infradead.org/retpoline-stable.git/shortlog/refs/heads/linux-4.9.y > > Josh,

[PATCH] ARM: dts: imx53: use PMIC's TSI pins in adc mode

2018-01-15 Thread Sebastian Reichel
PPD uses the PMIC's TSI pins in general purpose ADC mode. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/imx53-ppd.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/imx53-ppd.dts b/arch/arm/boot/dts/imx53-ppd.dts

[PATCH 3.18 20/46] ALSA: pcm: Add missing error checks in OSS emulation plugin builder

2018-01-15 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 6708913750344a900f2e73bfe4a4d6dbbce4fe8d upstream. In the OSS emulation plugin builder where the frame size is parsed in the plugin chain, some places miss

[PATCH 3.18 21/46] ALSA: pcm: Abort properly at pending signal in OSS read/write loops

2018-01-15 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 29159a4ed7044c52e3e2cf1a9fb55cec4745c60b upstream. The loops for read and write in PCM OSS emulation have no proper check of pending signals, and they keep

Re: [PATCH v7 0/8] Add MCAN Support for Dra76 platform

2018-01-15 Thread Marc Kleine-Budde
On 01/10/2018 11:55 AM, Faiz Abbas wrote: > This patch series adds support for M_CAN on the TI Dra76 > platform. Device tree patches will be sent separately. > A bunch of patches were sent before by > Franklin Cooper . I have clubbed the > series together and rebased to the latest

Re: [PATCH v2] perf trace: Fix missing handling of --call-graph dwarf

2018-01-15 Thread Hendrik Brueckner
On Mon, Jan 15, 2018 at 10:57:52AM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Jan 15, 2018 at 01:31:00PM +0100, Thomas-Mich Richter escreveu: > > On 01/12/2018 09:02 PM, Arnaldo Carvalho de Melo wrote: > > > Em Fri, Jan 12, 2018 at 01:47:06PM -0300, Arnaldo Carvalho de Melo > > > escreveu:

Re: [PATCH v5 0/2] printk: Console owner and waiter logic cleanup

2018-01-15 Thread Petr Mladek
On Mon 2018-01-15 07:06:37, Steven Rostedt wrote: > On Sat, 13 Jan 2018 16:28:34 +0900 > Sergey Senozhatsky wrote: > > On (01/12/18 07:21), Steven Rostedt wrote: > > > > > An OOM does not do everything in one printk, it calls hundreds. > > > Having hundreds of

Re: [PATCH 3/5] x86/ibrs: Add direct access support for MSR_IA32_SPEC_CTRL

2018-01-15 Thread Peter Zijlstra
On Mon, Jan 15, 2018 at 02:59:22PM +0100, David Woodhouse wrote: > #define IF_FEATURE(ftr) if (static_cpu_has(ftr)) arch_static_assert,  > >    IF_FEATURE(key) { >        stuff(); >    } > > There might not be a sane way to do that though. And it's OK to have to > manually annotate the call

Re: [PATCH] PM / runtime: Check ignore_children in pm_runtime_need_not_resume()

2018-01-15 Thread Ulf Hansson
On 15 January 2018 at 01:46, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Modify pm_runtime_need_not_resume() to make it avoid taking > power.child_count for devices with power.ignore_children which > is consistent with the runtime PM

Re: [PATCH v2 04/12] drm/bridge/synopsys: dw-hdmi: Export some PHY related functions

2018-01-15 Thread Neil Armstrong
On 12/01/2018 21:42, Jernej Škrabec wrote: > Hi all, > > Dne sreda, 10. januar 2018 ob 20:25:04 CET je Jernej Skrabec napisal(a): >> Parts of PHY code could be useful also for custom PHYs. For example, >> Allwinner A83T has custom PHY which is probably Synopsys gen2 PHY >> with few additional

[PATCH 0/3] mfd/sm501: Adjustments for five function implementations

2018-01-15 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Jan 2018 16:11:22 +0100 Two update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete an error message for a failed memory allocation in two functions Improve a size determination

Re: [PATCH 1/3] mfd/omap-usb-tll: Delete two error messages for a failed memory allocation in usbtll_omap_probe()

2018-01-15 Thread Roger Quadros
Hi Ladislav, On 15/01/18 15:41, Ladislav Michl wrote: > Marcus, > > On Mon, Jan 15, 2018 at 02:15:11PM +0100, SF Markus Elfring wrote: >> Omit extra messages for a memory allocation failure in this function. >> >> This issue was detected by using the Coccinelle software. >> >> Signed-off-by:

[PATCH 1/2] genirq/affinity: move irq vectors spread into one function

2018-01-15 Thread Ming Lei
This patch is preparing for doing two steps spread: - spread vectors across non-online CPUs - spread vectors across online CPUs This way is applied for trying best to avoid allocating all offline CPUs to one single vector. No functional change, and code gets cleaned up too. Cc:

[PATCH 2/2] genirq/affinity: try best to make sure online CPU is assigned to vector

2018-01-15 Thread Ming Lei
84676c1f21 ("genirq/affinity: assign vectors to all possible CPUs") causes irq vector assigned to all offline CPUs, and IO hang is reported on HPSA by Laurence. This patch fixes this issue by trying best to make sure online CPU can be assigned to irq vector. And take two steps to spread irq

Re: LKML admins (syzbot emails are not delivered)

2018-01-15 Thread Eric W. Biederman
Dmitry Vyukov writes: 2> On Mon, Jan 15, 2018 at 1:54 PM, Pavel Machek wrote: >> Hi! >> >>> > *Snort* >>> > >>> > If the information to solve an issue is not in the Oops syzbot is >>> > useless. >>> >>> Hi Eric >>> >>> That's true. But maintainers of the

Re: [PATCH 0/2] PM / core: genpd fix and pm_runtime_force_suspend|resume() rework

2018-01-15 Thread Rafael J. Wysocki
On Mon, Jan 15, 2018 at 3:26 PM, Ulf Hansson wrote: > On 15 January 2018 at 14:22, Geert Uytterhoeven wrote: [cut] >> >> I did miss a small difference in topology: in pm/linux-next, H3 has DMA >> enabled for SCIF2, while M3 hasn't (yet). >> With

Re: [x86-tip] RSDP changes converted i4790 box SMP -> UP

2018-01-15 Thread Gabriel C
On 15.01.2018 16:40, Juergen Gross wrote: On 15/01/18 16:32, Ingo Molnar wrote: Hi Juergen, * Juergen Gross wrote: On 15/01/18 15:56, Borislav Petkov wrote: On Mon, Jan 15, 2018 at 03:52:25PM +0100, Juergen Gross wrote: Ingo, with my finding that above boot failure is

Re: [1/3] mfd/omap-usb-tll: Delete two error messages for a failed memory allocation in usbtll_omap_probe()

2018-01-15 Thread Ladislav Michl
On Mon, Jan 15, 2018 at 05:21:47PM +0100, SF Markus Elfring wrote: > @@ -258,7 +256,6 @@ static int usbtll_omap_probe(struct platform_device > *pdev) > GFP_KERNEL); > if (!tll->ch_clk) { > ret =

Re: [x86-tip] RSDP changes converted i4790 box SMP -> UP

2018-01-15 Thread Juergen Gross
On 15/01/18 17:29, Gabriel C wrote: > On 15.01.2018 16:40, Juergen Gross wrote: >> On 15/01/18 16:32, Ingo Molnar wrote: >>> > > Hi Juergen, > >>> * Juergen Gross wrote: >>> On 15/01/18 15:56, Borislav Petkov wrote: > On Mon, Jan 15, 2018 at 03:52:25PM +0100, Juergen

Re: [PATCH v2] PCI/ACPI: Disable AER when _OSC control bit is clear.

2018-01-15 Thread Rafael J. Wysocki
On Mon, Jan 15, 2018 at 5:20 PM, Yazen Ghannam wrote: > From: Yazen Ghannam > > Currently, aer_service_init() checks if AER is available and that > Firmware First handling is not enabled. The _OSC request for AER is not > taken into account when

Re: [PATCH 07/11] signal/arm64: Document conflicts with SI_USER and SIGFPE, SIGTRAP, SIGBUS

2018-01-15 Thread Eric W. Biederman
Dave Martin writes: > On Thu, Jan 11, 2018 at 06:59:36PM -0600, Eric W. Biederman wrote: >> Setting si_code to 0 results in a userspace seeing an si_code of 0. >> This is the same si_code as SI_USER. Posix and common sense requires >> that SI_USER not be a signal specific

[PATCH 26/40] drm/bridge: analogix_dp: Don't use ANALOGIX_DP_PLL_CTL to control pll

2018-01-15 Thread Thierry Escande
From: zain wang There is no register named ANALOGIX_DP_PLL_CTL in Rockchip edp phy reg list. We should use BIT_4 in ANALOGIX_DP_PD to control the pll power instead of ANALOGIX_DP_PLL_CTL. Cc: Douglas Anderson Signed-off-by: zain wang

[PATCH 12/40] drm/rockchip: Only wait for panel ACK on PSR entry

2018-01-15 Thread Thierry Escande
From: zain wang We currently wait for the panel to mirror our intended PSR state before continuing on both PSR enter and PSR exit. This is really only important to do when we're entering PSR, since we want to be sure the last frame we pushed is being served from the panel's

[PATCH 24/40] drm/bridge: analogix_dp: Reset aux channel if an error occurred

2018-01-15 Thread Thierry Escande
From: Lin Huang AUX errors are caused by many different reasons. We may not know what happened in aux channel on failure, so let's reset aux channel if some errors occurred. Cc: 征增 王 Cc: Douglas Anderson Signed-off-by: Lin Huang

[PATCH 27/40] drm/bridge: analogix_dp: Fix timeout of video streamclk config

2018-01-15 Thread Thierry Escande
From: zain wang The STRM_VALID bit in register ANALOGIX_DP_SYS_CTL_3 may be unstable, so we may hit the error log "Timeout of video streamclk ok" since checked this unstable bit. In fact, we can go continue and the streamclk is ok if we wait enough time, it does no effect on

[RFC 1/6] x86/kvm: rename HV_X64_MSR_APIC_ASSIST_PAGE to HV_X64_MSR_VP_ASSIST_PAGE

2018-01-15 Thread Vitaly Kuznetsov
From: Ladi Prosek The assist page has been used only for the paravirtual EOI so far, hence the "APIC" in the MSR name. Renaming to match the Hyper-V TLFS where it's called "Virtual VP Assist MSR". Signed-off-by: Ladi Prosek Signed-off-by: Vitaly

[RFC 0/6] Enlightened VMCS support for KVM on Hyper-V

2018-01-15 Thread Vitaly Kuznetsov
Early RFC. I'll refer to this patchset in my DevConf/FOSDEM presentations. When running nested KVM on Hyper-V it's possible to use so called 'Enlightened VMCS' and do normal memory reads/writes instead of doing VMWRITE/VMREAD instructions. Tests show that this speeds up tight CPUID loop almost 3

Re: [PATCH v2 0/8] Remoteproc cleanups

2018-01-15 Thread Bjorn Andersson
On Mon 15 Jan 02:35 PST 2018, Loic PALLARDY wrote: > > > > -Original Message- > > From: Bjorn Andersson [mailto:bjorn.anders...@linaro.org] > > Sent: Saturday, January 06, 2018 12:58 AM > > To: Ohad Ben-Cohen ; Bjorn Andersson > > > > Cc:

Re: Improve retpoline for Skylake

2018-01-15 Thread Andrew Cooper
On 15/01/18 16:57, Andy Lutomirski wrote: > >> On Jan 15, 2018, at 12:26 AM, Jon Masters wrote: >> >>> On 01/12/2018 05:03 PM, Henrique de Moraes Holschuh wrote: >>> On Fri, 12 Jan 2018, Andi Kleen wrote: > Skylake still loses if it takes an SMI, right? SMMs are

[PATCH 4.4 44/87] sysrq: Fix warning in sysrq generated crash.

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ani Sinha commit 984cf355aeaa8f2eda3861b50d0e8d3e3f77e83b upstream. Commit 984d74a72076a1 ("sysrq: rcu-ify __handle_sysrq") replaced spin_lock_irqsave() calls with

[PATCH 4.4 43/87] hwrng: core - sleep interruptible in read

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby commit 1ab87298cb59b649d8d648d25dc15b36ab865f5a upstream. hwrng kthread can be waiting via hwrng_fillfn for some data from a rng like virtio-rng: hwrng D

[PATCH 4.4 36/87] r8152: use test_and_clear_bit

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: hayeswang commit 216a8349d3a0dd1bc2afbcc821e374c8f929bd62 upstream. Replace test_bit() followed by clear_bit() with test_and_clear_bit(). Signed-off-by: Hayes Wang

[PATCH 4.4 42/87] x86/mm/pat, /dev/mem: Remove superfluous error message

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Kosina commit 39380b80d72723282f0ea1d1bbf2294eae45013e upstream. Currently it's possible for broken (or malicious) userspace to flood a kernel log indefinitely with

[PATCH 4.4 39/87] sr9700: use skb_cow_head() to deal with cloned skbs

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit d532c1082f68176363ed766d09bf187616e282fe upstream. We need to ensure there is enough headroom to push extra header, but we also need to check if we are

[PATCH 4.4 41/87] cx82310_eth: use skb_cow_head() to deal with cloned skbs

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit a9e840a2081ed28c2b7caa6a9a0041c950b3c37d upstream. We need to ensure there is enough headroom to push extra header, but we also need to check if we are

[PATCH 3.18 27/46] 8021q: fix a memory leak for VLAN 0 device

2018-01-15 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang [ Upstream commit 78bbb15f2239bc8e663aa20bbe1987c91a0b75f6 ] A vlan device with vid 0 is allow to creat by not able to be fully cleaned up by

[PATCH 3.18 36/46] target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK

2018-01-15 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 1c21a48055a67ceb693e9c2587824a8de60a217c upstream. This patch fixes bug where early se_cmd exceptions that occur before backend execution can

Re: INFO: task hung in filemap_fault

2018-01-15 Thread Tetsuo Handa
Dmitry Vyukov wrote: > >> I am not completely following. You previously mentioned raw.log, which > >> is a collection of multiple programs, but now you seem to be talking > >> about a single reproducer. When syzbot manages to reproduce the bug > >> only with syzkaller program but not with a

Re: [PATCH 4.9 84/96] x86/asm: Use register variable to get stack pointer value

2018-01-15 Thread Andrey Ryabinin
Resending with correct David's email s/d...@amazon.co.ku/d...@amazon.co.uk/ (it's incorrect in signed-off-by line) On 01/15/2018 05:31 PM, Andrey Ryabinin wrote: > > > On 01/15/2018 03:35 PM, Greg Kroah-Hartman wrote: >> 4.9-stable review patch. If anyone has any objections, please let me

Re: [PATCH v6 05/12] ACPI/PPTT: Add Processor Properties Topology Table parsing

2018-01-15 Thread Sudeep Holla
On Fri, Jan 12, 2018 at 06:59:13PM -0600, Jeremy Linton wrote: > ACPI 6.2 adds a new table, which describes how processing units > are related to each other in tree like fashion. Caches are > also sprinkled throughout the tree and describe the properties > of the caches in relation to other caches

Re: [PATCH 2/7] ARM: dts: STi: Add gpio polarity for "hdmi,hpd-gpio" property

2018-01-15 Thread Arnd Bergmann
On Wed, Jan 10, 2018 at 9:21 AM, wrote: > From: Patrice Chotard > > The GPIO polarity is missing in the hdmi,hpd-gpio property, this > fixes the following DT warnings: > > arch/arm/boot/dts/stih410-b2120.dtb: Warning (gpios_property):

Re: [PATCH] console/dummy: leave .con_font_get set to NULL

2018-01-15 Thread Bartlomiej Zolnierkiewicz
On Friday, January 05, 2018 04:42:58 PM Nicolas Pitre wrote: > > When this method is set, the caller expects struct console_font fields > to be properly initialized when it returns. Leave it unset otherwise > nonsensical (leaked kernel stack) values are returned to user space. > > Signed-off-by:

Re: [x86-tip] RSDP changes converted i4790 box SMP -> UP

2018-01-15 Thread Juergen Gross
On 15/01/18 16:32, Ingo Molnar wrote: > > * Juergen Gross wrote: > >> On 15/01/18 15:56, Borislav Petkov wrote: >>> On Mon, Jan 15, 2018 at 03:52:25PM +0100, Juergen Gross wrote: Ingo, with my finding that above boot failure is related to a bug in openSUSE's grub2

Re: [PATCH 1/3] mfd/omap-usb-tll: Delete two error messages for a failed memory allocation in usbtll_omap_probe()

2018-01-15 Thread Ladislav Michl
Are you aware on the structure for a Linux allocation failure report? Just created one (not OMAP and not this driver, but that does not matter now): [ cut here ] WARNING: CPU: 0 PID: 1 at mm/slab_common.c:1012 kmalloc_slab+0x38/0xdc Modules linked in: CPU: 0 PID: 1 Comm: swapper

Re: [PATCH] ima: define new policy condition based on the filesystem name

2018-01-15 Thread Christoph Hellwig
On Mon, Jan 15, 2018 at 11:20:36AM -0500, Mimi Zohar wrote: > Some filesystems do not export the filesystem's magic number, as it is > considered internal, private data. In other cases, the policy rule > needs to identify a specifically mounted filesystem (eg. rootfs). No, it doesn't. Policies

Re: [PATCH V3] thermal: Add cooling device's statistics in sysfs

2018-01-15 Thread Eduardo Valentin
On Mon, Jan 15, 2018 at 10:16:16AM +0530, Viresh Kumar wrote: > On 12-01-18, 09:46, Eduardo Valentin wrote: > > On Thu, Jan 11, 2018 at 03:06:09PM +0530, Viresh Kumar wrote: > > > $ ls -R /sys/class/thermal/cooling_device0/ > > > /sys/class/thermal/cooling_device0/: > > > cur_state max_state

[PATCH] brcmfmac: Make sure CLM downloading is optional

2018-01-15 Thread Bjorn Andersson
The presence of a CLM file is described as optional, but missing the clm blob causes the preinit to return unsuccessfully. Fix this by ignoring the return value of the brcmf_c_process_clm_blob(). Also remove the extra debug print, as brcmf_c_process_clm_blob() already did print a useful error

Re: [PATCH] bcma: Fix 'allmodconfig' and BCMA builds on MIPS targets

2018-01-15 Thread Paul Burton
Hello, On Mon, Jan 15, 2018 at 10:23:37AM +, James Hogan wrote: > On Sun, Jan 14, 2018 at 01:34:02PM -0800, Guenter Roeck wrote: > > Mips builds with BCMA host mode enabled fail in mainline and -next > > with: > > > > In file included from include/linux/bcma/bcma.h:10:0, > >

[PATCH 35/40] drm/bridge: analogix_dp: Properly log AUX CH errors

2018-01-15 Thread Thierry Escande
From: Douglas Anderson The code in analogix_dp_transfer() that was supposed to print out: AUX CH error happened Was actually dead code. That's because the previous check (whether the interrupt status indicated any errors) would have hit for all errors anyway. Let's

Re: [PATCH] [linux-next][trivial] treewide: Fix typos in printk

2018-01-15 Thread Randy Dunlap
On 01/15/2018 07:18 AM, Masanari Iida wrote: > This patch fixes spelling typos found in printk. > > Signed-off-by: Masanari Iida Acked-by: Randy Dunlap Thanks. > --- > drivers/fmc/fmc-core.c| 2 +- >

[PATCH 33/40] drm/rockchip: analogix_dp: Wire the shutdown callback to disable PSR

2018-01-15 Thread Thierry Escande
From: Tomasz Figa We have to disable PSR before shutdown to avoid any asynchronous PSR code to interfere with Rockchip DRM device shutdown. We use the recently added analogix_dp_shutdown() function and rockchip_dp_cleanup() we already use for unregistering PSR at unbind time.

[PATCH 31/40] drm/bridge: analogix_dp: Allow master driver to cleanup in unbind

2018-01-15 Thread Thierry Escande
From: Tomasz Figa Since we take the ownership of drvdata, the master driver does not have any means of accessing its own data from unbind callback and all it can do is calling the analogix unbind callback. However it might be necessary to do some clean up in the master driver

[PATCH 36/40] drm/bridge: analogix_dp: Properly disable aux chan retries on rockchip

2018-01-15 Thread Thierry Escande
From: Douglas Anderson The comments in analogix_dp_init_aux() claim that we're disabling aux channel retries, but then right below it for Rockchip it sets them to 3. If we actually need 3 retries for Rockchip then we could adjust the comment, but it seems more likely that

[PATCH] drivers/scsi/qla2xxx: fix double free bug after firmware timeout

2018-01-15 Thread Max Kellermann
When the qla2xxx firmware is unavailable, eventually qla2x00_sp_timeout() is reached, which calls the timeout function and frees the srb_t instance. The timeout function always resolves to qla2x00_async_iocb_timeout(), which invokes another callback function called "done". All of these

[PATCH 4.4 62/87] kaiser: Set _PAGE_NX only if supported

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Lepton Wu This finally resolve crash if loaded under qemu + haxm. Haitao Shan pointed out that the reason of that crash is that NX bit get set for page tables. It seems we

[PATCH 4.4 67/87] bpf: adjust insn_aux_data when patching insns

2018-01-15 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alexei Starovoitov commit 8041902dae5299c1f194ba42d14383f734631009 upstream. convert_ctx_accesses() replaces single bpf instruction with a set of instructions. Adjust

  1   2   3   4   5   6   7   8   9   10   >