[PATCH] kconfig/[mn]conf: handle backspace (^H) key

2019-03-25 Thread Changbin Du
Backspace is not working on some terminal emulators which do not send the key code defined by terminfo. Terminals either send '^H' (8) or '^?' (127). But currently only '$?' is handled. Let's also handle '^H' for those terminals. Signed-off-by: Changbin Du --- scripts/kconfig/lxdialog/inputbox.c

Re: [PATCH v3 4/7] ocxl: Allow external drivers to use OpenCAPI contexts

2019-03-25 Thread Frederic Barrat
Le 25/03/2019 à 06:44, Alastair D'Silva a écrit : From: Alastair D'Silva Most OpenCAPI operations require a valid context, so exposing these functions to external drivers is necessary. Signed-off-by: Alastair D'Silva Reviewed-by: Greg Kurz --- See comment on previous patch regarding mer

[PATCH 1/5] dt-bindings: mfd: Update the ramp up/down property

2019-03-25 Thread Dan Murphy
Modify the ramp-up/down property and add the property description to the binding. Signed-off-by: Dan Murphy --- .../devicetree/bindings/mfd/ti-lmu.txt| 20 --- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/ti-lmu.txt

Re: [PATCH] [v2] selinux: avoid uninitialized variable warning

2019-03-25 Thread Arnd Bergmann
On Mon, Mar 25, 2019 at 3:15 PM Paul Moore wrote: > On Mon, Mar 25, 2019 at 8:40 AM Arnd Bergmann wrote: > > clang correctly points out a code path that would lead > > -#if IS_ENABLED(CONFIG_IPV6) > > - } else { > > + rc = netlbl_conn_setattr(ep->base.sk, (void*)&addr4, > >

[PATCH 4/5] mfd: ti-lmu: Remove support for LM3697

2019-03-25 Thread Dan Murphy
Remove support for the LM3697 from the ti-lmu driver in favor of a dedicated LED driver. Signed-off-by: Dan Murphy --- drivers/leds/Kconfig| 2 +- drivers/mfd/Kconfig | 2 +- drivers/mfd/ti-lmu.c| 17 --- include/linux/mfd/ti-lmu-register

[PATCH] ALSA: aloop: Support S24 sample formats

2019-03-25 Thread twischer
From: Timo Wischer Currently snd_aloop supports only S16 and S32 audio sample formats. With this patch the S24 formats are also supported. Signed-off-by: Timo Wischer --- sound/drivers/aloop.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sound/drivers/aloop.c b/sound/

Re: [kernfs] e19dfdc83b: BUG:KASAN:global-out-of-bounds_in_s

2019-03-25 Thread Paul Moore
Ondrej, please look into this. You've looked at this code more recently than I have, but it looks like there might be an issue with __kernfs_iattrs() returning a pointer to a kernfs_iattrs object without taking a kernfs reference (kernfs_get(kn)). Although I would be a little surprised if this wa

Re: [PATCH v1] Revert "dmaengine: stm32-mdma: Add a check on read_u32_array"

2019-03-25 Thread Vinod Koul
On 25-03-19, 15:46, Pierre-Yves MORDRET wrote: Please use the right subsystem name dmaengine, revert is not a subsystem name! > This reverts commit 906b40b246b0acb54c4dc97e815cf734761c9820. This should use the cannonical form for commits commit-sha1: ("title") > > As stated by bindings "st

Re: [PATCH 2/4] signal: Make flush_sigqueue() use free_q to release memory

2019-03-25 Thread Matthew Wilcox
On Mon, Mar 25, 2019 at 02:15:25PM +, Christopher Lameter wrote: > On Fri, 22 Mar 2019, Matthew Wilcox wrote: > > > On Fri, Mar 22, 2019 at 07:39:31PM +, Christopher Lameter wrote: > > > On Fri, 22 Mar 2019, Waiman Long wrote: > > > > > > > > > > > > >> I am looking forward to it. > > > >

Re: "cat /proc/lockdep" after "rmmod " when !debug_locks will crash the system

2019-03-25 Thread Bart Van Assche
On Mon, 2019-03-25 at 17:45 +0800, shenghui wrote: > Sorry to trouble you. > > I installed virtualbox-5.2.24 on my system (x86 32) and on bootup I got some > warning: > - > 1251 [ 42.640869] DEBUG_LOCKS_WARN_ON(!current->hardirqs_enabled) > 1252 [ 42.640880] WARNING: CPU:

Re: [PATCH] csky: Update syscall_trace_enter/exit implementation

2019-03-25 Thread Dmitry V. Levin
On Mon, Mar 25, 2019 at 08:41:54PM +0800, Guo Ren wrote: > On Mon, Mar 25, 2019 at 03:17:54PM +0300, Dmitry V. Levin wrote: > > On Mon, Mar 25, 2019 at 08:03:39PM +0800, guo...@kernel.org wrote: > > [...] > > > diff --git a/arch/csky/include/uapi/asm/ptrace.h > > > b/arch/csky/include/uapi/asm/ptr

[RESEND] i2c: imx: defer probing on dma channel request

2019-03-25 Thread laurentiu . tudor
From: Laurentiu Tudor If the dma controller is not yet probed, defer i2c probe. The error path in probe was slightly modified (no functional change) to avoid triggering this WARN_ON(): "cg-pll0-div1 already disabled WARNING: CPU: 1 PID: 1 at drivers/clk/clk.c:828 clk_core_disable+0xa8/0xb0" Sign

[PATCH] make blk_mq_map_queues more friendly for cpu topology

