Re: [PATCH 03/17] fpga: dfl: fme: support 512bit data width PR

2019-03-27 Thread Wu Hao
On Mon, Mar 25, 2019 at 05:53:50PM -0500, Scott Wood wrote: > On Mon, 2019-03-25 at 11:07 +0800, Wu Hao wrote: > > @@ -200,21 +228,32 @@ static int fme_mgr_write(struct fpga_manager *mgr, > > pr_credit = FIELD_GET(FME_PR_STS_PR_CREDIT, > > pr_status); > > } > > >

[PATCH V2] input: keyboard: snvs: initialize necessary driver data before enabling IRQ

2019-03-27 Thread Anson Huang
SNVS IRQ is requested before necessary driver data initialized, if there is a pending IRQ during driver probe phase, kernel NULL pointer panic will occur in IRQ handler. To avoid such scenario, just initialize necessary driver data before enabling IRQ. This patch is inspired by NXP's internal

[PATCH] input: keyboard: snvs: use dev_pm_set_wake_irq() to simplify code

2019-03-27 Thread Anson Huang
With calling dev_pm_set_wake_irq() to set SNVS ON/OFF button as wakeup source for suspend, generic wake irq mechanism will automatically enable it as wakeup source when suspend, then the enable_irq_wake()/disable_irq_wake() can be removed in suspend/resume callback, it simplifies the code.

Re: [PATCH 03/17] fpga: dfl: fme: support 512bit data width PR

2019-03-27 Thread Scott Wood
On Wed, 2019-03-27 at 12:37 +0800, Wu Hao wrote: > On Tue, Mar 26, 2019 at 04:22:34PM -0500, Scott Wood wrote: > > On Tue, 2019-03-26 at 14:33 -0500, Alan Tull wrote: > > > On Mon, Mar 25, 2019 at 5:58 PM Scott Wood wrote: > > > > > > > > Hi Scott, > > > > > > > On Mon, 2019-03-25 at 17:53

[PATCH] rtc: snvs: use dev_pm_set_wake_irq() to simplify code

2019-03-27 Thread Anson Huang
With calling dev_pm_set_wake_irq() to set SNVS RTC as wakeup source for suspend, generic wake irq mechanism will automatically enable it as wakeup source when suspend, then the suspend/resume callback which are ONLY for enabling/disabling irq wake can be removed, it simplifies the code.

Re: [PATCH 03/17] fpga: dfl: fme: support 512bit data width PR

2019-03-27 Thread Wu Hao
On Wed, Mar 27, 2019 at 01:10:31AM -0500, Scott Wood wrote: > On Wed, 2019-03-27 at 12:37 +0800, Wu Hao wrote: > > On Tue, Mar 26, 2019 at 04:22:34PM -0500, Scott Wood wrote: > > > On Tue, 2019-03-26 at 14:33 -0500, Alan Tull wrote: > > > > On Mon, Mar 25, 2019 at 5:58 PM Scott Wood wrote: > > >

Re: [PATCH 03/17] fpga: dfl: fme: support 512bit data width PR

2019-03-27 Thread Scott Wood
On Wed, 2019-03-27 at 13:10 +0800, Wu Hao wrote: > On Mon, Mar 25, 2019 at 05:58:36PM -0500, Scott Wood wrote: > > On Mon, 2019-03-25 at 17:53 -0500, Scott Wood wrote: > > > On Mon, 2019-03-25 at 11:07 +0800, Wu Hao wrote: > > > > In early partial reconfiguration private feature, it only > > > >

[PATCH v2 05/25] drm/mediatek: split DISP_REG_CONFIG_DSI_SEL setting into another use case

2019-03-27 Thread yongqiang.niu
From: Yongqiang Niu Here is two modifition in this patch: 1.bls->dpi0 and rdma1->dsi are differen usecase, Split DISP_REG_CONFIG_DSI_SEL setting into anther usecase 2.remove DISP_REG_CONFIG_DPI_SEL setting, DPI_SEL_IN_BLS is 0 and this is same with hardware defautl setting, Signed-off-by:

[PATCH v2 10/25] drm/mediatek: add commponent OVL0_2L

2019-03-27 Thread yongqiang.niu
From: Yongqiang Niu This patch add commponent OVL0_2L Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 2 ++ drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c

[PATCH v2 2/3] ARM: dts: imx6sx: Specify IMX6SX_CLK_IPG as "ipg" clock to SDMA

2019-03-27 Thread Andrey Smirnov
Since 25aaa75df1e6 SDMA driver uses clock rates of "ipg" and "ahb" clock to determine if it needs to configure the IP block as operating at 1:1 or 1:2 clock ratio (ACR bit in SDMAARM_CONFIG). Specifying both clocks as IMX6SX_CLK_SDMA result in driver incorrectly thinking that ratio is 1:1 which

[PATCH v2 3/3] ARM: dts: imx7d: Specify IMX7D_CLK_IPG as "ipg" clock to SDMA

2019-03-27 Thread Andrey Smirnov
Since 25aaa75df1e6 SDMA driver uses clock rates of "ipg" and "ahb" clock to determine if it needs to configure the IP block as operating at 1:1 or 1:2 clock ratio (ACR bit in SDMAARM_CONFIG). Specifying both clocks as IMX7D_CLK_SDMA result in driver incorrectly thinking that ratio is 1:1 which

[PATCH v2 1/3] ARM: dts: imx6qdl: Specify IMX6QDL_CLK_IPG as "ipg" clock to SDMA

2019-03-27 Thread Andrey Smirnov
Since 25aaa75df1e6 SDMA driver uses clock rates of "ipg" and "ahb" clock to determine if it needs to configure the IP block as operating at 1:1 or 1:2 clock ratio (ACR bit in SDMAARM_CONFIG). Specifying both clocks as IMX6QDL_CLK_SDMA result in driver incorrectly thinking that ratio is 1:1 which

