Re: [linux-sunxi] [PATCH v2 5/6] arm64: allwinner: h6: add the basical Allwinner H6 DTSI file

2018-02-12 Thread Philippe Ombredanne
Icenowy, On Mon, Feb 12, 2018 at 12:26 AM, André Przywara wrote: > Hi, > > On 03/02/18 15:49, Icenowy Zheng wrote: >> Allwinner H6 is a new SoC with Cortex-A53 cores from Allwinner, with its >> memory map fully reworked and some high-speed peripherals (PCIe, USB >> 3.0)

Re: [PATCH] kthread: Export kthread_data()

2018-02-12 Thread Peter Zijlstra
On Fri, Feb 09, 2018 at 09:52:21AM -0500, Waiman Long wrote: > When multiple kernel threads are created to cooperatively work on > a common task, we may need a convenient way to access data that are > specific to each kthread. > > The kthread_data() function fits this need. However, it was not >

Re: [PATCH v3 8/7] TESTING_ONLY x86/entry: reduce static footprint of idtentry

2018-02-12 Thread Ingo Molnar
* Dominik Brodowski wrote: > Play a little trick in the generic PUSH_AND_CLEAR_REGS macro > to insert the GP registers "above" the original return address. > This allows us to (re-)insert the macro in error_entry() and > paranoid_entry() and to remove it from the

Re: [PATCH v2 04/11] watchdog/hpwdt: white space changes

2018-02-12 Thread Philippe Ombredanne
Jerry, On Mon, Feb 12, 2018 at 6:21 AM, Jerry Hoemann wrote: > Minor white space changes and some name clean up. > > Signed-off-by: Jerry Hoemann > --- > drivers/watchdog/hpwdt.c | 49 > +++- > 1 file

Re: Regression after commit 19809c2da28a ("mm, vmalloc: use __GFP_HIGHMEM implicitly")

2018-02-12 Thread Michal Hocko
[I am crawling over a large backlog after vacation so I will get to other emails in this thread later. Let's just fix the regression first. The patch with the full changelog is at the end of this email. CC Andrew - the original report is

Re: [PATCH v3 2/5] x86/apic: Fix restoring boot irq mode in reboot and kexec/kdump

2018-02-12 Thread Baoquan He
On 02/11/18 at 09:08pm, Eric W. Biederman wrote: > Baoquan He writes: > > > This is a regression fix. > > > > Before, to fix erratum AVR31, commit 522e66464467 ("x86/apic: Disable > > I/O APIC before shutdown of the local APIC") moved lapic_shutdown() > > calling after

Re: [PATCH v13 3/4] fw_cfg: write vmcoreinfo details

2018-02-12 Thread Marc-Andre Lureau
Hi On Mon, Feb 12, 2018 at 4:43 AM, Michael S. Tsirkin wrote: > On Wed, Feb 07, 2018 at 02:35:24AM +0100, Marc-André Lureau wrote: >> If the "etc/vmcoreinfo" fw_cfg file is present and we are not running >> the kdump kernel, write the addr/size of the vmcoreinfo ELF note. >> >>

[tip:x86/pti] x86/entry/64: Indent PUSH_AND_CLEAR_REGS and POP_REGS properly

2018-02-12 Thread tip-bot for Dominik Brodowski
Commit-ID: 5a10e729bc0aa9420a23a70b169eadd229c27bc1 Gitweb: https://git.kernel.org/tip/5a10e729bc0aa9420a23a70b169eadd229c27bc1 Author: Dominik Brodowski AuthorDate: Sun, 11 Feb 2018 11:49:48 +0100 Committer: Ingo Molnar CommitDate: Mon, 12

[PATCH] cpufreq: powernv: Check negative value returned by cpufreq_table_find_index_dl()

2018-02-12 Thread Shilpasri G Bhat
This patch fixes the below Coverity warning: *** CID 182816: Memory - illegal accesses (NEGATIVE_RETURNS) /drivers/cpufreq/powernv-cpufreq.c: 1008 in powernv_fast_switch() 1002unsigned int target_freq) 1003 { 1004int index; 1005

Re: [tip:x86/pti] x86/speculation: Use IBRS if available before calling into firmware

2018-02-12 Thread Ingo Molnar
* tip-bot for David Woodhouse wrote: > Commit-ID: 670c3e8da87fa4046a55077b1409cf250865a203 > Gitweb: > https://git.kernel.org/tip/670c3e8da87fa4046a55077b1409cf250865a203 > Author: David Woodhouse > AuthorDate: Sun, 11 Feb 2018 15:19:19 + >

Re: [PATCH v6] devres: combine function devm_ioremap*

2018-02-12 Thread Yisheng Xie
Hi Greg, Christophe, Any comment about this version? And sorry to disturb :) Thanks Yisheng On 2018/1/29 19:48, Yisheng Xie wrote: > When I tried to use devm_ioremap function and review related > code, I found devm_ioremap_* almost have the similar realize > with each other, which can be

[PATCH v3 3/5] clk: mediatek: add audsys support for MT2701

2018-02-12 Thread Ryder Lee
Add clock driver support for MT2701 audsys. Signed-off-by: Ryder Lee --- drivers/clk/mediatek/Kconfig | 6 ++ drivers/clk/mediatek/Makefile | 1 + drivers/clk/mediatek/clk-mt2701-aud.c | 179 ++ 3 files changed, 186

