Re: ipc/sem: Three function calls less in do_semtimedop()

2019-07-07 Thread Markus Elfring
>> +list_add_tail(&queue.list, >> + alter >> + ? (sma->complex_count >> +? &sma->pending_alter >> +: &curr->pending_alter) >> + : &curr->pending_const); > >

Re: [PATCH] mfd: asic3: One function call less in asic3_irq_probe()

2019-07-07 Thread Markus Elfring
>> Avoid an extra function call by using a ternary operator instead of >> a conditional statement. > > Which is a good thing, because...? I suggest to reduce a bit of duplicate source code also at this place. >> This issue was detected by using the Coccinelle software. > > Oh, I see - that answe

Re: [patch V2 04/25] x86/apic: Make apic_pending_intr_clear() more robust

2019-07-07 Thread Thomas Gleixner
On Fri, 5 Jul 2019, Andy Lutomirski wrote: > On Fri, Jul 5, 2019 at 1:36 PM Thomas Gleixner wrote: > > No. We can map the APIC into the user space visible page tables for PTI > > without compromising the PTI isolation and it can be read very early on > > before SWAPGS. All you need is a register t

[PATCH v2] ALSA: usb-audio: fix Line6 Helix audio format rates

2019-07-07 Thread Nicola Lunghi
Line6 Helix and HX stomp devices don't support retrieving the number of clock sample rate. Add a quirk to set it to 48Khz by default. Signed-off-by: Nicola Lunghi --- sound/usb/format.c | 46 +++--- 1 file changed, 43 insertions(+), 3 deletions(-) diff -

Re: [patch V2 04/25] x86/apic: Make apic_pending_intr_clear() more robust

2019-07-07 Thread Thomas Gleixner
On Fri, 5 Jul 2019, Paolo Bonzini wrote: > On 05/07/19 22:25, Thomas Gleixner wrote: > > The more interesting question is whether this is all relevant. If I > > understood the issue correctly then this is mitigated by proper interrupt > > remapping. > > Yes, and for Linux we're good I think. VFIO

Re: [PATCH] nilfs2: do not use unexported cpu_to_le32()/le32_to_cpu() in uapi header

2019-07-07 Thread Ryusuke Konishi
Yamada-san, > To automate this testing, I will merge the following for 5.3-rc1: > https://patchwork.kernel.org/patch/11024715/ Thank you. I could get the series through linux-next tree, and could reproduce the build error by enabling the new coverage test for nilfs2_ondisk.h. Acked-by: Ryusuke

[PATCH] ide: use BIT() macro for defining bit-flags

2019-07-07 Thread Amol Surati
The BIT() macro is available for defining the required bit-flags. Since it operates on an unsigned value and expands to an unsigned result, using it, instead of an expression like (1 << x), also fixes the problem of shifting a signed 32-bit value by 31 bits (e.g. 1 << 31). Signed-off-by: Amol Sur

Re: [PATCH v3 1/1] builddeb: generate multi-arch friendly linux-libc-dev package

2019-07-07 Thread Masahiro Yamada
On Fri, Jul 5, 2019 at 5:50 AM Cedric Hombourger wrote: > > Debian-based distributions place libc header files in a machine > specific directory (/usr/include/) instead of > /usr/include/asm to support installation of the linux-libc-dev > package from multiple architectures. Move headers installed

Re: [PATCH v2] ALSA: usb-audio: fix Line6 Helix audio format rates