Re: [PATCH] staging: rtl8723bs: core: fix line over 80 characters warning

2019-03-27 Thread Dan Carpenter
On Tue, Mar 26, 2019 at 11:55:07PM +0530, Anirudh Rayabharam wrote: > Shorten the expression by re-using the part that was already computed to This confused me. Better to phrase it like: Shorten the expression by using the "psecuritypriv" pointer. > fix the line over 80 characters warning

[PATCH 1/2] ARM: dts: imx7d: Specify viewport count for PCIE block

2019-03-27 Thread Andrey Smirnov
i.MX7D comes with 4 viewports, so configure PCIE node accordingly so that the driver won't assume we only have 2. Signed-off-by: Andrey Smirnov Cc: Richard Zhu Cc: Chris Healy Cc: Lucas Stach Cc: Fabio Estevam Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org ---

[PATCH 2/2] ARM: dts: imx6qdl: Specify viewport count for PCIE block

2019-03-27 Thread Andrey Smirnov
i.MX6 comes with 4 viewports, so configure PCIE node accordingly so that the driver won't assume we only have 2. Signed-off-by: Andrey Smirnov Cc: Richard Zhu Cc: Chris Healy Cc: Lucas Stach Cc: Fabio Estevam Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org ---

[PATCH 2/2] ARM: dts: Add support for ZII i.MX7 RPU2 board

2019-03-27 Thread Andrey Smirnov
Add support for ZII's i.MX7 based Remote Peripheral Unit 2 (RPU2) board. Signed-off-by: Andrey Smirnov Cc: Shawn Guo Cc: Chris Healy Cc: Andrew Lunn Cc: Fabio Estevam Cc: Rob Herring Cc: linux-kernel@vger.kernel.org Cc: devicet...@vger.kernel.org --- arch/arm/boot/dts/Makefile |

[PATCH 1/2] dt-bindings: arm: fsl: Add support for ZII i.MX7 RPU2 board

2019-03-27 Thread Andrey Smirnov
Add support for ZII i.MX7 RPU2 board. Signed-off-by: Andrey Smirnov Cc: Shawn Guo Cc: Chris Healy Cc: Andrew Lunn Cc: Fabio Estevam Cc: Rob Herring Cc: linux-kernel@vger.kernel.org Cc: devicet...@vger.kernel.org --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1

Re: [PATCH v13 01/11] bitops: Introduce the for_each_set_clump8 macro

2019-03-27 Thread Lukas Wunner
On Wed, Mar 27, 2019 at 01:58:45PM +0900, William Breathitt Gray wrote: > This macro iterates for each 8-bit group of bits (clump) with set bits, > within a bitmap memory region. For each iteration, "start" is set to the > bit offset of the found clump, while the respective clump value is > stored

[PATCH V2 2/2] watchdog: f71808e_wdt: fix F81866 bit operation

2019-03-27 Thread Ji-Ze Hong (Peter Hong)
Fix error bit operation in watchdog_start() Fixes: 14b24a88a3660 ("watchdog: f71808e_wdt: Add F81866 support") Signed-off-by: Ji-Ze Hong (Peter Hong) --- drivers/watchdog/f71808e_wdt.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH V2 1/2] watchdog: f71808e_wdt: separate declaration and assignment

2019-03-27 Thread Ji-Ze Hong (Peter Hong)
Separate declaration and assignment in watchdog_start() Signed-off-by: Ji-Ze Hong (Peter Hong) --- drivers/watchdog/f71808e_wdt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/watchdog/f71808e_wdt.c b/drivers/watchdog/f71808e_wdt.c index

Re: [PATCH 2/3] *: convert stream-like files from nonseekable_open -> stream_open

2019-03-27 Thread Lubomir Rintel
On Tue, 2019-03-26 at 23:23 +, Kirill Smelkov wrote: > Using scripts/coccinelle/api/stream_open.cocci added in the previous > patch, search and convert to stream_open all in-kernel nonseekable_open > users for which read and write actually do not depend on ppos and where > there is no other

Re: CONFIG_DEBUG_VIRTUAL breaks boot on x86-32

2019-03-27 Thread Meelis Roos
You might be hitting a bug I found. Try applying this patch: https://marc.info/?l=linux-kernel=155355953012985=2 Unfortunately it did not change anything. -- Meelis Roos

Re: [PATCH] arm64: add support for ASR AquilaC SoC

2019-03-27 Thread 周侨
On 2019/3/26 下午4:13, Dan Carpenter wrote: > I'm not the right person to send this to... > > $ ./scripts/get_maintainer.pl -f arch/arm64/Kconfig.platforms > Catalin Marinas (maintainer:ARM64 PORT (AARCH64 > ARCHITECTURE)) > Will Deacon (maintainer:ARM64 PORT (AARCH64 > ARCHITECTURE)) >

Re: possible deadlock in acct_pin_kill

2019-03-27 Thread Amir Goldstein
On Wed, Mar 27, 2019 at 5:53 AM syzbot wrote: > > syzbot has bisected this bug to: > > commit e950564b97fd0f541b02eb207685d0746f5ecf29 > Author: Miklos Szeredi > Date: Tue Jul 24 13:01:55 2018 + > > vfs: don't evict uninitialized inode > > bisection log:

Re: [PATCH] ARM: socfpga: Fix object reference leaks in socfpga_setup_ocram_self_refresh

2019-03-27 Thread Mukesh Ojha
On 3/27/2019 5:23 AM, Huang Zijiang wrote: The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Signed-off-by: Huang Zijiang --- arch/arm/mach-socfpga/pm.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 03/17] fpga: dfl: fme: support 512bit data width PR

