Re: [PATCH v4 2/5] phy: qcom-qmp: Utilize fully-specified DT registers

2018-10-25 Thread Vivek Gautam
On 2018-10-25 02:06, Doug Anderson wrote: Hi, On Wed, Oct 24, 2018 at 11:29 AM Vivek Gautam wrote: Thanks for the patch. I am starting to think that the driver is heavily relying on the resource indices to request all these areas ioremapped. Is it a good way forward that driver and the dt

Re: [PATCH V3 3/5] mm/hugetlb: Enable arch specific huge page size support for migration

2018-10-25 Thread Anshuman Khandual
On 10/24/2018 07:28 PM, Michal Hocko wrote: > On Wed 24-10-18 15:56:39, Michal Hocko wrote: >> On Tue 23-10-18 18:31:59, Anshuman Khandual wrote: >>> Architectures like arm64 have HugeTLB page sizes which are different than >>> generic sizes at PMD, PUD, PGD level and implemented via contiguous

Re: [PATCH v4] staging: iio: ad2s1210: Switch to the gpio descriptor interface

2018-10-25 Thread Slawomir Stepien
On paź 24, 2018 20:20, Nishad Kamdar wrote: > Use the gpiod interface instead of the deprecated old non-descriptor > interface. > > Signed-off-by: Nishad Kamdar > --- > Changes in v4: > - Add spaces after { and before } in gpios[] >initialization. > - Check the correct pointer for error. >

Re: [PATCH] mfd: remove redundant 'default n' from Kconfig

2018-10-25 Thread Lee Jones
On Fri, 12 Oct 2018, Bartlomiej Zolnierkiewicz wrote: > On 10/11/2018 07:48 AM, Lee Jones wrote: > > On Wed, 10 Oct 2018, Bartlomiej Zolnierkiewicz wrote: > > > >> 'default n' is the default value for any bool or tristate Kconfig > >> setting so there is no need to write it explicitly. > >> > >>

Re: [PATCH] mm,oom: Use timeout based back off.

2018-10-25 Thread Michal Hocko
On Wed 24-10-18 15:54:54, Andrew Morton wrote: [...] > There has been a lot of heat and noise and confusion and handwaving in > all of this. What we're crying out for is simple testcases which > everyone can run. Find a problem, write the testcase, distribute that. > Develop a solution for that

[GIT PULL] sound updates for 4.20

2018-10-25 Thread Takashi Iwai
Linus, please pull sound updates for v4.20 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.20-rc1 The topmost commit is de7d83da84bdf0b5ec50b3b09249e608c0e4b81d sound updates for 4.20 There

Re: [PATCH] mtd: rawnand: Add all 1.8V AC chips have a broken GET_FEATURES(TIMINGS)

2018-10-25 Thread Boris Brezillon
Hi Mason, On Thu, 25 Oct 2018 14:44:30 +0800 masonccy...@mxic.com.tw wrote: > From: Mason Yang > > Hi Boris, > I patched this for Macronix all 1.8V AC chips. > Thanks for your review. No need to add a cover letter when you only have patch. > best regards, > Mason > > Mason Yang (1): >

Re: [PATCH] mtd: rawnand: Add all 1.8V AC chips have a broken GET_FEATURES(TIMINGS)

2018-10-25 Thread Boris Brezillon
On Thu, 25 Oct 2018 09:16:53 +0200 Boris Brezillon wrote: > Hi Mason, > > On Thu, 25 Oct 2018 14:44:30 +0800 > masonccy...@mxic.com.tw wrote: > > > From: Mason Yang > > > > Hi Boris, > > I patched this for Macronix all 1.8V AC chips. > > Thanks for your review. > > No need to add a cover

URGENT RESPONSE.

2018-10-25 Thread Sean Kim.
Hello my dear, Did you receive my email message to you? Please, get back to me ASAP as the matter is becoming late. Expecting your urgent response. Sean.

Re: [PATCH] staging: axis-fifo: Fix line over 80 characters error

2018-10-25 Thread Dan Carpenter
On Wed, Oct 24, 2018 at 05:05:53PM +0200, Aleksa Zdravkovic wrote: > This patch fixes the checkpatch.pl warning: > > WARNING: line over 80 characters > + (write_timeout >= 0) ? msecs_to_jiffies(write_timeout) > : > > Signed-off-by: Aleksa Zdravkovic > --- >

[PATCH v10 4/6] edac: synopsys: Add EDAC ECC support for ZynqMP DDRC

2018-10-25 Thread Manish Narani
Add EDAC ECC support for ZynqMP DDRC IP. The IP supports interrupts for corrected and uncorrected errors. Add interrupt handlers for the same. Signed-off-by: Manish Narani --- drivers/edac/Kconfig | 2 +- drivers/edac/synopsys_edac.c | 322 ---

[PATCH v10 2/6] dt: bindings: Document ZynqMP DDRC in Synopsys documentation

2018-10-25 Thread Manish Narani
Add information of ZynqMP DDRC which reports the single bit errors that are corrected and the double bit errors that are detected. Signed-off-by: Manish Narani Reviewed-by: Rob Herring --- .../bindings/memory-controllers/synopsys.txt | 27 ++ 1 file changed, 22

Re: [PATCH] staging: axis-fifo: Fix line over 80 characters error

2018-10-25 Thread Joe Perches
On Thu, 2018-10-25 at 09:05 +0300, Dan Carpenter wrote: > On Wed, Oct 24, 2018 at 05:05:53PM +0200, Aleksa Zdravkovic wrote: > > This patch fixes the checkpatch.pl warning: [] > > diff --git a/drivers/staging/axis-fifo/axis-fifo.c > > b/drivers/staging/axis-fifo/axis-fifo.c [] > > @@ -482,10