2019-07-07 Thread Takashi Iwai
On Sun, 07 Jul 2019 10:27:34 +0200, Nicola Lunghi wrote: > @@ -294,7 +321,7 @@ static int parse_audio_format_rates_v2v3(struct > snd_usb_audio *chip, > { > struct usb_device *dev = chip->dev; > unsigned char tmp[2], *data; > - int nr_triplets, data_size, ret = 0; > + int nr_tr

[tip:timers/core] timer: Document TIMER_PINNED

2019-07-07 Thread tip-bot for Peter Xu
Commit-ID: 28ef2db8866495150e4260773fead8313f1a5625 Gitweb: https://git.kernel.org/tip/28ef2db8866495150e4260773fead8313f1a5625 Author: Peter Xu AuthorDate: Fri, 28 Jun 2019 18:59:42 +0800 Committer: Thomas Gleixner CommitDate: Sun, 7 Jul 2019 11:50:03 +0200 timer: Document TIMER_PINNE

[tip:x86/fpu] x86/fpu: Make 'no387' and 'nofxsr' command line options useful

2019-07-07 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 9838e3bff0f92f23fcd50fe1ff1d4b3e91b8a448 Gitweb: https://git.kernel.org/tip/9838e3bff0f92f23fcd50fe1ff1d4b3e91b8a448 Author: Sebastian Andrzej Siewior AuthorDate: Wed, 3 Jul 2019 10:32:47 +0200 Committer: Thomas Gleixner CommitDate: Sun, 7 Jul 2019 12:01:46 +0200 x86/fpu: Ma

[tip:x86/fpu] x86/fpu: Inline fpu__xstate_clear_all_cpu_caps()

2019-07-07 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 7891bc0ab739a31538b5f879a523232b8b07a0d3 Gitweb: https://git.kernel.org/tip/7891bc0ab739a31538b5f879a523232b8b07a0d3 Author: Sebastian Andrzej Siewior AuthorDate: Thu, 4 Jul 2019 08:07:43 +0200 Committer: Thomas Gleixner CommitDate: Sun, 7 Jul 2019 12:01:47 +0200 x86/fpu: In

[tip:timers/core] time: Validate user input in compat_settimeofday()

2019-07-07 Thread tip-bot for zhengbin
Commit-ID: 9176ab1b848059a0cd9caf39f0cebaa1b7ec5ec2 Gitweb: https://git.kernel.org/tip/9176ab1b848059a0cd9caf39f0cebaa1b7ec5ec2 Author: zhengbin AuthorDate: Sun, 7 Jul 2019 08:51:41 +0800 Committer: Thomas Gleixner CommitDate: Sun, 7 Jul 2019 12:05:40 +0200 time: Validate user input in

Re: [PATCH v3 1/3] cpuidle-powernv : forced wakeup for stop states

2019-07-07 Thread Nicholas Piggin
Abhishek Goel's on July 4, 2019 7:18 pm: > Currently, the cpuidle governors determine what idle state a idling CPU > should enter into based on heuristics that depend on the idle history on > that CPU. Given that no predictive heuristic is perfect, there are cases > where the governor predicts a sh

[PATCH] MAINTAINERS: nilfs2: update email address

2019-07-07 Thread Ryusuke Konishi
Change my email since lab.ntt.co.jp email domain has been deprecated due to company policy. Signed-off-by: Ryusuke Konishi --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 01a52fc..b8eadb3 100644 --- a/MAINTAINERS +++ b/MAINTAINE

Re: [PATCH 1/1] scsi: aacraid: resurrect correct arc ctrl checks for Series-6

2019-07-07 Thread Andrey Jr. Melnikov
In gmane.linux.scsi Konstantin Khorenko wrote: > This partially reverts ms commit > 395e5df79a95 ("scsi: aacraid: Remove reference to Series-9") > The patch above not only drops Series-9 cards checks but also > changes logic for Series-6 controllers which leads to controller > hangs/resets under

[PATCH v2 1/4] dt-bindings: EDAC: Add Amazon's Annapurna Labs L1 EDAC

2019-07-07 Thread Hanna Hawa
Document Amazon's Annapurna Labs L1 EDAC SoC binding. Signed-off-by: Hanna Hawa --- .../devicetree/bindings/edac/amazon,al-l1-edac.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/amazon,al-l1-edac.txt diff --git a/Docu

[PATCH v2 0/4] Add support for Amazon's Annapurna Labs EDAC for L1/L2

2019-07-07 Thread Hanna Hawa
This series adds L1 and L2 caches support for error detection and correction for Amazon's Annapurna Labs SoCs. Alpine SoCs support L1 and L2 single bit correction and two bits detection capability based on ARM implementation. Changes since v1: - - Split into two drivers - Get cpu-m

[PATCH v2 4/4] edac: Add support for Amazon's Annapurna Labs L2 EDAC

2019-07-07 Thread Hanna Hawa
Adds support for Amazon's Annapurna Labs L2 EDAC driver to detect and report L2 errors. Signed-off-by: Hanna Hawa --- MAINTAINERS | 6 ++ drivers/edac/Kconfig | 8 ++ drivers/edac/Makefile | 1 + drivers/edac/al_l2_edac.c | 185 +++

[PATCH v2 2/4] edac: Add support for Amazon's Annapurna Labs L1 EDAC

2019-07-07 Thread Hanna Hawa
Adds support for Amazon's Annapurna Labs L1 EDAC driver to detect and report L1 errors. Signed-off-by: Hanna Hawa --- MAINTAINERS | 6 ++ drivers/edac/Kconfig | 8 +++ drivers/edac/Makefile | 1 + drivers/edac/al_l1_edac.c | 154 ++

[PATCH v2 3/4] dt-bindings: EDAC: Add Amazon's Annapurna Labs L2 EDAC

2019-07-07 Thread Hanna Hawa
Document Amazon's Annapurna Labs L2 EDAC SoC binding. Signed-off-by: Hanna Hawa --- .../devicetree/bindings/edac/amazon,al-l2-edac.txt | 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/amazon,al-l2-edac.txt diff --git a/Docu

Re: [Patch v2 05/10] iio: using dev_get_drvdata directly

2019-07-07 Thread Jonathan Cameron
On Thu, 4 Jul 2019 10:36:13 +0800 Fuqian Huang wrote: > Several drivers cast a struct device pointer to a struct > platform_device pointer only to then call platform_get_drvdata(). > To improve readability, these constructs can be simplified > by using dev_get_drvdata() directly. > > Signed-off-

[PATCH] usb: host: xhci-hub: fix extra endianness conversion

2019-07-07 Thread Ruslan Bilovol
Don't do extra cpu_to_le32 conversion for put_unaligned_le32 because it is already implemented in this function. Fixes sparse error: xhci-hub.c:1152:44: warning: incorrect type in argument 1 (different base types) xhci-hub.c:1152:44:expected unsigned int [usertype] val xhci-hub.c:1152:44:g

Re: [RFC PATCH] Replaces long number representation by BIT() macro

2019-07-07 Thread Michael Ellerman
Segher Boessenkool writes: > On Tue, Jul 02, 2019 at 11:16:35AM -0500, Segher Boessenkool wrote: >> On Wed, Jul 03, 2019 at 01:19:34AM +1000, Michael Ellerman wrote: >> > What we could do is switch to the `UL` macro from include/linux/const.h, >> > rather than using our own ASM_CONST. >> >> You n

[PATCH 0/6] Add Banana Pi BPI-W2 basic support

2019-07-07 Thread Aleix Roca Nonell
This patch series adds minimum support to boot a Banana Pi BPI-W2. This board serial interface is muxed through a custom Realtek driver not currently in mainline. Without the driver, it is only possible to initialize a bootconsole, but init cannot be run. The datasheet of the board's RTD1296 SoC is

[PATCH 1/6] dt-bindings: interrupt-controller: Document RTD129x

2019-07-07 Thread Aleix Roca Nonell
Add binding for Realtek RTD129x interrupt controller. Signed-off-by: Aleix Roca Nonell --- .../realtek,rtd129x-intc.txt | 24 +++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/realtek,rtd129x-intc.txt

[PATCH 4/6] arm64: dts: realtek: Add realtek intc to RTD129x

2019-07-07 Thread Aleix Roca Nonell
Add realtek's interrupt controller node and interrupt lines to UART0 Signed-off-by: Aleix Roca Nonell --- arch/arm64/boot/dts/realtek/rtd129x.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/realtek/rtd129x.dtsi b/arch/arm64/boot/dts/realtek/rtd129x.dtsi

[PATCH 2/6] irqchip: Add Realtek RTD129x intc driver

2019-07-07 Thread Aleix Roca Nonell
This driver adds support for the RTD1296 and RTD1295 interrupt controller (intc). It is based on both the BPI-SINOVOIP project and Andreas Färber's previous attempt to submit a similar driver. There is currently no publicly available datasheet on this SoC and the exact behaviour of the registers c

[PATCH 3/6] arm64: dts: realtek: Move rtd1295 memreserve areas from the generic rtd129x to its specific dtsi

2019-07-07 Thread Aleix Roca Nonell
There are two memreserve areas in the rtd1295x description that are not present in the RTD1296 SoC. This patch moves such areas to the rtd1295 device tree description. >From the commit introducing such memreserves[1]: - 0x0003 is undefined - 0x01b0 is audio related [1] - commit 72a7786c

[PATCH 6/6] arm64: dts: realtek: Add bpi-w2 board support and its RTD1296 SoC

2019-07-07 Thread Aleix Roca Nonell
Add basic device tree description for the Bannana Pi W2 (bpi-w2) and its SoC. The board should be able to boot up to a ram based rootfs. The only information available on the memreserve areas are the macro names holing the addresses in the original source code: - 0x 0x0010 - apparent

[PATCH 5/6] dt-bindings: arm: Document RTD1296

2019-07-07 Thread Aleix Roca Nonell
Add bindings for Relatek RTD1296 SoC. And the Bannana Pi BPI-W2 board. Signed-off-by: Aleix Roca Nonell --- Documentation/devicetree/bindings/arm/realtek.txt | 13 + 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/realtek.txt b/Documentation/devi

Re: [PATCH 2/6] irqchip: Add Realtek RTD129x intc driver

2019-07-07 Thread Andreas Färber
Am 07.07.19 um 15:22 schrieb Aleix Roca Nonell: > This driver adds support for the RTD1296 and RTD1295 interrupt > controller (intc). It is based on both the BPI-SINOVOIP project and > Andreas Färber's previous attempt to submit a similar driver. Doing that without my Signed-off-by and Copyright i

Re: [PATCH 5/6] dt-bindings: arm: Document RTD1296

2019-07-07 Thread Andreas Färber
Am 07.07.19 um 15:23 schrieb Aleix Roca Nonell: > Add bindings for Relatek RTD1296 SoC. And the Bannana Pi BPI-W2 board. "Realtek", "Banana" > > Signed-off-by: Aleix Roca Nonell > --- > Documentation/devicetree/bindings/arm/realtek.txt | 13 + > 1 file changed, 13 insertions(+) >

Re: [PATCH 0/6] Add Banana Pi BPI-W2 basic support

2019-07-07 Thread Andreas Färber
Am 07.07.19 um 15:22 schrieb Aleix Roca Nonell: > This patch series adds minimum support to boot a Banana Pi BPI-W2. Thanks for looking into this. Please CC linux-realtek-...@lists.infradead.org next time. Regards, Andreas -- SUSE Linux GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Ime

[PATCH net] nfc: fix potential illegal memory access

2019-07-07 Thread Yang Wei
The frags_q is used before __skb_queue_head_init when conn_info is NULL. It may result in illegal memory access. Signed-off-by: Yang Wei --- net/nfc/nci/data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/nfc/nci/data.c b/net/nfc/nci/data.c index 0a0c265..b5f16cb 1

Re: [PATCH 3.16 0/2] Fix FUSE read/write deadlock on stream-like files

2019-07-07 Thread Ben Hutchings
On Sun, 2019-06-09 at 15:41 +, Kirill Smelkov wrote: > Hello stable team, > > Please consider applying the following 2 patches to Linux-3.16 stable > tree. The patches fix regression introduced in 3.14 where both read and > write started to run under lock taken, which resulted in FUSE (and man

[PATCH] usb: dwc2: use a longer core rest timeout in dwc2_core_reset()

2019-07-07 Thread Mathias Kresin
Testing on different generations of Lantiq MIPS SoC based boards, showed that it takes up to 1500 us until the core reset bit is cleared. The driver from the vendor SDK (ifxhcd) uses a 1 second timeout. Use the same timeout to fix wrong hang detections and make the driver work for Lantiq MIPS SoCs

Re: [PATCH v2 2/2] media: hantro: Add support for VP8 decoding on rk3288

2019-07-07 Thread Kees Cook
On Thu, Jul 04, 2019 at 09:19:34AM +0200, Boris Brezillon wrote: > Hm, I fear we have the same problem in other places (including the > patch series adding support for H264). Kees, I wonder if there's some > kind of safe array iterator macro, something like > > #define for_each_static_array_entry_

Re: [PATCH pstore fix v1] pstore: fix use after free

2019-07-07 Thread Kees Cook
On Fri, Jul 05, 2019 at 03:06:00PM +0200, Norbert Manthey wrote: > The pstore_mkfile() function is passed a pointer to a struct > pstore_record. On success it consumes this 'record' pointer and > references it from the created inode. > > On failure, however, it may or may not free the record. Ther

[RFC] Fix python feature detection

2019-07-07 Thread Joel Fernandes (Google)
I am having a hard time building BPF samples by doing a make in samples/bpf. While I am debugging that, I ran into the Python issue. Even though the system has libpython2.7-dev: If I just do a 'make' inside tools/build/feature/ I get: Python.h: No such file or directory This led me to this patch

Re: pagecache locking

2019-07-07 Thread Boaz Harrosh
On 06/07/2019 02:31, Dave Chinner wrote: > > As long as the IO ranges to the same file *don't overlap*, it should > be perfectly safe to take separate range locks (in read or write > mode) on either side of the mmap_sem as non-overlapping range locks > can be nested and will not self-deadlock. >

Re: [PATCH v2 5/7] x86/mm, tracing: Fix CR2 corruption

2019-07-07 Thread Andy Lutomirski
On Thu, Jul 4, 2019 at 1:03 PM Peter Zijlstra wrote: > > Despire the current efforts to read CR2 before tracing happens there > still exist a number of possible holes: > > idtentry page_fault do_page_fault has_error_code=1 > call error_entry > TRACE_IRQS_OFF >

Re: [PATCH v2 5/7] x86/mm, tracing: Fix CR2 corruption

2019-07-07 Thread Andy Lutomirski
On Sun, Jul 7, 2019 at 8:10 AM Andy Lutomirski wrote: > > On Thu, Jul 4, 2019 at 1:03 PM Peter Zijlstra wrote: > > > > Despire the current efforts to read CR2 before tracing happens there > > still exist a number of possible holes: > > > > idtentry page_fault do_page_fault

Re: [PATCH v5 00/12] S.A.R.A. a new stacked LSM

2019-07-07 Thread Salvatore Mesoraca
James Morris wrote: > > On Sat, 6 Jul 2019, Salvatore Mesoraca wrote: > > > S.A.R.A. (S.A.R.A. is Another Recursive Acronym) is a stacked Linux > > Please make this just SARA. Nobody wants to read or type S.A.R.A. Agreed. Thank you for your suggestion.

Re: [PATCH 2/6] irqchip: Add Realtek RTD129x intc driver

2019-07-07 Thread Aleix Roca Nonell
On Sun, Jul 07, 2019 at 03:27:16PM +0200, Andreas Färber wrote: > Am 07.07.19 um 15:22 schrieb Aleix Roca Nonell: > > This driver adds support for the RTD1296 and RTD1295 interrupt > > controller (intc). It is based on both the BPI-SINOVOIP project and > > Andreas Färber's previous attempt to submi

Re: [PATCH] tracing: make exported ftrace_set_clr_event non-static

2019-07-07 Thread Joe Jin
Patch looks good to me. Reviewed-by: Joe Jin Thanks, Joe On 7/4/19 10:21 AM, Denis Efremov wrote: > The function ftrace_set_clr_event is declared static and marked > EXPORT_SYMBOL_GPL(), which is at best an odd combination. Because the > function was decided to be a part of API, this commit remo

ATTENZIONE

2019-07-07 Thread Sistemi amministratore
ATTENZIONE; La cassetta postale ha superato il limite di archiviazione, che è 5 GB come definiti dall'amministratore, che è attualmente in esecuzione su 10.9GB, non si può essere in grado di inviare o ricevere nuovi messaggi fino a ri-convalidare la tua mailbox. Per rinnovare la vostra casella

Re: [PATCH v5 06/12] S.A.R.A.: WX protection

2019-07-07 Thread Salvatore Mesoraca
Al Viro wrote: > > On Sat, Jul 06, 2019 at 12:54:47PM +0200, Salvatore Mesoraca wrote: > > > +#define sara_warn_or_return(err, msg) do { \ > > + if ((sara_wxp_flags & SARA_WXP_VERBOSE))\ > > + pr_wxp(msg);\ > > + if (!(sara_wxp_flag

Re: [PATCH v5 04/12] S.A.R.A.: generic DFA for string matching

2019-07-07 Thread Salvatore Mesoraca
Jann Horn wrote: > > On Sat, Jul 6, 2019 at 12:55 PM Salvatore Mesoraca > wrote: > > Creation of a generic Discrete Finite Automata implementation > > for string matching. The transition tables have to be produced > > in user-space. > > This allows us to possibly support advanced string matching

[PATCH] rtc: bd70528: add dependency to fix build errors

2019-07-07 Thread Randy Dunlap
From: Randy Dunlap Fix build errors when MFD_ROHM_BD70528=m, BD70528_WATCHDOG=m, and RTC_DRV_BD70528=y. Fixes these build errors: ld: drivers/rtc/rtc-bd70528.o: in function `bd70528_alm_enable': rtc-bd70528.c:(.text+0x3a2): undefined reference to `bd70528_wdt_lock' ld: rtc-bd70528.c:(.text+0x3f

Re: [PATCH v5 11/12] S.A.R.A.: /proc/*/mem write limitation

2019-07-07 Thread Salvatore Mesoraca
Jann Horn wrote: > > On Sat, Jul 6, 2019 at 12:55 PM Salvatore Mesoraca > wrote: > > Prevent a task from opening, in "write" mode, any /proc/*/mem > > file that operates on the task's mm. > > A process could use it to overwrite read-only memory, bypassing > > S.A.R.A. restrictions. > [...] > > +s

[PATCH] NFS: fix ifnullfree.cocci warnings

2019-07-07 Thread Julia Lawall
From: kbuild test robot fs/nfs/sysfs.c:125:2-7: WARNING: NULL check before some freeing functions is not needed. NULL check before some freeing functions is not needed. Based on checkpatch warning "kfree(NULL) is safe this check is probably not required" and kfreeaddr.cocci by Julia Lawall

Re: [PATCH v3 0/2] Hugetlbfs support for riscv

2019-07-07 Thread Alex Ghiti
On 7/4/19 7:35 AM, Paul Walmsley wrote: On Thu, 4 Jul 2019, Alexandre Ghiti wrote: On 7/4/19 12:57 AM, Paul Walmsley wrote: On Mon, 1 Jul 2019, Alexandre Ghiti wrote: - libhugetlbfs testsuite on riscv64/2M: - brk_near_huge triggers an assert in malloc.c, does not on x86. I was able to

[PATCH] staging: rtl8188eu: remove unused definitions from hal8188e_phy_reg.h

2019-07-07 Thread Michael Straube
Remove unused definitions from the file hal8188e_phy_reg.h. Signed-off-by: Michael Straube --- .../rtl8188eu/include/hal8188e_phy_reg.h | 881 -- 1 file changed, 881 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/hal8188e_phy_reg.h b/drivers/staging/rtl8188eu/

RE: [PATCH] cpuidle/drivers/mobile: Add new governor for mobile/embedded systems

2019-07-07 Thread Doug Smythies
On 2019.07.03 12:12 Doug Smythies wrote: > On 2019.07.03 08:16 Daniel Lezcano wrote: >> On 03/07/2019 16:23, Doug Smythies wrote: >>> On 2019.06.20 04:58 Daniel Lezcano wrote: > ... >>> Anyway, I did a bunch of tests and such, but have deleted >>> most from this e-mail, because it's just noise. I'

ATENCIÓN

2019-07-07 Thread Sistemas administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de corre

Re: [PATCH] dmaengine: at_xdmac: check for non-empty xfers_list before invoking callback

2019-07-07 Thread Vinod Koul
On 29-06-19, 13:50, Raag Jadav wrote: > tx descriptor retrieved from an empty xfers_list may not have valid > pointers to the callback functions. > Avoid calling dmaengine_desc_get_callback_invoke if xfers_list is empty. Applied, thanks -- ~Vinod

Re: [PATCH v2] PCI: hv: fix pci-hyperv build when SYSFS not enabled

2019-07-07 Thread Randy Dunlap
On 7/3/19 11:06 AM, Haiyang Zhang wrote: > > >> -Original Message- >> From: Randy Dunlap >> Sent: Wednesday, July 3, 2019 12:59 PM >> To: LKML ; linux-pci > p...@vger.kernel.org> >> Cc: Matthew Wilcox ; Jake Oshins >> ; KY Srinivasan ; Haiyang >> Zhang ; Stephen Hemminger >> ; Sasha Levi

RE: [PATCH v9 5/6] usb:cdns3 Add Cadence USB3 DRD Driver

2019-07-07 Thread Pawel Laszczak
Hi Felipe, > >Hi, > >Pawel Laszczak writes: >> diff --git a/drivers/usb/cdns3/core.c b/drivers/usb/cdns3/core.c >> new file mode 100644 >> index ..ddc73f1c87c5 >> --- /dev/null >> +++ b/drivers/usb/cdns3/core.c >> @@ -0,0 +1,543 @@ >> +// SPDX-License-Identifier: GPL-2.0 >> +/* >> + *

[GIT PULL] ARM: dts: exynos: Late pull for v5.3

2019-07-07 Thread Krzysztof Kozlowski
Hi, Late third pull of DTS changes, on top of previous pull request. This contains important fix for stuff merged recently, one cleanup and two minor fixups for regulators. Best regards, Krzysztof The following changes since commit 13efd80acaa4cdb61fde52732178ff9eb4141104: ARM: dts: exynos:

Re: [PATCH v2 5/7] x86/mm, tracing: Fix CR2 corruption

2019-07-07 Thread Linus Torvalds
On Sun, Jul 7, 2019 at 8:11 AM Andy Lutomirski wrote: > > FWIW, I'm leaning toward suggesting that we apply the trivial tracing > fix and backport *that*. Then, in -tip, we could revert it and apply > this patch instead. You don't have to have the same fix in stable as in -tip. It's fine to sen

Re: Hello

2019-07-07 Thread Mrs Ngui Esq
Hello linux-kernel@vger.kernel.org I hope your week is going fine ? well I would like to beg your attention for a few minutes as I have a very profitable business proposal I would like to share with you. I am Karen Ngui by name got your details based on recommendations from LinkedIn 5 st

Re: [PATCH 3.16 0/2] Fix FUSE read/write deadlock on stream-like files

2019-07-07 Thread Kirill Smelkov
On Sun, Jul 07, 2019 at 03:03:45PM +0100, Ben Hutchings wrote: > On Sun, 2019-06-09 at 15:41 +, Kirill Smelkov wrote: > > Hello stable team, > > > > Please consider applying the following 2 patches to Linux-3.16 stable > > tree. The patches fix regression introduced in 3.14 where both read and

Re: [PATCH] mtd: abi: do not use C++ style comments in uapi header

2019-07-07 Thread Richard Weinberger
On Thu, Jun 27, 2019 at 9:40 AM Richard Weinberger wrote: > > - Ursprüngliche Mail - > > Von: "Masahiro Yamada" > > An: "David Woodhouse" , "Brian Norris" > > , "Marek Vasut" > > , "Miquel Raynal" , > > "richard" , "Vignesh Raghavendra" > > , "linux-mtd" > > CC: "Masahiro Yamada" , "li

Re: [PATCH v2 1/2] mtd: concat: refactor concat_lock/concat_unlock

2019-07-07 Thread Richard Weinberger
On Tue, Jun 18, 2019 at 12:11 AM Chris Packham wrote: > > On 18/06/19 10:08 AM, Richard Weinberger wrote: > > On Fri, Jun 14, 2019 at 5:26 AM Chris Packham > > wrote: > >> > >> Hi All, > >> > >> Ping? > > > > Your patch is not lost. We start soon with collecting all material for > > the merge win

Re: [PATCH] mtd: afs: remove unneeded NULL check

2019-07-07 Thread Richard Weinberger
On Wed, May 29, 2019 at 9:19 AM Ding Xiang wrote: > > NULL check before kfree is unneeded, so remove it. > > Signed-off-by: Ding Xiang Applied. -- Thanks, //richard

Re: [PATCH 1/6] dt-bindings: interrupt-controller: Document RTD129x

2019-07-07 Thread Marc Zyngier
On Sun, 7 Jul 2019 15:22:46 +0200 Aleix Roca Nonell wrote: > Add binding for Realtek RTD129x interrupt controller. > > Signed-off-by: Aleix Roca Nonell > --- > .../realtek,rtd129x-intc.txt | 24 +++ > 1 file changed, 24 insertions(+) > create mode 100644 > Do

[PATCH 3.16 004/129] clk: highbank: fix refcount leak in hb_clk_init()

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Yangtao Li commit 5eb8ba90958de1285120dae5d3a5d2b1a360b3b4 upstream. The of_find_compatible_node() returns a node pointer with refcount incremented, but there is the lack of use of the of_node

[PATCH 3.16 052/129] rtc: 88pm80x: fix unintended sign extension

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Colin Ian King commit fb0b322537a831b5b0cb948c56f8f958ce493d3a upstream. Shifting a u8 by 24 will cause the value to be promoted to an integer. If the top bit of the u8 is set then the followi

[PATCH 3.16 025/129] powerpc/irq: drop arch_early_irq_init()

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Christophe Leroy commit 607ea5090b3fb61fea1d0bc5278e6c1d40ab5bd6 upstream. arch_early_irq_init() does nothing different than the weak arch_early_irq_init() in kernel/softirq.c Fixes: 089fb442

[PATCH 3.16 075/129] drm/radeon/evergreen_cs: fix missing break in switch statement

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: "Gustavo A. R. Silva" commit cc5034a5d293dd620484d1d836aa16c6764a1c8c upstream. Add missing break statement in order to prevent the code from falling through to case CB_TARGET_MASK. This bug

[PATCH 3.16 124/129] binder: Replace "%p" with "%pK" for stable

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings This was done as part of upstream commits fdfb4a99b6ab "8inder: separate binder allocator structure from binder proc", 19c987241ca1 "binder: separate out binder_alloc functions",

[PATCH 3.16 070/129] USB: serial: ftdi_sio: add ID for Hjelmslund Electronics USB485

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Mans Rullgard commit 8d7fa3d4ea3f0ca69554215e87411494e6346fdc upstream. This adds the USB ID of the Hjelmslund Electronics USB485 Iso stick. Signed-off-by: Mans Rullgard Signed-off-by: Johan

[PATCH 3.16 105/129] scsi: virtio_scsi: don't send sc payload with tmfs

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Felipe Franciosi commit 3722e6a52174d7c3a00e6f5efd006ca093f346c1 upstream. The virtio scsi spec defines struct virtio_scsi_ctrl_tmf as a set of device-readable records and a single device-writ

[PATCH 3.16 083/129] mmc: omap: fix the maximum timeout setting

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Aaro Koskinen commit a6327b5e57fdc679c842588c3be046c0b39cc127 upstream. When running OMAP1 kernel on QEMU, MMC access is annoyingly noisy: MMC: CTO of 0xff and 0xfe cannot be used!

[PATCH 3.16 038/129] mtd: docg3: Fix kasprintf() usage

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 0eb8618bd07533f423fed47399a0d6387bfe7cac upstream. kasprintf() does a dynamic memory allocation and can fail. We have to handle that case. Signed-off-by: Richard Wei

[PATCH 3.16 092/129] tools lib traceevent: Fix buffer overflow in arg_eval

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Tony Jones commit 7c5b019e3a638a5a290b0ec020f6ca83d2ec2aaa upstream. Fix buffer overflow observed when running perf test. The overflow is when trying to evaluate "1ULL << (64 - 1)" which is r

[PATCH 3.16 049/129] media: uvcvideo: Avoid NULL pointer dereference at the end of streaming

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Sakari Ailus commit 9dd0627d8d62a7ddb001a75f63942d92b5336561 upstream. The UVC video driver converts the timestamp from hardware specific unit to one known by the kernel at the time when the b

[PATCH 3.16 128/129] mwifiex: Fix heap overflow in mwifiex_uap_parse_tail_ies()

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 69ae4f6aac1578575126319d3f0e7e440449 upstream. A few places in mwifiex_uap_parse_tail_ies() perform memcpy() unconditionally, which may lead to either buffer overflow o

[PATCH 3.16 045/129] splice: don't merge into linked buffers

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Jann Horn commit a0ce2f0aa6ad97c3d4927bf2ca54bcebdf062d55 upstream. Before this patch, it was possible for two pipes to affect each other after data had been transferred between them with tee(

[PATCH 3.16 122/129] fs: stream_open - opener for stream-like files so that read and write can run simultaneously without deadlock

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Kirill Smelkov commit 10dce8af34226d90fa56746a934f8da5dcdba3df upstream. [ while porting to 3.16 xenbus conflict was trivially resolved in a way that actually fixes /proc/xen/xenbus deadlock

[PATCH 3.16 111/129] vxlan: test dev->flags & IFF_UP before calling gro_cells_receive()

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 59cbf56fcd98ba2a715b6e97c4e43f773f956393 upstream. Same reasons than the ones explained in commit 4179cb5a4c92 ("vxlan: test dev->flags & IFF_UP before calling netif_rx()")

[PATCH 3.16 101/129] mm/vmalloc: fix size check for remap_vmalloc_range_partial()

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Roman Penyaev commit 401592d2e095947344e10ec0623adbcd58934dd4 upstream. When VM_NO_GUARD is not set area->size includes adjacent guard page, thus for correct size checking get_vm_area_size() s

[PATCH 3.16 062/129] pinctrl: sh-pfc: sh73a0: Fix fsic_spdif pin groups

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit 0e6e448bdcf896d001a289a6112a704542d51516 upstream. There are two pin groups for the FSIC SPDIF signal, but the FSIC pin group array lists only one, and it refers to a

[PATCH 3.16 099/129] nfsd: fix memory corruption caused by readdir

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit b602345da6cbb135ba68cf042df8ec9a73da7981 upstream. If the result of an NFSv3 readdir{,plus} request results in the "offset" on one entry having to be split across 2 pages, and

[PATCH 3.16 082/129] clocksource/drivers/exynos_mct: Fix error path in timer resources initialization

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski commit b9307420196009cdf18bad55e762ac49fb9a80f4 upstream. While freeing interrupt handlers in error path, don't assume that all requested interrupts are per-processor interrup

[PATCH 3.16 057/129] ext4: fix check of inode in swap_inode_boot_loader

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: yangerkun commit 67a11611e1a5211f6569044fbf8150875764d1d0 upstream. Before really do swap between inode and boot inode, something need to check to avoid invalid or not permitted operation, lik

[PATCH 3.16 016/129] staging: iio: adt7316: fix the dac read calculation

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Jeremy Fertic commit 45130fb030aec26ac28b4bb23344901df3ec3b7f upstream. The calculation of the current dac value is using the wrong bits of the dac lsb register. Create two macros to shift the

[PATCH 3.16 059/129] ext4: add mask of ext4 flags to swap

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: yangerkun commit abdc644e8cbac2e9b19763680e5a7cf9bab2bee7 upstream. The reason is that while swapping two inode, we swap the flags too. Some flags such as EXT4_JOURNAL_DATA_FL can really confu

[PATCH 3.16 116/129] net: sh_eth: fix a missing check of of_get_phy_mode

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Kangjie Lu commit 035a14e71f27eefa50087963b94cbdb3580d08bf upstream. of_get_phy_mode may fail and return a negative error code; the fix checks the return value of of_get_phy_mode and returns N

[PATCH 3.16 035/129] applicom: Fix potential Spectre v1 vulnerabilities

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: "Gustavo A. R. Silva" commit d7ac3c6ef5d8ce14b6381d52eb7adafdd6c8bb3c upstream. IndexCard is indirectly controlled by user-space, hence leading to a potential exploitation of the Spectre varia

[PATCH 3.16 063/129] ext4: fix crash during online resizing

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit f96c3ac8dfc24b4e38fc4c2eba5fea2107b929d1 upstream. When computing maximum size of filesystem possible with given number of group descriptor blocks, we forget to include s_first

[PATCH 3.16 121/129] tcp: refine memory limit test in tcp_fragment()

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit b6653b3629e5b88202be3c9abc44713973f5c4b4 upstream. tcp_fragment() might be called for skbs in the write queue. Memory limits might have been exceeded because tcp_sendmsg()

[PATCH 3.16 036/129] rcu: Do RCU GP kthread self-wakeup from softirq and interrupt

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: "Zhang, Jun" commit 1d1f898df6586c5ea9aeaf349f13089c6fa37903 upstream. The rcu_gp_kthread_wake() function is invoked when it might be necessary to wake the RCU grace-period kthread. Because s

[PATCH 3.16 046/129] scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 32e36bfbcf31452a854263e7c7f32fbefc4b44d8 upstream. When using SCSI passthrough in combination with the iSCSI target driver then cmd->t_state_lock may be obtained from in

[PATCH 3.16 026/129] media: s5p-jpeg: Check for fmt_ver_flag when doing fmt enumeration

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Pawe? Chmiel commit 49710c32cd9d6626a77c9f5f978a5f58cb536b35 upstream. Previously when doing format enumeration, it was returning all formats supported by driver, even if they're not supporte

[PATCH 3.16 126/129] mwifiex: Fix possible buffer overflows at parsing bss descriptor

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 13ec7f10b87f5fc04c4ccbd491c94c7980236a74 upstream. mwifiex_update_bss_desc_with_ie() calls memcpy() unconditionally in a couple places without checking the destination size

[PATCH 3.16 106/129] net/hsr: fix possible crash in add_timer()

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 1e027960edfaa6a43f9ca31081729b716598112b upstream. syzbot found another add_timer() issue, this time in net/hsr [1] Let's use mod_timer() which is safe. [1] kernel BUG at

[PATCH 3.16 113/129] kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: Zev Weiss commit 8cf7630b29701d364f8df4a50e4f1f5e752b2778 upstream. This bug has apparently existed since the introduction of this function in the pre-git era (4500e91754d3 in Thomas Gleixner'

[PATCH 3.16 019/129] ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify

2019-07-07 Thread Ben Hutchings
3.16.70-rc1 review patch. If anyone has any objections, please let me know. -- From: "Gustavo A. R. Silva" commit e2477233145f2156434afb799583bccd878f3e9f upstream. Fix boolean expressions by using logical AND operator '&&' instead of bitwise operator '&'. This issue was dete

  1   2   3   4   >