[PATCH v3 4/5] dt-bindings: clock: mediatek: update audsys documentation to adapt MFD device

2018-02-12 Thread Ryder Lee
The MediaTek audio hardware block that exposes functionalities that are handled by separate subsystems in the kernel. These functions are all mapped somewhere at 0x112x, and there are some control bits are mixed up with other functions within the same registers. Therefore, it's better to

[PATCH v3 1/5] clk: mediatek: update missing clock data for MT7622 audsys

2018-02-12 Thread Ryder Lee
Add missing clock data 'CLK_AUDIO_AFE_CONN' for MT7622 audsys. Signed-off-by: Ryder Lee Reviewed-by: Rob Herring --- drivers/clk/mediatek/clk-mt7622-aud.c | 1 + include/dt-bindings/clock/mt7622-clk.h | 3 ++- 2 files changed, 3 insertions(+), 1

[PATCH v3 5/5] arm: dts: mediatek: add audio-subsystem node for both MT2701 and MT7623

2018-02-12 Thread Ryder Lee
Add audio-subsystem node and its clock support for both MT2701/MT7623. Then modify afe node to adapt it. Signed-off-by: Ryder Lee --- arch/arm/boot/dts/mt2701.dtsi | 192 - arch/arm/boot/dts/mt7623.dtsi | 193

Re: [PATCH] KVM: lapic: stop advertising DIRECTED_EOI when in-kernel IOAPIC is in use

2018-02-12 Thread Vitaly Kuznetsov
Peter Xu writes: > On Fri, Feb 09, 2018 at 02:01:33PM +0100, Vitaly Kuznetsov wrote: >> Devices which use level-triggered interrupts under Windows 2016 with >> Hyper-V role enabled don't work: Windows disables EOI broadcast in SPIV >> unconditionally. Our in-kernel IOAPIC

Re: [PATCH 14/17] s390/kexec_file: Add kexec_file_load system call

2018-02-12 Thread Philipp Rudo
On Mon, 12 Feb 2018 11:56:25 +0100 Philippe Ombredanne wrote: > On Mon, Feb 12, 2018 at 11:07 AM, Philipp Rudo > wrote: > > This patch adds the kexec_file_load system call to s390 as well as the arch > > specific functions common code requires to

Re: [PATCH] arm64: Add missing Falkor part number for branch predictor hardening

2018-02-12 Thread Catalin Marinas
On Mon, Feb 12, 2018 at 08:57:36AM +, Marc Zyngier wrote: > On Mon, 12 Feb 2018 01:16:15 +, > Shanker Donthineni wrote: > > > > References to CPU part number MIDR_QCOM_FALKOR were dropped from the > > mailing list patch due to mainline/arm64 branch dependency. So this > > patch adds the

Re: [PATCH 1/6] genalloc: track beginning of allocations