2019-03-27 Thread Wu Hao
On Wed, Mar 27, 2019 at 01:19:29AM -0500, Scott Wood wrote: > On Wed, 2019-03-27 at 13:10 +0800, Wu Hao wrote: > > On Mon, Mar 25, 2019 at 05:58:36PM -0500, Scott Wood wrote: > > > On Mon, 2019-03-25 at 17:53 -0500, Scott Wood wrote: > > > > On Mon, 2019-03-25 at 11:07 +0800, Wu Hao wrote: > > > >

[PATCH 0/2] perf scripts python: exported-sql-viewer.py: Fix python3 support

2019-03-27 Thread Adrian Hunter
Hi Here are a couple for fixes. Adrian Hunter (2): perf scripts python: exported-sql-viewer.py: Fix never-ending loop perf scripts python: exported-sql-viewer.py: Fix python3 support tools/perf/scripts/python/exported-sql-viewer.py | 77 +++- 1 file changed, 63

[PATCH 1/2] perf scripts python: exported-sql-viewer.py: Fix never-ending loop

2019-03-27 Thread Adrian Hunter
pyside version 1 fails to handle python3 large integers in some cases, resulting in Qt getting into a never-ending loop. This affects: samples Table samples_view Table All branches Report Selected branches Report Add workarounds for those cases. Signed-off-by:

[PATCH 2/2] perf scripts python: exported-sql-viewer.py: Fix python3 support

