Re: RFC(V3): Audit Kernel Container IDs

2018-02-05 Thread Simo Sorce
On Fri, 2018-02-02 at 18:24 -0500, Paul Moore wrote: > On Fri, Feb 2, 2018 at 5:19 PM, Simo Sorce wrote: > > On Fri, 2018-02-02 at 16:24 -0500, Paul Moore wrote: > > > On Wed, Jan 10, 2018 at 2:00 AM, Richard Guy Briggs > > > wrote: > > > > On 2018-01-09 11:18, Simo Sorce wrote: > > > > > On Tue

Re: [PATCH 09/20] clk: sunxi-ng: Remove SUNXI_CCU_* selects

2018-02-05 Thread Maxime Ripard
Hi Ulf, On Mon, Feb 05, 2018 at 02:21:21AM +0100, Ulf Magnusson wrote: > The selected symbols were removed in commit 06e226c7fb23 ("clk: > sunxi-ng: Move all clock types to a library"). > > Remove the selects from SUN4I_A10_CCU. > > Discovered with the > https://github.com/ulfalizer/Kconfiglib/b

Re: [PATCH v4 3/3] x86/kvm: Expose AMD Core Perf Extension flag to guests

2018-02-05 Thread Radim Krcmar
2018-01-30 11:32-0600, Janakarajan Natarajan: > Expose the AMD Core Perf Extension flag to the guests. > > Signed-off-by: Janakarajan Natarajan > --- > diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c > @@ -365,7 +371,7 @@ static inline int __do_cpuid_ent(struct kvm_cpuid_entry2 > *entry

[GIT PULL] membarrier updates for 4.16-rc1

2018-02-05 Thread Mathieu Desnoyers
Hi Linus, The following changes since commit d8a5b80568a9cb66810e75b182018e9edb68e8ff: Linux 4.15 (Sun Jan 28 13:20:33 2018 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/rseq/linux-rseq.git tags/v4.15-membarrier-20180129 for you to fetc

Re: [PATCH 1/3] net: stmmac: dwmac-sun8i: drop V3s compatible and add V3 one

2018-02-05 Thread Maxime Ripard
Hi, On Sat, Feb 03, 2018 at 03:23:28PM +0800, Icenowy Zheng wrote: > 于 2018年2月3日 GMT+08:00 上午6:13:01, Maxime Ripard 写到: > >On Sat, Feb 03, 2018 at 02:04:54AM +0800, Icenowy Zheng wrote: > >> The V3s is just a differently packaged version of the V3 chip, which > >has > >> a MAC with the same capab

[PATCH] qlcnic: remove redundant initializations to pointers vh and nf

2018-02-05 Thread Colin King
From: Colin Ian King Pointer vh is initialized however the value is never read as it is re-assigned inside an if-statement. Move the declaration to inside the if-statement and remove the extraneous initialization. Similarly, pointer nf is being initialized and the value is never read and is re-

Re: [PATCH] MIPS: TXx9: use IS_BUILTIN() for CONFIG_LEDS_CLASS

2018-02-05 Thread James Hogan
On Mon, Jan 29, 2018 at 11:26:45AM +, Matt Redfearn wrote: > When commit b27311e1cace ("MIPS: TXx9: Add RBTX4939 board support") > added board support for the RBTX4939, it added a call to > led_classdev_register even if the LED class is built as a module. > Built-in arch code cannot call module

Re: Runqueue spinlock recursion on arm64 v4.15

2018-02-05 Thread Mark Rutland
On Fri, Feb 02, 2018 at 10:07:26PM +, Mark Rutland wrote: > On Fri, Feb 02, 2018 at 08:55:06PM +0100, Peter Zijlstra wrote: > > On Fri, Feb 02, 2018 at 07:27:04PM +, Mark Rutland wrote: > > > ... in some cases, owner_cpu is -1, so I guess we're racing with an > > > unlock. I only ever see t

[PATCH v4] arm64: fix unwind_frame() for filtered out fn for function graph tracing

2018-02-05 Thread Jerome Marchand
From: Pratyush Anand Change since v3: - Exit unwind_frame() if frame->graph != -1 Change since v2: - Set frame.graph = current->curr_ret_stack in profile_pc - Check that frame->graph != -1 in unwind_frame do_task_stat() calls get_wchan(), which further does unwind_frame(). unwind_frame() resto

Re: [PATCH] Documentation/ABI: update infiniband sysfs interfaces

2018-02-05 Thread Hal Rosenstock
On 2/5/2018 2:19 AM, Aishwarya Pant wrote: >>> + cap_mask: (RO) Port capability mask >> 2 bits here are settable: IsCommunicationManagementSupported and IsSM. > Hi > > Sorry, I don't quite understand this. cap_mask is a read only value which > indicates the supported functions. So

Re: [PATCH v12 7/9] ACPI: Translate the I/O range of non-MMIO devices before scanning

2018-02-05 Thread Andy Shevchenko
On Thu, Feb 1, 2018 at 1:32 PM, John Garry wrote: I'm not going through all patch, by one thing I would like you to pay attention on, i.e. printing resource_size_t and struct resource >> + dev_err(dev, "translate bus-addr(0x%llx) fail!\n", >> + resource->star

Re: [PATCH] MAINTAINERS: Change maintainer of genwqe

2018-02-05 Thread Guilherme G. Piccoli
On 05/02/2018 11:10, Mauro S. M. Rodrigues wrote: > Guilherme is no longer available to maintain the driver. I'll assume his > position for now on. > > Signed-off-by: Mauro S. M. Rodrigues Thanks a lot Mauro! Acked-by: Guilherme G. Piccoli > --- > MAINTAINERS | 2 +- > 1 file changed, 1 ins

[PATCH] MAINTAINERS: Change maintainer of genwqe

2018-02-05 Thread Mauro S. M. Rodrigues
Guilherme is no longer available to maintain the driver. I'll assume his position for now on. Signed-off-by: Mauro S. M. Rodrigues --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index b59a8cd..21ab6b9 100644 --- a/MAINTAINERS +++ b/M

Re: [PATCH] platform/x86: thinkpad_acpi: suppress warning about palm detection

2018-02-05 Thread Andy Shevchenko
On Mon, Feb 5, 2018 at 1:34 PM, Henrique de Moraes Holschuh wrote: >> > I'm fine with a signed-off-by or tested-by or suggested-by. There is a >> > spelling mistake though, 'hoveres' should be hovers. >> >> Is there anything else I can do here? I'm not sure any of us have the >> ability to find

Re: [RESEND][PATCH] video: fbdev: atmel_lcdfb: convert to use GPIO descriptors

2018-02-05 Thread Andy Shevchenko
On Mon, Feb 5, 2018 at 10:47 AM, Ludovic Desroches wrote: > Use GPIO descriptors instead of relying on the old method. Reviewed-by: Andy Shevchenko Though few nitpicks below. > --- a/drivers/video/fbdev/atmel_lcdfb.c > +++ b/drivers/video/fbdev/atmel_lcdfb.c > @@ -18,6 +18,7 @@ > #include >

Re: [PATCH] drm/bridge/synopsys: dsi: Add 1.31 version support

2018-02-05 Thread Andrzej Hajda
On 22.01.2018 16:08, Philippe Cornu wrote: > From: Philippe CORNU > > Add support for the Synopsys DesignWare MIPI DSI version 1.31 > Two registers need to be updated/added for supporting 1.31: > * PHY_TMR_CFG 0x9c (updated) > 1.30 [31:24] phy_hs2lp_time >[23:16] phy_lp2hs_time >

[GIT PULL] pwm: Changes for v4.16-rc1

2018-02-05 Thread Thierry Reding
Hi Linus, The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linux 4.15-rc1 (2017-11-26 16:01:47 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git tags/pwm/for-4.16-rc1 for you to fetch chang

Re: [PATCH v2] Correct use of IBRS_ATT name, should be IBRS_ALL

2018-02-05 Thread Darren Kenny
Please ignore this, didn't realise it had been already applied - guess I looked in the wrong place. Thanks, Darren. On Mon, Feb 05, 2018 at 11:02:20AM +, Darren Kenny wrote: Fixes a comment in commit 117cc7a908c83697b0b737d15ae1eb5943afe35b ("x86/retpoline: Fill return stack buffer on vmex

RE: [PATCH 1/1] scsi: ufs: make sure all interrupts are processed

2018-02-05 Thread Avri Altman
> >>> -Original Message- > >>> From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- > >>> ow...@vger.kernel.org] On Behalf Of Asutosh Das > >>> Sent: Tuesday, January 30, 2018 6:54 AM > >>> To: subha...@codeaurora.org; c...@codeaurora.org; > >>> vivek.gau...@codeaurora.org; rna...@c

[PATCH v2 04/16] mmc: sdhci-omap: Add tuning support

2018-02-05 Thread Kishon Vijay Abraham I
MMC tuning procedure is required to support SD card UHS1-SDR104 mode and EMMC HS200 mode. SDR104/HS200 DLL Tuning Procedure for AM572x platform is mentioned in Figure 25-51. SDR104/HS200 DLL Tuning Procedure of AM572x Sitara Processors Silicon Revision 2.0, 1.1 TRM (SPRUHZ6I - October 2014–Revised

[PATCH v2 00/16] mmc: sdhci-omap: Add UHS/HS200 mode support

2018-02-05 Thread Kishon Vijay Abraham I
Add UHS/HS200 mode support in sdhci-omap. The programming sequence for voltage switching, tuning is followed from AM572x TRM http://www.ti.com/lit/ug/spruhz6i/spruhz6i.pdf (Similar to all AM57x/DRA7x SoCs). The patch series also implements workaround for errata published in http://www.ti.com/lit/er

[PATCH v2 11/16] mmc: sdhci: Program a relatively accurate SW timeout value

2018-02-05 Thread Kishon Vijay Abraham I
sdhci has a 10 second timeout to catch devices that stop responding. Instead of programming 10 second arbitrary value, calculate the total time it would take for the entire transfer to happen and program the timeout value accordingly. Signed-off-by: Kishon Vijay Abraham I --- drivers/mmc/host/sd

[PATCH v2 07/16] mmc: sdhci_omap: Fix sdhci-omap quirks

2018-02-05 Thread Kishon Vijay Abraham I
Add SDHCI_QUIRK2_PRESET_VALUE_BROKEN quirk as setting preset values loads incorrect CLKD values (for UHS modes). Remove SDHCI_QUIRK2_NO_1_8_V quirk as sdhci-omap now supports UHS modes. Signed-off-by: Kishon Vijay Abraham I --- drivers/mmc/host/sdhci-omap.c | 4 ++-- 1 file changed, 2 insertion

[PATCH] net: mediatek: Explicitly include pinctrl headers

2018-02-05 Thread Thierry Reding
From: Thierry Reding The Mediatek ethernet driver fails to build after commit 23c35f48f5fb ("pinctrl: remove include file from ") because it relies on the pinctrl/consumer.h and pinctrl/devinfo.h being pulled in by the device.h header implicitly. Include these headers explicitly to avoid the bui

[PATCH v2 12/16] mmc: sdhci-omap: Workaround for Errata i834

2018-02-05 Thread Kishon Vijay Abraham I
Errata i834 in AM572x Sitara Processors Silicon Revision 2.0, 1.1 (SPRZ429K July 2014–Revised March 2017 [1]) mentions the maximum obtainable timeout through MMC host controller is 700ms. And for commands taking longer than 700ms, hardware timeout should be disabled and software timeout should be u

[PATCH v2 02/16] mmc: sdhci-omap: Add card_busy host ops

2018-02-05 Thread Kishon Vijay Abraham I
Add card_busy host ops in sdhci_omap to check card busy status. The voltage switching sequence for AM572x platform is mentioned in Figure 25-48. eMMC/SD/SDIO Power Switching Procedure of AM572x Sitara Processors Silicon Revision 2.0, 1.1 TRM (SPRUHZ6I - October 2014–Revised April 2017 [1]). In th

Re: [PATCH] drm/bridge/synopsys: dsi: Add read feature

2018-02-05 Thread Philippe CORNU
Hi Andrzej, And many thanks Philippe :-) On 02/05/2018 11:07 AM, Andrzej Hajda wrote: > On 04.02.2018 22:31, Philippe Cornu wrote: >> This patch adds the DCS/GENERIC DSI read feature. >> >> Signed-off-by: Philippe Cornu > > Reviewed-by: Andrzej Hajda > > If there will be no objections I will

[PATCH v2 14/16] mmc: sdhci-omap: Add support for MMC/SD controller in k2g SoC

2018-02-05 Thread Kishon Vijay Abraham I
Add support for the new compatible added specifically to support k2g's MMC/SD controller. Signed-off-by: Kishon Vijay Abraham I Acked-by: Adrian Hunter --- drivers/mmc/host/sdhci-omap.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/mmc/host/sdhci-omap.c b/drivers/mmc/host

[PATCH v2 16/16] ARM: OMAP2+: Use sdhci-omap specific pdata-quirks for MMC/SD on DRA74x EVM

2018-02-05 Thread Kishon Vijay Abraham I
Use sdhci-omap specific pdata-quirks for MMC/SD on DRA74x EVM since UHS modes are supported only in sdhci-omap (and not in omap-hsmmc). Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/pdata-quirks.c | 34 +- 1 file changed, 17 insertions(+), 17 delet

[PATCH v2 15/16] mmc: sdhci-omap: Add SPDX identifier

2018-02-05 Thread Kishon Vijay Abraham I
The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. Update sdhci-omap driver with the correct SPDX license identifier. Signed-off-by: Kishon Vijay Abraham I --- drivers/mmc/host/sdhci-omap.c | 22 -- 1 file changed, 4 i

[PATCH v2 08/16] mmc: sdhci-omap: Add support to override f_max and iodelay from pdata

2018-02-05 Thread Kishon Vijay Abraham I
DRA74x EVM Rev H EVM comes with revision 2.0 silicon. However, earlier versions of EVM can come with either revision 1.1 or revision 1.0 of silicon. The device-tree file is written to support rev 2.0 of silicon. pdata-quirks are used to then override the settings needed for PG 1.1 silicon. PG 1.1

[PATCH v2 09/16] mmc: sdhci: Add quirk to disable HW timeout

2018-02-05 Thread Kishon Vijay Abraham I
Add quirk to disable HW timeout if the requested timeout is more than the maximum obtainable timeout. Signed-off-by: Kishon Vijay Abraham I --- drivers/mmc/host/sdhci.c | 12 drivers/mmc/host/sdhci.h | 7 +++ 2 files changed, 19 insertions(+) diff --git a/drivers/mmc/host/sdhc

[PATCH v2 05/16] mmc: sdhci-omap: Workaround for Errata i802

2018-02-05 Thread Kishon Vijay Abraham I
Errata i802 in AM572x Sitara Processors Silicon Revision 2.0, 1.1 (SPRZ429K July 2014–Revised March 2017 [1]) mentions DCRC error interrupts (MMCHS_STAT[21] DCRC=0x1) can occur during the tuning procedure and it has to be disabled during the tuning procedure Implement workaround for Errata i802 her

[PATCH v2 13/16] dt-bindings: sdhci-omap: Add K2G specific binding

2018-02-05 Thread Kishon Vijay Abraham I
Add binding for the TI's sdhci-omap controller present in K2G. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/mmc/sdhci-omap.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/sdhci-omap.txt b/Do

[PATCH v2 10/16] mmc: sdhci: Fix to use data_timer only for data line commands

2018-02-05 Thread Kishon Vijay Abraham I
commit d7422fb489eee5587d3eec ("mmc: sdhci: Separate timer timeout for command and data requests") while separating timer timeout for command and data requests, passed cmd->mrq to sdhci_mod_timer (cmd is an argument to sdhci_send_command) and in sdhci_mod_timer used mrq->cmd to check if it is a dat

[PATCH v2 06/16] mmc: sdhci_omap: Add support to set IODELAY values

2018-02-05 Thread Kishon Vijay Abraham I
The data manual of J6/J6 Eco recommends to set different IODELAY values depending on the mode in which the MMC/SD is enumerated in order to ensure IO timings are met. Add support to set the IODELAY values depending on the various MMC modes using the pinctrl APIs. Signed-off-by: Kishon Vijay Abrah

[PATCH v2 01/16] mmc: sdhci-omap: Update 'power_mode' outside sdhci_omap_init_74_clocks

2018-02-05 Thread Kishon Vijay Abraham I
Updating 'power_mode' in sdhci_omap_init_74_clocks results in 'power_mode' never updated to MMC_POWER_OFF during card removal. This results in initialization sequence not sent to the card during re-insertion. Fix it here by adding sdhci_omap_set_power_mode to update power_mode. This function can al

[PATCH v2 03/16] mmc: sdhci-omap: Add custom set_uhs_signaling sdhci_host ops

2018-02-05 Thread Kishon Vijay Abraham I
UHS-1 DDR50 and MMC DDR52 mode require DDR bit to be set in the configuration register (MMCHS_CON). Add sdhci-omap specific set_uhs_signaling ops to set this bit. Also while setting the UHSMS bit, clock should be disabled. Signed-off-by: Kishon Vijay Abraham I Acked-by: Adrian Hunter --- driver

[GIT PULL] overlayfs update for 4.16

2018-02-05 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-linus This work from Amir adds NFS export capability to overlayfs. NFS exporting an overlay filesystem is a challange because we want to keep track of any copy-up of a file or directory betwee

[PATCH] net: phy-micrel: remove redundant initialization of pointer of_node

2018-02-05 Thread Colin King
From: Colin Ian King Pointer of_node is initialized with a value that is never read, of_node is later updated with a new value instead, hence the initialization is redundant and can be removed. Also remove unused pointer dev and remove an empty line. Cleans up clang warnings: drivers/net/phy/mi

Re: [RESEND RFC PATCH V3] sched: Improve scalability of select_idle_sibling using SMT balance

2018-02-05 Thread Peter Zijlstra
On Fri, Feb 02, 2018 at 04:06:32PM -0500, Steven Sistare wrote: > On 2/2/2018 2:59 PM, Peter Zijlstra wrote: > > But then you get that atomic crud to contend on the cluster level, which > > is even worse than it contending on the core level. > > True, but it can still be a net win if we make bett

[PATCH 1/2] drm/rockchip: lvds: Explicitly include pinctrl headers

2018-02-05 Thread Thierry Reding
From: Thierry Reding The Rockchip LVDS driver fails to build after commit 23c35f48f5fb ("pinctrl: remove include file from ") because it relies on the pinctrl/consumer.h and pinctrl/devinfo.h being pulled in by the device.h header implicitly. Include these headers explicitly to avoid the build f

[PATCH 0/2] pinctrl: Implicit inclusion fallout fixes

2018-02-05 Thread Thierry Reding
From: Thierry Reding Hi Linus, these are two patches to fix build errors I've run into that are fallout from your removal of the pinctrl/devinfo.h include from device.h. I sure can imagine that there are more like this, but these seem to be the common ones, judging by my own build tests and the

[PATCH 2/2] mmc: meson-gx-mmc: Explicitly include pinctr/consumer.h

2018-02-05 Thread Thierry Reding
From: Thierry Reding The Meson GX MMC driver fails to build after commit 23c35f48f5fb ("pinctrl: remove include file from ") because it relies on the pinctrl/consumer.h being pulled in by the device.h header implicitly. Include the header explicitly to avoid the build failure. Cc: Linus Walleij

Re: bisected bd4c82c22c367e is the first bad commit (was [Bug 198617] New: zswap causing random applications to crash)

2018-02-05 Thread Sergey Senozhatsky
On (02/05/18 21:39), Sergey Senozhatsky wrote: > > I have successfully reproduced the issue and find the problem. The > > following patch fix the issue for me, can you try it? > > That was quick ;) > > > -8<--- > > From 4c52d531680f9157

Re: bisected bd4c82c22c367e is the first bad commit (was [Bug 198617] New: zswap causing random applications to crash)

2018-02-05 Thread Sergey Senozhatsky
Xorg Not tainted 4.15.0-next-20180205-dbg-00021-ga1282bf979c4-dirty #2480 [ 308.986659] Call Trace: [ 308.986667] dump_stack+0x46/0x59 [ 308.986671] swiotlb_alloc_coherent+0x164/0x174 [ 308.986675] ttm_dma_pool_get_pages+0x16e/0x3ce [ 308.986679] ttm_dma_populate+0x108/0x2af [ 308.9

Re: [PATCH v12 7/9] ACPI: Translate the I/O range of non-MMIO devices before scanning

2018-02-05 Thread John Garry
On 05/02/2018 12:10, Joe Perches wrote: On Mon, 2018-02-05 at 11:01 +, John Garry wrote: On 04/02/2018 07:45, Rafael J. Wysocki wrote: + /* translate the I/O resources */ + for (i = 0; i < count; i++) { + if (resources[i].flags & IORESOURCE_IO) { +

Re: [PATCH] xen: hypercall: fix out-of-bounds memcpy

2018-02-05 Thread Arnd Bergmann
On Mon, Feb 5, 2018 at 1:11 PM, David Laight wrote: > From: Boris Ostrovsky >> Sent: 02 February 2018 23:34 > ... >> > switch (cmd) { >> > + case EVTCHNOP_bind_interdomain: >> > + len = sizeof(struct evtchn_bind_interdomain); >> > + break; >> > + case EVTCHNOP_bind_virq

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

2018-02-05 Thread Chintan Pandya
My question was trying to determine whether the numbers reported above are for a debug configuration or a production configuration. My reported numbers are from debug configuration. not a production configuration, I was requesting the numbers for a production configuration. I'm working on it

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

2018-02-05 Thread Gerd Hoffmann
Hi, > > Why not use virtio-vsock to run the wayland protocol? I don't like > > the idea to duplicate something with very simliar functionality in > > virtio-gpu. > > The reason for abandoning that approach was the type of objects that > could be shared via virtio-vsock would be extremely limite

Re: [RESEND RFC PATCH V3] sched: Improve scalability of select_idle_sibling using SMT balance

2018-02-05 Thread Peter Zijlstra
On Fri, Feb 02, 2018 at 09:37:02AM -0800, Subhra Mazumdar wrote: > In the scheme of SMT balance, if the idle cpu search is done _not_ in the > last run core, then we need a random cpu to start from. If the idle cpu > search is done in the last run core we can start the search from last run > cpu. S

[PATCH 4/4] nvme: lightnvm: add late setup of block size and metadata

2018-02-05 Thread Matias Bjørling
The nvme driver sets up the size of the nvme namespace in two steps. First it initializes the device with standard logical block and metadata sizes, and then sets the correct logical block and metadata size. Due to the OCSSD 2.0 specification relies on the namespace to expose these sizes for correc

[PATCH 3/4] lightnvm: add 2.0 geometry identification

2018-02-05 Thread Matias Bjørling
Implement the geometry data structures for 2.0 and enable a drive to be identified as one, including exposing the appropriate 2.0 sysfs entries. Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c | 2 +- drivers/nvme/host/lightnvm.c | 334 +-

[PATCH 1/4] lightnvm: make 1.2 data structures explicit

2018-02-05 Thread Matias Bjørling
Make the 1.2 data structures explicit, so it will be easy to identify the 2.0 data structures. Also fix the order of which the nvme_nvm_* are declared, such that they follow the nvme_nvm_command order. Signed-off-by: Matias Bjørling --- drivers/nvme/host/lightnvm.c | 82 ++---

[PATCH 2/4] lightnvm: flatten nvm_id_group into nvm_id

2018-02-05 Thread Matias Bjørling
There are no groups in the 2.0 specification, make sure that the nvm_id structure is flattened before 2.0 data structures are added. Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c | 25 ++- drivers/nvme/host/lightnvm.c | 100 +--

[PATCH 0/4] lightnvm: base 2.0 implementation

2018-02-05 Thread Matias Bjørling
Hi, A couple of patches for 2.0 support for the lightnvm subsystem. They form the basis for integrating 2.0 support. For the rest of the support, Javier has code that implements report chunk and sets up the LBA format data structure. He also has a bunch of patches that brings pblk up to speed. T

Re: [PATCH v12 7/9] ACPI: Translate the I/O range of non-MMIO devices before scanning

2018-02-05 Thread Joe Perches
On Mon, 2018-02-05 at 11:01 +, John Garry wrote: > On 04/02/2018 07:45, Rafael J. Wysocki wrote: > > + /* translate the I/O resources */ > > > + for (i = 0; i < count; i++) { > > > + if (resources[i].flags & IORESOURCE_IO) { > > > + ret = acpi_tra

[PATCH] scsi: ufs-qcom: add number of lanes per direction

2018-02-05 Thread Can Guo
From: Gilad Broner Different platforms may have different number of lanes for the UFS link. Add parameter to device tree specifying how many lanes should be configured for the UFS link. And don't print err message for clocks that are optional, this leads to unnecessary confusion about failure. S

Re: [9/8] KVM: x86: limit MSR_IA32_SPEC_CTRL access based on CPUID availability

2018-02-05 Thread Ingo Molnar
* David Woodhouse wrote: > On Mon, 2018-02-05 at 12:10 +0100, Ingo Molnar wrote: > > > > Can this branch still be rebased, to fix the SoB chain of: > > > >   de3a0021a606 ("KVM: nVMX: Eliminate vmcs02 pool") > > > > ? > > It can't. Linus pulled it already. Ah, indeed, freshly so in 35277995

RE: [PATCH] xen: hypercall: fix out-of-bounds memcpy

2018-02-05 Thread David Laight
From: Boris Ostrovsky > Sent: 02 February 2018 23:34 ... > > switch (cmd) { > > + case EVTCHNOP_bind_interdomain: > > + len = sizeof(struct evtchn_bind_interdomain); > > + break; > > + case EVTCHNOP_bind_virq: > > + len = sizeof(struct evtchn_bind_virq); > > +

Re: [PATCH] fbdev: simplefb: add support for 'memory-region' property on DT node

2018-02-05 Thread Kunihiko Hayashi
Hi Rob, On Mon, 5 Feb 2018 00:09:14 -0600 wrote: > On Thu, Feb 01, 2018 at 04:56:08PM +0100, Bartlomiej Zolnierkiewicz wrote: > > > > Hi, > > > > On Tuesday, January 23, 2018 08:34:56 PM Kunihiko Hayashi wrote: > > > Enables 'memory-region' property referring to the memory description on > > >

Re: bisected bd4c82c22c367e is the first bad commit (was [Bug 198617] New: zswap causing random applications to crash)

2018-02-05 Thread Huang, Ying
Sergey Senozhatsky writes: > Hi, > > On (02/04/18 22:21), huang ying wrote: > [..] >> >> After disabling zswap no crashes at all. >> >> >> >> /etc/systemd/swap.conf >> >> zswap_enabled=1 >> >> zswap_compressor=lz4 # lzo lz4 >> >> zswap_max_pool_percent=25 # 1-99 >> >> zswap_zpool=zbud

Re: [PATCH v2 1/3] x86/entry: Clear extra registers beyond syscall arguments for 64bit kernels

2018-02-05 Thread Ingo Molnar
* Dan Williams wrote: > + /* > + * Sanitize extra registers of values that a speculation attack > + * might want to exploit. In the CONFIG_FRAME_POINTER=y case, > + * the expectation is that %ebp will be clobbered before it > + * could be used. > + */ > + .macro

Re: [RESEND][PATCH] video: fbdev: atmel_lcdfb: convert to use GPIO descriptors

2018-02-05 Thread Linus Walleij
On Mon, Feb 5, 2018 at 9:47 AM, Ludovic Desroches wrote: > Use GPIO descriptors instead of relying on the old method. > > Signed-off-by: Ludovic Desroches Ah there it is :D Reviewed-by: Linus Walleij PS: why not move it all over to use DRI/DRM/KMS? It's becoming easier and easier. Yours, Lin

Re: [PATCH] video: fbdev: convert to use GPIO descriptors

2018-02-05 Thread Linus Walleij
On Mon, Feb 5, 2018 at 9:23 AM, Ludovic Desroches wrote: > Use GPIO descriptors instead of relying on the old method. > > Signed-off-by: Ludovic Desroches The subject should probably indicate that you're patching the Atmel driver. Anyways: Reviewed-by: Linus Walleij Thanks for doing this. Lin

[PATCH] perf data: Document missing --force option

2018-02-05 Thread Sangwon Hong
Add --force option on the man page Cc: Jiri Olsa Cc: Namhyung Kim Cc: Taeung Song Signed-off-by: Sangwon Hong --- tools/perf/Documentation/perf-data.txt | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/Documentation/perf-data.txt b/tools/perf/Documentation/perf-data.txt ind

[PATCH] perf annotate: Document missing --force option

2018-02-05 Thread Sangwon Hong
Add --force option on the man page Cc: Jiri Olsa Cc: Namhyung Kim Cc: Taeung Song Cc: linux-kernel@vger.kernel.org Signed-off-by: Sangwon Hong --- tools/perf/Documentation/perf-data.txt | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/Documentation/perf-data.txt b/tools/per

Re: [PATCH v2 1/3] x86/entry: Clear extra registers beyond syscall arguments for 64bit kernels

2018-02-05 Thread Ingo Molnar
* Dan Williams wrote: > + /* > + * Sanitize extra registers of values that a speculation attack > + * might want to exploit. In the CONFIG_FRAME_POINTER=y case, > + * the expectation is that %ebp will be clobbered before it > + * could be used. > + */ > + .macro

Re: [PATCH AUTOSEL for 4.14 029/110] ASoC: nau8825: fix issue that pop noise when start capture

2018-02-05 Thread Mark Brown
On Sat, Feb 03, 2018 at 06:00:42PM +, Sasha Levin wrote: > From: Abhijeet Kumar > > [ Upstream commit d070f7c703ef26e3db613f24206823f916272fc6 ] > > In skylake platform, we hear a loud pop noise(0 dB) at start of > audio capture power up sequence. This patch removes the pop noise > from the

[PATCH] ASoC: wm_adsp: Don't init cache from DSP memory if control is write-only

2018-02-05 Thread Richard Fitzgerald
For controls marked write-only don't initialize the cache from the content of the DSP memory. We stil need the cache for any new data that is written to this control, and we need to return something for a read of the ALSA control because most user-side code assumes all ALSA controls are readable. T

RE: [PATCH AUTOSEL for 4.14 019/110] sctp: fix the issue that a __u16 variable may overflow in sctp_ulpq_renege

2018-02-05 Thread David Laight
From: Sasha Levin > Sent: 03 February 2018 18:01 > [ Upstream commit 5c468674d17056148da06218d4da5d04baf22eac ] > > Now when reneging events in sctp_ulpq_renege(), the variable freed > could be increased by a __u16 value twice while freed is of __u16 > type. It means freed may overflow at the seco

[PATCH] usb: gadget: f_fs: get the correct address of comp_desc

2018-02-05 Thread William Wu
Refer to the USB 3.0 spec '9.6.7 SuperSpeed Endpoint Companion', the companion descriptor follows the standard endpoint descriptor. This descriptor is only defined for SuperSpeed endpoints. The f_fs driver gets the address of the companion descriptor via 'ds + USB_DT_ENDPOINT_SIZE', and actually, t

Re: [PATCH] platform/x86: thinkpad_acpi: suppress warning about palm detection

2018-02-05 Thread Henrique de Moraes Holschuh
> > I'm fine with a signed-off-by or tested-by or suggested-by. There is a > > spelling mistake though, 'hoveres' should be hovers. > > Is there anything else I can do here? I'm not sure any of us have the > ability to find out what lenovo actualy wants this for. I have already acked the patch,

Re: [PATCH v9 3/7] acpi: apei: Add SEI notification type support for ARMv8

2018-02-05 Thread gengdongjiu
[...] > > > Yes, I know you are dong that. Your serial's patch will consider all above > things, right? > > Assuming I got it right, yes. It currently makes the race Xie XiuQi spotted > worse, > which I want to fix too. (details on the cover letter) Ok. > > > > If your patch can be consider

Re: [PATCH v2] Documentation/process: kernel maintainer PGP guide

2018-02-05 Thread Luc Van Oostenryck
On Thu, Feb 01, 2018 at 09:42:33AM -0500, Konstantin Ryabitsev wrote: > + > +$ git --list-key torva...@kernel.org Small typo here: you meant 'gpg --list-key' instead of 'git ...' Regards, -- Luc Van Oostenryck

Re: [PATCH] Fix typo IBRS_ATT, which should be IBRS_ALL

2018-02-05 Thread Darren Kenny
On Fri, Feb 02, 2018 at 11:42:12PM +, David Woodhouse wrote: On Fri, 2018-02-02 at 19:12 +, Darren Kenny wrote: Fixes a typo in commit 117cc7a908c83697b0b737d15ae1eb5943afe35b ("x86/retpoline: Fill return stack buffer on vmexit") Signed-off-by: Darren Kenny Reviewed-by: Konrad Rzeszute

Re: [9/8] KVM: x86: limit MSR_IA32_SPEC_CTRL access based on CPUID availability

2018-02-05 Thread David Woodhouse
On Mon, 2018-02-05 at 12:10 +0100, Ingo Molnar wrote: > > Can this branch still be rebased, to fix the SoB chain of: > >   de3a0021a606 ("KVM: nVMX: Eliminate vmcs02 pool") > > ? It can't. Linus pulled it already. smime.p7s Description: S/MIME cryptographic signature

Re: [PATCH] Fix typo IBRS_ATT, which should be IBRS_ALL

2018-02-05 Thread David Woodhouse
On Mon, 2018-02-05 at 11:00 +, Darren Kenny wrote: > On Fri, Feb 02, 2018 at 11:42:12PM +, David Woodhouse wrote: > > > > On Fri, 2018-02-02 at 19:12 +, Darren Kenny wrote: > > > > > > Fixes a typo in commit 117cc7a908c83697b0b737d15ae1eb5943afe35b > > > ("x86/retpoline: Fill return s

Re: [PATCH 1/2] f2fs: enable to gc page whose inode already atomic commit

2018-02-05 Thread Chao Yu
On 2018/2/5 17:37, Yunlong Song wrote: > >> OK, details as I explained before: >> >> atomic_commitGC >> - file_write_and_wait_range >> - move_data_block >> - f2fs_submit_page_write >>

Re: [PATCH 4/4] sched/fair: Use a recently used CPU as an idle candidate and the basis for SIS

2018-02-05 Thread Mel Gorman
On Fri, Feb 02, 2018 at 12:01:37PM -0800, Srinivas Pandruvada wrote: > > Sure, but the lack on detection when tasks are low utilisation but > > still > > latency/throughput sensitive is problematic. Users shouldn't have to > > know they need to disable HWP or set performance goernor out of the > >

Re: [9/8] KVM: x86: limit MSR_IA32_SPEC_CTRL access based on CPUID availability

2018-02-05 Thread Ingo Molnar
* Paolo Bonzini wrote: > On 30/01/2018 12:45, Thomas Gleixner wrote: > > On Tue, 30 Jan 2018, David Woodhouse wrote: > > > >> On Tue, 2018-01-30 at 08:57 -0800, Jim Mattson wrote: > >>> It's really hard to tell which patches are being proposed for which > >>> repositories, but assuming that eve

Re: [PATCH v3 08/18] arm/arm64: KVM: Add PSCI version selection API

2018-02-05 Thread Marc Zyngier
On 05/02/18 10:50, Christoffer Dall wrote: > On Mon, Feb 05, 2018 at 10:42:44AM +, Marc Zyngier wrote: >> On 05/02/18 09:58, Andrew Jones wrote: >>> On Mon, Feb 05, 2018 at 09:24:33AM +, Marc Zyngier wrote: On 04/02/18 12:37, Christoffer Dall wrote: >> >> [...] >> > Given the urgen

Re: [PATCH v6 20/41] ARM: da830: add new clock init using common clock framework

2018-02-05 Thread Sekhar Nori
On Friday 02 February 2018 11:33 PM, David Lechner wrote: > On 02/02/2018 08:12 AM, Sekhar Nori wrote: >> On Saturday 20 January 2018 10:43 PM, David Lechner wrote: >>>   void __init da830_init_time(void) >>>   { >>> +#ifdef CONFIG_COMMON_CLK >>> +    void __iomem *pll0, *psc0, *psc1; >>> +    stru

[PATCH] KVM: nVMX: Fix CR4 after VMLAUNCH/VMRESUME failure

2018-02-05 Thread Wanpeng Li
From: Wanpeng Li In L0, Haswell client host: nested_vmx_exit_reflected failed vm entry 7 WARNING: CPU: 6 PID: 6797 at kvm/arch/x86/kvm//vmx.c:6206 handle_desc+0x2d/0x40 [kvm_intel] CPU: 6 PID: 6797 Comm: qemu-system-x86 Tainted: GW OE4.15.0+ #4 RIP: 0010:handle_desc+0x2d/0x40 [

Re: [PATCH v12 7/9] ACPI: Translate the I/O range of non-MMIO devices before scanning

2018-02-05 Thread John Garry
On 04/02/2018 07:45, Rafael J. Wysocki wrote: On Tue, Jan 23, 2018 at 5:36 PM, John Garry wrote: On some platforms(such as Hip06/Hip07), the legacy ISA/LPC devices access I/O with some special host-local I/O ports known on x86. As their I/O space are not memory mapped like PCI/PCIE MMIO host br

Re: [PATCH v3 0/7] ARM: dts: imx6q: engicam LVDS panel changes

2018-02-05 Thread Shawn Guo
On Sun, Feb 04, 2018 at 11:19:24PM +0530, Jagan Teki wrote: > Series adda LVDS panel attributes on panel drivers instead of defining > them in dts nodes, and also added new icorem6 engicam boards. > > Jagan Teki (7): > drm/panel: simple: add support for Ampire AM-800480AYTZQW-00H > ARM: dts: i

Re: [PATCH 4/4] sched/fair: Use a recently used CPU as an idle candidate and the basis for SIS

2018-02-05 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Sat, Feb 03, 2018 at 08:30:48AM -0800, Srinivas Pandruvada wrote: > > On Fri, 2018-02-02 at 15:08 +0100, Peter Zijlstra wrote: > > > On Fri, Feb 02, 2018 at 01:46:47PM +0100, Peter Zijlstra wrote: > > > > > > > +static void __intel_pstate_hwp_set_desired(int val) >

Re: [PATCH] sched/rt: Make update_curr_rt() more accurate

2018-02-05 Thread Ingo Molnar
* Wen Yang wrote: > rq->clock_task may be updated between the two calls of > rq_clock_task() in update_curr_rt(). Calling rq_clock_task() only > once makes it more accurate and efficient, taking update_curr() as > reference. > > Signed-off-by: Wen Yang > Reviewed-by: Jiang Biao > --- > kern

[PATCH v2 1/1] ASoC: stm32: add of dependency for stm32 drivers

2018-02-05 Thread Olivier Moysan
Add of dependency for STM32 ASoC drivers. DFSDM of dependency is already inherited from STM32_DFSDM_ADC dependency. Signed-off-by: olivier moysan --- sound/soc/stm/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/stm/Kconfig b/sound/soc/stm/Kconfig inde

Re: [PATCH v3 08/18] arm/arm64: KVM: Add PSCI version selection API

2018-02-05 Thread Christoffer Dall
On Mon, Feb 05, 2018 at 10:42:44AM +, Marc Zyngier wrote: > On 05/02/18 09:58, Andrew Jones wrote: > > On Mon, Feb 05, 2018 at 09:24:33AM +, Marc Zyngier wrote: > >> On 04/02/18 12:37, Christoffer Dall wrote: > > [...] > > >>> Given the urgency of adding mitigation towards variant 2 which

Re: [PATCH 00/18] [ANNOUNCE] Dynamically created function based events

2018-02-05 Thread Daniel Bristot de Oliveira
On 02/05/2018 11:23 AM, Juri Lelli wrote: > Hi Steve, > > On 02/02/18 18:04, Steven Rostedt wrote: >> >> At Kernel Summit back in October, we tried to bring up trace markers, which >> would be nops within the kernel proper, that would allow modules to hook >> arbitrary trace events to them. The re

[PATCH] iommu: Do not return error code for APIs with size_t return type

2018-02-05 Thread Suravee Suthikulpanit
Currently, iommu_unmap, iommu_unmap_fast and iommu_map_sg return size_t. However, some of the return values are error codes (< 0), which can be misinterpreted as large size. Therefore, returning size 0 instead to signify failure to map/unmap. Cc: Joerg Roedel Cc: Alex Williamson Signed-off-by:

Re: [PATCH 06/20] riscv: Remove ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE select

2018-02-05 Thread Jonathan Neuschäfer
On Mon, Feb 05, 2018 at 02:21:18AM +0100, Ulf Magnusson wrote: > The ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE symbol was removed in > commit 51a021244b9d ("atomic64: no need for > CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE"). > > Remove the ARCH_HAS_ATOMIC64_DEC_IS_POSITIVE select from RISCV. > > Discover

Re: [PATCH 1/2] input: touchscreen: ar1021_i2c: enable touch mode during open

2018-02-05 Thread Martin Kepplinger
 Martin Kepplinger | Entwicklung Software  GINZINGER ELECTRONIC SYSTEMS GMBH Tel.: +43 7723 5422 157 Mail: martin.kepplin...@ginzinger.com Web: www.ginzinger.com On 2018-02-05 11:07, Christian Gmeiner wrote: > Hi all. > > 2017-04-27 14:22 GMT+02:00 Martin Kepplinger > : >> The device co

Re: [PATCH 4/4] sched/fair: Use a recently used CPU as an idle candidate and the basis for SIS

2018-02-05 Thread Peter Zijlstra
On Sat, Feb 03, 2018 at 08:30:48AM -0800, Srinivas Pandruvada wrote: > On Fri, 2018-02-02 at 15:08 +0100, Peter Zijlstra wrote: > > On Fri, Feb 02, 2018 at 01:46:47PM +0100, Peter Zijlstra wrote: > > > > > +static void __intel_pstate_hwp_set_desired(int val) > > > +{ > > > + u64 value; > > > + > >

Re: [PATCH v3 08/18] arm/arm64: KVM: Add PSCI version selection API

2018-02-05 Thread Marc Zyngier
On 05/02/18 09:58, Andrew Jones wrote: > On Mon, Feb 05, 2018 at 09:24:33AM +, Marc Zyngier wrote: >> On 04/02/18 12:37, Christoffer Dall wrote: [...] >>> Given the urgency of adding mitigation towards variant 2 which is the >>> driver for this work, I think we should drop the compat function

Re: [PATCH v2 BUGFIX] ARM: dts: imx6ull: fix the imx6ull-14x14-evk configuration

2018-02-05 Thread Shawn Guo
tsi) file. > > > > > > Signed-off-by: Lothar Waßmann > > > > Which base is the patch generated against? I cannot apply it to any > > branch in my tree. > > > The patch was generated against next-20180118 but also applies to > next-20180205. It look

Re: PATCH v6 3/6] livepatch: Initial support for dynamic structures

2018-02-05 Thread Petr Mladek
On Wed 2018-01-31 16:39:04, Miroslav Benes wrote: > On Thu, 25 Jan 2018, Petr Mladek wrote: > > > From: Jason Baron > > > > We are going to add a feature called atomic replace. It will allow to > > create a patch that would replace all already registered patches. > > For this, we will need to dy

Re: [PATCH 8/8] thermal/drivers/cpu_cooling: Add the combo cpu cooling device

2018-02-05 Thread Daniel Lezcano
On 05/02/2018 05:17, Viresh Kumar wrote: > On 02-02-18, 15:30, Daniel Lezcano wrote: >> On 02/02/2018 11:42, Viresh Kumar wrote: >>> Here is how I see the whole thing now: >>> >>> - Yes we need individual support for both cpufreq and cpuidle cooling >>> devices, >>> and no one disagrees on that

Re: [PATCH] ubsan: don't mark __ubsan_handle_builtin_unreachable as noreturn

2018-02-05 Thread Andrey Ryabinin
On 02/05/2018 01:15 PM, Arnd Bergmann wrote: > On Mon, Feb 5, 2018 at 10:02 AM, Andrey Ryabinin > wrote: >> >> >> On 02/02/2018 06:47 PM, Arnd Bergmann wrote: >>> gcc-8 complains about the prototype for this function: >>> >>> lib/ubsan.c:432:1: error: ignoring attribute 'noreturn' in declaration

<    3   4   5   6   7   8   9   >