Re: [PATCH] of: base: Fix english spelling in of_alias_get_alias_list()

2018-09-27 Thread Michal Simek
On 26.9.2018 17:34, Randy Dunlap wrote: > On 9/26/18 4:06 AM, Michal Simek wrote: >> Fix english spelling in of_alias_get_alias_list(). >> >> Reported-by: Geert Uytterhoeven >> Signed-off-by: Michal Simek >> --- >> >> Greg: Please apply it on the top of tty-next because patch is going via >> your

Re: [PATCH v4 1/6] mpt3sas: Introduce mpt3sas_base_pci_device_is_available

2018-09-27 Thread Lukas Wunner
On Wed, Sep 26, 2018 at 04:32:41PM -0500, Bjorn Helgaas wrote: > On Wed, Sep 26, 2018 at 09:52:34AM +0530, Suganath Prabu S wrote: > > @@ -6853,6 +6872,13 @@ mpt3sas_wait_for_commands_to_complete(struct > > MPT3SAS_ADAPTER *ioc) > > > > ioc->pending_io_count = 0; > > > > + if (!mpt3sas_b

Re: [PATCH v11 13/26] s390: vfio-ap: zeroize the AP queues

2018-09-27 Thread Cornelia Huck
On Wed, 26 Sep 2018 20:58:41 +0200 Christian Borntraeger wrote: > On 09/26/2018 03:38 PM, Cornelia Huck wrote: > > On Tue, 25 Sep 2018 19:16:28 -0400 > > Tony Krowiak wrote: > > > >> From: Tony Krowiak > >> > >> Let's call PAPQ(ZAPQ) to zeroize a queue for each queue configured > >> for a me

Re: [PATCH V5 06/30] csky: Cache and TLB routines

2018-09-27 Thread Peter Zijlstra
On Thu, Sep 27, 2018 at 01:27:38PM +0800, Guo Ren wrote: > On Tue, Sep 25, 2018 at 09:24:07AM +0200, Peter Zijlstra wrote: > > On Mon, Sep 24, 2018 at 10:36:22PM +0800, Guo Ren wrote: > > > diff --git a/arch/csky/abiv1/inc/abi/cacheflush.h > > > b/arch/csky/abiv1/inc/abi/cacheflush.h > > > new fil

Re: [RFC][PATCH 3/3] locking/qspinlock: Optimize for x86

2018-09-27 Thread Peter Zijlstra
On Wed, Sep 26, 2018 at 10:52:08PM +0200, Andrea Parri wrote: > On Wed, Sep 26, 2018 at 01:01:20PM +0200, Peter Zijlstra wrote: > > On x86 we cannot do fetch_or with a single instruction and end up > > using a cmpxchg loop, this reduces determinism. Replace the fetch_or > > with a very tricky compo

Re: POSIX violation by writeback error

2018-09-27 Thread Rogier Wolff
On Wed, Sep 26, 2018 at 07:10:55PM +0100, Alan Cox wrote: > > And I think that's fine. The only way we can make any guarantees is > > if we do what Alan suggested, which is to imply that a read on a dirty > > page *block* until the the page is successfully written back. This > > would destroy per

Re: [RESEND PATCH v3 1/2] of: base: Introduce of_alias_get_alias_list() to check alias IDs

2018-09-27 Thread Geert Uytterhoeven
Hi Michal, On Wed, Sep 26, 2018 at 1:01 PM Michal Simek wrote: > On 24.9.2018 09:41, Geert Uytterhoeven wrote: > > On Thu, Sep 20, 2018 at 1:42 PM Michal Simek > > wrote: > >> The function travels the lookup table to record alias ids for the given > >> device match structures and alias stem. >

[PATCH v7 RESEND 1/4] x86/ioremap: add a function ioremap_encrypted() to remap kdump old memory

2018-09-27 Thread Lianbo Jiang
When SME is enabled on AMD machine, the memory is encrypted in the first kernel. In this case, SME also needs to be enabled in kdump kernel, and we have to remap the old memory with the memory encryption mask. Here we only talk about the case that SME is active in the first kernel, and only care i

The software freedom conservancy has tendered its response

2018-09-27 Thread vwdfrwd
The software freedom conservancy has tendered its response: http://sfconservancy.org/news/2018/sep/26/GPLv2-irrevocability/ http://copyleft.org/guide/comprehensive-gpl-guidech8.html#x11-540007.4 "" "The GPLv2 have several provisions that, when taken together, can be construed as an irrevocable

Re: sdhci driver card-detect is broken because gpiolib can't fallback to _CRS?

2018-09-27 Thread Andy Shevchenko
On Wed, Sep 26, 2018 at 10:26 PM Rajat Jain wrote: > On Wed, Sep 26, 2018 at 1:42 AM Andy Shevchenko > wrote: > > On Wed, Sep 26, 2018 at 10:49 AM Mika Westerberg > > wrote: > > > Or you can use con_id= everywhere and supply > > > acpi_dev_add_driver_gpios() where needed to cover cases where BI

[PATCH v3 1/4] power: supply: core: Introduce one property to present the battery internal resistance

2018-09-27 Thread Baolin Wang
The internal resistance of a battery is not a constant in its life cycle, this varies over the age of the battery or temperature and so on. But we just want use one constant battery internal resistance to estimate the battery capacity. Thus this patch introduces one property to present the battery

[PATCH v3 4/4] power: supply: Add Spreadtrum SC27XX fuel gauge unit driver

2018-09-27 Thread Baolin Wang
This patch adds the Spreadtrum SC27XX serial PMICs fuel gauge support, which is used to calculate the battery capacity. Original-by: Yuanjiang Yu Signed-off-by: Baolin Wang Acked-by: Linus Walleij --- Changes from v2: - Use core helper functions to look up OCV capacity table. - Use device_pro

[PATCH v3 2/4] power: supply: core: Introduce properties to present the battery OCV capacity table

2018-09-27 Thread Baolin Wang
Some battery driver will use the open circuit voltage (OCV) value to look up the corresponding battery capacity percent in one certain degree Celsius. Thus this patch provides some battery properties to present the OCV table temperatures and OCV capacity table values. Moreover it also provides some

[PATCH v3 3/4] dt-bindings: power: Add Spreadtrum SC27XX fuel gauge unit documentation

2018-09-27 Thread Baolin Wang
This patch adds the binding documentation for Spreadtrum SC27XX series PMICs fuel gauge unit device, which is used to calculate the battery capacity. Signed-off-by: Baolin Wang Reviewed-by: Linus Walleij --- Changes from v2: - Add reviewed tag from Linus. Changes from v1: - Renamed GPIO prope

Re: [RFC][PATCH 3/3] locking/qspinlock: Optimize for x86

2018-09-27 Thread Peter Zijlstra
On Wed, Sep 26, 2018 at 07:54:18PM +0200, Peter Zijlstra wrote: > On Wed, Sep 26, 2018 at 12:30:36PM -0400, Waiman Long wrote: > > On 09/26/2018 07:01 AM, Peter Zijlstra wrote: > > > On x86 we cannot do fetch_or with a single instruction and end up > > > using a cmpxchg loop, this reduces determini

Re: [PATCH v2] mm: mprotect: check page dirty when change ptes

2018-09-27 Thread Peter Xu
On Fri, Sep 14, 2018 at 08:41:57PM -0400, Jerome Glisse wrote: > On Fri, Sep 14, 2018 at 03:16:11PM +0800, Peter Xu wrote: > > On Thu, Sep 13, 2018 at 08:42:39PM -0400, Jerome Glisse wrote: > > > On Thu, Sep 13, 2018 at 10:23:28AM -0400, Jerome Glisse wrote: > > > > On Thu, Sep 13, 2018 at 03:37:22

Re: [PATCH v2 2/2] PCI: controller: dwc: add UniPhier PCIe host controller support

2018-09-27 Thread Kunihiko Hayashi
Hi Lorenzo, Gustavo, On Wed, 26 Sep 2018 21:31:36 +0900 wrote: > Hi Lorenzo, Gustavo, > > Thank you for reviewing. > > On Tue, 25 Sep 2018 18:53:01 +0100 > Gustavo Pimentel wrote: > > > On 25/09/2018 17:14, Lorenzo Pieralisi wrote: > > > [+Gustavo, please have a look at INTX/MSI management]

Re: [RFC][PATCH 3/3] locking/qspinlock: Optimize for x86

2018-09-27 Thread Andrea Parri
On Thu, Sep 27, 2018 at 09:17:47AM +0200, Peter Zijlstra wrote: > On Wed, Sep 26, 2018 at 10:52:08PM +0200, Andrea Parri wrote: > > On Wed, Sep 26, 2018 at 01:01:20PM +0200, Peter Zijlstra wrote: > > > On x86 we cannot do fetch_or with a single instruction and end up > > > using a cmpxchg loop, thi

Re: [PATCH v6 3/7] KVM: x86: hyperv: consistently use 'hv_vcpu' for 'struct kvm_vcpu_hv' variables

2018-09-27 Thread Roman Kagan
On Wed, Sep 26, 2018 at 07:02:55PM +0200, Vitaly Kuznetsov wrote: > Rename 'hv' to 'hv_vcpu' in kvm_hv_set_msr/kvm_hv_get_msr(); 'hv' is > 'reserved' for 'struct kvm_hv' variables across the file. > > Signed-off-by: Vitaly Kuznetsov > --- > arch/x86/kvm/hyperv.c | 18 +- > 1 file

Re: [PATCH 05/22] linux/printk.h: use DYNAMIC_DEBUG_BRANCH in pr_debug_ratelimited

2018-09-27 Thread Petr Mladek
On Thu 2018-09-20 00:04:27, Rasmus Villemoes wrote: > pr_debug_ratelimited tests the dynamic debug descriptor the old-fashioned > way, and doesn't utilize the static key/jump label implementation on > architectures that HAVE_JUMP_LABEL. Use the DYNAMIC_DEBUG_BRANCH which > is defined appropriately.

Re: [PATCH v23 4/4] soc: mediatek: Add Mediatek CMDQ helper

2018-09-27 Thread Matthias Brugger
On 27/09/2018 03:57, houlong wei wrote: [...] >>> + } >>> + >>> + return client; >>> +} >>> +EXPORT_SYMBOL(cmdq_mbox_create); >>> + >>> +void cmdq_mbox_destroy(struct cmdq_client *client) >>> +{ >>> + if (client->timeout_ms != CMDQ_NO_TIMEOUT) { >>> + spin_lock(&client->lock); >>

Re: [PATCH v8 02/10] Makefile: Prepare for using macros for inline asm

2018-09-27 Thread Rasmus Villemoes
On 2018-09-26 19:56, Nadav Amit wrote: > at 1:58 AM, Rasmus Villemoes wrote: > >>> +ASM_MACRO_FLAGS = -Wa,arch/x86/kernel/macros.s >>> +export ASM_MACRO_FLAGS >>> +KBUILD_CFLAGS += $(ASM_MACRO_FLAGS) >> How does this affect what gets rebuilt when one of the asm/foo.h files >> going into macros.s

Re: [RESEND PATCH v3 1/2] of: base: Introduce of_alias_get_alias_list() to check alias IDs

2018-09-27 Thread Michal Simek
On 27.9.2018 09:19, Geert Uytterhoeven wrote: > Hi Michal, > > On Wed, Sep 26, 2018 at 1:01 PM Michal Simek wrote: >> On 24.9.2018 09:41, Geert Uytterhoeven wrote: >>> On Thu, Sep 20, 2018 at 1:42 PM Michal Simek >>> wrote: The function travels the lookup table to record alias ids for the

Re: [PATCH v23 4/4] soc: mediatek: Add Mediatek CMDQ helper

2018-09-27 Thread Matthias Brugger
On 15/08/2018 03:46, houlong wei wrote: [...] >> + >> +static int cmdq_pkt_append_command(struct cmdq_pkt *pkt, enum cmdq_code >> code, >> + u32 arg_a, u32 arg_b) >> +{ >> +u64 *cmd_ptr; >> + >> +if (unlikely(pkt->cmd_buf_size + CMDQ_INST_SIZE > pkt->buf_si

Re: [PATCH v2] mm: mprotect: check page dirty when change ptes

2018-09-27 Thread Jerome Glisse
On Thu, Sep 27, 2018 at 03:43:38PM +0800, Peter Xu wrote: > On Fri, Sep 14, 2018 at 08:41:57PM -0400, Jerome Glisse wrote: > > On Fri, Sep 14, 2018 at 03:16:11PM +0800, Peter Xu wrote: > > > On Thu, Sep 13, 2018 at 08:42:39PM -0400, Jerome Glisse wrote: [...] > > > > From 83abd3f16950a0b5cb6870a

Re: [PATCH v6 4/7] KVM: x86: hyperv: keep track of mismatched VP indexes

2018-09-27 Thread Roman Kagan
On Wed, Sep 26, 2018 at 07:02:56PM +0200, Vitaly Kuznetsov wrote: > In most common cases VP index of a vcpu matches its vcpu index. Userspace > is, however, free to set any mapping it wishes and we need to account for > that when we need to find a vCPU with a particular VP index. To keep search > a

Re: [RFC][PATCH 3/3] locking/qspinlock: Optimize for x86

2018-09-27 Thread Peter Zijlstra
On Thu, Sep 27, 2018 at 09:47:48AM +0200, Andrea Parri wrote: > > LKMM in particular does _NOT_ deal with mixed sized atomics _at_all_. > > True, but it is nothing conceptually new to deal with: there're Cat > models that handle mixed-size accesses, just give it time. Sure, but until that time I

Re: [PATCH v6 5/7] KVM: x86: hyperv: valid_bank_mask should be 'u64'

2018-09-27 Thread Roman Kagan
On Wed, Sep 26, 2018 at 07:02:57PM +0200, Vitaly Kuznetsov wrote: > This probably doesn't matter much (KVM_MAX_VCPUS is much lower nowadays) > but valid_bank_mask is really u64 and not unsigned long. > > Signed-off-by: Vitaly Kuznetsov > --- > arch/x86/kvm/hyperv.c | 5 +++-- > 1 file changed, 3

Re: [PATCH stable] tick/nohz: Prevent bogus softirq pending warning

2018-09-27 Thread Geert Uytterhoeven
Hi Greg, On Wed, Sep 12, 2018 at 3:56 PM Geert Uytterhoeven wrote: > On Thu, Aug 30, 2018 at 5:06 PM Thomas Gleixner wrote: > > Commit 0a0e0829f990 ("nohz: Fix missing tick reprogram when interrupting an > > inline softirq") got backported to stable trees and now causes the NOHZ > > softirq pend

[PATCH] md/bitmap: use mddev_suspend/resume instead of ->quiesce()

2018-09-27 Thread Jack Wang
From: Jack Wang After 9e1cc0a54556 ("md: use mddev_suspend/resume instead of ->quiesce()") We still have similar left in bitmap functions. Replace quiesce() with mddev_suspend/resume. Also move md_bitmap_create out of mddev_suspend. and move mddev_resume after md_bitmap_destroy. as we did in se

Re: [PATCH V5 06/30] csky: Cache and TLB routines

2018-09-27 Thread Guo Ren
On Thu, Sep 27, 2018 at 09:08:59AM +0200, Peter Zijlstra wrote: > On Thu, Sep 27, 2018 at 01:27:38PM +0800, Guo Ren wrote: > > On Tue, Sep 25, 2018 at 09:24:07AM +0200, Peter Zijlstra wrote: > > > On Mon, Sep 24, 2018 at 10:36:22PM +0800, Guo Ren wrote: > > > > diff --git a/arch/csky/abiv1/inc/abi/

Re: [RFC][PATCH 3/3] locking/qspinlock: Optimize for x86

2018-09-27 Thread Andrea Parri
On Thu, Sep 27, 2018 at 09:59:35AM +0200, Peter Zijlstra wrote: > On Thu, Sep 27, 2018 at 09:47:48AM +0200, Andrea Parri wrote: > > > LKMM in particular does _NOT_ deal with mixed sized atomics _at_all_. > > > > True, but it is nothing conceptually new to deal with: there're Cat > > models that ha

Re: [PATCH 2/2] mmc: Add mmc_force_detect_change_begin / _end functions

2018-09-27 Thread Maxime Ripard
On Wed, Sep 26, 2018 at 10:19:22PM +0200, Hans de Goede wrote: > On 26-09-18 16:44, Frieder Schrempf wrote: > > Hi, > > > > On Fri, Feb 09, 2018 at 03:01:00PM +0100, Ulf Hansson wrote: > > > [...] > > > > > > >> > I'd like to know if any progress has been made on that problem > > (I may > > > >>

Re: [PATCH v2 05/11] arm64: dts: msm8916: Update coresight bindings for hardware ports

2018-09-27 Thread Suzuki K Poulose
Hi Andy On 09/12/2018 02:53 PM, Suzuki K Poulose wrote: Switch to updated coresight bindings for hw ports Cc: Andy Gross Cc: David Brown Cc: Ivan T. Ivanov Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose --- Changes since v1: - Fixed TPIU port direction - Use better subject tag for

Re: [PATCH 1/2] arm64: dts: allwinner: Olimex A64-OLinuXino: enable eMMC.

2018-09-27 Thread Maxime Ripard
On Tue, Sep 25, 2018 at 02:47:59PM -0300, Rodrigo Exterckötter Tjäder wrote: > On Tue, Sep 25, 2018 at 6:01 AM Maxime Ripard > wrote: > > We can't really do that, unfortunately. If the device tree name was to > > change for a given board, we'd break all the build systems, boot > > scripts and dis

Re: [PATCH v4 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

2018-09-27 Thread Liang Yang
Hello Martin, On 9/22/2018 11:32 PM, Martin Blumenstingl wrote: Hello, On Thu, Sep 20, 2018 at 10:51 AM Jianxin Pan wrote: [snip] +static int meson_nfc_clk_init(struct meson_nfc *nfc) +{ + int ret; + + /* request core clock */ + nfc->core_clk = devm_clk_get(nfc->dev, "core")

Selected

2018-09-27 Thread Richard WAHL
I am Mr Richard Wahl the mega winner of $533M In Mega Millions Jackpot, I'm donating to 5 random individuals if you get this email then your email id was selected after a spin ball,i have voluntarily decided to donate the sum of $2 Million USD to you as one of the selected Beneficiaries : WATCH

Re: [PATCH v2] mm: mprotect: check page dirty when change ptes

2018-09-27 Thread Peter Xu
On Thu, Sep 27, 2018 at 03:56:52AM -0400, Jerome Glisse wrote: > On Thu, Sep 27, 2018 at 03:43:38PM +0800, Peter Xu wrote: > > On Fri, Sep 14, 2018 at 08:41:57PM -0400, Jerome Glisse wrote: > > > On Fri, Sep 14, 2018 at 03:16:11PM +0800, Peter Xu wrote: > > > > On Thu, Sep 13, 2018 at 08:42:39PM -0

Re: [PATCH 06/22] linux/printk.h: use unique identifier for each struct _ddebug

2018-09-27 Thread Petr Mladek
On Thu 2018-09-20 00:04:28, Rasmus Villemoes wrote: > Changes on x86-64 later in this series require that all struct _ddebug > descriptors in a translation unit uses distinct identifiers. Realize > that for pr_debug_ratelimited by generating such an identifier via > __UNIQUE_ID and pass that to an

Re: possible deadlock in path_openat

2018-09-27 Thread Amir Goldstein
On Thu, Sep 27, 2018 at 9:36 AM Miklos Szeredi wrote: > > On Thu, Sep 27, 2018 at 8:05 AM, Amir Goldstein wrote: > > > So this is interesting... if there is a file in overlayfs lower layer with > > the f_op read = seq_read then &p->lock in the chain above could be > > takes after ovl locks and th

[PATCH] bug fix in function check_should_bypass

2018-09-27 Thread Dongbo Cao
bio->bi_iter.bi_sector is the sector index of current request, no need to be aligned. instead, bio->bi_iter.bi_size should be aligned to block_bytes-1, not block_size-1. and bio_sectors is the number of sectors of current request, also no need to be aligned, just remove it. Signed-off-by: Dongb

Re: [PATCH] bug fix in function check_should_bypass

2018-09-27 Thread Kent Overstreet
On Thu, Sep 27, 2018 at 04:27:49PM +0800, Dongbo Cao wrote: > bio->bi_iter.bi_sector is the sector index of current request, no need to be > aligned. > instead, bio->bi_iter.bi_size should be aligned to block_bytes-1, not > block_size-1. > and bio_sectors is the number of sectors of current reque

Re: [PATCH 06/22] linux/printk.h: use unique identifier for each struct _ddebug

2018-09-27 Thread Rasmus Villemoes
On 2018-09-27 10:22, Petr Mladek wrote: > On Thu 2018-09-20 00:04:28, Rasmus Villemoes wrote: >> Changes on x86-64 later in this series require that all struct _ddebug >> descriptors in a translation unit uses distinct identifiers. Realize >> that for pr_debug_ratelimited by generating such an iden

Yes you CAN revoke a GPLv2 licensed work. (Response to software freedom conservancy)

2018-09-27 Thread viewedforward
The software freedom conservancy has tendered its response: http://sfconservancy.org/news/2018/sep/26/GPLv2-irrevocability/ http://copyleft.org/guide/comprehensive-gpl-guidech8.html#x11-540007.4 "" "The GPLv2 have several provisions that, when taken together, can be construed as an irrevocable

Re: [PATCH 1/3] perf report: don't try to map ip to invalid map

2018-09-27 Thread Sandipan Das
On 26/09/18 7:22 PM, Milian Wolff wrote: > Fixes a crash when the report encounters an address that > could not be associated with an mmaped region: > > #0 0x557bdc4a in callchain_srcline (ip= Cannot access memory at address 0x38>, sym=0x0, map=0x0) at > util/machine.c:2329 > #1 unwi

Re: [PATCH stable] tick/nohz: Prevent bogus softirq pending warning

2018-09-27 Thread Greg KH
On Thu, Sep 27, 2018 at 10:07:39AM +0200, Geert Uytterhoeven wrote: > Hi Greg, > > On Wed, Sep 12, 2018 at 3:56 PM Geert Uytterhoeven > wrote: > > On Thu, Aug 30, 2018 at 5:06 PM Thomas Gleixner wrote: > > > Commit 0a0e0829f990 ("nohz: Fix missing tick reprogram when interrupting > > > an > >

Re: [PATCH v2 04/11] arm64: dts: sc9836/sc9860: Update coresight bindings for hardware ports

2018-09-27 Thread Suzuki K Poulose
+To: Chunyan Zhang Chunyan Zhang, On 09/12/2018 02:53 PM, Suzuki K Poulose wrote: Switch to the new coresight bindings for hw ports How can we push this patch ? Do you generally send the spreadtrum specific changes to ARM soc folks ? Or would you like me to post this directly to ARM soc folk

[PATCH 07/11] efi/x86: Handle page faults occurring while running EFI runtime services

2018-09-27 Thread Ard Biesheuvel
From: Sai Praneeth Memory accesses performed by UEFI runtime services should be limited to: - reading/executing from EFI_RUNTIME_SERVICES_CODE memory regions - reading/writing from/to EFI_RUNTIME_SERVICES_DATA memory regions - reading/writing by-ref arguments - reading/writing from/to the stack.

[PATCH] platform/x86: asus-wmi: Simplify the keyboard brightness updating process

2018-09-27 Thread Jian-Hong Pan
The original asus-wmi queues a work which calls the ACPI/WMI methods to update the keyboard LED brightness. Similar drivers - acer-wmi, dell-wmi-led just call the ACPI/WMI methods directly without workqueues. This patch simplifies the keyboard brightness updating process which calls the kbd_led_u

Re: [PATCH v3 3/4] devres: provide devm_kstrdup_const()

2018-09-27 Thread Bartosz Golaszewski
czw., 27 wrz 2018 o 01:20 Kees Cook napisał(a): > > On Mon, Sep 24, 2018 at 3:11 AM, Bartosz Golaszewski wrote: > > Provide a resource managed version of kstrdup_const(). This variant > > internally calls devm_kstrdup() on pointers that are outside of > > .rodata section and returns the string as

Re: [PATCH V2 03/27] mmc: mmci: convert dma_setup callback to return an int

2018-09-27 Thread Srinivas Kandagatla
Thanks for looping me! On 24/09/18 15:28, Ulf Hansson wrote: /* Initialize the dml hardware connected to SD Card controller */ -static void qcom_dma_setup(struct mmci_host *host) +static int qcom_dma_setup(struct mmci_host *host) { u32 config; void __iomem *base; @@ -131,7

Re: [RFC][PATCH 3/3] locking/qspinlock: Optimize for x86

2018-09-27 Thread Peter Zijlstra
On Thu, Sep 27, 2018 at 10:13:15AM +0200, Andrea Parri wrote: > On Thu, Sep 27, 2018 at 09:59:35AM +0200, Peter Zijlstra wrote: > > On Thu, Sep 27, 2018 at 09:47:48AM +0200, Andrea Parri wrote: > > > > LKMM in particular does _NOT_ deal with mixed sized atomics _at_all_. > > > > > > True, but it i

Re: [PATCH V5 06/30] csky: Cache and TLB routines

2018-09-27 Thread Peter Zijlstra
On Thu, Sep 27, 2018 at 04:11:42PM +0800, Guo Ren wrote: > On Thu, Sep 27, 2018 at 09:08:59AM +0200, Peter Zijlstra wrote: > > That's not what I meant; I meant you need something like: > > > > #define flush_cache_range(vma, start, end) cache_wbinv_range(start, end) > If you remove the tlb_start_v

Re: [PATCH v2 0/5] Update and move Dell drivers dell_rbu and dcdbas

2018-09-27 Thread Andy Shevchenko
On Thu, Sep 27, 2018 at 12:50 AM Stuart Hayes wrote: > > The dell_rbu and dcdbas drivers need some changes, and should be moved to > drivers/platform/x86. Additionally, dell_rbu needs a maintainer, and the > listed maintainer for dcdbas is inactive and needs to be changed. > Pushed to my review

[PATCH 4.18 01/88] gso_segment: Reset skb->mac_len after modifying network header

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: "Toke H�iland-J�rgensen" [ Upstream commit c56cae23c6b167acc68043c683c4573b80cbcc2c ] When splitting a GSO segment that consists of encapsulated packets, the skb->mac_len of the segments can e

[PATCH 4.18 04/88] net: hp100: fix always-true check for link up state

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King [ Upstream commit a7f38002fb69b44f8fc622ecb838665d0b8666af ] The operation ~(p100_inb(VG_LAN_CFG_1) & HP100_LINK_UP) returns a value that is always non-zero and hence the wait f

Re: [PATCH] btrfs: list usage cleanup

2018-09-27 Thread David Sterba
On Wed, Sep 26, 2018 at 04:35:45PM +0800, zhong jiang wrote: > Trival cleanup, list_move_tail will implement the same function that > list_del() + list_add_tail() will do. hence just replace them. Thanks, I've checked that this is the only instance where this cleanup is applicable. Reviewed-by: D

Re: [GIT PULL 00/11] EFI updates for v4.20

2018-09-27 Thread Marc Zyngier
Hi all, On 27/09/18 09:50, Ard Biesheuvel wrote: Thomas, Ingo, Please pull/cherry-pick the below. Note that the first three patches will be depended upon by an irqchip series that Marc Zyngier has sent out last week, and that targets the next release as well. So please advise how to proceed wit

[PATCH 4.18 03/88] net/appletalk: fix minor pointer leak to userspace in SIOCFINDIPDDPRT

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Willy Tarreau [ Upstream commit 9824dfae5741275473a23a7ed5756c7b6efacc9d ] Fields ->dev and ->next of struct ipddp_route may be copied to userspace on the SIOCFINDIPDDPRT ioctl. This is only a

[PATCH 4.18 02/88] ipv6: fix possible use-after-free in ip6_xmit()

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit bbd6528d28c1b8e80832b3b018ec402b6f5c3215 ] In the unlikely case ip6_xmit() has to call skb_realloc_headroom(), we need to call skb_set_owner_w() before consuming

[PATCH 4.18 05/88] pppoe: fix reception of frames with no mac header

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 8540827ebac6b654ab2f69c8fbce9e4fbd6304a0 ] pppoe_rcv() needs to look back at the Ethernet header in order to lookup the PPPoE session. Therefore we need to en

[PATCH 4.18 07/88] udp4: fix IP_CMSG_CHECKSUM for connected sockets

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni [ Upstream commit 2b5a921740a55c00223a797d075b9c77c42cb171 ] commit 2abb7cdc0dc8 ("udp: Add support for doing checksum unnecessary conversion") left out the early demux path for co

[PATCH 4.18 06/88] qmi_wwan: set DTR for modems in forced USB2 mode

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: "Bj�rn Mork" [ Upstream commit 922005c7f50e7f4b2a6dbc182e9c575b4f92396b ] Recent firmware revisions have added the ability to force these modems to USB2 mode, hiding their SuperSpeed capabilit

[PATCH 4.18 22/88] net: rtnl_configure_link: fix dev flags changes arg to __dev_notify_flags

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Roopa Prabhu [ Upstream commit 56a49d7048703f5ffdb84d3a0ee034108fba6850 ] This fix addresses https://bugzilla.kernel.org/show_bug.cgi?id=201071 Commit 5025f7f7d506 wrongly relied on __dev_cha

[PATCH 4.18 10/88] tls: clear key material from kernel memory when do_tls_setsockopt_conf fails

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca [ Upstream commit c844eb46b7d43c2cf760169df5ae1d5b033af338 ] Fixes: 3c4d7559159b ("tls: kernel TLS support") Signed-off-by: Sabrina Dubroca Signed-off-by: Sabrina Dubroca Sig

[PATCH 4.18 08/88] tls: dont copy the key out of tls12_crypto_info_aes_gcm_128

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca [ Upstream commit 7cba09c6d5bc73ebbd25a353742d9ddb7a713b95 ] There's no need to copy the key to an on-stack buffer before calling crypto_aead_setkey(). Fixes: 3c4d7559159b ("t

[PATCH 4.18 19/88] ipv6: use rt6_info members when dst is set in rt6_fill_node

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit 22d0bd82cc7cec7d9ed4bd5913f3ab65643364be ] In inet6_rtm_getroute, since Commit 93531c674315 ("net/ipv6: separate handling of FIB entries from dst based routes"), it

[PATCH 4.18 20/88] net/ipv6: do not copy dst flags on rt init

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Peter Oskolkov [ Upstream commit 30bfd93062814d6767e452a8f5ddcd97f7e38c7e ] DST_NOCOUNT in dst_entry::flags tracks whether the entry counts toward route cache size (net->ipv6.sysctl.ip6_rt_max

[PATCH 4.18 21/88] net: mvpp2: let phylink manage the carrier state

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Antoine Tenart [ Upstream commit 41948ccb4a856dddacfbd4d789d4fa8663fe41bb ] Net drivers using phylink shouldn't mess with the link carrier themselves and should let phylink manage it. The mvpp

[PATCH 4.18 00/88] 4.18.11-stable review

2018-09-27 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.18.11 release. There are 88 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sat Sep 29 09:02:26 UTC 2018. Anything receiv

[PATCH 4.18 27/88] ASoC: tas6424: Save last fault register even when clear

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Andrew F. Davis commit d40e3e9e44db4b3c8777f3b515ba6097ba26e3b2 upstream. When there is no fault bit set in a fault register we skip the fault reporting section for that register. This also sk

[PATCH 4.18 25/88] ASoC: wm9712: fix replace codec to component

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Marcel Ziswiler commit 5e4cfadaf5b73a0801b2fa7fb007f98400ebfe6e upstream. Since commit 143b44845d87 ("ASoC: wm9712: replace codec to component") "wm9712-codec" got renamed to "wm9712-component

[PATCH 4.18 23/88] NFC: Fix possible memory corruption when handling SHDLC I-Frame commands

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Suren Baghdasaryan commit 674d9de02aa7d521ebdf66c3958758bdd9c64e11 upstream. When handling SHDLC I-Frame commands "pipe" field used for indexing into an array should be checked before usage. I

[PATCH 4.18 26/88] ASoC: cs4265: fix MMTLR Data switch control

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Sébastien Szymanski commit 90a3b7f8aba3011badacd6d8121e03aa24ac79d1 upstream. The MMTLR bit is in the CS4265_SPDIF_CTL2 register at address 0x12 bit 0 and not at address 0x0 bit 1. Fix this.

[PATCH 4.18 24/88] NFC: Fix the number of pipes

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Suren Baghdasaryan commit e285d5bfb7e9785d289663baef252dd315e171f8 upstream. According to ETSI TS 102 622 specification chapter 4.4 pipe identifier is 7 bits long which allows for 128 unique p

[PATCH 4.18 30/88] ALSA: bebob: fix memory leak for M-Audio FW1814 and ProjectMix I/O at error path

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit b1fbebd4164b3d170ad916dcd692cf843c9c065d upstream. After allocating model-dependent data for M-Audio FW1814 and ProjectMix I/O, ALSA bebob driver has memory leak at err

[PATCH 4.18 29/88] ASoC: uapi: fix sound/skl-tplg-interface.h userspace compilation errors

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry V. Levin commit fb504caae7ef85be159743bd4b08ecde269ba55f upstream. Include and consistently use types it provides to fix the following sound/skl-tplg-interface.h userspace compilation

[PATCH 4.18 33/88] ALSA: fireface: fix memory leak in ff400_switch_fetching_mode()

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit 36f3a6e02c143a7e9e4e143e416371f67bc1fae6 upstream. An allocated memory forgets to be released. Fixes: 76fdb3a9e13 ('ALSA: fireface: add support for Fireface 400') Cc:

[PATCH 4.18 32/88] ALSA: emu10k1: fix possible info leak to userspace on SNDRV_EMU10K1_IOCTL_INFO

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Willy Tarreau commit 49434c6c575d2008c0abbc93e615019f39e01252 upstream. snd_emu10k1_fx8010_ioctl(SNDRV_EMU10K1_IOCTL_INFO) allocates memory using kmalloc() and partially fills it by calling sn

[PATCH 4.18 28/88] ASoC: rsnd: fixup not to call clk_get/set under non-atomic

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Jiada Wang commit 4d230d12710646788af581ba0155d83ab48b955c upstream. Clocking operations clk_get/set_rate, are non-atomic, they shouldn't be called in soc_pcm_trigger() which is atomic. Follo

[PATCH 4.18 31/88] ALSA: bebob: use address returned by kmalloc() instead of kernel stack for streaming DMA mapping

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit 493626f2d87a74e6dbea1686499ed6e7e600484e upstream. When executing 'fw_run_transaction()' with 'TCODE_WRITE_BLOCK_REQUEST', an address of 'payload' argument is used for

[PATCH 4.18 11/88] neighbour: confirm neigh entries when ARP packet is received

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Khoruzhick [ Upstream commit f0e0d04413fcce9bc76388839099aee93cd0d33b ] Update 'confirmed' timestamp when ARP packet is received. It shouldn't affect locktime logic and anyway entry can

[PATCH 4.18 34/88] ALSA: firewire-digi00x: fix memory leak of private data

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit a49a83ab05e34edd6c71a4fbd062c9a7ba6d18aa upstream. Although private data of sound card instance is usually allocated in the tail of the instance, drivers in ALSA firewi

[PATCH 4.18 16/88] socket: fix struct ifreq size in compat ioctl

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg [ Upstream commit 1cebf8f143c21eb422cd0f4e27ab2ae366eb4d04 ] As reported by Reobert O'Callahan, since Viro's commit to kill dev_ifsioc() we attempt to copy too much data in compa

[PATCH 4.18 35/88] ALSA: firewire-tascam: fix memory leak of private data

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit 8d28277c065a974873c6781d44b7bcdcd8fb4e8a upstream. Although private data of sound card instance is usually allocated in the tail of the instance, drivers in ALSA firewi

[PATCH 4.18 12/88] udp6: add missing checks on edumux packet processing

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni [ Upstream commit eb63f2964dbe36f26deac77d3016791675821ded ] Currently the UDPv6 early demux rx code path lacks some mandatory checks, already implemented into the normal RX code p

[PATCH 4.18 14/88] hv_netvsc: fix schedule in RCU context

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Hemminger [ Upstream commit 018349d70f28a78d5343b3660cb66e1667005f8a ] When netvsc device is removed it can call reschedule in RCU context. This happens because canceling the subchanne

[PATCH 4.18 13/88] net/sched: act_sample: fix NULL dereference in the data path

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Davide Caratti [ Upstream commit 34043d250f51368f214aed7f54c2dc29c819a8c7 ] Matteo reported the following splat, testing the datapath of TC 'sample': BUG: KASAN: null-ptr-deref in tcf_sample

[PATCH 4.18 15/88] net: dsa: mv88e6xxx: Fix ATU Miss Violation

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Lunn [ Upstream commit ddca24dfcf1bec608668dd44c45d49397b70f520 ] Fix a cut/paste error and a typo which results in ATU miss violations not being reported. Fixes: 0977644c5005 ("net: d

[PATCH 4.18 37/88] ALSA: oxfw: fix memory leak for model-dependent data at error path

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit ce925f088b979537f22f9e05eb923ef9822ca139 upstream. After allocating model-dependent data, ALSA OXFW driver has memory leak of the data at error path. This commit relea

[PATCH 4.18 17/88] tls: fix currently broken MSG_PEEK behavior

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 50c6b58a814d86a93c0f6964570f839632854044 ] In kTLS MSG_PEEK behavior is currently failing, strace example: [pid 2430] socket(AF_INET, SOCK_STREAM, IPPROTO

[PATCH 4.18 18/88] bnxt_en: Fix VF mac address regression.

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Michael Chan [ Upstream commit 28ea334bd1657f3c43485b4a8592672fc6835fac ] The recent commit to always forward the VF MAC address to the PF for approval may not work if the PF driver or the fir

[PATCH 4.18 09/88] tls: zero the crypto information from tls_context before freeing

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca [ Upstream commit 86029d10af18381814881d6cce2dd6872163b59f ] This contains key material in crypto_send_aes_gcm_128 and crypto_recv_aes_gcm_128. Introduce union tls_crypto_cont

[PATCH 4.18 48/88] ring-buffer: Allow for rescheduling when removing pages

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Vaibhav Nagarnaik commit 83f365554e47997ec68dc4eca3f5dce525cd15c3 upstream. When reducing ring buffer size, pages are removed by scheduling a work item on each CPU for the corresponding CPU ri

[PATCH 4.18 51/88] mm: disable deferred struct page for 32-bit arches

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Pasha Tatashin commit 889c695d419f19e5db52592dafbaf26143c36d1f upstream. Deferred struct page init is needed only on systems with large amount of physical memory to improve boot performance.

[PATCH 4.18 50/88] fork: report pid exhaustion correctly

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: KJ Tsanaktsidis commit f83606f5eb007adc33bc8541ede00590f477bdeb upstream. Make the clone and fork syscalls return EAGAIN when the limit on the number of pids /proc/sys/kernel/pid_max is exceed

[PATCH 4.18 47/88] Revert "PCI: Add ACS quirk for Intel 300 series"

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Mika Westerberg commit 50ca031b51106b1b46162d4e9ecccb7edc95682f upstream. This reverts f154a718e6cc ("PCI: Add ACS quirk for Intel 300 series"). It turns out that erratum "PCH PCIe* Controlle

[PATCH 4.18 46/88] spi: fix IDR collision on systems with both fixed and dynamic SPI bus numbers

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Kirill Kapranov commit 1a4327fbf4554d5b78d75b19a13d40d6de220159 upstream. On systems where some controllers get a dynamic ID assigned and some have a fixed number (e.g. from ACPI tables), the

[PATCH 4.18 49/88] crypto: x86/aegis,morus - Do not require OSXSAVE for SSE2

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Ondrej Mosnacek commit 24568b47d48ec8c906fd0f589489a08b17e1edca upstream. It turns out OSXSAVE needs to be checked only for AVX, not for SSE. Without this patch the affected modules refuse to

[PATCH 4.18 38/88] ALSA: oxfw: fix memory leak of discovered stream formats at error path

2018-09-27 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit 1064bc685d359f549f91c2d5f111965a9284f328 upstream. After finishing discover of stream formats, ALSA OXFW driver has memory leak of allocated memory object at error path

  1   2   3   4   5   6   7   8   9   10   >