2019-03-27 Thread Adrian Hunter
Unlike python2, python3 strings are not compatible with byte strings. That results in disassembly not working for the branches reports. Fixup those places overlooked in the port to python3. Signed-off-by: Adrian Hunter Fixes: beda0e725e5f ("perf script python: Add Python3 support to

Re: [PATCH] sched/deadline: correctly handle active 0-lag timers

2019-03-27 Thread Juri Lelli
Hi, On 25/03/19 14:15, luca abeni wrote: > syzbot reported the following warning: > [  948.126369] WARNING: CPU: 4 PID: 17089 at kernel/sched/deadline.c:255 > task_non_contending+0xae0/0x1950 > [  948.130198] Kernel panic - not syncing: panic_on_warn set ... > [  948.130198] > [  948.134221]

Re: [PATCH v3 2/4] lib/hexdump.c: factor out generic hexdump formatting for reuse.

2019-03-27 Thread Andy Shevchenko
On Wed, Mar 27, 2019 at 3:49 AM Ronald Tschalär wrote: > > This introduces print_hex_dump_to_cb() which contains all the hexdump > formatting minus the actual printk() call, allowing an arbitrary print > function to be supplied instead. And print_hex_dump() is re-implemented > using

[PATCH] Yama: mark function as static

2019-03-27 Thread Mukesh Ojha
Sparse complains yama_task_prctl can be static. Fix it by making it static. Signed-off-by: Mukesh Ojha --- security/yama/yama_lsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/yama/yama_lsm.c b/security/yama/yama_lsm.c index 57cc607..9c5a15b 100644 ---

Re: [PATCH v3 4/4] RISC-V: Allow booting kernel from any 4KB aligned address

2019-03-27 Thread Christoph Hellwig
On Mon, Mar 25, 2019 at 09:46:59PM +0530, Anup Patel wrote: > > Why do you even care about kernel mappings for non-existant ram. > > We care because there will always be some buggy kernel driver/code going > out-of-bound and accessing non-existent RAM. If we by default map all > possible kernel

[PATCH] staging: pi433: Fix rf69_set_tx_cfg() logic

2019-03-27 Thread Sidong Yang
Moved code to configure sync to where check enable_sync option before. There is no need to check enable_sync twice. Configuring sync should be executed immediately after enabling sync. Signed-off-by: Sidong Yang --- drivers/staging/pi433/pi433_if.c | 17 +++-- 1 file changed, 7

Re: [PATCH] clocksource/drivers/timer-ti-dm: Remove omap_dm_timer_set_load_start

2019-03-27 Thread Ladislav Michl
Hello Nathan, On Tue, Mar 26, 2019 at 10:01:27PM -0700, Nathan Chancellor wrote: > Commit 008258d995a6 ("clocksource/drivers/timer-ti-dm: Make > omap_dm_timer_set_load_start() static") made omap_dm_time_set_load_start > static because its prototype was not defined in a header. Unfortunately, >

[REGRESSION] 5.1-rc1: tpm_try_transmit: send(): error -5

2019-03-27 Thread Domenico Andreoli
Hi Jarkko, my laptop fails to suspend/hibernate since v5.1-rc1, it worked fine with v4.20 and previous. My suspect is on tpm_tis driver, is there anything I can do to understand what goes wrong here? Best regards, Domenico [0.00] Linux version 5.1.0-rc2 (cavok@dumbo) (gcc version

Re: [PATCH] pinctrl: intel: save HOSTSW_OWN register over suspend/resume

2019-03-27 Thread Daniel Drake
Hi Mika, Digging up this old thread again... On Tue, Nov 21, 2017 at 8:13 PM Mika Westerberg wrote: > > On Tue, Nov 21, 2017 at 07:54:26PM +0800, Chris Chiu wrote: > > Yup, I checked the value of the corresponded pin. It shows following before > > suspend > > pin 18 (GPIO_18) GPIO 0x40800102

Re: [PATCH V3 2/5] mmc: mmci: define get_dctrl_cfg for legacy variant

2019-03-27 Thread Ludovic BARRE
On 3/26/19 6:46 PM, Ulf Hansson wrote: On Tue, 26 Mar 2019 at 10:11, Ludovic Barre wrote: From: Ludovic Barre This patch defines get_dctrl_cfg callback for legacy variants whatever DMA_ENGINE configuration. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci.c | 31

Re: [PATCH 09/10] ALSA: pcm: Add snd_pcm_ops for snd_pcm_link()

2019-03-27 Thread Timo Wischer
On 3/26/19 17:00, Takashi Iwai wrote: On Tue, 26 Mar 2019 16:16:54 +0100, Timo Wischer wrote: On 3/26/19 15:23, Takashi Iwai wrote: On Tue, 26 Mar 2019 12:25:37 +0100, Timo Wischer wrote: On 3/26/19 09:35, Takashi Iwai wrote: On Tue, 26 Mar 2019 08:49:33 +0100, wrote:

Re: [PATCH v4 0/2] Add IPROC PCIe new features

2019-03-27 Thread Srinath Mannam
Hi Lorenzo/Bjorn, Could you please help to review this patch series when you have time? I believe I have addressed all your review comments. Thanks, Srinath. On Fri, Mar 1, 2019 at 10:22 AM Srinath Mannam wrote: > > This patch set extends support of new IPROC PCIe host controller features > -

Re: [PATCH] Revert "gpio: use new gpio_set_config() helper in more places"

2019-03-27 Thread Bartosz Golaszewski
wt., 26 mar 2019 o 19:06 Bartosz Golaszewski napisał(a): > > wt., 26 mar 2019 o 05:50 Andrew Jeffery napisał(a): > > > > gpio-aspeed implements support for PIN_CONFIG_INPUT_DEBOUNCE. As of > > v5.1-rc1 we're seeing the following when booting a Romulus BMC kernel: > > > > > [ 21.373137]

RE: [RFC v2 1/2] vfio/pci: export common symbols in vfio-pci

2019-03-27 Thread Liu, Yi L
> From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Tuesday, March 26, 2019 11:35 PM > To: Liu, Yi L > Subject: Re: [RFC v2 1/2] vfio/pci: export common symbols in vfio-pci > > On Tue, 26 Mar 2019 12:37:37 + > "Liu, Yi L" wrote: > > > > From: Alex Williamson

Re: [PATCH v4] kmemleak: survive in a low-memory situation

2019-03-27 Thread Michal Hocko
On Tue 26-03-19 20:59:48, Qian Cai wrote: [...] > Unless there is a brave soul to reimplement the kmemleak to embed it's > metadata into the tracked memory itself in a foreseeable future, this > provides a good balance between enabling kmemleak in a low-memory > situation and not introducing too

Re: [PATCH] vhost: zero vhost_vsock memory on allocation

2019-03-27 Thread Michal Hocko
On Tue 26-03-19 20:56:14, Vitaly Mayatskikh wrote: > This fixes OOPS when using under-initialized vhost_vsock object. > > The code had a combo of kzalloc plus vmalloc as a fallback > initially, but it has been replaced by plain kvmalloc in > commit 6c5ab6511f71 ("mm: support __GFP_REPEAT in

Re: [PATCH] clk: asr: clock driver support for ASR AquilaC Soc

2019-03-27 Thread 周侨
On 2019/3/26 下午7:54, Dan Carpenter wrote: > On Sat, Mar 23, 2019 at 10:08:35PM +0800, qiaozhou wrote: >> From: Qiao Zhou >> >> add clock driver support for ASR AquilaC SoC. >> >> We add clk-gate, clk-mix, and clk-pll drivers: >> 1. clk-gate driver is for regisers which have different

Re: [PATCH] Revert "gpio: use new gpio_set_config() helper in more places"

2019-03-27 Thread Andrew Jeffery
On Wed, 27 Mar 2019, at 19:11, Bartosz Golaszewski wrote: > wt., 26 mar 2019 o 19:06 Bartosz Golaszewski > napisał(a): > > > > wt., 26 mar 2019 o 05:50 Andrew Jeffery napisał(a): > > > > > > gpio-aspeed implements support for PIN_CONFIG_INPUT_DEBOUNCE. As of > > > v5.1-rc1 we're seeing the

Re: [PATCH 2/2] arm64: dts: imx8qxp: Add EDMA0/EDMA1 nodes

2019-03-27 Thread Daniel Baluta
On Tue, Mar 26, 2019 at 3:31 PM Aisheng Dong wrote: > > > From: Daniel Baluta > > Sent: Tuesday, March 26, 2019 5:43 PM > > > > i.MX8QXP contains a total of 4 EDMA controllers of which two are primarily > > for audio components and the other two are for non-audio periperhals. > > > > This patch

[PATCH] Correct zone boundary handling when resetting pageblock skip hints

2019-03-27 Thread Mel Gorman
Mikhail Gavrilo reported the following bug being triggered in a Fedora kernel based on 5.1-rc1 but it is relevant to a vanilla kernel. kernel: page dumped because: VM_BUG_ON_PAGE(PagePoisoned(p)) kernel: [ cut here ] kernel: kernel BUG at include/linux/mm.h:1021!

Re: 32-bit Amlogic (ARM) SoC: kernel BUG in kfree()

2019-03-27 Thread Liang Yang
Hi Martin, Thanks a lot. On 2019/3/26 2:31, Martin Blumenstingl wrote: Hi Liang, On Mon, Mar 25, 2019 at 11:03 AM Liang Yang wrote: Hi Martin, On 2019/3/23 5:07, Martin Blumenstingl wrote: Hi Matthew, On Thu, Mar 21, 2019 at 10:44 PM Matthew Wilcox wrote: On Thu, Mar 21, 2019 at

Re: [PATCH 2/4] perf, tools: Implement duration_time as a proper event

2019-03-27 Thread Jiri Olsa
On Tue, Mar 26, 2019 at 03:18:21PM -0700, Andi Kleen wrote: > From: Andi Kleen > > The perf metric expression use duration_time internally to normalize > events. Normal perf stat without -x also prints the duration time. > But when using -x, the interval is not output anywhere, which > is

Re: [RFC PATCH] ceph: Convert to fs_context

2019-03-27 Thread Yan, Zheng
On Wed, Mar 20, 2019 at 10:53 PM David Howells wrote: > > Signed-off-by: David Howells > cc: Ilya Dryomov > cc: "Yan, Zheng" > cc: Sage Weil > cc: ceph-de...@vger.kernel.org > --- > > drivers/block/rbd.c | 362 +++- > fs/ceph/cache.c |9 - >

Re: [RFC PATCH 0/10] Another Approach to Use PMEM as NUMA Node

2019-03-27 Thread Michal Hocko
On Tue 26-03-19 19:58:56, Yang Shi wrote: > > > On 3/26/19 11:37 AM, Michal Hocko wrote: > > On Tue 26-03-19 11:33:17, Yang Shi wrote: > > > > > > On 3/26/19 6:58 AM, Michal Hocko wrote: > > > > On Sat 23-03-19 12:44:25, Yang Shi wrote: > > > > > With Dave Hansen's patches merged into Linus's

[PATCH] libata: Return correct rc status in sata_pmp_eh_recover_pm() pwhen ATA_DFLAG_DETACH is set

2019-03-27 Thread Kai-Heng Feng
During system resume from suspend, this can be observed on ASM1062 PMP controller: <6>[12007.593358] ata10.01: SATA link down (SStatus 0 SControl 330) <6>[12007.593469] ata10.02: hard resetting link <6>[12007.908353] ata10.02: SATA link down (SStatus 0 SControl 330) <6>[12007.911149] ata10.00:

Re: [PATCH v11 0/2] PWM support for HiFive Unleashed

2019-03-27 Thread Andreas Schwab
I have now found out that the ledtrig modules don't load automatically. I would have expected that the linux,default-trigger entries would cause the load of the corresponding ledtrig modules. But there is another problem, that the leds are on by default. Shouldn't they be off by default?

[PATCH V4 0/5] mmc: mmci: add get_datactrl_cfg callback

2019-03-27 Thread Ludovic Barre
From: Ludovic Barre This patch series adds get_datactrl_cfg callback in mmci_host_ops to allow to get datactrl configuration specific at variant. change V4: -keep mmci and ux500v2 variant init in the c file. change V3: -keep the common functions in mmci_start_data. define function used by some

Re: [PATCH v2] x86/realmode: don't leak kernel addresses

2019-03-27 Thread Borislav Petkov
On Tue, Mar 26, 2019 at 09:36:48PM +0100, Matteo Croce wrote: > Got it, sent a v3 with the printk removed. > Anyway, I wonder if we can remove the 'size' argument and/or moving > set_real_mode_mem() into realmode.h to have it inlined. > Or maybe it's not worth it. Sure, why not. Making the code

[PATCH V4 1/5] mmc: mmci: add get_datactrl_cfg callback and helper functions

2019-03-27 Thread Ludovic Barre
From: Ludovic Barre This patch adds get_datactrl_cfg callback in mmci_host_ops to allow to get datactrl configuration specific at variant. Common helper function is defined and could be call by variant. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci.h | 6 ++ 1 file changed, 6

[PATCH V4 5/5] mmc: mmci: replace blksz_datactrlXX by get_datactrl_cfg callback

2019-03-27 Thread Ludovic Barre
From: Ludovic Barre This patch allows to get datactrl configuration specific at variant. This introduce more flexibility on datactlr value. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci.c | 26 ++ drivers/mmc/host/mmci.h | 7 --- 2 files changed, 2

[PATCH V4 4/5] mmc: mmci: stm32: define get_dctrl_cfg

2019-03-27 Thread Ludovic Barre
From: Ludovic Barre This patch defines get_dctrl_cfg callback for sdmmc variant. sdmmc variant has specific stm32 transfer modes. sdmmc data transfer mode selection could be: -Block data transfer ending on block count. -SDIO multibyte data transfer. -MMC Stream data transfer (not used). -Block

[PATCH V4 2/5] mmc: mmci: define get_dctrl_cfg for legacy variant

2019-03-27 Thread Ludovic Barre
From: Ludovic Barre This patch defines get_dctrl_cfg callback for legacy variants whatever DMA_ENGINE configuration. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci.c | 30 -- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git

[PATCH V4 3/5] mmc: mmci: qcom: define get_dctrl_cfg

2019-03-27 Thread Ludovic Barre
From: Ludovic Barre This patch defines get_dctrl_cfg callback for qcom variant. qcom variant has a specific block size definition. Signed-off-by: Ludovic Barre --- drivers/mmc/host/mmci_qcom_dml.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mmc/host/mmci_qcom_dml.c

[PATCH -next v1] x86/apic: Reduce print level of CPU limit announcement

2019-03-27 Thread Leon Romanovsky
From: Leon Romanovsky Kernel is booted with less possible CPUs (possible_cpus kernel boot option) than available CPUs will have prints like this: [1.131039] APIC: NR_CPUS/possible_cpus limit of 8 reached. Processor 55/0x1f ignored. [1.132228] ACPI: Unable to map lapic to logical cpu

Re: [PATCH 09/10] ALSA: pcm: Add snd_pcm_ops for snd_pcm_link()

2019-03-27 Thread Takashi Iwai
On Wed, 27 Mar 2019 09:34:40 +0100, Timo Wischer wrote: > > On 3/26/19 17:00, Takashi Iwai wrote: > > On Tue, 26 Mar 2019 16:16:54 +0100, > > Timo Wischer wrote: > >> On 3/26/19 15:23, Takashi Iwai wrote: > >>> On Tue, 26 Mar 2019 12:25:37 +0100, > >>> Timo Wischer wrote: > On 3/26/19 09:35,

RE: [LINUX PATCH v13] rawnand: pl353: Add basic driver for arm pl353 smc nand interface

2019-03-27 Thread Naga Sureshkumar Relli
Hi Helmut, > -Original Message- > From: Helmut Grohne > Sent: Tuesday, March 26, 2019 6:57 PM > To: Naga Sureshkumar Relli > Cc: bbrezil...@kernel.org; miquel.ray...@bootlin.com; rich...@nod.at; > dw...@infradead.org; computersforpe...@gmail.com; marek.va...@gmail.com; > linux- >

Re: [PATCH 1/4] glibc: Perform rseq(2) registration at C startup and thread creation (v7)

2019-03-27 Thread Martin Schwidefsky
On Mon, 25 Mar 2019 11:54:32 -0400 (EDT) Mathieu Desnoyers wrote: > >> +++ b/sysdeps/unix/sysv/linux/s390/bits/rseq.h > [...] > >> + > >> +/* Signature required before each abort handler code. */ > >> +#define RSEQ_SIG 0x53053053 > > > > Why not a s390 specific value here? > > s390 also

Re: [PATCH -next v1] x86/apic: Reduce print level of CPU limit announcement

2019-03-27 Thread Joe Perches
On Wed, 2019-03-27 at 11:09 +0200, Leon Romanovsky wrote: > Kernel is booted with less possible CPUs (possible_cpus kernel boot > option) than available CPUs will have prints like this: [] > diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c [] > @@ -2305,9 +2305,9 @@ int

Re: BUG in "perf: Suppress AUX/OVERWRITE records"?

2019-03-27 Thread Alexander Shishkin
Ben Gainey writes: >> It was an unintentional side effect that it also >> happened to coincide with context switches in the overwrite mode. > > I'm not using overwrite mode, I'm opening the mmap with PROT_WRITE > (i.e. in truncate mode). Now I get it. Does the below fix the problem for you?

Re: [PATCH 09/10] ALSA: pcm: Add snd_pcm_ops for snd_pcm_link()

2019-03-27 Thread Timo Wischer
On 3/27/19 10:11, Takashi Iwai wrote: On Wed, 27 Mar 2019 09:34:40 +0100, Timo Wischer wrote: On 3/26/19 17:00, Takashi Iwai wrote: On Tue, 26 Mar 2019 16:16:54 +0100, Timo Wischer wrote: On 3/26/19 15:23, Takashi Iwai wrote: On Tue, 26 Mar 2019 12:25:37 +0100, Timo Wischer wrote: On

Re: [PATCH v2] mfd: cros: Update EC protocol to match current EC code

2019-03-27 Thread Enric Balletbo i Serra
Hi Gwendal, Unless my pwclient or patchwork is doing something weird I have some issues trying to apply this patch. Could you check that is correctly formatted? $ pwclient git-am 1055029 Applying patch #1055029 using u'git am' Description: [v2] mfd: cros: Update EC protocol to match current EC

Re: [RESEND PATCH] thermal: rcar_gen3_thermal: Fix init value of IRQCTL register

2019-03-27 Thread Niklas Söderlund
Hi Hoan, Thanks for your work, and sorry for dropping the ball on this in v2. On 2019-03-27 18:03:18 +0900, Nguyen An Hoan wrote: > From: Hoan Nguyen An > > Fix setting value for IRQCTL register. We are setting the last 6 bits > of (IRQCTL) to be 1 (0x3f), this is only suitable for H3ES1.*,

Re: [PATCH 2/2] arm64: dts: imx8qxp: Add EDMA0/EDMA1 nodes

2019-03-27 Thread Lucas Stach
Hi Daniel, Am Mittwoch, den 27.03.2019, 10:51 +0200 schrieb Daniel Baluta: [...] > > > or > > "fsl,imx8qxp-edma", "fsl,imx8qm-edma"? > > One thing that it is not clear for me is why there are places > where we use two compatible strings? > > I understand the situation where are two distinct

Re: [PATCH v3] HID: core: move Usage Page concatenation to Main item

2019-03-27 Thread Oliver Neukum
On Di, 2019-03-26 at 21:03 +0100, Nicolas Saenz Julienne wrote: > --- a/drivers/hid/hid-core.c > +++ b/drivers/hid/hid-core.c > @@ -218,13 +218,14 @@ static unsigned hid_lookup_collection(struct hid_parser > *parser, unsigned type) > * Add a usage to the temporary parser table. > */ > >

Re: [PATCH v3 4/4] Input: add Apple SPI keyboard and trackpad driver.

2019-03-27 Thread Andy Shevchenko
On Tue, Mar 26, 2019 at 06:48:07PM -0700, Ronald Tschalär wrote: > The keyboard and trackpad on recent MacBook's (since 8,1) and > MacBookPro's (13,* and 14,*) are attached to an SPI controller instead > of USB, as previously. The higher level protocol is not publicly > documented and hence has

Re: [PATCH 1/2] ARM: dts: imx7d: Specify viewport count for PCIE block

2019-03-27 Thread Lucas Stach
Am Dienstag, den 26.03.2019, 23:38 -0700 schrieb Andrey Smirnov: > i.MX7D comes with 4 viewports, so configure PCIE node accordingly so > that the driver won't assume we only have 2. > > Signed-off-by: Andrey Smirnov > Cc: Richard Zhu > Cc: Chris Healy > Cc: Lucas Stach > Cc: Fabio Estevam >

Re: [PATCH 2/2] ARM: dts: imx6qdl: Specify viewport count for PCIE block

2019-03-27 Thread Lucas Stach
Am Dienstag, den 26.03.2019, 23:38 -0700 schrieb Andrey Smirnov: > i.MX6 comes with 4 viewports, so configure PCIE node accordingly so > that the driver won't assume we only have 2. > > Signed-off-by: Andrey Smirnov > Cc: Richard Zhu > Cc: Chris Healy > Cc: Lucas Stach > Cc: Fabio Estevam >

Re: [PATCH -next v1] x86/apic: Reduce print level of CPU limit announcement

2019-03-27 Thread Leon Romanovsky
On Wed, Mar 27, 2019 at 02:17:40AM -0700, Joe Perches wrote: > On Wed, 2019-03-27 at 11:09 +0200, Leon Romanovsky wrote: > > Kernel is booted with less possible CPUs (possible_cpus kernel boot > > option) than available CPUs will have prints like this: > [] > > diff --git

Re: [PATCH 09/10] ALSA: pcm: Add snd_pcm_ops for snd_pcm_link()

2019-03-27 Thread Takashi Iwai
On Wed, 27 Mar 2019 10:26:56 +0100, Timo Wischer wrote: > > On 3/27/19 10:11, Takashi Iwai wrote: > > On Wed, 27 Mar 2019 09:34:40 +0100, > > Timo Wischer wrote: > >> On 3/26/19 17:00, Takashi Iwai wrote: > >>> On Tue, 26 Mar 2019 16:16:54 +0100, > >>> Timo Wischer wrote: > On 3/26/19 15:23,

Re: [PATCH] serial: Add Milbeaut serial control

2019-03-27 Thread Sugaya, Taichi
Hi Thank you for your comments. On 2019/03/26 18:57, Arnd Bergmann wrote: On Tue, Mar 26, 2019 at 10:13 AM Sugaya Taichi wrote: diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 72966bc..961519b 100644 --- a/drivers/tty/serial/Kconfig +++

[RESEND1, PATCH 1/2] fuse: convert printk -> pr_*

2019-03-27 Thread Kirill Smelkov
Functions, like pr_err, are a more modern variant of printing compared to printk. They could be used to denoise sources by using needed level in the print function name, and by automatically inserting per-driver / function / ... print prefix as defined by pr_fmt macro. pr_* are also said to be

[RESEND1, PATCH 0/2] fuse: allow filesystems to have precise control over data cache

2019-03-27 Thread Kirill Smelkov
Miklos, This is a resend of the patches that teach fs/fuse/ to give filesystems full control over data cache if the filesystem server indicates to kernel that it is fully responsible for data cache invalidation. This functionality is essential when the data in cache are relatively big and it is

Re: [PATCH -next v1] x86/apic: Reduce print level of CPU limit announcement

2019-03-27 Thread Joe Perches
On Wed, 2019-03-27 at 11:38 +0200, Leon Romanovsky wrote: > On Wed, Mar 27, 2019 at 02:17:40AM -0700, Joe Perches wrote: > > On Wed, 2019-03-27 at 11:09 +0200, Leon Romanovsky wrote: > > > Kernel is booted with less possible CPUs (possible_cpus kernel boot > > > option) than available CPUs will

Re: [PATCH v6 1/4] arm64: dts: imx8mq: Add SDMA nodes

2019-03-27 Thread Daniel Baluta
On Tue, Mar 26, 2019 at 11:44 PM Angus Ainslie wrote: > > On 2019-03-19 07:31, Shawn Guo wrote: > > On Fri, Mar 08, 2019 at 12:02:22PM +, Daniel Baluta wrote: > >> SDMA1 is part of AIPS-3 region and SDMA2 is part > >> of AIPS-1 region. > >> > >> Reviewed-by: Fabio Estevam > > > > Reviewed-by

Re: [PATCH v2] PCI: al: Add Amazon Annapurna Labs PCIe host controller driver

2019-03-27 Thread David Woodhouse
On Tue, 2019-03-26 at 15:58 +, Lorenzo Pieralisi wrote: > > We did that internally. You really don't want me telling engineers to > > post to the list *first* without running things by me to get the basics > > right. Not to start with, at least. > > Hi David, > > I am obviously in favour of

Re: [PATCH -next v1] x86/apic: Reduce print level of CPU limit announcement

2019-03-27 Thread Leon Romanovsky
On Wed, Mar 27, 2019 at 02:49:02AM -0700, Joe Perches wrote: > On Wed, 2019-03-27 at 11:38 +0200, Leon Romanovsky wrote: > > On Wed, Mar 27, 2019 at 02:17:40AM -0700, Joe Perches wrote: > > > On Wed, 2019-03-27 at 11:09 +0200, Leon Romanovsky wrote: > > > > Kernel is booted with less possible CPUs

[tip:ras/core] x86/mce: Fix machine_check_poll() tests for error types

2019-03-27 Thread tip-bot for Tony Luck
Commit-ID: f19501aa07f18268ab14f458b51c1c6b7f72a134 Gitweb: https://git.kernel.org/tip/f19501aa07f18268ab14f458b51c1c6b7f72a134 Author: Tony Luck AuthorDate: Tue, 12 Mar 2019 10:09:38 -0700 Committer: Borislav Petkov CommitDate: Wed, 27 Mar 2019 10:53:49 +0100 x86/mce: Fix

Re: [PATCH] regulator: max77650: Convert MAX77651 SBB1 to pickable linear range

2019-03-27 Thread Bartosz Golaszewski
pon., 25 mar 2019 o 14:56 Axel Lin napisał(a): > > The pickable linear range is suitable for The MAX77651 SBB1. > According to MAX77651 TV_SBB1 Code Table: > Use BIT[1:0] as range selectors. > Use BIT[5:2] as selectors for each linear range. > > The MAX77651 SBB1 supports up to selector 57,

[PATCH] RISC-V: Implement ASID allocator

2019-03-27 Thread Anup Patel
Currently, we do local TLB flush on every MM switch. This is very harsh on performance because we are forcing page table walks after every MM switch. This patch implements ASID allocator for assigning an ASID to every MM context. The number of ASIDs are limited in HW so we create a logical entity

Re: [PATCH v2] PCI: al: Add Amazon Annapurna Labs PCIe host controller driver

2019-03-27 Thread David Woodhouse
On Tue, 2019-03-26 at 12:17 +, Lorenzo Pieralisi wrote: > This code is basically identical to (apart from the string matching > the DBI resource) > > drivers/pci/controller/pcie-hisi.c > > because, as you said, that's a DW quirk that is really not > platform specific AFAICS. > > Not that I

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

2019-03-27 Thread Jon Hunter
On 26/03/2019 15:13, Vidya Sagar wrote: > Add support for Synopsys DesignWare core IP based PCIe host controller > present in Tegra194 SoC. > > Signed-off-by: Vidya Sagar > --- > drivers/pci/controller/dwc/Kconfig | 10 + > drivers/pci/controller/dwc/Makefile|1 + >

Re: [PATCH] KVM: x86: nVMX: allow RSM to restore VMXE CR4 flag

2019-03-27 Thread Vitaly Kuznetsov
Liran Alon writes: >> On 26 Mar 2019, at 15:48, Vitaly Kuznetsov wrote: >> >> Liran Alon writes: >> On 26 Mar 2019, at 15:07, Vitaly Kuznetsov wrote: - Instread of putting the temporary HF_SMM_MASK drop to rsm_enter_protected_mode() (as was suggested by Liran), move it to

Re: [PATCH 10/10] arm64: Add Tegra194 PCIe driver to defconfig

2019-03-27 Thread Jon Hunter
On 26/03/2019 15:13, Vidya Sagar wrote: > Add PCIe host controller driver for DesignWare core based > PCIe controller IP present in Tegra194. > > Signed-off-by: Vidya Sagar > --- > arch/arm64/configs/defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH 05/10] dt-bindings: PCI: tegra: Add device tree support for T194

2019-03-27 Thread Jon Hunter
On 26/03/2019 15:13, Vidya Sagar wrote: > Add support for Tegra194 PCIe controllers. These controllers are based > on Synopsys DesignWare core IP. > > Signed-off-by: Vidya Sagar > --- > .../bindings/pci/nvidia,tegra194-pcie.txt | 209 > + >

Re: [RFC PATCH] ceph: Convert to fs_context

2019-03-27 Thread David Howells
Yan, Zheng wrote: > > - if (fsopt->sb_flags != other->mount_options->sb_flags) { > > + if (fc->sb_flags != sb->s_flags) { Fixed with: @@ -945,7 +945,7 @@ static int ceph_compare_super(struct super_block *sb, struct fs_context *fc) dout("fsid doesn't match\n");

Re: [PATCH -next v1] x86/apic: Reduce print level of CPU limit announcement

2019-03-27 Thread Leon Romanovsky
On Wed, Mar 27, 2019 at 11:53:37AM +0200, Leon Romanovsky wrote: > On Wed, Mar 27, 2019 at 02:49:02AM -0700, Joe Perches wrote: > > On Wed, 2019-03-27 at 11:38 +0200, Leon Romanovsky wrote: > > > On Wed, Mar 27, 2019 at 02:17:40AM -0700, Joe Perches wrote: > > > > On Wed, 2019-03-27 at 11:09

Re: [PATCH 10/10] arm64: Add Tegra194 PCIe driver to defconfig

2019-03-27 Thread Vidya Sagar
On 3/27/2019 3:38 PM, Jon Hunter wrote: On 26/03/2019 15:13, Vidya Sagar wrote: Add PCIe host controller driver for DesignWare core based PCIe controller IP present in Tegra194. Signed-off-by: Vidya Sagar --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v3] HID: core: move Usage Page concatenation to Main item

2019-03-27 Thread Nicolas Saenz Julienne
Hi Terry, thanks for the review! On Tue, 2019-03-26 at 22:43 +, Junge, Terry wrote: > Hi Nicolas, > > This patch looks good except for one comment/question below. > > Thanks, > Terry > > On Tuesday, March 26, 2019 1:04 PM Nicolas Saenz Julienne < > nsaenzjulie...@suse.de> wrote: > > As

Re: [PATCH v3] HID: core: move Usage Page concatenation to Main item

2019-03-27 Thread Nicolas Saenz Julienne
Hi Oliver, thanks for the review! On Wed, 2019-03-27 at 10:35 +0100, Oliver Neukum wrote: > On Di, 2019-03-26 at 21:03 +0100, Nicolas Saenz Julienne wrote: > > --- a/drivers/hid/hid-core.c > > +++ b/drivers/hid/hid-core.c > > @@ -218,13 +218,14 @@ static unsigned hid_lookup_collection(struct > >

Re: [PATCH -next v1] x86/apic: Reduce print level of CPU limit announcement

2019-03-27 Thread Joe Perches
On Wed, 2019-03-27 at 12:11 +0200, Leon Romanovsky wrote: > On Wed, Mar 27, 2019 at 11:53:37AM +0200, Leon Romanovsky wrote: > > On Wed, Mar 27, 2019 at 02:49:02AM -0700, Joe Perches wrote: > > > On Wed, 2019-03-27 at 11:38 +0200, Leon Romanovsky wrote: > > > > On Wed, Mar 27, 2019 at 02:17:40AM

Re: [PATCH] regulator: max77650: Convert MAX77651 SBB1 to pickable linear range

2019-03-27 Thread Axel Lin
> Hi, > > what tree is this patch based on, because it doesn't apply on top of v5.1-rc2. Hi Bart, You can use linux-next or regulator tree. However, due to build dependency you need to manually apply max77650 mfd drvier manually because it's not exist in these tree. Alternatively, you can check

Re: [PATCH -next v1] x86/apic: Reduce print level of CPU limit announcement

2019-03-27 Thread Borislav Petkov
On Wed, Mar 27, 2019 at 12:11:33PM +0200, Leon Romanovsky wrote: > ok, I tested your variant and it still prints a t least on my systems, Probably because your loglevel is set to debug. And no, we don't want to have to enable some config option in order to see this. Also, the ugly linebreak

  1   2   3   4   5   6   7   8   9   10   >