2019-03-25 Thread luferry
under virtual machine environment, cpu topology may differ from normal physical server. for example (machine with 4 cores, 2 threads per core): normal physical server: core-id thread-0-id thread-1-id 0 04 1 15 2 26 3 3

Re: [PATCH v2] Documentation: acpi: Add an example for PRP0001

2019-03-25 Thread Andy Shevchenko
On Mon, Mar 25, 2019 at 03:12:10PM +, Thomas Preston wrote: > Add an example for the magic PRP0001 device ID which allows matching > ACPI devices against drivers using OF Device Tree compatible property. > It wasn't clear to me that PRP0001 could be used in _CID. Yes, but it's not necessary t

Re: [PATCH v3 1/2] kvm/vmx: Switch MSR_MISC_FEATURES_ENABLES between host and guest

2019-03-25 Thread Sean Christopherson
On Mon, Mar 25, 2019 at 04:06:49PM +0800, Xiaoyao Li wrote: > There are two defined bits in MSR_MISC_FEATURES_ENABLES, bit 0 for cpuid > faulting and bit 1 for ring3mwait. > > == cpuid Faulting == > cpuid faulting is a feature about CPUID instruction. When cpuid faulting > is enabled, all executio

Re: [ALSA patch] [PATCH] ALSA: aloop: Support S24 sample formats

2019-03-25 Thread Takashi Iwai
On Mon, 25 Mar 2019 16:35:20 +0100, Jaroslav Kysela wrote: > > Dne 25. 03. 19 v 16:14 twisc...@de.adit-jv.com napsal(a): > > From: Timo Wischer > > > > Currently snd_aloop supports only S16 and S32 audio sample formats. With > > this patch the S24 formats are also supported. > > Reviewed-by: Ja

Re: [RFC][Patch v9 0/6] KVM: Guest Free Page Hinting

2019-03-25 Thread Michael S. Tsirkin
On Mon, Mar 25, 2019 at 10:27:46AM -0400, Nitesh Narayan Lal wrote: > I performed some experiments to see if the current implementation of > hinting breaks THP. I used AnonHugePages to track the THP pages > currently in use and memhog as the guest workload. > Setup: > Host Size: 30GB (No swap) > Gu

Re: [PATCH] ALSA: aloop: Support S24 sample formats

2019-03-25 Thread Jaroslav Kysela
Dne 25. 03. 19 v 16:14 twisc...@de.adit-jv.com napsal(a): > From: Timo Wischer > > Currently snd_aloop supports only S16 and S32 audio sample formats. With > this patch the S24 formats are also supported. Reviewed-by: Jaroslav Kysela > > Signed-off-by: Timo Wischer > --- > sound/drivers/alo

Re: [RFC][Patch v9 0/6] KVM: Guest Free Page Hinting

2019-03-25 Thread Nitesh Narayan Lal
On 3/25/19 11:37 AM, Michael S. Tsirkin wrote: > On Mon, Mar 25, 2019 at 10:27:46AM -0400, Nitesh Narayan Lal wrote: >> I performed some experiments to see if the current implementation of >> hinting breaks THP. I used AnonHugePages to track the THP pages >> currently in use and memhog as the guest

[PATCH v5] PCI: qcom: Use default config space read function

2019-03-25 Thread Marc Gonzalez
Move the device class fudge to a proper fixup function, and remove qcom_pcie_rd_own_conf() which has become useless. NB: dw_pcie_setup_rc() already did the right thing, but it's broken on older qcom chips, such as 8064. Signed-off-by: Marc Gonzalez --- Changes from v4 to v5: Apply fixup to all q

Re:

2019-03-25 Thread Felipe Franciosi
Hi Keith, > On Mar 22, 2019, at 3:30 PM, Keith Busch wrote: > > On Fri, Mar 22, 2019 at 07:54:50AM +, Felipe Franciosi wrote: >>> >>> Note though that SPDK doesn't support sharing the device between host and >>> the >>> guests, it takes over the nvme device, thus it makes the kernel nvme d

Re: [PATCH v3 2/2] x86/vmx: optimize MSR_MISC_FEATURES_ENABLES switch

2019-03-25 Thread Sean Christopherson
On Mon, Mar 25, 2019 at 04:06:50PM +0800, Xiaoyao Li wrote: > KVM needs to switch MSR_MISC_FEATURES_ENABLES between host and guest in > every pcpu/vcpu context switch. Since WRMSR is expensive, this patch tries > to save cycles by avoiding WRMSR MSR_MISC_FEATURES_ENABLES whenever possible. > > If

[PATCH 2/2] ARM: iop: don't use using 64-bit DMA masks

2019-03-25 Thread Arnd Bergmann
clang warns about statically defined DMA masks from the DMA_BIT_MASK macro with length 64: arch/arm/mach-iop13xx/setup.c:303:35: error: shift count >= width of type [-Werror,-Wshift-count-overflow] static u64 iop13xx_adma_dmamask = DMA_BIT_MASK(64); ^~~

Re: [PATCH v3] rcu: Allow to eliminate softirq processing from rcutree

2019-03-25 Thread Paul E. McKenney
On Mon, Mar 25, 2019 at 08:08:00AM -0700, Paul E. McKenney wrote: > On Mon, Mar 25, 2019 at 09:41:29AM -0400, Joel Fernandes wrote: > > On Sun, Mar 24, 2019 at 04:42:11PM -0700, Paul E. McKenney wrote: > > > On Sat, Mar 23, 2019 at 09:10:02AM -0700, Paul E. McKenney wrote: > > > > On Fri, Mar 22, 2