Re: [PATCH] x86/ioremap: tighten integer overflow checking

2018-10-25 Thread Juergen Gross
On 25/10/2018 08:16, Dan Carpenter wrote: > The current check is a bit off in the case where "phys_addr + size" > wraps to zero because then "last_addr" is set to ULONG_MAX which is >= > phys_addr. And -2 would be okay? For 32-bit systems I believe ULONG_MAX is a perfectly valid physical

Re: [PATCH] s390/fault: use wake_up_klogd() in bust_spinlocks()

2018-10-25 Thread Heiko Carstens
On Wed, Oct 24, 2018 at 01:34:25PM +0900, Sergey Senozhatsky wrote: > On (10/24/18 13:30), Sergey Senozhatsky wrote: > From: Sergey Senozhatsky > Subject: [PATCH] s390/fault: use wake_up_klogd() in bust_spinlocks() ... > From the comment it seems that s390 wants to just poke klogd. > There is

Re: [PATCH] s390/fault: use wake_up_klogd() in bust_spinlocks()

2018-10-25 Thread Sergey Senozhatsky
On (10/25/18 08:28), Heiko Carstens wrote: [..] > > int loglevel_save = console_loglevel; > > - console_unblank(); > > - oops_in_progress = 0; > > - /* > > -* OK, the message is on the console. Now we call printk() > > -* without

Re: [PATCH 2/2] x86/ldt: Unmap PTEs for the slow before freeing LDT

2018-10-25 Thread Kirill A. Shutemov
On Wed, Oct 24, 2018 at 11:49:17AM -0700, Andy Lutomirski wrote: > On Tue, Oct 23, 2018 at 9:32 AM Kirill A. Shutemov > wrote: > > > > modify_ldt(2) leaves old LDT mapped after we switch over to the new one. > > Memory for the old LDT gets freed and the pages can be re-used. > > > > Leaving the

Re: [PATCHv2 1/2] x86/mm: Move LDT remap out of KASLR region on 5-level paging

2018-10-25 Thread Kirill A. Shutemov
On Thu, Oct 25, 2018 at 10:18:09AM +0800, Baoquan He wrote: > > We don't touch 4 pgd slot gap just before the direct mapping reserved > > for a hypervisor, but move direct mapping by one slot instead. > > > > The LDT mapping is per-mm, so we cannot move it into P4D page table next > > to

[PATCH v10 0/6] EDAC: Enhancements to Synopsys EDAC driver

2018-10-25 Thread Manish Narani
This patch series enhances the current EDAC driver to support different platforms. This series adds support for ZynqMP DDRC controller in synopsys EDAC driver. This series also adds Device tree properties and relevant binding documentation. Changes in v2: - Moved checking of

[PATCH v10 1/6] edac: synopsys: Add error handling for NULL in probe()

2018-10-25 Thread Manish Narani
The function of_device_get_match_data() can return NULL in case of error. Add error handling for the same in probe(). Signed-off-by: Manish Narani --- drivers/edac/synopsys_edac.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/edac/synopsys_edac.c b/drivers/edac/synopsys_edac.c

[PATCH v10 6/6] edac: synopsys: Add Error Injection support for ZynqMP DDRC

2018-10-25 Thread Manish Narani
Add support for Error Injection for ZynqMP DDRC IP. For injecting errors, the Row, Column, Bank, Bank Group and Rank bits positions are determined via Address Map registers of Synopsys DDRC. Signed-off-by: Manish Narani --- drivers/edac/synopsys_edac.c | 420

[PATCH v10 3/6] edac: synopsys: Add macro defines for ZynqMP DDRC

2018-10-25 Thread Manish Narani
Add macro defines for ZynqMP DDR controller. These macros will be used for ZynqMP ECC operations. Signed-off-by: Manish Narani --- drivers/edac/synopsys_edac.c | 168 +++ 1 file changed, 168 insertions(+) diff --git a/drivers/edac/synopsys_edac.c

[PATCH v10 5/6] arm64: zynqmp: Add DDRC node

2018-10-25 Thread Manish Narani
Add ddrc memory controller node in dts. The size mentioned in dts is 0x3, because we need to access DDR_QOS INTR registers located at 0xFD090208 from this driver. Signed-off-by: Manish Narani --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH] x86/ioremap: tighten integer overflow checking

2018-10-25 Thread Dan Carpenter
The current check is a bit off in the case where "phys_addr + size" wraps to zero because then "last_addr" is set to ULONG_MAX which is >= phys_addr. Signed-off-by: Dan Carpenter --- arch/x86/mm/ioremap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] s390/fault: use wake_up_klogd() in bust_spinlocks()

2018-10-25 Thread Sergey Senozhatsky
On (10/25/18 08:28), Heiko Carstens wrote: > > With your patch this looks nearly like the common code variant. I did > some code archaeology and this function is unchanged since ~17 years. > When it was introduced it was close to identical to the x86 variant. > All other architectures use the

Re: [PATCH] x86/ioremap: tighten integer overflow checking

2018-10-25 Thread Dan Carpenter
On Thu, Oct 25, 2018 at 08:28:44AM +0200, Juergen Gross wrote: > On 25/10/2018 08:16, Dan Carpenter wrote: > > The current check is a bit off in the case where "phys_addr + size" > > wraps to zero because then "last_addr" is set to ULONG_MAX which is >= > > phys_addr. > > And -2 would be okay?

Re: [PATCH v5 2/3] clk: meson: add DT documentation for emmc clock controller

2018-10-25 Thread Yixun Lan
Hi Jerome, Jianxin: see my comments On 10:58 Wed 24 Oct , Jerome Brunet wrote: > On Thu, 2018-10-18 at 13:07 +0800, Jianxin Pan wrote: > > From: Yixun Lan > > > > Document the MMC sub clock controller driver, the potential consumer > > of this driver is MMC or NAND. Also add four clock

drivers/cdrom/gdrom.c:797:3: error: 'rc' undeclared

2018-10-25 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 01aa9d518eae8a4d75cd3049defc6ed0b6d0a658 commit: ad5fc6bb72214615f300af1f4ed57f71bc3be510 gdrom: convert to blk-mq date: 9 days ago config: sh-dreamcast_defconfig (attached as .config) compiler:

Re: [PATCH v2 1/2] phy: qcom-qusb2: Use HSTX_TRIM fused value as is

2018-10-25 Thread Vivek Gautam
On 2018-10-25 11:46, Vivek Gautam wrote: Hi Manu, On 10/16/2018 12:52 PM, Manu Gautam wrote: Fix HSTX_TRIM tuning logic which instead of using fused value as HSTX_TRIM, incorrectly performs bitwise OR operation with existing default value. Fixes: ca04d9d3e1b1 ("phy: qcom-qusb2: New driver

[PATCH] mtd: rawnand: Add all 1.8V AC chips have a broken GET_FEATURES(TIMINGS)

2018-10-25 Thread masonccyang
From: Mason Yang Hi Boris, I patched this for Macronix all 1.8V AC chips. Thanks for your review. best regards, Mason Mason Yang (1): mtd: rawnand: Add All 1.8V AC chips have a broken GET_FEATURES(TIMINGS) drivers/mtd/nand/raw/nand_macronix.c | 7 +++ 1 file changed, 7

[PATCH] mtd: rawnand: Add All 1.8V AC chips have a broken GET_FEATURES(TIMINGS)

2018-10-25 Thread masonccyang
From: Mason Yang Make sure we flag all 1.8V broken chips as not supporting this features. Signed-off-by: Mason Yang --- drivers/mtd/nand/raw/nand_macronix.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/mtd/nand/raw/nand_macronix.c b/drivers/mtd/nand/raw/nand_macronix.c

Bruce Perens, inconsistent statements regarding Copyright, GPL, Open Source Security.

2018-10-25 Thread voisinsdualice
In a prior public statement, Bruce Perens put forth a legal theory where users of a certain piece of Software would be liable for contributory copyright infringement*[1]. This statement, specifically the pronouncement of such damages reachable, is predicated on a pure copyright License theory

Re: [PATCH 4/4] PCI/dwc: Add more than 4GiB range support

2018-10-25 Thread kbuild test robot
/commits/Z-q-Hou/PCI-dwc-Add-more-than-4GiB-range-support/20181025-173802 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next config: i386-randconfig-s1-201842 (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026 reproduce: # save the attached .config

Re: [PATCH v2 2/5] mfd: lochnagar: Add support for the Cirrus Logic Lochnagar

2018-10-25 Thread Lee Jones
On Thu, 25 Oct 2018, Richard Fitzgerald wrote: > On 25/10/18 09:26, Charles Keepax wrote: > > On Thu, Oct 25, 2018 at 08:44:59AM +0100, Lee Jones wrote: > > > On Mon, 08 Oct 2018, Charles Keepax wrote: > > > > From: Charles Keepax > > > > +static const struct reg_default lochnagar1_reg_defaults[]

Re: [PATCH 00/10] steal tasks to improve CPU utilization

2018-10-25 Thread Steven Sistare
On 10/25/2018 7:31 AM, Valentin Schneider wrote: > > On 24/10/2018 20:27, Steven Sistare wrote: > [...] >> Hi Valentin, >> >> Asymmetric systems could maintain a separate bitmap for misfits; set a bit >> when a CPU goes on CPU, clear it going off. When a fast CPU goes new idle, >> it would

Re: [PATCH 1/2] mm/zsmalloc.c: check encoded object value overflow for PAE

2018-10-25 Thread Rafael David Tinoco
> MAX_PHYSMEM_BITS is a definition for sparsemem, and is only visible > when sparsemem is enabled. When sparsemem is disabled, asm/sparsemem.h > is not included (and should not be included) which means there is no > MAX_PHYSMEM_BITS definition. Missed that part :\, tks. > I don't think

Re: [PATCH] mfd: tps6586x: Handle interrupts on suspend

2018-10-25 Thread Dmitry Osipenko
On 10/24/18 5:19 PM, Jon Hunter wrote: > > On 24/10/2018 13:44, Dmitry Osipenko wrote: >> On 10/24/18 1:49 PM, Jon Hunter wrote: >>> >>> On 22/10/2018 12:19, Dmitry Osipenko wrote: On 10/22/18 12:52 PM, Thierry Reding wrote: > On Fri, Oct 19, 2018 at 02:22:53PM +0100, Jon Hunter wrote:

Re: KASAN: use-after-free Read in task_is_descendant

2018-10-25 Thread Oleg Nesterov
On 10/25, Oleg Nesterov wrote: > > As I said below, please ignore ptracer_exception_found(), another caller for > now, > perhaps it needs some changes too. I even have a vague feeling that I have > already > blamed this function some time ago... Heh, yes, 3 years ago ;)

Re: [GIT PULL] PCI changes for v4.20

2018-10-25 Thread Linus Torvalds
On Tue, Oct 23, 2018 at 10:39 AM Bjorn Helgaas wrote: > > PCI changes: Pulled, Linus

[PATCH AUTOSEL 4.9 22/98] tipc: fix a race condition of releasing subscriber object

2018-10-25 Thread Sasha Levin
From: Ying Xue [ Upstream commit fd849b7c41f0fabfe783d0691a63c5518e8ebc99 ] No matter whether a request is inserted into workqueue as a work item to cancel a subscription or to delete a subscription's subscriber asynchronously, the work items may be executed in different workers. As a result,

Re: Git pull ack emails..

2018-10-25 Thread Linus Torvalds
I'm back home, slightly jetl-agged, but _oh_ so relieved to not be doing the merge window on a laptop any more. I've been continuing to just manually ack the pull requests, but I've almost forgotten a few times (and maybe I _did_ forget one or two and didn't catch it? Who knows?). So while maybe

[PATCH AUTOSEL 4.14 19/46] IB/mlx5: Avoid passing an invalid QP type to firmware

2018-10-25 Thread Sasha Levin
From: Noa Osherovich [ Upstream commit e7b169f34403becd3c9fd3b6e46614ab788f2187 ] During QP creation, the mlx5 driver translates the QP type to an internal value which is passed on to FW. There was no check to make sure that the translated value is valid, and -EINVAL was coerced into the

[PATCH AUTOSEL 4.14 20/46] ARM: tegra: Fix ULPI regression on Tegra20

2018-10-25 Thread Sasha Levin
From: Marcel Ziswiler [ Upstream commit 4c9a27a6c66d4427f3cba4019d4ba738fe99fa87 ] Since commit f8f8f1d04494 ("clk: Don't touch hardware when reparenting during registration") ULPI has been broken on Tegra20 leading to the following error message during boot: [1.974698] ulpi_phy_power_on:

[PATCH AUTOSEL 4.9 01/98] perf symbols: Fix memory corruption because of zero length symbols

2018-10-25 Thread Sasha Levin
From: Ravi Bangoria [ Upstream commit 331c7cb307971eac38e9470340e10c87855bf4bc ] Perf top is often crashing at very random locations on powerpc. After investigating, I found the crash only happens when sample is of zero length symbol. Powerpc kernel has many such symbols which does not contain

[PATCH AUTOSEL 4.9 11/98] efi/fb: Correct PCI_STD_RESOURCE_END usage

2018-10-25 Thread Sasha Levin
From: Bjorn Helgaas [ Upstream commit 92a16c86299c64f58f320e491977408ba31b8c3c ] PCI_STD_RESOURCE_END is (confusingly) the index of the last valid BAR, not the *number* of BARs. To iterate through all possible BARs, we need to include PCI_STD_RESOURCE_END. Fixes: 55d728a40d36 ("efi/fb: Avoid

[PATCH AUTOSEL 4.9 06/98] f2fs: fix multiple f2fs_add_link() having same name for inline dentry

2018-10-25 Thread Sasha Levin
From: Sheng Yong [ Upstream commit d3bb910c15d75ee3340311c64a1c05985bb663a3 ] Commit 88c5c13a5027 (f2fs: fix multiple f2fs_add_link() calls having same name) does not cover the scenario where inline dentry is enabled. In that case, F2FS_I(dir)->task will be NULL, and __f2fs_add_link will lookup

[PATCH AUTOSEL 4.9 05/98] scsi: aacraid: Fix typo in blink status

2018-10-25 Thread Sasha Levin
From: Raghava Aditya Renukunta [ Upstream commit 934767c56b0d9dbb95a40e9e6e4d9dcdc3a165ad ] The return status of the adapter check on KERNEL_PANIC is supposed to be the upper 16 bits of the OMR status register. Fixes: c421530bf848604e (scsi: aacraid: Reorder Adpater status check) Reported-by:

[PATCH AUTOSEL 4.9 03/98] MIPS: microMIPS: Fix decoding of swsp16 instruction

2018-10-25 Thread Sasha Levin
From: Matt Redfearn [ Upstream commit cea8cd498f4f1c30ea27e3664b3c671e495c4fce ] When the immediate encoded in the instruction is accessed, it is sign extended due to being a signed value being assigned to a signed integer. The ISA specifies that this operation is an unsigned operation. The

[PATCH AUTOSEL 4.9 12/98] ipv6: set rt6i_protocol properly in the route when it is installed

2018-10-25 Thread Sasha Levin
From: Xin Long [ Upstream commit b91d532928dff2141ea9c107c3e73104d9843767 ] After commit c2ed1880fd61 ("net: ipv6: check route protocol when deleting routes"), ipv6 route checks rt protocol when trying to remove a rt entry. It introduced a side effect causing 'ip -6 route flush cache' not to

[PATCH AUTOSEL 4.9 17/98] rxe: Fix a sleep-in-atomic bug in post_one_send

2018-10-25 Thread Sasha Levin
From: Jia-Ju Bai [ Upstream commit 07d432bb97f19dd5e784175152f9fce3b2646133 ] The driver may sleep under a spin lock, and the function call path is: post_one_send (acquire the lock by spin_lock_irqsave) init_send_wqe copy_from_user --> may sleep There is no flow that makes "qp->is_user"

[PATCH AUTOSEL 4.9 14/98] IB/ipoib: Do not warn if IPoIB debugfs doesn't exist

2018-10-25 Thread Sasha Levin
From: Alaa Hleihel [ Upstream commit 14fa91e0fef8e4d6feb8b1fa2a807828e0abe815 ] netdev_wait_allrefs() could rebroadcast NETDEV_UNREGISTER event multiple times until all refs are gone, which will result in calling ipoib_delete_debug_files multiple times and printing a warning. Remove the

[PATCH AUTOSEL 4.9 08/98] ACPI: sysfs: Make ACPI GPE mask kernel parameter cover all GPEs

2018-10-25 Thread Sasha Levin
From: Prarit Bhargava [ Upstream commit 0f27cff8597d86f881ea8274b49b63b678c14a3c ] The acpi_mask_gpe= kernel parameter documentation states that the range of mask is 128 GPEs (0x00 to 0x7F). The acpi_masked_gpes mask is a u64 so only 64 GPEs (0x00 to 0x3F) can really be masked. Use a bitmap

[PATCH AUTOSEL 4.9 23/98] bnxt_en: Don't use rtnl lock to protect link change logic in workqueue.

2018-10-25 Thread Sasha Levin
From: Michael Chan [ Upstream commit e2dc9b6e38fa3919e63d6d7905da70ca41cbf908 ] As a further improvement to the PF/VF link change logic, use a private mutex instead of the rtnl lock to protect link change logic. With the new mutex, we don't have to take the rtnl lock in the workqueue when we

[PATCH AUTOSEL 4.9 36/98] x86/cpu/cyrix: Add alternative Device ID of Geode GX1 SoC

2018-10-25 Thread Sasha Levin
From: Christian Sünkenberg [ Upstream commit ae1d557d8f30cb097b4d1f2ab04fa294588ee1cf ] A SoC variant of Geode GX1, notably NSC branded SC1100, seems to report an inverted Device ID in its DIR0 configuration register, specifically 0xb instead of the expected 0x4. Catch this presumably quirky

[PATCH AUTOSEL 4.9 30/98] arch/sparc: increase CONFIG_NODES_SHIFT on SPARC64 to 5

2018-10-25 Thread Sasha Levin
From: Jane Chu [ Upstream commit 7485af89a6fd48f7e6fab2505d2364d1817723e6 ] SPARC M6-32 platform has (2^5) NUMA nodes, so need to bump up the CONFIG_NODES_SHIFT to 5. Orabug: 25577754 Signed-off-by: Jane Chu Reviewed-by: Bob Picco Reviewed-by: Atish Patra Signed-off-by: David S. Miller

[PATCH AUTOSEL 4.9 31/98] mac80211: fix TX aggregation start/stop callback race

2018-10-25 Thread Sasha Levin
From: Johannes Berg [ Upstream commit 7a7c0a6438b8e7636d5a22e572892cc234f68297 ] When starting or stopping an aggregation session, one of the steps is that the driver calls back to mac80211 that the start/stop can proceed. This is handled by queueing up a fake SKB and processing it from the

[PATCH AUTOSEL 4.14 15/46] net: phy: Add general dummy stubs for MMD register access

2018-10-25 Thread Sasha Levin
From: Kevin Hao [ Upstream commit 5df7af85ecd88e8b5f1f31d6456c3cf38a8bbdda ] For some phy devices, even though they don't support the MMD extended register access, it does have some side effect if we are trying to read/write the MMD registers via indirect method. So introduce general dummy

[PATCH AUTOSEL 4.14 16/46] net/mlx5e: Refine ets validation function

2018-10-25 Thread Sasha Levin
From: Shay Agroskin [ Upstream commit e279d634f3d57452eb106a0c0e99a6add3fba1a6 ] Removed an error message received when configuring ETS total bandwidth to be zero. Our hardware doesn't support such configuration, so we shall reject it in the driver. Nevertheless, we removed the error message in

[PATCH AUTOSEL 4.14 12/46] powerpc/pseries: Add empty update_numa_cpu_lookup_table() for NUMA=n

2018-10-25 Thread Sasha Levin
From: Corentin Labbe [ Upstream commit c1e150ceb61e4a585bad156da15c33bfe89f5858 ] When CONFIG_NUMA is not set, the build fails with: arch/powerpc/platforms/pseries/hotplug-cpu.c:335:4: error: déclaration implicite de la fonction « update_numa_cpu_lookup_table » So we have to add

Re: Crash in msm serial on dragonboard with ftrace bootargs

2018-10-25 Thread saiprakash . ranjan
On 10/19/2018 8:42 PM, Steven Rostedt wrote: On Fri, 19 Oct 2018 20:18:19 +0530 Sai Prakash Ranjan wrote: You said that if you add 'ftrace_filter=msm_read' to the command line, it still crashes? So only tracing that function we have an issue, right? Tracing msm_read does cause the

[PATCH AUTOSEL 4.9 88/98] xen-netfront: Fix mismatched rtnl_unlock

2018-10-25 Thread Sasha Levin
From: Ross Lagerwall [ Upstream commit cb257783c2927b73614b20f915a91ff78aa6f3e8 ] Fixes: f599c64fdf7d ("xen-netfront: Fix race between device setup and open") Reported-by: Ben Hutchings Signed-off-by: Ross Lagerwall Reviewed-by: Juergen Gross Signed-off-by: David S. Miller Signed-off-by:

[PATCH AUTOSEL 4.9 83/98] futex: futex_wake_op, do not fail on invalid op

2018-10-25 Thread Sasha Levin
From: Jiri Slaby [ Upstream commit e78c38f6bdd900b2ad9ac9df8eff58b745dc5b3c ] In commit 30d6e0a4190d ("futex: Remove duplicated code and fix undefined behaviour"), I let FUTEX_WAKE_OP to fail on invalid op. Namely when op should be considered as shift and the shift is out of range (< 0 or >

[PATCH AUTOSEL 4.9 77/98] module: fix DEBUG_SET_MODULE_RONX typo

2018-10-25 Thread Sasha Levin
From: Arnd Bergmann [ Upstream commit 4d217a5adccf5e806790c37c61cc374a08bd7381 ] The newly added 'rodata_enabled' global variable is protected by the wrong #ifdef, leading to a link error when CONFIG_DEBUG_SET_MODULE_RONX is turned on: kernel/module.o: In function `disable_ro_nx':

[PATCH AUTOSEL 4.9 79/98] l2tp: remove configurable payload offset

2018-10-25 Thread Sasha Levin
From: James Chapman [ Upstream commit 900631ee6a2651dc4fbaecb8ef9fa5f1e3378853 ] If L2TP_ATTR_OFFSET is set to a non-zero value in L2TPv3 tunnels, it results in L2TPv3 packets being transmitted which might not be compliant with the L2TPv3 RFC. This patch has l2tp ignore the offset setting and

[PATCH AUTOSEL 4.9 89/98] enic: do not overwrite error code

2018-10-25 Thread Sasha Levin
From: Govindarajulu Varadarajan [ Upstream commit 56f772279a762984f6e9ebbf24a7c829faba5712 ] In failure path, we overwrite err to what vnic_rq_disable() returns. In case it returns 0, enic_open() returns success in case of error. Reported-by: Ben Hutchings Fixes: e8588e268509 ("enic: enable

[PATCH AUTOSEL 4.9 92/98] nvmet: fix space padding in serial number

2018-10-25 Thread Sasha Levin
From: Daniel Verkamp [ Upstream commit c73996984902516745bc587d5e8a0b2e034aea05 ] Commit 42de82a8b544 previously attempted to fix this, and it did correctly pad the MN and FR fields with spaces, but the SN field still contains 0 bytes. The current code fills out the first 16 bytes with

[PATCH AUTOSEL 4.9 86/98] xen-netfront: Update features after registering netdev

2018-10-25 Thread Sasha Levin
From: Ross Lagerwall [ Upstream commit 45c8184c1bed1ca8a7f02918552063a00b909bf5 ] Update the features after calling register_netdev() otherwise the device features are not set up correctly and it not possible to change the MTU of the device. After this change, the features reported by ethtool

[PATCH AUTOSEL 4.9 87/98] sparc64: Fix regression in pmdp_invalidate().

2018-10-25 Thread Sasha Levin
From: "David S. Miller" [ Upstream commit cfb61b5e3e09f8b49bc4d685429df75f45127adc ] pmdp_invalidate() was changed to update the pmd atomically (to not lose dirty/access bits) and return the original pmd value. However, in doing so, we lost a lot of the essential work that set_pmd_at() does,

Re: [PATCH 1/2] Bluetooth: Add quirk for reading BD_ADDR from fwnode property

2018-10-25 Thread Balakrishna Godavarthi
On 2018-10-25 05:51, Matthias Kaehlcke wrote: Add HCI_QUIRK_USE_BDADDR_PROPERTY to allow controllers to retrieve the public Bluetooth address from the firmware node property 'local-bd-address'. If quirk is set and the property does not exist or is invalid the controller is marked as

[PATCH AUTOSEL 4.9 81/98] perf/core: Fix locking for children siblings group read

2018-10-25 Thread Sasha Levin
From: Jiri Olsa [ Upstream commit 2aeb1883547626d82c597cce2c99f0b9c62e2425 ] We're missing ctx lock when iterating children siblings within the perf_read path for group reading. Following race and crash can happen: User space doing read syscall on event group leader: T1: perf_read lock

[PATCH AUTOSEL 4.9 82/98] cifs: Use ULL suffix for 64-bit constant

2018-10-25 Thread Sasha Levin
From: Geert Uytterhoeven [ Upstream commit 3995bbf53bd2047f2720c6fdd4bf38f6d942a0c0 ] On 32-bit (e.g. with m68k-linux-gnu-gcc-4.1): fs/cifs/inode.c: In function ‘simple_hashstr’: fs/cifs/inode.c:713: warning: integer constant is too large for ‘long’ type Fixes: 7ea884c77e5c97f1

[PATCH AUTOSEL 4.9 78/98] iio: pressure: zpa2326: Remove always-true check which confuses gcc

2018-10-25 Thread Sasha Levin
From: Geert Uytterhoeven [ Upstream commit f61dfff2f5b9fcb087bf5c444bc44b444709588f ] With gcc 4.1.2: drivers/iio/pressure/zpa2326.c: In function ‘zpa2326_wait_oneshot_completion’: drivers/iio/pressure/zpa2326.c:868: warning: ‘ret’ may be used uninitialized in this function When

Re: [PATCH 0/2] Fix typo in RWH_WRITE_LIFE_NOT_SET constant name

2018-10-25 Thread Eugene Syromiatnikov
On Thu, Oct 25, 2018 at 08:25:44AM -0600, Jens Axboe wrote: > On 10/25/18 8:19 AM, Eugene Syromiatnikov wrote: > > On Sat, Oct 06, 2018 at 07:51:14PM +0200, Eugene Syromiatnikov wrote: > >> Hello. > >> > >> This is a small fix of a typo (or, more specifically, some remnant of > >> the old patch

[PATCH] leds: gpio: Fix gpiod for DT based devices

2018-10-25 Thread Dan Sneddon
commit 45d4c6de4e49 ("leds: gpio: Try to lookup gpiod from device") failes to set the gpio descriptor for DT based machines. Since the value being passed in is always 0 the descriptor fails the validation check but does so silently. This means the driver probes successfully even though it can't

Re: [PATCH AUTOSEL 4.4 15/65] btrfs: don't create or leak aliased root while cleaning up orphans

2018-10-25 Thread David Sterba
On Thu, Oct 25, 2018 at 10:16:15AM -0400, Sasha Levin wrote: > From: Jeff Mahoney > > [ Upstream commit 35bbb97fc898aeb874cb7c8b746f091caa359994 ] > > commit 909c3a22da3 (Btrfs: fix loading of orphan roots leading to BUG_ON) > avoids the BUG_ON but can add an aliased root to the dead_roots list

[PATCH 17/37] perf scripts python: call-graph-from-sql.py: Provide better default column sizes

2018-10-25 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Set initial column sizes to improve initial display. Committer testing: Extended instructions on testing this, using the sqlite variant: Make sure you have the SQLite glue for python+Qt installed, on fedora 27 I used: # dnf install python-pyside Collect some PT

[PATCH 2/6] ARM: dts: ls1021a: Add the status property disable PCIe

2018-10-25 Thread Xiaowei Bao
Add the status property disable the PCIe, the property will be enable by bootloader. Signed-off-by: Xiaowei Bao --- arch/arm/boot/dts/ls1021a.dtsi |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index

Re: KASAN: use-after-free Read in task_is_descendant

2018-10-25 Thread Oleg Nesterov
On 10/25, Tetsuo Handa wrote: > > Oleg Nesterov wrote: > > On 10/22, Tetsuo Handa wrote: > > > > And again, I do not know how/if yama ensures that child is > > > > rcu-protected, perhaps > > > > task_is_descendant() needs to check pid_alive(child) right after > > > > rcu_read_lock() ? > > > > >

Re: [PATCH] arm64/module: use mod->klp_info section header information

2018-10-25 Thread Jessica Yu
+++ Miroslav Benes [25/10/18 11:00 +0200]: On Thu, 25 Oct 2018, Petr Mladek wrote: On Tue 2018-10-23 19:55:54, Jessica Yu wrote: > The arm64 module loader keeps a pointer into info->sechdrs to keep track > of section header information for .plt section(s). A pointer to the > relevent section

Re: dcache endless loop in d_invalidate

2018-10-25 Thread Martin Schwidefsky
On Tue, 16 Oct 2018 13:15:28 +0200 Martin Schwidefsky wrote: > In short, this if-statement in select_collect: > > if (dentry->d_flags & DCACHE_SHRINK_LIST) { > data->found++; > } > > with assumption that "somebody else" will do the shrinking seems broken. > >

Re: [GIT PULL] power-supply changes for 4.20

2018-10-25 Thread Linus Torvalds
On Wed, Oct 24, 2018 at 11:11 AM Sebastian Reichel wrote: > > power supply and reset changes for the v4.20 series Pulled, Linus

Re: [PATCH 08/10] sched/fair: Steal work from an overloaded CPU when CPU goes idle

2018-10-25 Thread Valentin Schneider
Hi Steve, On 22/10/2018 15:59, Steve Sistare wrote: [...] > @@ -9683,6 +9698,141 @@ void trigger_load_balance(struct rq *rq) > nohz_balancer_kick(rq); > } > > +/* > + * Search the runnable tasks in @cfs_rq in order of next to run, and find > + * the first one that can be migrated to

Re: [PATCH v2 2/5] mfd: lochnagar: Add support for the Cirrus Logic Lochnagar

2018-10-25 Thread Richard Fitzgerald
On 25/10/18 14:20, Charles Keepax wrote: On Thu, Oct 25, 2018 at 01:49:05PM +0100, Charles Keepax wrote: On Thu, Oct 25, 2018 at 12:42:05PM +0100, Lee Jones wrote: On Thu, 25 Oct 2018, Richard Fitzgerald wrote: On 25/10/18 09:26, Charles Keepax wrote: On Thu, Oct 25, 2018 at 08:44:59AM

Re: [PATCH 05/10] sched/fair: Hoist idle_stamp up from idle_balance

2018-10-25 Thread Valentin Schneider
Hi Steve, On 22/10/2018 15:59, Steve Sistare wrote: [...] > @@ -6740,8 +6744,19 @@ static void check_preempt_wakeup(struct rq *rq, struct > task_struct *p, int wake_ > return p; > > idle: > + /* > + * We must set idle_stamp _before_ calling idle_balance(), such that we > +

Re: [PATCH anybus v1 2/4] dt-bindings: anybus-bridge: document devicetree binding.

2018-10-25 Thread thesven73
Hi Linus, thank you for the patch review !! >> + - pwms : the pwm connected to the bridge's 'pwm input'. > > That is really unintuitive and needs a detailed explanation. What > is a bridge doing with a PWM? Is it 100% certain this is a PWM, > it's not just a clock? A pwm is a pule WIDTH

[PATCH AUTOSEL 4.14 36/46] iio: buffer: fix the function signature to match implementation

2018-10-25 Thread Sasha Levin
From: Phil Reid [ Upstream commit 92397a6c38d139d50fabbe9e2dc09b61d53b2377 ] linux/iio/buffer-dma.h was not updated to when length was changed to unsigned int. Fixes: c043ec1ca5ba ("iio:buffer: make length types match kfifo types") Signed-off-by: Phil Reid Signed-off-by: Jonathan Cameron

[PATCH AUTOSEL 4.14 40/46] btrfs: quota: Set rescan progress to (u64)-1 if we hit last leaf

2018-10-25 Thread Sasha Levin
From: Qu Wenruo [ Upstream commit 6f7de19ed3d4d3526ca5eca428009f97cf969c2f ] Commit ff3d27a048d9 ("btrfs: qgroup: Finish rescan when hit the last leaf of extent tree") added a new exit for rescan finish. However after finishing quota rescan, we set fs_info->qgroup_rescan_progress to (u64)-1

[PATCH AUTOSEL 4.14 31/46] IB/usnic: Update with bug fixes from core code

2018-10-25 Thread Sasha Levin
From: Jason Gunthorpe [ Upstream commit 43cbd64b1fdc1da89abdad88a022d9e87a98e9c6 ] usnic has a modified version of the core codes' ib_umem_get() and related, and the copy misses many of the bug fixes done over the years: Commit bc3e53f682d9 ("mm: distinguish between mlocked and pinned pages")

[PATCH AUTOSEL 4.14 26/46] tpm: move the delay_msec increment after sleep in tpm_transmit()

2018-10-25 Thread Sasha Levin
From: Nayna Jain [ Upstream commit 92980756979a9c51be0275f395f4e89c42cf199a ] Commit e2fb992d82c6 ("tpm: add retry logic") introduced a new loop to handle the TPM2_RC_RETRY error. The loop retries the command after sleeping for the specified time, which is incremented exponentially in every

[PATCH AUTOSEL 4.14 33/46] MIPS: Workaround GCC __builtin_unreachable reordering bug

2018-10-25 Thread Sasha Levin
From: Paul Burton [ Upstream commit 906d441febc0de974b2a6ef848a8f058f3bfada3 ] Some versions of GCC for the MIPS architecture suffer from a bug which can lead to instructions from beyond an unreachable statement being incorrectly reordered into earlier branch delay slots if the unreachable

[PATCH AUTOSEL 4.14 34/46] lan78xx: Don't reset the interface on open

2018-10-25 Thread Sasha Levin
From: Phil Elwell [ Upstream commit 47b998653fea4ef69e3e89574956386f262bccca ] Commit 92571a1aae40 ("lan78xx: Connect phy early") moves the PHY initialisation into lan78xx_probe, but lan78xx_open subsequently calls lan78xx_reset. As well as forcing a second round of link negotiation, this reset

[PATCH AUTOSEL 4.14 44/46] kconfig: fix the rule of mainmenu_stmt symbol

2018-10-25 Thread Sasha Levin
From: Masahiro Yamada [ Upstream commit 56869d45e364244a721de34ce9c5dc9ed022779e ] The rule of mainmenu_stmt does not have debug print of zconf_lineno(), but if it had, it would print a wrong line number for the same reason as commit b2d00d7c61c8 ("kconfig: fix line numbers for if-entries in

[PATCH AUTOSEL 4.14 43/46] net: stmmac: mark PM functions as __maybe_unused

2018-10-25 Thread Sasha Levin
From: Arnd Bergmann [ Upstream commit 81a8b0799632627b587af31ecd06112397e4ec36 ] The newly added suspend/resume functions cause a build warning when CONFIG_PM is disabled: drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c:324:12: error: 'stmmac_pci_resume' defined but not used

[PATCH AUTOSEL 4.14 38/46] scsi: ibmvfc: Avoid unnecessary port relogin

2018-10-25 Thread Sasha Levin
From: Brian King [ Upstream commit 09dd15e0d9547ca424de4043bcd429bab6f285c8 ] Following an RSCN, ibmvfc will issue an ADISC to determine if the underlying target has changed, comparing the SCSI ID, WWPN, and WWNN to determine how to handle the rport in discovery. However, the comparison of the

[PATCH AUTOSEL 4.14 37/46] selftests/powerpc: Add ptrace hw breakpoint test

2018-10-25 Thread Sasha Levin
From: Michael Neuling [ Upstream commit 9c2ddfe55c42bf4b9bc336a0650ab78f9222a159 ] This test the ptrace hw breakpoints via PTRACE_SET_DEBUGREG and PPC_PTRACE_SETHWDEBUG. This test was use to find the bugs fixed by these recent commits: 4f7c06e26e powerpc/ptrace: Fix setting 512B aligned

[PATCH AUTOSEL 4.14 41/46] net: phy: phylink: Don't release NULL GPIO

2018-10-25 Thread Sasha Levin
From: Florian Fainelli [ Upstream commit 3bcd47726c3b744fd08781795cca905cc59a1382 ] If CONFIG_GPIOLIB is disabled, gpiod_put() becomes a stub that produces a warning, this helped identify that we could be attempting to release a NULL pl->link_gpio GPIO descriptor, so guard against that. Fixes:

[PATCH AUTOSEL 4.14 45/46] libertas: call into generic suspend code before turning off power

2018-10-25 Thread Sasha Levin
From: Daniel Mack [ Upstream commit 4f75cdff0b986195413215eb062b7da6586f ] When powering down a SDIO connected card during suspend, make sure to call into the generic lbs_suspend() function before pulling the plug. This will make sure the card is successfully deregistered from the system to

[PATCH AUTOSEL 3.18 66/98] ext4: fix an ext3 collapse range regression in xfstests

2018-10-25 Thread Sasha Levin
From: Theodore Ts'o [ Upstream commit b9576fc3624eb9fc88bec0d0ae883fd78be86239 ] The xfstests test suite assumes that an attempt to collapse range on the range (0, 1) will return EOPNOTSUPP if the file system does not support collapse range. Commit 280227a75b56: "ext4: move check under lock

[PATCH AUTOSEL 3.18 65/98] x86/idle: Restore trace_cpu_idle to mwait_idle() calls

2018-10-25 Thread Sasha Levin
From: Jisheng Zhang [ Upstream commit e43d0189ac02415fe4487f79fc35e8f147e9ea0d ] Commit b253149b843f ("sched/idle/x86: Restore mwait_idle() to fix boot hangs, to improve power savings and to improve performance") restores mwait_idle(), but the trace_cpu_idle related calls are missing. This

[PATCH AUTOSEL 3.18 64/98] tty: serial: fsl_lpuart: fix clearing of receive flag

2018-10-25 Thread Sasha Levin
From: Stefan Agner [ Upstream commit d68827c62a105eec547945daedf4d1d3e283717d ] Commit 8e4934c6d6c6 ("tty: serial: fsl_lpuart: clear receive flag on FIFO flush") implemented clearing of the receive flag by reading the status register only. It turned out that even though we flush the FIFO

  1   2   3   4   5   6   7   8   9   10   >