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&m=155355953012985&w=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)) > linux-arm

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: https://syzkaller.appspot.com/

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: Adri

[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 exported-sql

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] CPU:

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 print_hex_dump

[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 --- a/security

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 vi

[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 inser

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, > thi

[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 6.3

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 0x0

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 [mailto:alex.wil

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 mu

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 kvmall

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 enable/disabl

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 fol

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 ad

[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! kernel

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 09:17:

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 inconve

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 - > fs

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 tr

[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: conf

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? Andreas.

[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 si

[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 inse

[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 inserti

[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 da

[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 a/drivers/mmc/host/mmc

[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 b/driv

[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 num

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- > m...@l

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 generi

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? >Fr

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 3/26/19

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 c

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.*, acc

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 dri

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. > */ > > -sta

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 bee

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 > C

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 a/arch/x86/kernel/apic/api

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 +++ b/drivers/tty/serial/Kconfi

[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 used

[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 ve

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 hav

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 i

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 machine_chec

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, select

[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 a

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 + > drive

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 a/arch/arm64/configs/defconf

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 > + > .../devicetree/bindings

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 +0200,

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 a/

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 seen

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 > > h

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 -0

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 needs

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

2019-03-27 Thread Nicolas Saenz Julienne
As seen on some USB wireless keyboards manufactured by Primax, the HID parser was using some assumptions that are not always true. In this case it's s the fact that, inside the scope of a main item, an Usage Page will always precede an Usage. The spec is not pretty clear as 6.2.2.7 states "Any usa

Re: [PATCH net-next v5 07/22] ethtool: netlink bitset handling

2019-03-27 Thread Michal Kubecek
On Wed, Mar 27, 2019 at 10:57:49AM +0100, Jiri Pirko wrote: > Tue, Mar 26, 2019 at 06:59:32PM CET, mkube...@suse.cz wrote: > >On Tue, Mar 26, 2019 at 04:59:11PM +0100, Jiri Pirko wrote: > >> Mon, Mar 25, 2019 at 06:08:15PM CET, mkube...@suse.cz wrote: > >> >Declare attribute type constants and add

[PATCH] arm64: meson-g12a: Add CMA reserved memory

2019-03-27 Thread Neil Armstrong
In order to handle Video Output and later on Video decoding, add a reserved CMA pool with a similar 256MiB size as other SoCs. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/mes

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

2019-03-27 Thread Ben Gainey
On Wed, 2019-03-27 at 11:17 +0200, Alexander Shishkin wrote: > 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

Re: [PATCH v3 2/2] dt-bindings: net: bluetooth: Add device tree bindings for QTI chip wcn3998

2019-03-27 Thread Harish Bandi
Hi Matthias, On 2019-03-27 05:24, Matthias Kaehlcke wrote: On Mon, Mar 25, 2019 at 05:00:31PM +0530, c-hba...@codeaurora.org wrote: Hi Matthias, On 2019-03-15 00:26, Matthias Kaehlcke wrote: > Hi Harish, > > On Wed, Mar 13, 2019 at 12:00:06PM +0530, c-hba...@codeaurora.org wrote: > > Hi Matth

Re: CONFIG_DEBUG_VIRTUAL breaks boot on x86-32

2019-03-27 Thread William Kucharski
The dmesg output you posted confirms that max_low_pfn is indeed 0x373fe, and it appears that the value of phys_mem being checked mat be 0x3f401ff1, which translates to pfn 0x3f401, at least if what's still in registers can be believed. Since that is indeed greater than max_low_pfn, VIRTUAL_BUG

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

2019-03-27 Thread Kirill Smelkov
On networked filesystems file data can be changed externally. FUSE provides notification messages for filesystem to inform kernel that metadata or data region of a file needs to be invalidated in local page cache. That provides the basis for filesystem implementations to invalidate kernel cache pre

[RESEND4, PATCH 2/2] fuse: require /dev/fuse reads to have enough buffer capacity as negotiated

2019-03-27 Thread Kirill Smelkov
A FUSE filesystem server queues /dev/fuse sys_read calls to get filesystem requests to handle. It does not know in advance what would be that request as it can be anything that client issues - LOOKUP, READ, WRITE, ... Many requests are short and retrieve data from the filesystem. However WRITE and

[PATCH RFC 0/6] arm64: Add initial support for Odroid-N2

2019-03-27 Thread Neil Armstrong
This patchset adds basic support for : - Amlogic G12B, which is very similar to G12A - The HardKernel Odroid-N2 based on the S922X SoC The Amlogic G12B SoC is very similar with the G12A SoC, sharing most of the features and architecture, but with these differences : - The first CPU cluster only ha

[PATCH RFC 4/6] dt-bindings: arm: amlogic: add G12B bindings

2019-03-27 Thread Neil Armstrong
Add compatible for the Amlogic G12B SoC, sharing most of the features and architecture with the G12A SoC. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/arm/amlogic.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt

[PATCH RFC 3/6] clk: meson: g12a: mark fclk_div3 as critical

2019-03-27 Thread Neil Armstrong
On Amlogic Meson G12b platform, the fclk_div3 seems to be necessary for the system to operate correctly. Disabling it cause the entire system to freeze, including peripherals. This patch patch marks this clock as critical, fixing boot on G12b platforms. Signed-off-by: Neil Armstrong --- driver

[PATCH RFC 6/6] arm64: dts: meson: Add minimal support for Odroid-N2

2019-03-27 Thread Neil Armstrong
This patch adds basic support for : - Amlogic G12B, which is very similar to G12A - The HardKernel Odroid-N2 based on the S922X SoC The Amlogic G12B SoC is very similar with the G12A SoC, sharing most of the features and architecture, but with these differences : - The first CPU cluster only has 2

[PATCH RFC 5/6] dt-bindings: arm: amlogic: add Odroid-N2 binding

2019-03-27 Thread Neil Armstrong
Add compatible for the Amlogic G12B (S922X) SoC based Odroid-N2 SBC from HardKernel. Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/arm/amlogic.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/device

[PATCH RFC 2/6] clk: meson: g12a: Add support for G12B CPUB clocks

2019-03-27 Thread Neil Armstrong
This patch support for the specific Amlogic G12B clocks. G12B clock driver is very close, the main differences are : - the clock tree is duplicated for the both clusters, and the SYS_PLL are swapped between the clusters - G12A has additional clocks like for CSI an other components Here only the

[PATCH RFC 1/6] dt-bindings: clk: meson: add g12b periph clock controller bindings

2019-03-27 Thread Neil Armstrong
This patch adds the specific Amlogic G12B clock driver compatible. G12B clock driver is very close, the main differences are : - the clock tree is duplicated for the both clusters, and the SYS_PLL are swapped between the clusters - G12A has additional clocks like for CSI an other components Sig

Re: [PATCH v5 1/2] Bluetooth: hci_qca: Added support for WCN3998

2019-03-27 Thread Harish Bandi
Hi Matthias, On 2019-03-27 05:14, Matthias Kaehlcke wrote: On Tue, Mar 26, 2019 at 05:15:55PM +0530, Harish Bandi wrote: Added new compatible for WCN3998 and corresponding voltage and current values to WCN3998 compatible. Changed driver code to support WCN3998 Signed-off-by: Harish Bandi ---

Re: [PATCH 3/4] scripts/gdb: Add rb tree iterating utilities

2019-03-27 Thread Kieran Bingham
Hi Stephen, On 26/03/2019 17:05, Stephen Boyd wrote: > Quoting Kieran Bingham (2019-03-26 01:52:10) >> Hi Stephen, >> >> On 25/03/2019 18:45, Stephen Boyd wrote: >>> Implement gdb functions for rb_first(), rb_last(), rb_next(), and >>> rb_prev(). These can be useful to iterate through the kernel's

[RESEND4, PATCH 0/2] fuse: don't stuck clients on retrieve_notify with size > max_write

2019-03-27 Thread Kirill Smelkov
Miklos, On Thu, Mar 14, 2019 at 01:45:20PM +0300, Kirill Smelkov wrote: > Miklos, > > On Thu, Feb 28, 2019 at 02:47:57PM +0300, Kirill Smelkov wrote: > > On Thu, Feb 28, 2019 at 09:10:15AM +0100, Miklos Szeredi wrote: > > > On Wed, Feb 27, 2019 at 9:39 PM Kirill Smelkov wrote: > > > > > > > I m

[RESEND4, PATCH 1/2] fuse: retrieve: cap requested size to negotiated max_write

2019-03-27 Thread Kirill Smelkov
FUSE filesystem server and kernel client negotiate during initialization phase, what should be the maximum write size the client will ever issue. Correspondingly the filesystem server then queues sys_read calls to read requests with buffer capacity large enough to carry request header + that max_wr

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:18:15AM +0100, Borislav Petkov wrote: > 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 enabl

Re: [PATCH RFC 3/6] clk: meson: g12a: mark fclk_div3 as critical

2019-03-27 Thread Jerome Brunet
On Wed, 2019-03-27 at 11:33 +0100, Neil Armstrong wrote: > On Amlogic Meson G12b platform, the fclk_div3 seems to be necessary for > the system to operate correctly. > > Disabling it cause the entire system to freeze, including peripherals. > > This patch patch marks this clock as critical, fixin

  1   2   3   4   5   6   7   8   9   10   >