2018-02-12 Thread Mike Rapoport
On Mon, Feb 12, 2018 at 01:17:01PM +0200, Igor Stoppa wrote: > > > On 11/02/18 14:24, Mike Rapoport wrote: > > On Sun, Feb 11, 2018 at 05:19:15AM +0200, Igor Stoppa wrote: > [...] > > >> +/** > >> + * mem_to_units - convert references to memory into orders of allocation > > > >

Re: [RFC PATCH 4/7] kconfig: support new special property shell=

2018-02-12 Thread Ulf Magnusson
On Mon, Feb 12, 2018 at 12:44 PM, Ulf Magnusson wrote: > On Mon, Feb 12, 2018 at 11:44 AM, Masahiro Yamada > wrote: >> 2018-02-11 19:34 GMT+09:00 Ulf Magnusson : >>> Looks to me like there's a few unrelated issues here: >>>

Re: [PATCH v3] ASoC: use DEFINE_SHOW_ATTRIBUTE() to decrease code duplication

2018-02-12 Thread Mark Brown
On Fri, Feb 09, 2018 at 11:10:55PM +0800, Donglin Peng wrote: > --- a/sound/soc/soc-core.c > +++ b/sound/soc/soc-core.c > @@ -349,7 +349,7 @@ static void soc_init_codec_debugfs(struct > snd_soc_component *component) > "ASoC: Failed to create codec register debugfs file\n"); Your

Re: [PATCH v2] lockdep: Fix fs_reclaim warning.

2018-02-12 Thread Nikolay Borisov
On 8.02.2018 13:43, Tetsuo Handa wrote: >>From 361d37a7d36978020dfb4c11ec1f4800937ccb68 Mon Sep 17 00:00:00 2001 > From: Tetsuo Handa > Date: Thu, 8 Feb 2018 10:35:35 +0900 > Subject: [PATCH v2] lockdep: Fix fs_reclaim warning. > > Dave Jones reported

Applied "ASoC: uniphier: add support for UniPhier AIO common driver" to the asoc tree

2018-02-12 Thread Mark Brown
The patch ASoC: uniphier: add support for UniPhier AIO common driver has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "ASoC: uniphier: add DT bindings documentation for UniPhier AIO" to the asoc tree

2018-02-12 Thread Mark Brown
The patch ASoC: uniphier: add DT bindings documentation for UniPhier AIO has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "ASoC: uniphier: add support for UniPhier AIO DMA driver" to the asoc tree

2018-02-12 Thread Mark Brown
The patch ASoC: uniphier: add support for UniPhier AIO DMA driver has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

[PATCH 2/3] nvme: fix the deadlock in nvme_update_formats

2018-02-12 Thread Jianchao Wang
nvme_update_formats will invoke nvme_ns_remove under namespaces_mutext. The will cause deadlock because nvme_ns_remove will also require the namespaces_mutext. Fix it by getting the ns entries which should be removed under namespaces_mutext and invoke nvme_ns_remove out of namespaces_mutext.

Re: [RFC PATCH 4/7] kconfig: support new special property shell=

2018-02-12 Thread Ulf Magnusson
On Sun, Feb 11, 2018 at 09:42:09PM +0100, Ulf Magnusson wrote: > On Sun, Feb 11, 2018 at 9:29 PM, Ulf Magnusson wrote: > > On Sun, Feb 11, 2018 at 6:56 PM, Kees Cook wrote: > >> Another case I mentioned before that I just want to make sure we don't >

Re: [PATCH] perf: Add support for creating offline events

2018-02-12 Thread Jiri Olsa
On Fri, Feb 09, 2018 at 03:07:00PM -0800, Raghavendra Rao Ananta wrote: > Perf framework doesn't allow creation of hardware events if > the requested CPU is offline. However, creation of an event > is achievable if the event is attached to the PMU as soon > as the CPU is online again. > > So,

Re: [PATCH] perf: Add support for creating offline events

2018-02-12 Thread Jiri Olsa
On Fri, Feb 09, 2018 at 03:07:00PM -0800, Raghavendra Rao Ananta wrote: SNIP > > if (!task) { > +#if defined CONFIG_HOTPLUG_CPU || defined CONFIG_KEXEC_CORE > + struct perf_cpu_context *cpuctx = > + container_of(ctx, struct perf_cpu_context, ctx); > + > +

Re: [kselftests] compaction_test is blocked

2018-02-12 Thread Li Zhijian
On 2018年02月12日 11:26, Li Zhijian wrote: On 2018年02月11日 13:44, Li Zhijian wrote: On 02/10/2018 05:11 AM, Dan Rue wrote: On Fri, Feb 09, 2018 at 03:53:59PM +0800, Li Zhijian wrote: Hi kselftests is integrated Intel 0Day project. Sometimes we found compaction_test is blocked for more than

Re: [PATCH v9 5/7] arm64: kvm: Introduce KVM_ARM_SET_SERROR_ESR ioctl

2018-02-12 Thread gengdongjiu
Hi James, Thanks for the mail. On 2018/2/10 1:44, James Morse wrote: [...] > >> its ESR is 0, can not control the virtual SError's syndrom value, it does >> not have >> such registers to control that. > > My point was its more nuanced than this: the ARM-ARM's > TakeVirtualSErrorException()

Re: [PATCH v2] of: cache phandle nodes to reduce cost of of_find_node_by_phandle()

2018-02-12 Thread Chintan Pandya
On 2/12/2018 11:57 AM, frowand.l...@gmail.com wrote: From: Frank Rowand Create a cache of the nodes that contain a phandle property. Use this cache to find the node for a given phandle value instead of scanning the devicetree to find the node. If the phandle value is

[PATCH v2 3/9] staging: android: ion: Nuke ion_page_pool_init

2018-02-12 Thread Yisheng Xie
ion_page_pool.c now is used to apply pool APIs for system heap, which do not need do any initial at device_initcall. Therefore ion_page_pool_init can be nuked. Signed-off-by: Yisheng Xie --- drivers/staging/android/ion/ion_page_pool.c | 7 --- 1 file changed, 7

Re: [RFC PATCH] soc: zynqmp: Add support for tap delay settings

2018-02-12 Thread Philippe Ombredanne
On Mon, Feb 12, 2018 at 11:35 AM, Manish Narani wrote: > This patch add support for tep delays programming for zynqmp platform. > This also adds dll reset support. > > Signed-off-by: Manish Narani > --- /dev/null > +++

Re: [PATCH 4/6] Protectable Memory

2018-02-12 Thread Mike Rapoport
On Mon, Feb 12, 2018 at 01:26:28PM +0200, Igor Stoppa wrote: > On 11/02/18 14:37, Mike Rapoport wrote: > > On Sun, Feb 11, 2018 at 05:19:18AM +0200, Igor Stoppa wrote: > > >> + * Return: 0 if the object does not belong to pmalloc, 1 if it belongs to > >> + * pmalloc, -1 if it partially overlaps

Re: [PATCH v6] devres: combine function devm_ioremap*

2018-02-12 Thread Yisheng Xie
Hi Christophe, On 2018/2/12 19:21, Christophe LEROY wrote: > Hi Yisheng, > > I don't have any comment. > > Reviewed-by: Thanks Yisheng > > Christophe > > Le 12/02/2018 à 12:07, Yisheng Xie a écrit : >> Hi Greg, Christophe, >> >> Any comment about this version? And

Re: [PATCH 1/2] staging: android: ion: Cleanup ion_page_pool_alloc_pages

2018-02-12 Thread Yisheng Xie
Hi Greg, JFYI, I have rebase this patchset to v4.15-rc1.[1] [1] https://lkml.org/lkml/2018/2/12/204 Thanks Yisheng On 2018/2/7 11:59, Yisheng Xie wrote: > ion_page_pool_alloc_pages calls alloc_pages to allocate pages for page > pools. If alloc_pages return NULL, it will return NULL, or it will

Re: [RFC PATCH 4/7] kconfig: support new special property shell=

2018-02-12 Thread Peter Zijlstra
On Mon, Feb 12, 2018 at 11:27:25AM +0100, Thomas Gleixner wrote: > On Mon, 12 Feb 2018, Peter Zijlstra wrote: > > > On Sun, Feb 11, 2018 at 10:13:44AM -0800, Linus Torvalds wrote: > > > > > That actually sounds like we could just > > > > > > (a) make gcc 4.5 be the minimum required version > >

Re: [PATCH v3 1/2] drm/virtio: Add window server support

2018-02-12 Thread Gerd Hoffmann
Hi, > can we reach agreement on whether vsock should be involved in this? I think the best approach would be to have guest proxy and host proxy use vsock for the wayland protocol. Use a wayland protocol extension to reference the buffers in stdvga / ivshmem / virtio-gpu. Only the two proxies

Re: [PATCH v3 1/2] ASoC: codecs: Add support for AK5558 ADC driver

2018-02-12 Thread Mark Brown
On Mon, Feb 05, 2018 at 07:01:54PM +0200, Daniel Baluta wrote: > AK5558 is a 32-bit, 768 kHZ sampling, differential input ADC > for digital audio systems. > --- /dev/null > +++ b/sound/soc/codecs/ak5558.c > @@ -0,0 +1,618 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +/* > + * Audio driver for

Applied "ASoC: uniphier: add support for UniPhier AIO compress audio" to the asoc tree

2018-02-12 Thread Mark Brown
The patch ASoC: uniphier: add support for UniPhier AIO compress audio has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "ASoC: uniphier: add support for UniPhier AIO CPU DAI driver" to the asoc tree

2018-02-12 Thread Mark Brown
The patch ASoC: uniphier: add support for UniPhier AIO CPU DAI driver has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

[PATCH v2 7/8] x86: Annotate indirect jump in head_64.S

2018-02-12 Thread Peter Zijlstra
The objtool retpoline validation found this indirect jump. Seeing how it's on CPU bringup before we run userspace it should be safe, annotate it. Acked-by: Josh Poimboeuf Reviewed-by: David Woodhouse Signed-off-by: Peter Zijlstra (Intel)

[PATCH v2 6/8] x86/paravirt: Annotate indirect calls

2018-02-12 Thread Peter Zijlstra
Paravirt emits indirect calls which get flagged by objtool retpoline checks, annotate it away because all these indirect calls will be patched out before we start userspace. This patching happens through alternative_instructions() -> apply_paravirt() -> pv_init_ops.patch() which will eventually

[PATCH v2 4/8] objtool: Retpoline validation tweaks

2018-02-12 Thread Peter Zijlstra
Disable retpoline validation if your compiler sucks, and otherwise select the validation stuff for RETPOLINE (most builds would already have it set due to ORC). Signed-off-by: Peter Zijlstra (Intel) --- Makefile |5 + arch/x86/Kconfig |1 +

[PATCH v2 2/8] objtool: Add retpoline validation

2018-02-12 Thread Peter Zijlstra
David requested a objtool validation pass for RETPOLINE enabled builds, where it validates no unannotated indirect jumps or calls are left. Add an additional .discard.retpoline_safe section to allow annotating the few indirect sites that are required and safe. Acked-by: Josh Poimboeuf

Re: Build regressions/improvements in v4.16-rc1

2018-02-12 Thread James Hogan
On Mon, Feb 12, 2018 at 11:28:32AM +0100, Geert Uytterhoeven wrote: > On Mon, Feb 12, 2018 at 11:17 AM, Geert Uytterhoeven > wrote: > > Below is the list of build error/warning regressions/improvements in > > v4.16-rc1[1] compared to v4.15[2]. > > > > Summarized: > > -

Applied "ASoC: uniphier: add support for UniPhier LD11/LD20 AIO driver" to the asoc tree

2018-02-12 Thread Mark Brown
The patch ASoC: uniphier: add support for UniPhier LD11/LD20 AIO driver has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH V2] auxdisplay: use correct string length

2018-02-12 Thread Miguel Ojeda
On Tue, Jan 16, 2018 at 10:38 AM, Xiongfeng Wang wrote: > From: Xiongfeng Wang > > gcc-8 reports > > drivers/auxdisplay/panel.c: In function 'panel_attach': > ./include/linux/string.h:245:9: warning: '__builtin_strncpy' specified > bound 12

Re: [PATCH 4/6] Protectable Memory

2018-02-12 Thread Mike Rapoport
On Mon, Feb 12, 2018 at 01:43:11PM +0200, Mike Rapoport wrote: > On Mon, Feb 12, 2018 at 01:26:28PM +0200, Igor Stoppa wrote: > > On 11/02/18 14:37, Mike Rapoport wrote: > > > On Sun, Feb 11, 2018 at 05:19:18AM +0200, Igor Stoppa wrote: > > > > >> + * Return: 0 if the object does not belong to

Re: [PATCH v2 06/11] watchdog/hpwdt: Modify to use watchdog core.

2018-02-12 Thread Marcus Folkesson
Hi Jerry, On Sun, Feb 11, 2018 at 10:21:06PM -0700, Jerry Hoemann wrote: > Follow Documentation/watchdog/convert_drivers_to_kernel_api.txt to > convert hpwdt from legacy watchdog driver to use the watchdog core. > > Removed functions: hpwdt_open, hpwdt_release, hpwdt_write, hpwdt_ioctl > Removed

Re: [PATCH 2/4] drm/mxsfb: Do not use deprecated drm_driver.{enable|disable)_vblank

2018-02-12 Thread Marek Vasut
On 02/12/2018 09:52 AM, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Do not use deprecated drm_driver.{enable|disable)_vblank callbacks, > but use drm_simple_kms_helpe's pipe callbacks instead. > > Signed-off-by: Oleksandr Andrushchenko

Re: update spectre v2 microcodes blacklist

2018-02-12 Thread David Woodhouse
On Sat, 2018-02-10 at 20:14 +0300, Alexander Sergeyev wrote: > > > > I didn't fully match the updated revision guidance and > > spectre_bad_microcodes > I compared these lists and it seems that the only difference is about > skylakes.  > Everything else is covered by less-or-equal criteria on

Re: [PATCH v3 2/3] arm64: dts: sdm845: Add minimal dts files for sdm845 SoC/MTP

2018-02-12 Thread Philippe Ombredanne
On Mon, Feb 12, 2018 at 7:28 AM, Rajendra Nayak wrote: > Add a skeletal sdm845 SoC dtsi and MTP board dts/dtsi files > > Signed-off-by: Rajendra Nayak > --- > arch/arm64/boot/dts/qcom/Makefile | 1 + > arch/arm64/boot/dts/qcom/sdm845-mtp.dts

Re: [PATCH] drm/edid: drop the dcc probe before drm_do_get_edid

2018-02-12 Thread Jani Nikula
On Sun, 11 Feb 2018, Lubomir Rintel wrote: > On Sat, 2018-02-10 at 19:03 +0100, Lubomir Rintel wrote: >> Now that drm_do_get_edid() handles override and firmware EDIDs it makes >> no sense to conditionalize it with a DCC probe. On the contrary -- the >> overrides are useful

[PATCH 13/17] s390/kexec_file: Add purgatory

2018-02-12 Thread Philipp Rudo
The common code expects the architecture to have a purgatory that runs between the two kernels. Add it now. For simplicity first skip crash support. Signed-off-by: Philipp Rudo --- arch/s390/Kbuild | 1 + arch/s390/include/asm/purgatory.h | 17 +++

[PATCH] audit: session ID should not set arch quick field pointer

2018-02-12 Thread Richard Guy Briggs
A bug was introduced in 8fae47705685fcaa75a1fe4c8c3e18300a702979 ("audit: add support for session ID user filter") See: https://github.com/linux-audit/audit-kernel/issues/4 When setting a session ID filter, the session ID filter field overwrote the quick pointer reference to the arch field,

[PATCH 15/17] s390/kexec_file: Add image loader

2018-02-12 Thread Philipp Rudo
Add an image loader for kexec_file_load. For simplicity first skip crash support. The functions defined in machine_kexec_file will later be shared with the ELF loader. Signed-off-by: Philipp Rudo Reviewed-by: Martin Schwidefsky ---

[PATCH 16/17] s390/kexec_file: Add crash support to image loader

2018-02-12 Thread Philipp Rudo
Add support to load a crash kernel to the image loader. This requires extending the purgatory. Signed-off-by: Philipp Rudo Reviewed-by: Martin Schwidefsky --- arch/s390/kernel/kexec_image.c| 6 +- arch/s390/kernel/machine_kexec_file.c

[tip:x86/pti] x86/entry/64: Merge the POP_C_REGS and POP_EXTRA_REGS macros into a single POP_REGS macro

2018-02-12 Thread tip-bot for Dominik Brodowski
Commit-ID: a1490086a98e51e3358be8eaf2bc5743c73c6b6e Gitweb: https://git.kernel.org/tip/a1490086a98e51e3358be8eaf2bc5743c73c6b6e Author: Dominik Brodowski AuthorDate: Sun, 11 Feb 2018 11:49:43 +0100 Committer: Ingo Molnar CommitDate: Mon, 12

Re: [PATCH 2/2] mtd: nand: gpmi: add support for specific ECC strength

2018-02-12 Thread Boris Brezillon
On Tue, 6 Feb 2018 18:40:21 +0100 Stefan Agner wrote: > Add support for specified ECC strength/size using device tree > properties nand-ecc-strength/nand-ecc-step-size. > > Signed-off-by: Stefan Agner > --- > .../devicetree/bindings/mtd/gpmi-nand.txt

[PATCH] arm64: defconfig: Enable the APCS IPC driver on Qualcomm platforms

2018-02-12 Thread Amit Kucheria
The APCS block is present on several Qualcomm SoCs e.g. 8916, 8996. On the 8916 it is needed to enable the clock controller that in turn enables cpufreq on the platform while on the 8996 it is needed for communication with RPM. Signed-off-by: Amit Kucheria ---

Re: [PATCH v3 1/3] sched: Stop nohz stats when decayed

2018-02-12 Thread Vincent Guittot
On 12 February 2018 at 11:45, Peter Zijlstra wrote: > On Mon, Feb 12, 2018 at 09:07:52AM +0100, Vincent Guittot wrote: >> @@ -9383,11 +9450,16 @@ static bool nohz_idle_balance(struct rq *this_rq, >> enum cpu_idle_type idle) >>* work being done for other

Re: [PATCH v3 1/2] drm/virtio: Add window server support

2018-02-12 Thread Gerd Hoffmann
Hi, > >(a) software rendering: client allocates shared memory buffer, renders > >into it, then passes a file handle for that shmem block together > >with some meta data (size, format, ...) to the wayland server. > > > >(b) gpu rendering: client opens a render node,

Re: [PATCH 2/3] clk: exynos5433: Allow audio subsystem clock rate propagation

2018-02-12 Thread Sylwester Nawrocki
Hi Chanwoo, On 02/09/2018 08:36 AM, Chanwoo Choi wrote: > On 2018년 02월 08일 00:18, Sylwester Nawrocki wrote: >> On 02/06/2018 05:06 AM, Chanwoo Choi wrote: drivers/clk/samsung/clk-exynos5433.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff

Re: [PATCH] kstrtox: make kstrtobool_from_user() very strict

2018-02-12 Thread Alexey Dobriyan
On Sun, Feb 11, 2018 at 01:27:58PM -0800, Kees Cook wrote: > On Sat, Feb 10, 2018 at 1:11 PM, Alexey Dobriyan wrote: > > Once upon a time module parameter parsing code accepted > > 0, 1, y, n, Y and N for boolean values. Gratituous but contained > > to module code and thus

Re: [PATCH v3 3/3] sched: update blocked load when newly idle

2018-02-12 Thread Peter Zijlstra
On Mon, Feb 12, 2018 at 09:07:54AM +0100, Vincent Guittot wrote: > @@ -8863,12 +8866,26 @@ static int idle_balance(struct rq *this_rq, struct > rq_flags *rf) > > if (this_rq->avg_idle < sysctl_sched_migration_cost || > !this_rq->rd->overload) { > + unsigned long

Re: [PATCH v2 4/5] ALSA: emu10k1: make sure synth DMA pages are allocated with DMA functions

2018-02-12 Thread Takashi Iwai
On Sat, 27 Jan 2018 15:42:47 +0100, Maciej S. Szmigiero wrote: > > Commit a5003fc04113 ("[ALSA] emu10k1 - simplify page allocation for synth") > switched from using the DMA allocator for synth DMA pages to manually > calling alloc_page(). > However, this usage has an implicit assumption that

[PATCH v2 0/8] objtool: retpoline validation

2018-02-12 Thread Peter Zijlstra
The very latest objtool retpoline validation patches, all ready for x86/pti.

[PATCH 1/3] nvme: fix the dangerous reference of namespaces list

2018-02-12 Thread Jianchao Wang
nvme_remove_namespaces and nvme_remove_invalid_namespaces reference the ctrl->namespaces list w/o holding namespaces_mutext. It is ok to invoke nvme_ns_remove there, but what if there is others. To be safer, reference the ctrl->namespaces list under namespaces_mutext. Signed-off-by: Jianchao

[PATCH] nvme-pci: drain the entered requests after ctrl is shutdown

2018-02-12 Thread Jianchao Wang
Currently, we will unquiesce the queues after the controller is shutdown to avoid residual requests to be stuck. In fact, we can do it more cleanly, just wait freeze and drain the queue in nvme_dev_disable and finally leave the queues quiesced. Signed-off-by: Jianchao Wang

[PATCH] nvme-pci: quiesce IO queues prior to disabling device HMB accesses

2018-02-12 Thread Jianchao Wang
Quiesce IO queues prior to disabling device HMB accesses. A controller using HMB may relay on it to efficiently complete IO commands. Reviewed-by: Keith Busch Reviewed-by: Sagi Grimberg Signed-off-by: Jianchao Wang ---

[PATCH 5/8] nvme-pci: suspend queues based on online_queues

2018-02-12 Thread Jianchao Wang
nvme cq irq is freed based on queue_count. When the sq/cq creation fails, irq will not be setup. free_irq will warn 'Try to free already-free irq'. To fix it, we only increase online_queues when adminq/sq/cq are created and associated irq is setup. Then suspend queues based on online_queues.

Re: [PATCH 0/5] Fix deadlock on runtime suspend in DRM drivers

2018-02-12 Thread Mike Lothian
On 12 February 2018 at 03:39, Lukas Wunner wrote: > On Mon, Feb 12, 2018 at 12:35:51AM +, Mike Lothian wrote: >> I've not been able to reproduce the original problem you're trying to >> solve on amdgpu thats with or without your patch set and the above >> "trigger" too >> >>

[PATCH 10/17] kexec_file: Allow archs to set purgatory load address

2018-02-12 Thread Philipp Rudo
For s390 new kernels are loaded to fixed addresses in memory before they are booted. With the current code this is a problem as it assumes the kernel will be loaded to an 'arbitrary' address. In particular, kexec_locate_mem_hole searches for a large enough memory region and sets the load address

[PATCH 11/17] kexec_file: Move purgatories sha256 to common code

2018-02-12 Thread Philipp Rudo
The code to verify the new kernels sha digest are applicable for all architectures. Move it to common code. Signed-off-by: Philipp Rudo --- arch/x86/purgatory/Makefile| 3 +++ arch/x86/purgatory/purgatory.c | 2 +-

Re: [PATCH 1/2] i2c: piix4: Use request_muxed_region

2018-02-12 Thread Jean Delvare
Hi Guneter, Sorry for the delay :( On Sat, 30 Dec 2017 08:50:57 -0800, Guenter Roeck wrote: > Accesses to SB800_PIIX4_SMB_IDX can occur from multiple drivers. > Use request_muxed_region() to ensure synchronization. Which ones? Documenting it, at least in the commit message, would seem useful.

[PATCH 12/17] s390/kexec_file: Prepare setup.h for kexec_file_load

2018-02-12 Thread Philipp Rudo
kexec_file_load needs to prepare the new kernels before they are loaded. For that it has to know the offsets in head.S, e.g. to register the new command line. Unfortunately there are no macros right now defining those offsets. Define them now. Signed-off-by: Philipp Rudo

[RFC PATCH] soc: zynqmp: Add support for tap delay settings

2018-02-12 Thread Manish Narani
This patch add support for tep delays programming for zynqmp platform. This also adds dll reset support. Signed-off-by: Manish Narani --- drivers/soc/xilinx/Kconfig | 6 +- drivers/soc/xilinx/Makefile | 2 +

Re: [RFC PATCH 4/7] kconfig: support new special property shell=

2018-02-12 Thread Masahiro Yamada
2018-02-11 19:34 GMT+09:00 Ulf Magnusson : > Looks to me like there's a few unrelated issues here: > > > 1. The stack protector support test scripts > > Worthwhile IMO if they (*in practice*) prevent hard-to-debug build errors or a > subtly broken kernel from being built. > >

Re: [PATCH v3 1/3] sched: Stop nohz stats when decayed

2018-02-12 Thread Peter Zijlstra
On Mon, Feb 12, 2018 at 09:07:52AM +0100, Vincent Guittot wrote: > @@ -9383,11 +9450,16 @@ static bool nohz_idle_balance(struct rq *this_rq, > enum cpu_idle_type idle) >* work being done for other cpus. Next load >* balancing owner will pick it up. >

[PATCH v2 1/9] staging: android: ion: Remove unused declaration ion_buffer_fault_user_mappings

2018-02-12 Thread Yisheng Xie
ion_buffer_fault_user_mappings's definition has been removed and not be used anymore, just remove its useless declaration. Acked-by: Laura Abbott Signed-off-by: Yisheng Xie --- drivers/staging/android/ion/ion.h | 9 - 1 file changed, 9

[PATCH v2 2/9] staging: android: ion: Remove unused include files for ion_page_pool.c

2018-02-12 Thread Yisheng Xie
After rewrite of ion_page_pool, some of its include file is no need anymore, just remove it. Signed-off-by: Yisheng Xie --- drivers/staging/android/ion/ion_page_pool.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/android/ion/ion_page_pool.c

Re: [PATCH v2 0/9] staging: android: ion: Some cleanup about ion

2018-02-12 Thread Dan Carpenter
On Mon, Feb 12, 2018 at 06:43:05PM +0800, Yisheng Xie wrote: > Hi all, > > When I tried to review the code of ion, I find that there are many place > can be cleanup, so I post this patchset. > > I mark it as v2, because I have post them in different patchset before[1][2] > [3][4]. And now, I

Re: [PATCH 1/6] genalloc: track beginning of allocations

2018-02-12 Thread Igor Stoppa
On 11/02/18 14:24, Mike Rapoport wrote: > On Sun, Feb 11, 2018 at 05:19:15AM +0200, Igor Stoppa wrote: [...] >> +/** >> + * mem_to_units - convert references to memory into orders of allocation > > Documentation/doc-guide/kernel-doc.rst recommends to to include brackets > for function

[PATCH v3 2/5] clk: mediatek: modify MT7622 audsys to adapt MFD device

2018-02-12 Thread Ryder Lee
As the new MFD device is in place, switch probing method to adapt it. Signed-off-by: Ryder Lee --- drivers/clk/mediatek/clk-mt7622-aud.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/clk/mediatek/clk-mt7622-aud.c

[PATCH] arm: dts: mt7623: add PCIe related nodes

2018-02-12 Thread Ryder Lee
This patch adds some device nodes for the PCIe function block and updates related pinmux. Moreover, we add interrupt-map properties in both parent and children as the chip only has one IRQ per slot that is connected to all INTx and get propagated through the bridges and it also represents the

Re: [PATCH 1/2] staging: android: ion: Remove dead code in ion_page_pool_free

2018-02-12 Thread Yisheng Xie
Hi Greg, JFYI, I have rebase this patchset to v4.15-rc1.[1] [1] https://lkml.org/lkml/2018/2/12/204 Thanks Yisheng On 2018/2/5 11:26, Yisheng Xie wrote: > ion_page_pool_add will always return 0, however ion_page_pool_free will > call ion_page_pool_free_pages when ion_page_pool_add's return

Re: [PATCH 1/2] staging: android: ion: Avoid NULL point in error path

2018-02-12 Thread Yisheng Xie
Hi Greg, JFYI, I have rebase this patchset to v4.15-rc1.[1] [1] https://lkml.org/lkml/2018/2/12/204 Thanks Yisheng On 2018/2/1 20:34, Yisheng Xie wrote: > If we failed to create debugfs for ion at ion_device_create, the > debug_root of ion_device will be NULL, and then when try to create debug

Re: [PATCH resend 1/3] staging: android: ion: Remove unused declaration ion_buffer_fault_user_mappings

2018-02-12 Thread Yisheng Xie
Hi Greg, JFYI, I have rebase this patchset to v4.15-rc1.[1] [1] https://lkml.org/lkml/2018/2/12/204 Thanks Yisheng On 2018/2/1 9:54, Yisheng Xie wrote: > ion_buffer_fault_user_mappings's definition has been removed and not be > used anymore, just remove its useless declaration. > >

Re: [tip:x86/pti] x86/speculation: Use IBRS if available before calling into firmware

2018-02-12 Thread Peter Zijlstra
On Mon, Feb 12, 2018 at 11:22:11AM +0100, Ingo Molnar wrote: > > +static inline void firmware_restrict_branch_speculation_start(void) > > +{ > > + alternative_msr_write(MSR_IA32_SPEC_CTRL, SPEC_CTRL_IBRS, > > + X86_FEATURE_USE_IBRS_FW); > > +} > > + > > +static inline

Re: [PATCH] perf report: Fix wrong jump arrow

2018-02-12 Thread Jin, Yao
Hi Arnaldo, Thanks for applying the patch. Yes the issue only happens on skl+. The committer notes are very good and clear. Thanks Jin Yao On 2/9/2018 11:15 PM, Arnaldo Carvalho de Melo wrote: Em Mon, Jan 29, 2018 at 06:57:53PM +0800, Jin Yao escreveu: When we use perf report interactive

[RFC PATCH 1/3] audit: remove arch_f pointer from struct audit_krule

2018-02-12 Thread Richard Guy Briggs
The arch_f pointer was added to the struct audit_krule in commit: e54dc2431d740a79a6bd013babade99d71b1714f ("audit signal recipients") This is only used on addition and deletion of rules which isn't time critical and the arch field is likely to be one of the first fields, easily found iterating

[RFC PATCH 0/3] simplify struct audit_krule reveals bug

2018-02-12 Thread Richard Guy Briggs
In the process of trying to track down a potential bug altering the registered arch for a syscall rule, a simplification of struct audit_krule that removes a seemingly unnecessary member has revealed a surprising NULL pointer dereference. The struct audit_field *arch_f member should not be

[RFC PATCH 3/3] debug! audit: remove arch_f pointer from struct audit_krule

2018-02-12 Thread Richard Guy Briggs
Signed-off-by: Richard Guy Briggs --- kernel/auditfilter.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c index 48dcb59..3938ad2c 100644 --- a/kernel/auditfilter.c +++ b/kernel/auditfilter.c @@ -228,6 +228,8 @@ static int

[RFC PATCH 2/3] fixup! audit: remove arch_f pointer from struct audit_krule

2018-02-12 Thread Richard Guy Briggs
Signed-off-by: Richard Guy Briggs --- kernel/auditfilter.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c index 3343d1c..48dcb59 100644 --- a/kernel/auditfilter.c +++ b/kernel/auditfilter.c @@ -221,11 +221,13 @@

Re: [PATCH v5 01/11] scsi: ufs: sysfs: attribute group for existing sysfs entries.

2018-02-12 Thread Philippe Ombredanne
Dear Stanislav, On Mon, Feb 12, 2018 at 2:06 AM, Jaegeuk Kim wrote: > On 02/06, Stanislav Nijnikov wrote: >> This patch introduces attribute group to show existing sysfs entries. >> >> Signed-off-by: Stanislav Nijnikov >> --- /dev/null >> +++

Re: [PATCH v3 1/3] sched: Stop nohz stats when decayed

2018-02-12 Thread Peter Zijlstra
On Mon, Feb 12, 2018 at 09:07:52AM +0100, Vincent Guittot wrote: > @@ -9222,6 +9259,20 @@ void nohz_balance_enter_idle(int cpu) > atomic_inc(_cpus); > > set_cpu_sd_state_idle(cpu); > + > + /* > + * Ensures that if nohz_idle_balance() fails to observe our > + *

ext4 iomap SEEK broken [was: [GIT PULL] ext4 updates for 4.15]

2018-02-12 Thread Jiri Slaby
Hi, On 11/13/2017, 04:15 AM, Theodore Ts'o wrote: > The following changes since commit 9e66317d3c92ddaab330c125dfe9d06eee268aff: > > Linux 4.14-rc3 (2017-10-01 14:54:54 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git >

[PATCH 03/17] kexec_file: Make purgatory_info->ehdr const

2018-02-12 Thread Philipp Rudo
The kexec_purgatory buffer is read-only. Thus all pointers into kexec_purgatory are read-only, too. Point this out by explicitly marking purgatory_info->ehdr as 'const' and update the comments in purgatory_info. Signed-off-by: Philipp Rudo --- include/linux/kexec.h |

  1   2   3   4   5   6   7   8   9   10   >