Re: [RFC PATCH v2 12/14] x86/watchdog/hardlockup/hpet: Determine if HPET timer caused NMI

2019-04-10 Thread Peter Zijlstra
On Tue, Apr 09, 2019 at 06:19:57PM -0700, Ricardo Neri wrote: > On Tue, Apr 09, 2019 at 01:28:17PM +0200, Peter Zijlstra wrote: > > > @@ -147,6 +161,14 @@ static void set_periodic(struct hpet_hld_data *hdata) > > > */ > > > static bool is_hpet_wdt_interrupt(struct hpet_hld_data *hdata) > > > {

Re: [PATCH 22/23] watchdog: sunxi_wdt: Use 'dev' instead of dereferencing it repeatedly

2019-04-10 Thread Maxime Ripard
On Tue, Apr 09, 2019 at 10:24:00AM -0700, Guenter Roeck wrote: > Introduce local variable 'struct device *dev' and use it instead of > dereferencing it repeatedly. > > The conversion was done automatically with coccinelle using the > following semantic patches. The semantic patches and the scripts

Re: [RFC PATCH v3 1/4] x86: Add new config symbol to unify conditional definition of hv_irq_callback_count

2019-04-10 Thread Zhao, Yakui
On 2019年04月08日 17:35, Borislav Petkov wrote: Subject: x86/kconfig: Add ... On Mon, Apr 08, 2019 at 04:12:08PM +0800, Zhao Yakui wrote: Now the CONFIG_HYPERV and CONFIG_XEN can be used to control the definition /usage of hv_irq_callback_count. If another linux guest also needs to use the hv_i

Re: [PATCH v3 1/4] x86: kdump: move reserve_crashkernel_low() into kexec_core.c

2019-04-10 Thread Ingo Molnar
* Chen Zhou wrote: > In preparation for supporting more than one crash kernel regions > in arm64 as x86_64 does, move reserve_crashkernel_low() into > kexec/kexec_core.c. > > Signed-off-by: Chen Zhou > --- > arch/x86/include/asm/kexec.h | 3 ++ > arch/x86/kernel/setup.c | 66 > +--

[PATCH v2 2/2] ARM: dts: tegra124-apalis: convert to SPDX license tags

2019-04-10 Thread Igor Opaniuk
Replace boiler plate licenses texts with the SPDX license identifiers in Colibri/Apalis DTS files. Signed-off-by: Igor Opaniuk --- arch/arm/boot/dts/tegra124-apalis-emc.dtsi | 39 ++--- arch/arm/boot/dts/tegra124-apalis-eval.dts | 40 ++ arch/arm/boot/dts/tegr

[PATCH v2 1/2] ARM: dts: colibri/apalis: convert to SPDX license tags

2019-04-10 Thread Igor Opaniuk
Replace boiler plate licenses texts with the SPDX license identifiers in Colibri/Apalis DTS files. Signed-off-by: Igor Opaniuk --- arch/arm/boot/dts/imx6q-apalis-eval.dts | 40 +- arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts | 40 +- arch/arm/boot/dts/imx6q

Re: [PATCH v7 6/7] platform/chrome: cros_ec: add EC host command support using rpmsg.

2019-04-10 Thread Pi-Hsun Shih
Hi, On Thu, Mar 28, 2019 at 7:16 PM Enric Balletbo Serra wrote: > > Hi > > Thanks for sending this upstream, Some few comments and questions > below. Apart from these LGTM. > > Missatge de Peter Shih del dia dc., 27 de març > 2019 a les 6:17: > > > > From: Pi-Hsun Shih > > > > Add EC host comma

Re: [PATCH] mtd: rawnand: Add Macronix NAND read retry and randomizer support

2019-04-10 Thread Miquel Raynal
Hi Mason, masonccy...@mxic.com.tw wrote on Wed, 10 Apr 2019 09:14:14 +0800: > Hi Boris, > > > > > Subject > > > > Re: [PATCH] mtd: rawnand: Add Macronix NAND read retry and randomizer > support > > > > On Tue, 9 Apr 2019 17:35:39 +0800 > > masonccy...@mxic.com.tw wrote: > > > > > > > +

Re: [PATCH] perf/report: [RFC] Handling OOM in perf report

2019-04-10 Thread Thomas-Mich Richter
On 4/9/19 12:42 PM, Jiri Olsa wrote: > On Mon, Apr 01, 2019 at 04:20:00PM +0200, Thomas Richter wrote: > > SNIP > >> perf_session__process_event() returns to its caller, where -ENOMEM is >> changed to -EINVAL and processing stops: >> >> if ((skip = perf_session__process_event(session, event, hea

Re: [PATCH v2 1/5] mm, fs: Move randomize_stack_top from fs to mm

2019-04-10 Thread Alexandre Ghiti
On 04/10/2019 08:54 AM, Christoph Hellwig wrote: Looks good, Reviewed-by: Christoph Hellwig Thanks Christoph, Alex

Re: [PATCH v2 5/5] riscv: Make mmap allocation top-down by default

2019-04-10 Thread Alexandre Ghiti
On 04/10/2019 08:59 AM, Christoph Hellwig wrote: Looks good, Reviewed-by: Christoph Hellwig Thanks Christoph, Alex

Re: [PATCH 0/6] objtool: Add support for Arm64

2019-04-10 Thread Julien Thierry
On 10/04/2019 04:37, Josh Poimboeuf wrote: > On Tue, Apr 09, 2019 at 10:43:18AM -0700, Ard Biesheuvel wrote: >> On Tue, 9 Apr 2019 at 06:53, Raphael Gault wrote: >>> >>> Hi, >>> >>> As of now, objtool only supports the x86_64 architecture but the >>> groundwork has already been done in order to

Re: [PATCH] mtd: rawnand: Add Macronix NAND read retry and randomizer support

2019-04-10 Thread Boris Brezillon
On Wed, 10 Apr 2019 09:14:14 +0800 masonccy...@mxic.com.tw wrote: > Hi Boris, > > > > > Subject > > > > Re: [PATCH] mtd: rawnand: Add Macronix NAND read retry and randomizer > support > > > > On Tue, 9 Apr 2019 17:35:39 +0800 > > masonccy...@mxic.com.tw wrote: > > > > > > > + > > > > > +

[PATCH] arm64: dts: sprd: Add clock properties for serial devices

2019-04-10 Thread Baolin Wang
We've introduced power management logics for the Spreadtrum serial controller by commit 062ec2774c8a ("serial: sprd: Add power management for the Spreadtrum serial controller"), thus add related clock properties to support this feature. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/wha

Re: [PATCH 19/23] watchdog: st_lpc_wdt: Convert to use device managed functions

2019-04-10 Thread Patrice CHOTARD
Hi Guenter On 4/9/19 7:23 PM, Guenter Roeck wrote: > Use device managed functions to simplify error handling, reduce > source code size, improve readability, and reduce the likelyhood of bugs. > > The conversion was done automatically with coccinelle using the > following semantic patches. The se

Re: [PATCH 08/10] x86-64: select DYNAMIC_DEBUG_RELATIVE_POINTERS

2019-04-10 Thread Ingo Molnar
* Rasmus Villemoes wrote: > This reduces the size of struct _ddebug from 56 to 40 bytes. There's > one such struct for each pr_debug(), netdev_debug() etc. in a > CONFIG_DYNAMIC_DEBUG kernel. An Ubuntu 4.15 kernel has about 2550 > entries in the __verbose section of vmlinux, amounting to ~40K >

Re: [PATCH v2 2/5] arm64, mm: Move generic mmap layout functions to mm

2019-04-10 Thread Alexandre Ghiti
On 04/10/2019 08:59 AM, Christoph Hellwig wrote: On Thu, Apr 04, 2019 at 01:51:25AM -0400, Alexandre Ghiti wrote: - fix the case where stack randomization should not be taken into account. Hmm. This sounds a bit vague. It might be better if something considered a fix is split out to a sepa

Re: [PATCH] ARM: dts: imx6qdl-nitrogen6_max: Disable LVDS channels

2019-04-10 Thread Gary Bisson
Hi, On Tue, Apr 9, 2019 at 2:07 AM Robert Foss wrote: > > Hey Fabio, > > On 4/8/19 10:37 PM, Fabio Estevam wrote: > > Hi Robert, > > > > [Adding Gary] Adding Troy, I'm no longer a full-time employee at Boundary Devices. > > On Mon, Apr 8, 2019 at 2:54 PM Robert Foss > > wrote: > >> > >> If a

Re: [PATCH 1/2] perf/x86/intel: Support adaptive PEBS for fixed counters

2019-04-10 Thread Peter Zijlstra
On Tue, Apr 09, 2019 at 06:09:59PM -0700, kan.li...@linux.intel.com wrote: > From: Kan Liang > > Fixed counters can also generate adaptive PEBS record, if the > corresponding bit in IA32_FIXED_CTR_CTRL is set. > Otherwise, only basic record is generated. > > Unconditionally set the bit when PEBS

[PATCH RESEND V11 3/4] defconfig: arm64: add i.MX system controller thermal support

2019-04-10 Thread Anson Huang
This patch enables CONFIG_IMX_SC_THERMAL as module. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 9e313f5..d4c404a 100644 --- a/arch/arm64/configs/d

[PATCH RESEND V11 1/4] dt-bindings: fsl: scu: add thermal binding

2019-04-10 Thread Anson Huang
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and thermal sensors etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to get temperature from thermal sensors, th

[PATCH RESEND V11 2/4] thermal: imx_sc: add i.MX system controller thermal support

2019-04-10 Thread Anson Huang
i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, the system controller is in charge of controlling power, clock and thermal sensors etc.. This patch adds i.MX system controller thermal driver support, Linux kernel has to communicate with system controller via MU (message un

[PATCH RESEND V11 4/4] arm64: dts: imx: add i.MX8QXP thermal support

2019-04-10 Thread Anson Huang
Add i.MX8QXP CPU thermal zone support. Signed-off-by: Anson Huang --- Changes since V10: - remove property "imx,sensor-resource-id" and put HW resource ID inside each thermal-sensors' phandle argument. --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 33 +++

RE: [EXT] Re: [PATCH V10 1/4] dt-bindings: fsl: scu: add thermal binding

2019-04-10 Thread Anson Huang
Hi, Rui/ Eduardo I just resent the V11 patch series as I found previous patch series has conflict on the dt-binding patch, can NOT be applied directly, sorry for the inconvenience. Best Regards! Anson Huang > -Original Message- > From: Anson Huang > Sent: 2019年4月10日 14:06 > To:

[PATCH] gpio: eic: sprd: Fix incorrect irq type setting for the sync EIC

2019-04-10 Thread Baolin Wang
When setting sync EIC as IRQ_TYPE_EDGE_BOTH type, we missed to set the SPRD_EIC_SYNC_INTMODE register to 0, which means detecting edge signals. Thus this patch fixes the issue. Fixes: 25518e024e3a ("gpio: Add Spreadtrum EIC driver support") Cc: Signed-off-by: Baolin Wang --- drivers/gpio/gpio-

Re: [PATCH] misc: rtsx: Fixed rts5260 power saving parameter and sd glitch

2019-04-10 Thread Kai-Heng Feng
at 16:56, ricky...@realtek.com wrote: From: RickyWu this patch fixes rts5260 power saving parameter make power saving function work on L1.1, L1.2 Signed-off-by: RickyWu --- drivers/misc/cardreader/rts5260.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff

Re: [PATCH] drivers: fix a typo in the kernel doc for devm_platform_ioremap_resource()

2019-04-10 Thread Bartosz Golaszewski
pon., 1 kwi 2019 o 12:23 Mukesh Ojha napisał(a): > > > On 4/1/2019 1:46 PM, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > It should have been 'management' not 'managemend'. > > > > Fixes: 7945f929f1a7 ("drivers: provide devm_platform_ioremap_resource()") > > Signed-off-by: Bart

Re: [PATCH 2/2] perf/x86/intel: Add Tremont core PMU support

2019-04-10 Thread Peter Zijlstra
On Tue, Apr 09, 2019 at 06:10:00PM -0700, kan.li...@linux.intel.com wrote: > The generic purpose counter 0 and fixed counter 0 have less skid. > Force :ppp events on generic purpose counter 0. > Force instruction:ppp always on fixed counter 0. > +static struct event_constraint * > +tnt_get_event_

Re: [PATCH -next v2] acpi/hmat: fix memory leaks in hmat_init()

2019-04-10 Thread Rafael J. Wysocki
On Wed, Apr 10, 2019 at 4:15 AM Qian Cai wrote: > > The commit 665ac7e92757 ("acpi/hmat: Register processor domain to its > memory") introduced some memory leaks below due to it fails to release > the heap memory in an error path, and then those statically-allocated > __initdata memory which refer

[PATCH] lib/Kconfig.debug: Fix build error without CONFIG_BLOCK

2019-04-10 Thread Yue Haibing
From: YueHaibing If CONFIG_TEST_KMOD is set to M, while CONFIG_BLOCK is not set, XFS and BTRFS can not be compiled successly. Reported-by: Hulk Robot Fixes: d9c6a72d6fa2 ("kmod: add test driver to stress test the module loader") Signed-off-by: YueHaibing --- lib/Kconfig.debug | 1 + 1 file ch

Re: [PATCH 1/1] spi: pxa2xx: add driver enabling message

2019-04-10 Thread Jarkko Nikula
On 4/9/19 5:11 PM, Flavio Suligoi wrote: Hi Jarkko, Hi On 4/8/19 6:22 PM, Flavio Suligoi wrote: Add an info message for the PXA2xx device driver start-up, with the indication of the transfer mode used (DMA or GPIO). This info is useful to individuate the timing when the module starts. Signe

Re: [RFC PATCH v3 3/4] x86: Use HYPERVISOR_CALLBACK_VECTOR for acrn_guest upcall vector

2019-04-10 Thread Zhao, Yakui
On 2019年04月08日 23:00, Borislav Petkov wrote: You can prefix your subject now like this: x86/acrn: Use ... Thanks for suggestion. It will be updated in next version. On Mon, Apr 08, 2019 at 04:12:10PM +0800, Zhao Yakui wrote: Linux kernel uses the HYPERVISOR_CALLBACK_VECTOR for hyperviso

[PATCH v2] Input: uinput: Avoid Object-Already-Free with a global lock

2019-04-10 Thread Mukesh Ojha
uinput_destroy_device() gets called from two places. In one place, uinput_ioctl_handler() where it is protected under a lock udev->mutex but there is no protection on udev device from freeing inside uinput_release(). This can result in Object-Already-Free case where uinput parent device already go

Re: [PATCH 0/1] mm: Remove the SLAB allocator

2019-04-10 Thread Vlastimil Babka
On 4/10/19 4:47 AM, Tobin C. Harding wrote: > Recently a 2 year old bug was found in the SLAB allocator that crashes > the kernel. This seems to imply that not that many people are using the > SLAB allocator. AFAIK that bug required CONFIG_DEBUG_SLAB_LEAK, not just SLAB. That seems to imply not t

two small DMA-related Kconfig cleanups for x86

2019-04-10 Thread Christoph Hellwig
Just cleaning up the Kconfig files for some of the changes happening over the last years..

[PATCH 2/2] x86/pci: Clean up usage of X86_DEV_DMA_OPS

2019-04-10 Thread Christoph Hellwig
We have supported per-device dma_map_ops in generic code for a long time, and this symbol just guards the inclusion of the dma_map_ops registry used for vmd. Stop enabling it for anything but vmd. Signed-off-by: Christoph Hellwig --- arch/x86/Kconfig | 3 --- drivers/misc/mic/Kcon

Re: [PATCH 2/2] panic: Enable to print out all printk msg in buffer

2019-04-10 Thread Petr Mladek
On Wed 2019-04-10 10:59:26, Sergey Senozhatsky wrote: > On (04/09/19 16:14), Petr Mladek wrote: > > We should: > > > >+ Flush the latest messages before we replay the log. > > Do you mean the pending messages? When we replay the log we also should > print "header line" and panic-cpu backtrace

[PATCH 1/2] x86: Remove the unused X86_DMA_REMAP kconfig symbol

2019-04-10 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- arch/x86/Kconfig | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 5ad92419be19..38c62ff8a3f0 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -704,7 +704,6 @@ config STA2X11 depends on X86_32_NON_

Re: [PATCH RESEND 1/1] PCI: Add ATS-disable quirk for AMD Radeon R7 GPUs

2019-04-10 Thread Nikolai Kostrigin
[+cc] linux-kernel@, linux-pci@ 10.04.2019 10:26, Nikolai Kostrigin пишет: > Hello! > > 10.04.2019 00:59, Bjorn Helgaas пишет: >> [+cc Alex] >> >> This claims to be a resend, but I don't see a previous posting. > For some reason, unknown to me, my previous letter didn't appear > neither in linux-k

RE: [PATCH 1/2] dt-bindings: rtc: add battery-low-hw-alarm property

2019-04-10 Thread Flavio Suligoi
Hi Rob, > On Mon, Apr 8, 2019 at 2:22 AM Flavio Suligoi wrote: > > > > HI, > > > > > On 06/04/2019 01:07:13-0500, Rob Herring wrote: > > > > On Wed, Apr 03, 2019 at 04:52:44PM +0200, Flavio Suligoi wrote: > > > > > Some RTC devices have a battery-low automatic detection circuit. > > > > > The bat

Re: [PATCH v1] mfd: intel-lpss: Add Intel Comet Lake PCI IDs

2019-04-10 Thread Jarkko Nikula
On 4/9/19 6:11 PM, Andy Shevchenko wrote: Intel Comet Lake has the same LPSS than Intel Cannon Lake. Add the new IDs to the list of supported devices. Signed-off-by: Andy Shevchenko --- drivers/mfd/intel-lpss-pci.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/mf

Re: [RFC][PATCH 13/16] sched: Add core wide task selection and scheduling.

2019-04-10 Thread Peter Zijlstra
On Tue, Apr 09, 2019 at 11:09:45AM -0700, Tim Chen wrote: > Now that we have accumulated quite a number of different fixes to your orginal > posted patches. Would you like to post a v2 of the core scheduler with the > fixes? Well, I was promised someome else was going to carry all this, also, wh

Re: [PATCH v1 1/4] mm/memory_hotplug: Release memory resource after arch_remove_memory()

2019-04-10 Thread David Hildenbrand
On 10.04.19 00:41, Andrew Morton wrote: > On Tue, 9 Apr 2019 12:01:45 +0200 David Hildenbrand wrote: > >> __add_pages() doesn't add the memory resource, so __remove_pages() >> shouldn't remove it. Let's factor it out. Especially as it is a special >> case for memory used as system memory, added

[PATCH] ASoC: stm32: sai: fix master clock management

2019-04-10 Thread Olivier Moysan
When master clock is used, master clock rate is set exclusively. Parent clocks of master clock cannot be changed after a call to clk_set_rate_exclusive(). So the parent clock of SAI kernel clock must be set before. Ensure also that exclusive rate operations are balanced in STM32 SAI driver. Signed

Re: [PATCH] x86/tsc: mark tsc reliable on CoffeeLake

2019-04-10 Thread You-Sheng Yang
On 2019/4/8 8:03 PM, Thomas Gleixner wrote: > On Mon, 8 Apr 2019, You-Sheng Yang wrote: > >> From: You-Sheng Yang >> >> On Intel CoffeeLake it's observed tsc is always marked unstable >> unexpectedly after entering idle state Package C10(PC10), and then clock >> source is switched to hpet. This p

RE: [PATCH 1/1] spi: pxa2xx: add driver enabling message

2019-04-10 Thread Flavio Suligoi
Hi Jarkko, > > > >> Hi > >> > >> On 4/8/19 6:22 PM, Flavio Suligoi wrote: > >>> Add an info message for the PXA2xx device driver start-up, > >>> with the indication of the transfer mode used (DMA or GPIO). > >>> > >>> This info is useful to individuate the timing when > >>> the module starts. > >>

Re: [PATCH 09/10] PCI: tegra: Add Tegra194 PCIe support

2019-04-10 Thread Liviu Dudau
On Wed, Apr 10, 2019 at 11:40:40AM +0530, Vidya Sagar wrote: > On 4/9/2019 6:56 PM, Bjorn Helgaas wrote: > > On Tue, Apr 09, 2019 at 05:00:53PM +0530, Vidya Sagar wrote: > > > On 4/6/2019 12:28 AM, Bjorn Helgaas wrote: > > > > On Fri, Apr 05, 2019 at 01:23:51AM +0530, Vidya Sagar wrote: > > > > > O

Re: [PATCH] PM / core: fix kerneldoc comment for device_pm_wait_for_dev

2019-04-10 Thread Rafael J. Wysocki
On Monday, March 18, 2019 1:17:10 PM CEST Pavel Machek wrote: > > --Qf1oXS95uex85X0R > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Fri 2019-03-15 23:48:41, Yangtao Li wrote: > > Rearrange comment to make the comment

Re: [PATCH 2/2] x86/pci: Clean up usage of X86_DEV_DMA_OPS

2019-04-10 Thread Ingo Molnar
(+Cc. Patch quoted below. Acked-by from an x86 perspective.) * Christoph Hellwig wrote: > We have supported per-device dma_map_ops in generic code for a long > time, and this symbol just guards the inclusion of the dma_map_ops > registry used for vmd. Stop enabling it for anything but vmd. >

Re: [PATCH 2/2] panic: Enable to print out all printk msg in buffer

2019-04-10 Thread Sergey Senozhatsky
On (04/10/19 10:02), Petr Mladek wrote: > On Wed 2019-04-10 10:59:26, Sergey Senozhatsky wrote: > > On (04/09/19 16:14), Petr Mladek wrote: > > > We should: > > > > > >+ Flush the latest messages before we replay the log. > > > > Do you mean the pending messages? When we replay the log we als

Re: [PATCH] PM / core: fix kerneldoc comment for dpm_watchdog_handler()

2019-04-10 Thread Rafael J. Wysocki
On Monday, March 18, 2019 1:16:54 PM CEST Pavel Machek wrote: > > --w3uUfsyyY1Pqa/ej > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Fri 2019-03-15 23:37:51, Yangtao Li wrote: > > This brings the kernel doc in line wi

Re: [PATCH 0/1] mm: Remove the SLAB allocator

2019-04-10 Thread Tobin C. Harding
On Wed, Apr 10, 2019 at 10:02:36AM +0200, Vlastimil Babka wrote: > On 4/10/19 4:47 AM, Tobin C. Harding wrote: > > Recently a 2 year old bug was found in the SLAB allocator that crashes > > the kernel. This seems to imply that not that many people are using the > > SLAB allocator. > > AFAIK that

Re: [PATCH 1/4] PM / core: Introduce dpm_async_fn() helper

2019-04-10 Thread Rafael J. Wysocki
On Saturday, March 16, 2019 5:59:25 AM CEST Yangtao Li wrote: > When we want to execute device pm functions asynchronously, we'll > do the following for the device: > > 1) reinit_completion(&dev->power.completion); > 2) Check if the device enables asynchronous suspend. > 3) If necessary, exe

[PATCH 2/2] x86/resctrl: Initialize new resource group with default MBA values

2019-04-10 Thread Xiaochen Shen
Currently when a new resource group is created, the allocation values of MBA resource are not initialized and remain meaningless data. For example: mkdir /sys/fs/resctrl/p1 cat /sys/fs/resctrl/p1/schemata MB:0=100;1=100 echo "MB:0=10;1=20" > /sys/fs/resctrl/p1/schemata cat /sys/fs/resctrl/p1/sche

Re: [v2 PATCH 4/4] phy: phy-meson-gxl-usb2: get optional clock by devm_clk_get_optional()

2019-04-10 Thread Jerome Brunet
On Wed, 2019-04-10 at 14:13 +0800, Chunfeng Yun wrote: > Use devm_clk_get_optional() to get optional clock > > Cc: Martin Blumenstingl > Signed-off-by: Chunfeng Yun > Acked-by: Martin Blumenstingl Reviewed-by: Jerome Brunet > --- > v2: add Acked-by Martin Blumenstingl > --- > drivers/phy/am

Re: [RFC PATCH v3 4/4] x86: Add hypercall for acrn_guest

2019-04-10 Thread Zhao, Yakui
On 2019年04月08日 23:10, Borislav Petkov wrote: On Mon, Apr 08, 2019 at 04:12:11PM +0800, Zhao Yakui wrote: When acrn_hypervisor is detected, the hypercall is needed so that the acrn guest can query/config some settings. For example: it can be used to query the resources in hypervisor and manage

Re: [PATCH v2 1/3] ARM: use arch_extension directive instead of arch argument

2019-04-10 Thread Stefan Agner
On 09.04.2019 14:25, Måns Rullgård wrote: > Stefan Agner writes: > >> The LLVM Target parser currently does not allow to specify the security >> extension as part of -march (see also LLVM Bug 40186 [0]). When trying >> to use Clang with LLVM's integrated assembler, this leads to build >> errors s

[PATCH v3 2/3] csky: Add support for perf registers sampling

2019-04-10 Thread Mao Han
This patch implements the perf registers sampling and validation API for csky arch. The valid registers and their register ID are defined in perf_regs.h. Perf tool can backtrace in userspace with unwind library and the registers/user stack dump support. CC: Guo Ren Signed-off-by: Mao Han --- a

[PATCH v3 0/3] csky: perf callchain dwarf support

2019-04-10 Thread Mao Han
This patch set add perf DWARF unwinding support for C-SKY. Including user registers/stack dump API, and libdw support. CC: Peter Zijlstra CC: Ingo Molnar CC: Arnaldo Carvalho de Melo CC: Alexander Shishkin CC: Jiri Olsa CC: Namhyung Kim CC: Guo Ren Changes since v2: - use same registers

[PATCH v3 1/3] perf: use hweight64 instead of hweight_long

2019-04-10 Thread Mao Han
On 32-bits platform with more than 32 registers, the 64 bits mask is truncate to the lower 32 bits and the return value of hweight_long will always smaller than 32. When kernel outputs more than 32 registers, but the user perf program only counts 32, there will be a data mismatch result to overflow

[PATCH v3 3/3] csky: add support for libdw

2019-04-10 Thread Mao Han
This patch add support for DWARF register mappings and libdw registers initialization, which is used by perf callchain analyzing when --call-graph=dwarf is given. CC: Peter Zijlstra CC: Ingo Molnar CC: Arnaldo Carvalho de Melo CC: Alexander Shishkin CC: Jiri Olsa CC: Namhyung Kim Signed-off

Re: [PATCH v13 0/4] PM / Domains: Support hierarchical CPU arrangement (PSCI/ARM)

2019-04-10 Thread Ulf Hansson
On Tue, 9 Apr 2019 at 17:01, Rafael J. Wysocki wrote: > > On Tue, Apr 9, 2019 at 1:57 PM Ulf Hansson wrote: > > > > On Wed, 27 Mar 2019 at 15:35, Ulf Hansson wrote: > > > > > > Changes in v13: > > > - Use WRITE|READ_ONCE when reading/writing the "next_hrtimer" variable > > > in the > > > struc

[PATCH] of: del redundant type conversion

2019-04-10 Thread xiaojiangfeng
The type of variable l in early_init_dt_scan_chosen is int, there is no need to convert to int. Signed-off-by: xiaojiangfeng --- drivers/of/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index 4734223..de893c9 100644 --- a/drivers/of

Re: [PATCH] x86/entry/64: randomize kernel stack offset upon syscall

2019-04-10 Thread Ingo Molnar
* Josh Poimboeuf wrote: > On Mon, Apr 08, 2019 at 09:13:58AM +0300, Elena Reshetova wrote: > > diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c > > index 7bc105f47d21..38ddc213a5e9 100644 > > --- a/arch/x86/entry/common.c > > +++ b/arch/x86/entry/common.c > > @@ -35,6 +35,12 @@ >

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

2019-04-10 Thread Dmitry Vyukov
On Wed, Apr 10, 2019 at 2:26 AM Al Viro wrote: > > On Tue, Apr 09, 2019 at 07:36:00AM -0700, syzbot wrote: > > Bisection is inconclusive: the first bad commit could be any of: > > [snip the useless pile] > > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=15e1fc2b20 > > start co

Re: [PATCH 1/1] spi: pxa2xx: add driver enabling message

2019-04-10 Thread Jarkko Nikula
On 4/10/19 11:13 AM, Flavio Suligoi wrote: [9.506895] pxa2xx-spi pxa2xx-spi.13: no DMA channels available, using PIO [9.516770] pxa2xx-spi pxa2xx-spi.13: registered master spi2 [9.518527] pxa2xx-spi pxa2xx-spi.13: PXA2xx SPI master controller (PIO mode) I have added this message bec

[PATCH] ARM: debug: stm32: add UART early console configuration

2019-04-10 Thread Erwan Le Ray
- This patch allows to configure UART instance for early console by setting physical and virtual base addresses. - This patch adds UART early console support for stm32h7 and stm32mp157c. Signed-off-by: Erwan Le Ray diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 6d6e033..4ea3e

Re: [PATCH v4 0/5] PHY: Add support for SERDES in TI's AM654 platform

2019-04-10 Thread Roger Quadros
Kishon, On 05/04/2019 14:08, Kishon Vijay Abraham I wrote: > This patch series > *) adds support for SERDES module in am654 > *) modifies phy_reset API to invoke pm_runtime_get/pm_runtime_put since > the reset callback can access registers. > *) Add *release* phy_ops to be invoked when the c

Re: [PATCH v2 1/3] ARM: use arch_extension directive instead of arch argument

2019-04-10 Thread Stefan Agner
On 09.04.2019 16:50, Tony Lindgren wrote: > Hi, > > * Stefan Agner [190408 20:59]: >> --- a/arch/arm/mach-omap2/Makefile >> +++ b/arch/arm/mach-omap2/Makefile >> @@ -41,11 +41,6 @@ obj-$(CONFIG_SOC_OMAP5) += >> $(omap-4-5-common) $(smp-y) sleep44xx.o >> obj-$(CONFIG_SOC_AM43XX

[tip:sched/core] sched/topology: Fix build_sched_groups() comment

2019-04-10 Thread tip-bot for Valentin Schneider
Commit-ID: d8743230c9f4e92f370ecd2a90c680ddcede6ae5 Gitweb: https://git.kernel.org/tip/d8743230c9f4e92f370ecd2a90c680ddcede6ae5 Author: Valentin Schneider AuthorDate: Tue, 9 Apr 2019 18:35:46 +0100 Committer: Ingo Molnar CommitDate: Wed, 10 Apr 2019 09:41:34 +0200 sched/topology: Fix b

[PATCH] iio: adc: ti-ads7950: Fix build error without CONFIG_GPIOLIB

2019-04-10 Thread Yue Haibing
From: YueHaibing When building with CONFIG_GPIOLIB is not set gcc warns this: drivers/iio/adc/ti-ads7950.c:75:19: error: field chip has incomplete type struct gpio_chip chip; ^~~~ drivers/iio/adc/ti-ads7950.c: In function ti_ads7950_set: drivers/iio/adc/ti-ads7950.c:409:32:

RE: [PATCH 1/1] spi: pxa2xx: add driver enabling message

2019-04-10 Thread Flavio Suligoi
> On 4/10/19 11:13 AM, Flavio Suligoi wrote: > >> [9.506895] pxa2xx-spi pxa2xx-spi.13: no DMA channels available, > >> using PIO > >> [9.516770] pxa2xx-spi pxa2xx-spi.13: registered master spi2 > >> [9.518527] pxa2xx-spi pxa2xx-spi.13: PXA2xx SPI master controller > >> (PIO mode) > > >

[tip:x86/asm] x86/asm: Modernize sync_bitops.h

2019-04-10 Thread tip-bot for Jan Beulich
Commit-ID: 547571b5abe61bb33c6005d8981e86e3c61fedcc Gitweb: https://git.kernel.org/tip/547571b5abe61bb33c6005d8981e86e3c61fedcc Author: Jan Beulich AuthorDate: Wed, 27 Mar 2019 09:15:19 -0600 Committer: Ingo Molnar CommitDate: Wed, 10 Apr 2019 09:53:31 +0200 x86/asm: Modernize sync_bit

[tip:x86/cleanups] x86/Kconfig: Remove the unused X86_DMA_REMAP KConfig symbol

2019-04-10 Thread tip-bot for Christoph Hellwig
Commit-ID: a5881bea88616e3aacf521dbdbe0e323257aaba1 Gitweb: https://git.kernel.org/tip/a5881bea88616e3aacf521dbdbe0e323257aaba1 Author: Christoph Hellwig AuthorDate: Wed, 10 Apr 2019 10:02:19 +0200 Committer: Ingo Molnar CommitDate: Wed, 10 Apr 2019 10:17:24 +0200 x86/Kconfig: Remove t

Re: [PATCH 3/3] thermal: cpu_cooling: Migrate to using the EM framework

2019-04-10 Thread Quentin Perret
On Wednesday 10 Apr 2019 at 11:14:49 (+0530), Viresh Kumar wrote: > On 28-03-19, 10:13, Quentin Perret wrote: > > +static unsigned int get_state_freq(struct cpufreq_cooling_device > > *cpufreq_cdev, > > + unsigned long state) > > +{ > > + struct cpufreq_policy *policy; >

RE: [PATCH] x86/entry/64: randomize kernel stack offset upon syscall

2019-04-10 Thread Reshetova, Elena
> * Josh Poimboeuf wrote: > > > On Mon, Apr 08, 2019 at 09:13:58AM +0300, Elena Reshetova wrote: > > > diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c > > > index 7bc105f47d21..38ddc213a5e9 100644 > > > --- a/arch/x86/entry/common.c > > > +++ b/arch/x86/entry/common.c > > > @@ -35,

Re: [PATCH] KVM: x86: svm: make sure NMI is injected after nmi_singlestep

2019-04-10 Thread Paolo Bonzini
On 03/04/19 16:06, Vitaly Kuznetsov wrote: > I noticed that apic test from kvm-unit-tests always hangs on my EPYC 7401P, > the hanging test nmi-after-sti is trying to deliver 3 NMIs and tracing > shows that we're sometimes able to deliver a few but never all. > > When we're trying to inject an

Re: [PATCH] fs/sync.c: sync_file_range(2) may use WB_SYNC_ALL writeback

2019-04-10 Thread Jan Kara
On Tue 09-04-19 21:01:54, Amir Goldstein wrote: > On Tue, Apr 9, 2019 at 6:43 PM Jan Kara wrote: > > On Tue 09-04-19 14:49:22, Amir Goldstein wrote: > > > Commit 23d0127096cb ("fs/sync.c: make sync_file_range(2) use WB_SYNC_NONE > > > writeback") claims that sync_file_range(2) syscall was "created

Re: [PATCH] mtd: rawnand: Add Macronix NAND read retry and randomizer support

2019-04-10 Thread Miquel Raynal
Hi masonccy...@mxic.com.tw, masonccy...@mxic.com.tw wrote on Wed, 10 Apr 2019 16:40:25 +0800: > Hi Miquel, > > > > > > > > > Re: [PATCH] mtd: rawnand: Add Macronix NAND read retry and > randomizer > > > support > > > > > > > > On Tue, 9 Apr 2019 17:35:39 +0800 > > > > masonccy...@mxic.c

Re: [RFC PATCH v3 2/4] x86: Add the support of ACRN guest

2019-04-10 Thread Zhao, Yakui
On 2019年04月08日 22:39, Borislav Petkov wrote: On Mon, Apr 08, 2019 at 04:12:09PM +0800, Zhao Yakui wrote: ACRN is an open-source hypervisor maintained by Linuxfoundation. I think tglx wanted to say "by the Linux Foundation" here. Sure. It will be fixed. This is to add the Linux guest su

[PATCH v2] modpost: make KBUILD_MODPOST_WARN also configurable for

2019-04-10 Thread Wiebe, Wladislav (Nokia - DE/Ulm)
Commit ea837f1c0503 ("kbuild: make modpost processing configurable") was intended to give KBUILD_MODPOST_WARN flexibility to be configurable. Right now KBUILD_MODPOST_WARN gets just ignored when KBUILD_EXTMOD is set which happens per default when building modules out of the tree. This change gives

Re: [PATCH] modpost: make KBUILD_MODPOST_WARN also configurable for external modules

2019-04-10 Thread Wiebe, Wladislav (Nokia - DE/Ulm)
Hi, On 09.04.2019 11:00, Masahiro Yamada wrote: > Hi. > > On Mon, Apr 8, 2019 at 5:03 PM Wiebe, Wladislav (Nokia - DE/Ulm) > wrote: >> >> Hi! >> >> On 07.04.2019 11:04, Masahiro Yamada wrote: >>> (+CC Jonas Gorski) >>> >>> >>> On Tue, Mar 26, 2019 at 6:58 PM Wiebe, Wladislav (Nokia - DE/Ulm) >>>

Re: [PATCH 1/2] sched/topology: build_sched_groups: Skip duplicate group rewrites

2019-04-10 Thread Qais Yousef
On 04/09/19 18:35, Valentin Schneider wrote: > While staring at build_sched_domains(), I realized that get_group() > does several duplicate (thus useless) writes. > > If you take the Arm Juno r0 (LITTLEs = [0, 3, 4, 5], bigs = [1, 2]), the > sched_group build flow would look like this: > > ('MC[c

Re: [PATCH v2 3/4] spi: Add MFD for Macronix MX25F0A SPI controller driver

2019-04-10 Thread Mark Brown
On Tue, Apr 09, 2019 at 10:29:59AM +0800, Mason Yang wrote: > Add a MFD driver for Macronix MX25F0A SPI controller. > > Signed-off-by: Mason Yang > --- > drivers/spi/spi-mxic.c | 275 > + This isn't adding a new MFD driver, this is a substantial r

[RFC] selftests: kvm: add a selftest for SMM

2019-04-10 Thread Vitaly Kuznetsov
Early RFC, based on state_test. Add a simplistic test for SMM. Currently it fails with "Unexpected result from KVM_SET_NESTED_STATE" even when a patch fixing rsm after VMXON is added. There's likey some other issue in nested save/restore when SMM os on. The test implements its own sync between th

Re: [PATCH v4 1/2] drm/bridge: sil_sii8620: make remote control optional.

2019-04-10 Thread Andrzej Hajda
On 07.04.2019 07:03, Ronald Tschalär wrote: > commit d6abe6df706c (drm/bridge: sil_sii8620: do not have a dependency > of RC_CORE) changed the driver to select both RC_CORE and INPUT. > However, this causes problems with other drivers, in particular an input > driver that depends on MFD_INTEL_LPSS_

[PATCH v2 1/1] spi: pxa2xx: add driver enabling message

2019-04-10 Thread Flavio Suligoi
Add an info message for the PXA2xx device driver start-up, with the indication of: - mode (slave device or master controller) - transfer mode (DMA or GPIO) Signed-off-by: Flavio Suligoi --- v1: - first version v2: - remove warning message "no DMA channels available, using PIO" -

Re: [PATCH 1/4] dt-bindings: opp: Introduce opp-bw-MBs bindings

2019-04-10 Thread Georgi Djakov
Hi Viresh, On 4/10/19 07:05, Viresh Kumar wrote: > On 09-04-19, 17:36, Georgi Djakov wrote: >> Hi Viresh, >> >> On 3/14/19 08:23, Viresh Kumar wrote: >>> On 13-03-19, 11:00, Georgi Djakov wrote: In addition to frequency and voltage, some devices may have bandwidth requirements for their

Re: [PATCH 09/10] PCI: tegra: Add Tegra194 PCIe support

2019-04-10 Thread Vidya Sagar
On 4/10/2019 1:44 PM, Liviu Dudau wrote: On Wed, Apr 10, 2019 at 11:40:40AM +0530, Vidya Sagar wrote: On 4/9/2019 6:56 PM, Bjorn Helgaas wrote: On Tue, Apr 09, 2019 at 05:00:53PM +0530, Vidya Sagar wrote: On 4/6/2019 12:28 AM, Bjorn Helgaas wrote: On Fri, Apr 05, 2019 at 01:23:51AM +0530, Vid

Re: [RFC PATCH 01/68] kbuild: skip sub-make for in-tree build with GNU Make 4.x

2019-04-10 Thread David Howells
Masahiro Yamada wrote: > Why should this patch be included in a > totally unrelated patch series? Sorry, I forgot to exclude it. It's in all my branches that I've touched since upstream got broken. I've now rebased and it's gone from this branch. David

[PATCH] KVM: x86: clear VM_EXIT_SAVE_IA32_PAT

2019-04-10 Thread Paolo Bonzini
This is not needed, PAT writes always take an MSR vmexit. Signed-off-by: Paolo Bonzini --- arch/x86/kvm/vmx/vmx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c index 687d80cca09f..b6c533afbf27 100644 --- a/arch/x86/kvm/vmx/vmx.c +++ b/arch/x86

[PATCH] PM / core: Propagate dev->power.wakeup_path when no callbacks

2019-04-10 Thread Ulf Hansson
The dev->power.direct_complete flag may become set in device_prepare() in case the device don't have any PM callbacks (dev->power.no_pm_callbacks is set). This leads to a broken behaviour, when there is child having wakeup enabled and relies on its parent to be used in the wakeup path. More precis

[PATCH] KVM: x86: optimize check for valid PAT value

2019-04-10 Thread Paolo Bonzini
This check will soon be done on every nested vmentry and vmexit, "parallelize" it using bitwise operations. Signed-off-by: Paolo Bonzini --- arch/x86/kvm/mtrr.c| 10 +- arch/x86/kvm/vmx/vmx.c | 2 +- arch/x86/kvm/x86.h | 8 3 files changed, 10 insertions(+), 10 deletio

[PATCH] staging: fbtft: fix alignment should match open parenthesis

2019-04-10 Thread Himadri Pandya
Fix checkpatch warning "Alignment should match open parenthesis". Signed-off-by: Himadri Pandya --- drivers/staging/fbtft/fb_tinylcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fb_tinylcd.c b/drivers/staging/fbtft/fb_tinylcd.c index 9469248f2c50..

Re: [PATCH-tip v2 00/12] locking/rwsem: Rwsem rearchitecture part 2

2019-04-10 Thread Ingo Molnar
* Waiman Long wrote: ># of Threads Before Patch After Patch > --- > 21,179 9,436 > 41,505 8,268 > 8 721 7,041 >16 575

Re: [RFC PATCH 22/68] vfs: Convert binderfs to use the new mount API

2019-04-10 Thread David Howells
Dan Carpenter wrote: > > + struct ipc_namespace *ipc_ns = fc->s_fs_info; > > + put_ipc_ns(ipc_ns); > > I feel like put_ipc_ns(info->ipc_ns) would be more readable. Not so much more readable as more correct. David

Re: Device Description for FPGA Components on x86 system

2019-04-10 Thread Federico Vaga
Hello, sorry to push for an answer but I do not want to take the risk of designing something useless. I do not know how should I interpret a no-answer. If the solution really does not exist today, then I would like to collect opinions/arguments/requirements on the topic so that I can write some

[PATCH v2 2/3] ARM: dts: stm32: enable Vivante GPU support on stm32mp157c-ed1 board

2019-04-10 Thread Pierre-Yves MORDRET
Enable Vivante GPU driver for stm32mp157c-ed1 board. Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: * move GPU reserved memeory out of bottom DDR to let free this area for U-Boot v1: * Initial --- --- arch/arm/boot/dts/stm32mp157c-ed1.dts | 16 ++

[PATCH v2 0/3] Add Vivante GPU support on STM32MP157c

2019-04-10 Thread Pierre-Yves MORDRET
Add and enable Vivante GPU on stm32mp157c for ED1, DK1 and DK2 boards. --- Version history: v2: * move GPU reserved memeory out of bottom DDR to let free this area for U-Boot v1: * Initial --- Pierre-Yves MORDRET (3): ARM: dts: stm32: Add Vivante GPU support on ST

[PATCH v2 1/3] ARM: dts: stm32: Add Vivante GPU support on STM32MP157c

2019-04-10 Thread Pierre-Yves MORDRET
Append Vivante GPU DT configuration. Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: v1: * Initial --- --- arch/arm/boot/dts/stm32mp157c.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32

  1   2   3   4   5   6   7   8   9   >