Re: [PATCH v3 7/7] ocxl: Provide global MMIO accessors for external drivers

2019-03-25 Thread Frederic Barrat
Le 25/03/2019 à 06:44, Alastair D'Silva a écrit : From: Alastair D'Silva External drivers that communicate via OpenCAPI will need to make MMIO calls to interact with the devices. Signed-off-by: Alastair D'Silva Reviewed-by: Greg Kurz --- Acked-by: Frederic Barrat drivers/misc/ocx

Re: [RFC 2/2] rcutree: Add checks for dynticks counters in rcu_is_cpu_rrupt_from_idle

2019-03-25 Thread Paul E. McKenney
On Mon, Mar 25, 2019 at 09:36:46AM -0400, Joel Fernandes wrote: > On Sun, Mar 24, 2019 at 04:43:51PM -0700, Paul E. McKenney wrote: > > On Fri, Mar 22, 2019 at 11:02:51PM -0400, Joel Fernandes wrote: > > > On Fri, Mar 22, 2019 at 09:29:39PM -0400, Joel Fernandes (Google) wrote: > > > > In the futur

[PATCH 1/2] ARM: orion: don't use using 64-bit DMA masks

2019-03-25 Thread Arnd Bergmann
clang warns about statically defined DMA masks from the DMA_BIT_MASK macro with length 64: arch/arm/plat-orion/common.c:625:29: error: shift count >= width of type [-Werror,-Wshift-count-overflow] .coherent_dma_mask = DMA_BIT_MASK(64),

Re: Regression in 5.1.0-rc2: PowerBook G4 Aluminum fails to boot - bisected to commit 0df977eafc792

2019-03-25 Thread Larry Finger
On 3/25/19 1:53 AM, Christophe Leroy wrote: Le 25/03/2019 à 01:49, Larry Finger a écrit : A build of kernel 5.1.0-rc2 resulted in a failure to boot on my PowerBook G4 Aluminum. The bootstrap loads the initial kernel and issues the appropriate start, but the machine hangs at that point. Can

[PATCHv3 2/3] Documentation: dt: edac: Add Stratix10 Peripheral bindings

2019-03-25 Thread thor . thayer
From: Thor Thayer Add peripheral bindings for Stratix10 EDAC to capture the differences between the ARM64 and ARM32 architecture. Signed-off-by: Thor Thayer --- v2-3 No change --- .../devicetree/bindings/edac/socfpga-eccmgr.txt| 106 + 1 file changed, 106 insertions(+)

[PATCHv3 1/3] Documentation: dt: edac: Fix Stratix10 IRQ bindings

2019-03-25 Thread thor . thayer
From: Thor Thayer Fix Stratix10 ECC bindings to specify only the single bit error. On Stratix10 double bit errors are handled as SErrors instead of interrupts. Indicate the differences between the ARM64 and ARM32 EDAC architecture in the bindings. Signed-off-by: Thor Thayer Acked-by: Rob Herrin

[PATCHv3 3/3] arm64: dts: stratix10: Use new Stratix10 EDAC bindings

2019-03-25 Thread thor . thayer
From: Thor Thayer Use the new Stratix10 binding format for EDAC nodes. Signed-off-by: Thor Thayer --- v2-3 No change --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 25 --- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/altera/so

Re: [PATCH] PCI: al: add pcie-al.c

2019-03-25 Thread Jonathan Chocron
On 3/25/19 14:58, Bjorn Helgaas wrote: Hi Jonathan, Looks good to me. Looks like this hardware is so close to Just Working with the generic driver; it's too bad we have to add more ECAM quirks, but sometimes life gives us lemons. Trivial comments below. Lorenzo may have additional comments

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

2019-03-25 Thread Mathieu Desnoyers
Hi Carlos, - On Mar 22, 2019, at 4:09 PM, Carlos O'Donell codon...@redhat.com wrote: [...] I took care of all your comments for an upcoming round of patches, except the following that remain open (see answer inline). I'm adding Linux maintainers for ARM, aarch64, MIPS, powerpc, s390, x86 in

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

2019-03-25 Thread Andreas Schwab
On Mär 25 2019, Yash Shah wrote: > v11 > - Change naming convention for pwm_device and pwm_sifive_ddata pointers > - Assign of_pwm_xlate_with_flag() to of_xlate func ptr since this driver > use three pwm-cells (Issue reported by Andreas Schwab > - Other minor fixes I still don't see any impro

Re: [PATCH v2] Documentation: acpi: Add an example for PRP0001

2019-03-25 Thread Thomas Preston
On 25/03/2019 15:30, Andy Shevchenko wrote: On Mon, Mar 25, 2019 at 03:12:10PM +, Thomas Preston wrote: Add an example for the magic PRP0001 device ID which allows matching ACPI devices against drivers using OF Device Tree compatible property. It wasn't clear to me that PRP0001 could be u

[PATCHv3 0/3] Update Stratix10 EDAC Bindings

2019-03-25 Thread thor . thayer
From: Thor Thayer This patch series makes the Stratix10 EDAC Bindings specific to the Stratix10 ARM64 architecture. Instead of using the Arria10 (ARM32) EDAC bindings for Stratix10 (ARM64), create Stratix10 specific EDAC bindings to capture architecture differences between ARM32 and ARM64. This

[PATCH 00/10] ALSA: aloop: Support selection of snd_timer

2019-03-25 Thread twischer
With the following patch set any sound timer can be used as timer source for the aloop devices if selected. It can be select by the additional timer_source kernel module parameter: -2 the jiffies timer will be used as done without this patch (default) -1 the sound timer will be selected dependi

[PATCH 02/10] ALSA: aloop: loopback_timer_start: Support return of error code

2019-03-25 Thread twischer
From: Timo Wischer This is required for additional timer implementations which could detect errors and want to throw them. Signed-off-by: Timo Wischer --- sound/drivers/aloop.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/sound/drivers/aloop.c b/sound/driver

[PATCH 03/10] ALSA: aloop: loopback_timer_stop: Support return of error code

2019-03-25 Thread twischer
From: Timo Wischer This is required for additional timer implementations which could detect errors and want to throw them. Signed-off-by: Timo Wischer --- sound/drivers/aloop.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/sound/drivers/aloop.c b/sound

Re: [RFC] [PATCH v2 0/5] Intel Virtual PMU Optimization

2019-03-25 Thread Andi Kleen
> It isn't going anywhere anyway, its insane. You let perf do all its > normal things and then discard the results by avoiding the wrmsr. > > Then you fudge a second wrmsr path somewhere. > > Please, just make the existing event dtrt. I still think the right way is to force an event to a counter

Re: [PATCH 4/4] leds: lm3532: Introduce the lm3532 LED driver

2019-03-25 Thread Dan Murphy
On 3/25/19 9:54 AM, Tony Lindgren wrote: > * Dan Murphy [190325 12:36]: >> On 3/22/19 5:16 PM, Tony Lindgren wrote: >>> I can control the backlight brightness just fine via /sys, and >>> backlight shows up as the trigger in /sys/class/leds/lm3532:backlight, >>> but /sys/class/backlight is empty an

Re: [PATCH] ELAN touchpad i2c_hid bugs fix

2019-03-25 Thread Dmitry Torokhov
Hi Vladislav, On Mon, Mar 25, 2019 at 5:57 AM Vladislav Dalechyn wrote: > > From: Vladislav Dalechyn > > Description: The ELAN1200:04F3:303E touchpad exposes several issues, all > caused by an error setting the correct IRQ_TRIGGER flag: > - i2c_hid incoplete error flood in journalctl; > - Five f

Re: [PATCH 3.18 132/134] rcu: Do RCU GP kthread self-wakeup from softirq and interrupt

2019-03-25 Thread Paul E. McKenney
On Sat, Mar 23, 2019 at 07:33:15AM +0100, Greg Kroah-Hartman wrote: > On Fri, Mar 22, 2019 at 04:00:17PM +, He, Bo wrote: > > Hi, Greg: > > Can you hold on the 3.18-stable branch, it seems there are some issue, > > please see the comments from Paul: > > > > Comments from Paul: > > I subje

[PATCH 01/10] ALSA: aloop: Describe units of variables

2019-03-25 Thread twischer
From: Timo Wischer Describe the unit of the variables used to calculate the hw pointer depending on jiffies ticks. Signed-off-by: Timo Wischer --- sound/drivers/aloop.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c index

Re: [PATCH v4 4/5] soc: qcom: socinfo: Expose custom attributes

2019-03-25 Thread Stephen Boyd
Quoting Vaishali Thakkar (2019-03-24 10:42:36) > On Sat, 23 Mar 2019 at 05:31, Stephen Boyd wrote: > > > debugfs_create_devm_seqfile() which may work to print a string from some > > struct member. I'm not sure why you're using simple_attr_read(). Where > > does that become important? > > DEFINE_

[PATCH 04/10] ALSA: aloop: Use always spin_lock_irqsave() for cable->lock

2019-03-25 Thread twischer
From: Timo Wischer to allow the usage of timer callbacks from interrupt context. For example the sound timer. Signed-off-by: Timo Wischer --- sound/drivers/aloop.c | 33 +++-- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/sound/drivers/aloop.c b/so

Re: [PATCH 1/2] spi: stm32-qspi: add spi_master_put in release function

2019-03-25 Thread Mark Brown
On Fri, Mar 22, 2019 at 03:35:53PM +0100, Ludovic Barre wrote: > From: Ludovic Barre > > This patch adds spi_master_put in release function > to drop the controller's refcount. I'm getting build errors with this: CC drivers/spi/spi-stm32-qspi.o drivers/spi/spi-stm32-qspi.c: In function ‘

[PATCH v2 2/2] cpufreq: intel_pstate: Also use cppc nominal_perf for base_frequency

2019-03-25 Thread Srinivas Pandruvada
ACPI specifications stat that if the "Guaranteed Performance Register" is not implemented, OSPM assumes guaranteed performance is always equal to nominal performance. So for invalid and unimplemented guaranteed performance register, use nominal performance as guaranteed performance. This change wi

[PATCH v2 0/2] Correct the processing for base_frequency

2019-03-25 Thread Srinivas Pandruvada
The base_frequency display in cpufreq sysfs for intel_pstate gets the guaranteed ratio by reading CPPC guaranteed performance register as a first preference before falling back to x86 MSR for Hardware P-state Capabilities. The current code in cppc_acpi.c assumed that "guaranteed performance registe

[PATCH] dt-bindings: display/panel: Add missing unit names

2019-03-25 Thread Guido Günther
Some examples were missing the unit names triggering Warning (unit_address_vs_reg): .../panel: node has a reg or ranges property, but no unit name warnings when used verbatim in DTs and running dtc with W=1. Signed-off-by: Guido Günther --- .../devicetree/bindings/display/panel/innolux,p079z

[PATCH v2 1/2] ACPI / CPPC: Fix processing for guaranteed performance

2019-03-25 Thread Srinivas Pandruvada
As per ACPI specification "Guaranteed Performance Register" is a "Buffer" field. It can't be "Integer" field. So treat "Integer" type as invalid and ignore "Guaranteed Performance Register". Also save one cpc_read() call, when "Guaranteed Performance Register" is not present, which means register d

Re: [PATCH 04/10] ALSA: aloop: Use always spin_lock_irqsave() for cable->lock

2019-03-25 Thread Takashi Iwai
On Mon, 25 Mar 2019 17:00:38 +0100, wrote: > > From: Timo Wischer > > to allow the usage of timer callbacks from interrupt context. > For example the sound timer. The trigger callback is already irq-disabled. And, open/close must not be irq-disabled OTOH. So these changes must be superfluous

Applied "ASoC: dapm: Initialize private_value in snd_soc_dapm_new_dai" to the asoc tree

2019-03-25 Thread Mark Brown
The patch ASoC: dapm: Initialize private_value in snd_soc_dapm_new_dai has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hou

Re: [PATCH v3 2/4] RISC-V: Fix memory reservation in setup_bootmem()

2019-03-25 Thread Mike Rapoport
On Mon, Mar 25, 2019 at 09:23:09AM +, Anup Patel wrote: > Currently, the setup_bootmem() reserves memory from RAM start to the > kernel end. This prevents us from exploring ways to use the RAM below > (or before) the kernel start hence this patch updates setup_bootmem() > to only reserve memory

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

2019-03-25 Thread Brice Goglin
Le 23/03/2019 à 05:44, Yang Shi a écrit : > With Dave Hansen's patches merged into Linus's tree > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c221c0b0308fd01d9fb33a16f64d2fd95f8830a4 > > PMEM could be hot plugged as NUMA node now. But, how to use PMEM as NUMA n

Re: [PATCH 1/2] io_uring: fix big-endian compat signal mask handling

2019-03-25 Thread Arnd Bergmann
On Mon, Mar 25, 2019 at 5:05 PM Jens Axboe wrote: > > On 3/25/19 8:34 AM, Arnd Bergmann wrote: > > On big-endian architectures, the signal masks are differnet > > between 32-bit and 64-bit tasks, so we have to use a different > > function for reading them from user space. > > > > io_cqring_wait()

Re: [PATCH v1] Revert "dmaengine: stm32-mdma: Add a check on read_u32_array"

2019-03-25 Thread Pierre Yves MORDRET
On 3/25/19 4:25 PM, Vinod Koul wrote: > On 25-03-19, 15:46, Pierre-Yves MORDRET wrote: > > Please use the right subsystem name dmaengine, revert is not a subsystem > name! ok. sorry. I thought revert keyword was correct. > >> This reverts commit 906b40b246b0acb54c4dc97e815cf734761c9820. > >

Re: [PATCH 1/2] io_uring: fix big-endian compat signal mask handling

2019-03-25 Thread Jens Axboe
On 3/25/19 10:11 AM, Arnd Bergmann wrote: > On Mon, Mar 25, 2019 at 5:05 PM Jens Axboe wrote: >> >> On 3/25/19 8:34 AM, Arnd Bergmann wrote: >>> On big-endian architectures, the signal masks are differnet >>> between 32-bit and 64-bit tasks, so we have to use a different >>> function for reading t

Re: [PATCH 2/4] signal: Make flush_sigqueue() use free_q to release memory

2019-03-25 Thread Christopher Lameter
On Mon, 25 Mar 2019, Matthew Wilcox wrote: > Options: > > 1. Dispense with this optimisation and always store the size of the > object before the object. I think thats how SLOB handled it at some point in the past. Lets go back to that setup so its compatible with the other allocators?

Re: Regression in 5.1.0-rc2: PowerBook G4 Aluminum fails to boot - bisected to commit 0df977eafc792

2019-03-25 Thread Larry Finger
On 3/25/19 3:46 AM, Christophe Leroy wrote: Le 25/03/2019 à 01:49, Larry Finger a écrit : A build of kernel 5.1.0-rc2 resulted in a failure to boot on my PowerBook G4 Aluminum. The bootstrap loads the initial kernel and issues the appropriate start, but the machine hangs at that point. The

Re: [PATCH 1/2] spi: stm32-qspi: add spi_master_put in release function

2019-03-25 Thread Ludovic BARRE
hi Mark On 3/25/19 5:03 PM, Mark Brown wrote: On Fri, Mar 22, 2019 at 03:35:53PM +0100, Ludovic Barre wrote: From: Ludovic Barre This patch adds spi_master_put in release function to drop the controller's refcount. I'm getting build errors with this: CC drivers/spi/spi-stm32-qspi.o

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

2019-03-25 Thread Anup Patel
On Mon, Mar 25, 2019 at 8:29 PM Christoph Hellwig wrote: > > On Mon, Mar 25, 2019 at 06:18:45PM +0530, Anup Patel wrote: > > We trying to addresses following issues in current code: > > 1. The current setup_vm() maps all possible kernel virtual addresses (128GB > > on 64bit system and 1GB on 32bit

[PATCH v2 1/2] dt-bindings: ARM: dts: rockchip: Add bindings for rk3288-veyron-mighty

2019-03-25 Thread Douglas Anderson
Mighty is basically the same Chromebook as Jaq but it has a full-sized SD slot and some different (slightly more rugged) plastics around it. Like Jaq, Mighty may show up with various different brandings but all of them have the same board inside. Signed-off-by: Douglas Anderson Reviewed-by: Rob H

[PATCH 4/4] tests: add pidctl() tests

2019-03-25 Thread Christian Brauner
This adds test cases for all three subcommands and verifies that they succeed and fail as expected. Additionally, the tests verify that pidctl() pidfds are correctly useable with pidfd_send_signal(). Signed-off-by: Christian Brauner Cc: Arnd Bergmann Cc: "Eric W. Biederman" Cc: Kees Cook Cc: A

[PATCH 3/4] signal: support pidctl() with pidfd_send_signal()

2019-03-25 Thread Christian Brauner
Let pidfd_send_signal() use pidfds retrieved via pidctl(). With this patch pidfd_send_signal() becomes independent of procfs. This fullfils the request made when we merged the pidfd_send_signal() patchset. The pidfd_send_signal() syscall is now always available allowing for it to be used by users w

[PATCH 0/4] pid: add pidctl()

2019-03-25 Thread Christian Brauner
The pidctl() syscalls builds on, extends, and improves translate_pid() [4]. I quote Konstantins original patchset first that has already been acked and picked up by Eric before and whose functionality is preserved in this syscall. Multiple people have asked when this patchset will be sent in for me

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

2019-03-25 Thread Matthias Kaehlcke
On Mon, Mar 25, 2019 at 05:06:39PM +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 > --- > Changes in V4: > - Added is_qca_soc_type_wcn399x_

Re: [PATCH] powerpc/rtas: fix early boot failure.

2019-03-25 Thread Larry Finger
On 3/25/19 3:43 AM, Christophe Leroy wrote: Commit 0df977eafc79 ("powerpc/6xx: Don't use SPRN_SPRG2 for storing stack pointer while in RTAS") changes the code to use a field in thread struct to store the stack pointer while in RTAS instead of using SPRN_SPRG2. It therefore converts all places whi

Re: [PATCH 0/3] RISC-V SBI earlycon

2019-03-25 Thread Andreas Schwab
On Dez 04 2018, Anup Patel wrote: > This patchset adds RISC-V SBI earlycon and removes RISC-V EARLY_PRINTK. > > We should use earlycon over existing EARLY_PRINTK for SBI console because: > 1. It's a more generic way of implementing early console for debugging > 2. Current RISC-V EARLY_PRINTK is a

[PATCH v2 2/2] ARM: dts: rockchip: Add device tree for rk3288-veyron-mighty

2019-03-25 Thread Douglas Anderson
Mighty is basically the same Chromebook as Jaq but it has a full-sized SD slot and some different (slightly more rugged) plastics around it. Like Jaq, Mighty may show up with various different brandings but all of them have the same board inside. In the downstream kernel Mighty and Jaq share a "dt

Re: dell_smbios KASAN bug

2019-03-25 Thread Tom Zanussi
Hi Steve, On Mon, 2019-03-25 at 10:17 -0400, Steven Rostedt wrote: > On Mon, 25 Mar 2019 13:22:35 + > wrote: > > > > diff --git a/drivers/platform/x86/dell-smbios-base.c > > > b/drivers/platform/x86/dell- > > > smbios-base.c > > > index 9dc282ed5a9e..c3825c674522 100644 > > > --- a/drivers/p

[PATCH 2/4] pid: add pidctl()

2019-03-25 Thread Christian Brauner
The pidctl() syscalls builds on, extends, and improves translate_pid() [4]. I quote Konstantins original patchset first that has already been acked and picked up by Eric before and whose functionality is preserved in this syscall: "Each process have different pids, one for each pid namespace it be

[PATCH 1/4] Make anon_inodes unconditional

2019-03-25 Thread Christian Brauner
From: David Howells Make the anon_inodes facility unconditional so that it can be used by core VFS code and the pidctl() syscall. Signed-off-by: David Howells Signed-off-by: Al Viro [christ...@brauner.io: adapt commit message to mention pidctl()] Signed-off-by: Christian Brauner --- arch/arm

[PATCH v2] dmaengine: stm32-mdma: Revert "Add a check on read_u32_array"

2019-03-25 Thread Pierre-Yves MORDRET
This reverts commit 906b40b246b0 ("Add a check on read_u32_array") As stated by bindings "st,ahb-addr-masks" is optional. The statement inserted by this commit makes this property mandatory and prevents MDMA to be probed in case property not present. Signed-off-by: Pierre-Yves MORDRET --- Vers

RE: [PATCH 01/17] kbuild: Disable -Waddress-of-packed-member for gcc 9

2019-03-25 Thread David Laight
From: Andi Kleen > Sent: 22 March 2019 16:58 > > Lol... we're actively moving away from the C standard on many places. > > Yes and also packed is not part of the C standard. > > > Why does the silly compiler think it is a problem to take the address of > > a member of a packed structure? That sou

Build regressions/improvements in v5.1-rc2

2019-03-25 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v5.1-rc2[1] compared to v5.0[2]. Summarized: - build errors: +0/-1 - build warnings: +144/-103 JFYI, when comparing v5.1-rc2[1] to v5.1-rc1[3], the summaries are: - build errors: +0/-0 - build warnings: +61/-72 Happy fi

Re: [PATCH v2] dmaengine: stm32-mdma: Revert "Add a check on read_u32_array"

2019-03-25 Thread Vinod Koul
On 25-03-19, 17:21, Pierre-Yves MORDRET wrote: > This reverts commit 906b40b246b0 ("Add a check on read_u32_array") This and patch title should contain: 906b40b246b0 ("dmaengine: stm32-mdma: Add a check on read_u32_array") I have fixed it up and applied. Thanks > As stated by bindings "st,ahb-a

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

2019-03-25 Thread Matthias Kaehlcke
On Mon, Mar 25, 2019 at 05:06:40PM +0530, Harish Bandi wrote: > This patch enables regulators for the Qualcomm Bluetooth WCN3998 > controller. > > Signed-off-by: Harish Bandi > --- > Changes in V4: > - Removed new compatible WCN3998 > - changed wcn3990 to wcn399* to represent wcn399* family > ---

Re: [alsa-devel] [PATCH] ASoC: intel: Fix crash at suspend/resume after failed codec registration

2019-03-25 Thread Guenter Roeck
On Mon, Mar 25, 2019 at 03:05:33PM +, Mark Brown wrote: > On Mon, Mar 25, 2019 at 07:21:00AM -0700, Guenter Roeck wrote: > > > It is actually a bit more complicated than that. The stored pointer > > (drv->soc_card) > > isn't released. The problem is that dev_get_drvdata(drv->soc_card->dev) is

Re: [PATCH v2] Documentation: acpi: Add an example for PRP0001

2019-03-25 Thread Andy Shevchenko
On Mon, Mar 25, 2019 at 03:58:13PM +, Thomas Preston wrote: > On 25/03/2019 15:30, Andy Shevchenko wrote: > > On Mon, Mar 25, 2019 at 03:12:10PM +, Thomas Preston wrote: > > > Add an example for the magic PRP0001 device ID which allows matching > > > ACPI devices against drivers using OF De

[PATCH v4 2/2] x86/MCE/AMD: Don't report L1 BTB MCA errors on some Family 17h models

2019-03-25 Thread Ghannam, Yazen
From: Yazen Ghannam AMD Family 17h Models 10h-2Fh may report a high number of L1 BTB MCA errors under certain conditions. The errors are benign and can safely be ignored. However, the high error rate may cause the MCA threshold counter to overflow causing a high rate of thresholding interrupts. I

Re: [PATCH] rcutorture: Select from only online CPUs

2019-03-25 Thread Joel Fernandes
On Mon, Mar 25, 2019 at 11:02 AM Paul E. McKenney wrote: > > On Fri, Mar 22, 2019 at 11:46:19PM -0400, Joel Fernandes (Google) wrote: > > The rcutorture jitter.sh script selects a random CPU but does not check > > if it is offline or online. This leads to taskset errors many times. On > > my machi

[PATCH v4 1/2] x86/MCE: Add function to allow filtering of MCA errors

2019-03-25 Thread Ghannam, Yazen
From: Yazen Ghannam Some systems may report spurious MCA errors. In general, spurious MCA errors may be disabled by clearing a particular bit in MCA_CTL. However, clearing a bit in MCA_CTL may not be recommended for some errors, so the only option is to ignore them. An MCA error is printed and h

Re: [PATCH] ELAN touchpad i2c_hid bugs fix

2019-03-25 Thread Hans de Goede
Hi Dmitry, On 25-03-19 17:02, Dmitry Torokhov wrote: Hi Vladislav, On Mon, Mar 25, 2019 at 5:57 AM Vladislav Dalechyn wrote: From: Vladislav Dalechyn Description: The ELAN1200:04F3:303E touchpad exposes several issues, all caused by an error setting the correct IRQ_TRIGGER flag: - i2c_hid

Re: [PATCH v3 1/2] kvm/vmx: Switch MSR_MISC_FEATURES_ENABLES between host and guest

2019-03-25 Thread Xiaoyao Li
On Mon, 2019-03-25 at 08:33 -0700, Sean Christopherson wrote: > On Mon, Mar 25, 2019 at 04:06:49PM +0800, Xiaoyao Li wrote: > > There are two defined bits in MSR_MISC_FEATURES_ENABLES, bit 0 for cpuid > > faulting and bit 1 for ring3mwait. > > > > == cpuid Faulting == > > cpuid faulting is a featu

Re: Possible UDF locking error?

2019-03-25 Thread Jan Kara
Hi! On Sat 23-03-19 15:14:05, Steve Magnani wrote: > I have been hunting a UDF bug that occasionally results in generation > of an Allocation Extent Descriptor with an incorrect tagLocation. So > far I haven't been able to see a path through the code that could > cause that. But, I noticed some in

Re: [PATCH] rcutorture: Select from only online CPUs

2019-03-25 Thread Paul E. McKenney
On Mon, Mar 25, 2019 at 12:33:37PM -0400, Joel Fernandes wrote: > On Mon, Mar 25, 2019 at 11:02 AM Paul E. McKenney > wrote: > > > > On Fri, Mar 22, 2019 at 11:46:19PM -0400, Joel Fernandes (Google) wrote: > > > The rcutorture jitter.sh script selects a random CPU but does not check > > > if it i

Re: your mail

2019-03-25 Thread Stefan Hajnoczi
On Thu, Mar 21, 2019 at 07:07:38PM +0200, Maxim Levitsky wrote: > On Thu, 2019-03-21 at 16:13 +, Stefan Hajnoczi wrote: > > On Tue, Mar 19, 2019 at 04:41:07PM +0200, Maxim Levitsky wrote: > > > Date: Tue, 19 Mar 2019 14:45:45 +0200 > > > Subject: [PATCH 0/9] RFC: NVME VFIO mediated device > > >

Re: [RFC 2/2] rcutree: Add checks for dynticks counters in rcu_is_cpu_rrupt_from_idle

2019-03-25 Thread Joel Fernandes
On Mon, Mar 25, 2019 at 08:53:41AM -0700, Paul E. McKenney wrote: > On Mon, Mar 25, 2019 at 09:36:46AM -0400, Joel Fernandes wrote: > > On Sun, Mar 24, 2019 at 04:43:51PM -0700, Paul E. McKenney wrote: > > > On Fri, Mar 22, 2019 at 11:02:51PM -0400, Joel Fernandes wrote: > > > > On Fri, Mar 22, 201

Re: [PATCH v2 5/5] i2c: mux: pca9541: add support for PCA9641

2019-03-25 Thread Guenter Roeck
On Mon, Mar 25, 2019 at 03:01:21PM +, Peter Rosin wrote: > On 2019-03-22 20:38, Pradeep Srinivasan wrote: > > I have verified the changes on PCA 9541. May I know how you want the test > > results to be shared ? (newbie here; please bear with me) > > > > root@cumulus:/home/cumulus# dmesg| grep

Re: [PATCH 2/2] Bluetooth: hci_qca: wcn3990: Drop baudrate change vendor event

2019-03-25 Thread Matthias Kaehlcke
Hi Marcel, do you have any comments on this change? Without this firmware download on wcn3990 (and probably also wcn3998) is broken, unfortunately fixing the ROM firmware is not an option :( Thanks Matthias On Wed, Mar 06, 2019 at 04:40:41PM -0800, Matthias Kaehlcke wrote: > Firmware download

Re: [PATCH 0/4] pid: add pidctl()

2019-03-25 Thread Daniel Colascione
On Mon, Mar 25, 2019 at 9:21 AM Christian Brauner wrote: > The pidctl() syscalls builds on, extends, and improves translate_pid() [4]. > I quote Konstantins original patchset first that has already been acked and > picked up by Eric before and whose functionality is preserved in this > syscall. Mu

Re: [PATCH v2] Documentation: acpi: Add an example for PRP0001

2019-03-25 Thread Thomas Preston
On 25/03/2019 16:34, Andy Shevchenko wrote: On Mon, Mar 25, 2019 at 03:58:13PM +, Thomas Preston wrote: On 25/03/2019 15:30, Andy Shevchenko wrote: On Mon, Mar 25, 2019 at 03:12:10PM +, Thomas Preston wrote: Add an example for the magic PRP0001 device ID which allows matching ACPI devi

Re: [PATCH] ARM: dts: exynos: Fix spelling mistake of EXYNOS5420

2019-03-25 Thread Krzysztof Kozlowski
On Sun, Feb 03, 2019 at 09:13:30PM +0100, Benjamin Drung wrote: > The SoC name EXYNOS5420 was misspelled. > > Signed-off-by: Benjamin Drung > --- > arch/arm/boot/dts/exynos5420.dtsi | 2 +- Sorry for late apply but you never sent it to samsung-soc maling list so it was not present on Patchwork (

Re: [PATCH 0/4] pid: add pidctl()

2019-03-25 Thread David Howells
Daniel Colascione wrote: > System calls are cheap. Only to a point. x86_64 will have an issue when we hit syscall 512. We're currently at 427. David

Re: [PATCH] ELAN touchpad i2c_hid bugs fix

2019-03-25 Thread Dmitry Torokhov
Hi Hans, On Mon, Mar 25, 2019 at 9:38 AM Hans de Goede wrote: > > Hi Dmitry, > > On 25-03-19 17:02, Dmitry Torokhov wrote: > > Hi Vladislav, > > > > On Mon, Mar 25, 2019 at 5:57 AM Vladislav Dalechyn > > wrote: > >> > >> From: Vladislav Dalechyn > >> > >> Description: The ELAN1200:04F3:303E tou

[PATCH v3] Documentation: acpi: Add an example for PRP0001

2019-03-25 Thread Thomas Preston
Add an example for the magic PRP0001 device ID which allows matching ACPI devices against drivers using OF Device Tree compatible property. Signed-off-by: Thomas Preston --- Documentation/acpi/enumeration.txt | 26 ++ 1 file changed, 26 insertions(+) diff --git a/Documen

Re: [PATCH 04/10] ALSA: aloop: Use always spin_lock_irqsave() for cable->lock

2019-03-25 Thread Takashi Iwai
On Mon, 25 Mar 2019 17:40:23 +0100, Timo Wischer wrote: > > Best regards > Timo Wischer > Engineering Software Base (ADITG/ESB) > > Tel. +49 5121 49 6938 > On 3/25/19 17:07, Takashi Iwai wrote: > > On Mon, 25 Mar 2019 17:00:38 +0100, > wrote: > > From: Timo Wischer >

Re: [PATCH 0/4] pid: add pidctl()

2019-03-25 Thread Daniel Colascione
On Mon, Mar 25, 2019 at 9:56 AM David Howells wrote: > Daniel Colascione wrote: > > > System calls are cheap. > > Only to a point. x86_64 will have an issue when we hit syscall 512. We're > currently at 427. IIRC, a while ago, someone proposed restarting system call numbering above (again, IIR

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

2019-03-25 Thread Dan Williams
On Mon, Mar 25, 2019 at 9:15 AM Brice Goglin wrote: > > > Le 23/03/2019 à 05:44, Yang Shi a écrit : > > With Dave Hansen's patches merged into Linus's tree > > > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c221c0b0308fd01d9fb33a16f64d2fd95f8830a4 > > > > PMEM co

<    1   2   3   4   5   6   7   8   9   10   >