Re: [PATCH net-next 1/2] net: phy: mscc: fix signedness bug in vsc85xx_downshift_get

2018-10-09 Thread Quentin Schulz
Hi Gustavo, On Tue, Oct 09, 2018 at 09:38:33PM +0200, Gustavo A. R. Silva wrote: > Currently, the error handling for the call to function > phy_read_paged() doesn't work because *reg_val* is of > type u16 (16 bits, unsigned), which makes it impossible > for it to hold a value less than 0. > Ah,

Re: [PATCH 4.4 000/113] 4.4.160-stable review

2018-10-09 Thread Jon Hunter
On 08/10/18 19:30, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.160 release. > There are 113 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 sho

Re: [PATCH 4.14 00/94] 4.14.75-stable review

2018-10-09 Thread Jon Hunter
On 08/10/18 19:30, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.75 release. > There are 94 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 shou

Re: [PATCH net-next 2/2] net: phy: mscc: fix memory leak in vsc8574_config_pre_init

2018-10-09 Thread Quentin Schulz
Hi Gustavo, On Tue, Oct 09, 2018 at 09:39:53PM +0200, Gustavo A. R. Silva wrote: > In case memory resources for *fw* were successfully allocated, > release them before return. > > Addresses-Coverity-ID: 1473968 ("Resource leak") > Fixes: 00d70d8e0e78 ("net: phy: mscc: add support for VSC8574 PHY"

答复: [PATCH] kasan: avoid out-of-bounds in unwind_frame

2018-10-09 Thread 李春辉
Hi Mark, kasan detect out-of-bounds in stacktrace.c line 70, it's already over READ_ONCE_NOCHECK, but still crash kernel-4.9/arch/arm64/kernel/stacktrace.c 69 frame->sp = fp + 0x10; 70 frame->fp = READ_ONCE_NOCHECK(*(unsigned long *)(fp)); we test on Android platform, kernel-4.9 build

Re: [GIT PULL] s390 patches for 4.19 #4

2018-10-09 Thread Greg Kroah-Hartman
On Wed, Oct 10, 2018 at 07:20:01AM +0200, Martin Schwidefsky wrote: > Hi Greg, > > please pull s390 fixes for 4.19: > > The following changes since commit 4b92e7fd76e94624e3d5ff56b3d6a5788c4a7ac8: > > Merge tag 'mtd/fixes-for-4.19-rc5' of git://git.infradead.org/linux-mtd > (2018-09-20 11:25:

Re: [PATCH 1/2] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-10-09 Thread Esben Haabendal
Chuanhua Han writes: >> I am using XSPI mode on LS1021A, talking to a lot of different SPI devices. >> And they all work, and I believe everything is quite "normal". >> > Since I don't have the board of LS1021, I can't test it. I use other boards > with DSPI (such as LS1043, LS2088, etc.), > and

[tip:x86/build] x86/defconfig: Enable CONFIG_USB_XHCI_HCD=y

2018-10-09 Thread tip-bot for Adam Borowski
Commit-ID: 72a9c673636b779e370983fea08e40f97039b981 Gitweb: https://git.kernel.org/tip/72a9c673636b779e370983fea08e40f97039b981 Author: Adam Borowski AuthorDate: Tue, 9 Oct 2018 08:28:03 +0200 Committer: Ingo Molnar CommitDate: Wed, 10 Oct 2018 08:29:51 +0200 x86/defconfig: Enable CONF

Re: [PATCH v3 0/3] mm: Fix for movable_node boot option

2018-10-09 Thread Ingo Molnar
* Masayoshi Mizuma wrote: > Ping... > > > arch/x86/kernel/e820.c | 15 +++ > > include/linux/memblock.h | 15 --- > > mm/page_alloc.c | 54 +++- > > 3 files changed, 40 insertions(+), 44 deletions(-) If the problem is fixed then t

Re: perf report segfault

2018-10-09 Thread Ingo Molnar
* Sandipan Das wrote: > Hi Jiri, > > Yes, this happens when entry->map is NULL. While your fix seems correct, the > following commit from Milian Wolff had already addressed this. I think this > was pulled in with one of Arnaldo's recent perf/urgent updates. > > ff4ce2885af8 ("perf report: Don

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-09 Thread Ingo Molnar
* Thara Gopinath wrote: > Thermal governors can respond to an overheat event for a cpu by > capping the cpu's maximum possible frequency. This in turn > means that the maximum available compute capacity of the > cpu is restricted. But today in linux kernel, in event of maximum > frequency cappi

Re: [PATCH] remoteproc: qcom: q6v5: shore up resource probe handling

2018-10-09 Thread Bjorn Andersson
On Tue 09 Oct 16:34 PDT 2018, Doug Anderson wrote: > Hi, > > On Tue, Oct 9, 2018 at 3:33 PM Brian Norris wrote: > > + if (q6v5->wdog_irq < 0) { > > + if (q6v5->wdog_irq != -EPROBE_DEFER) > > + dev_err(&pdev->dev, > > + "fail

[PATCH v3 2/3] mm: Move buddy list manipulations into helpers

2018-10-09 Thread Dan Williams
In preparation for runtime randomization of the zone lists, take all (well, most of) the list_*() functions in the buddy allocator and put them in helper functions. Provide a common control point for injecting additional behavior when freeing pages. Cc: Michal Hocko Cc: Dave Hansen Signed-off-by

[PATCH v3 0/3] Randomize free memory

2018-10-09 Thread Dan Williams
Changes since v2 * Clarify in the changelog why front-back randomization is not sufficient (Michal) * Rebase on mmotm which results in dropping bootmem randomization and adding memblock randomization. --- Some data exfiltration and return-oriented-programming attacks rely on the ability to in

[PATCH v3 1/3] mm: Shuffle initial free memory

2018-10-09 Thread Dan Williams
Some data exfiltration and return-oriented-programming attacks rely on the ability to infer the location of sensitive data objects. The kernel page allocator, especially early in system boot, has predictable first-in-first out behavior for physical pages. Pages are freed in physical address order w

Re: [PATCH v6] clk: qcom: Add lpass clock controller driver for SDM845

2018-10-09 Thread Taniya Das
On 10/10/2018 2:22 AM, Stephen Boyd wrote: Quoting Taniya Das (2018-10-09 10:26:38) Hello Stephen, On 10/8/2018 8:14 AM, Stephen Boyd wrote: Quoting Taniya Das (2018-10-04 05:02:26) Add support for the lpass clock controller found on SDM845 based devices. This would allow lpass peripheral

[PATCH v3 3/3] mm: Maintain randomization of page free lists

2018-10-09 Thread Dan Williams
When freeing a page with an order >= shuffle_page_order randomly select the front or back of the list for insertion. While the mm tries to defragment physical pages into huge pages this can tend to make the page allocator more predictable over time. Inject the front-back randomness to preserve the

Re: [PATCH v2] compiler.h: give up __compiletime_assert_fallback()

2018-10-09 Thread Joel Stanley
On Thu, 27 Sep 2018 at 05:07, Kees Cook wrote: > > On Wed, Sep 26, 2018 at 12:29 PM, Nick Desaulniers > wrote: > > On Wed, Sep 26, 2018 at 12:03 PM Greg KH wrote: > >> > >> On Wed, Sep 26, 2018 at 11:45:19AM -0700, Kees Cook wrote: > >> > On Wed, Sep 26, 2018 at 11:42 AM, Greg KH > >> > wrote:

Re: [RFC PATCH] kernel/panic: Filter out a potential trailing newline

2018-10-09 Thread Ingo Molnar
* Borislav Petkov wrote: > From: Borislav Petkov > > If a call to panic() terminates the string with a \n, the result puts > the closing brace ']---' on a newline because panic() itself adds \n > too. > > Now, if one goes and removes the newline chars from all panic() > invocations - and the

Re: [RFC PATCH 6/7] sched/fair: update cpu_capcity to reflect thermal pressure

2018-10-09 Thread Javi Merino
On Tue, Oct 09, 2018 at 12:25:01PM -0400, Thara Gopinath wrote: > cpu_capacity relflects the maximum available capacity of a cpu. Thermal > pressure on a cpu means this maximum available capacity is reduced. This > patch reduces the average thermal pressure for a cpu from its maximum > available ca

Re: [PATCH v4 13/17] remoteproc: create vdev subdevice with specific dma memory pool

2018-10-09 Thread Bjorn Andersson
On Fri 27 Jul 06:14 PDT 2018, Loic Pallardy wrote: > This patch creates a dedicated vdev subdevice for each vdev declared > in firmware resource table and associates carveout named "vdev%dbuffer" > (with %d vdev index in resource table) if any as dma coherent memory pool. > > Then vdev subdevice

Re: [PATCH 4.4 000/113] 4.4.160-stable review

2018-10-09 Thread Greg Kroah-Hartman
On Tue, Oct 09, 2018 at 02:05:01PM -0700, Guenter Roeck wrote: > On Mon, Oct 08, 2018 at 08:30:01PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.160 release. > > There are 113 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 4.18 000/168] 4.18.13-stable review

2018-10-09 Thread Greg Kroah-Hartman
On Wed, Oct 10, 2018 at 09:42:46AM +0530, Naresh Kamboju wrote: > On Tue, 9 Oct 2018 at 21:44, Greg Kroah-Hartman > wrote: > > > > On Mon, Oct 08, 2018 at 08:29:40PM +0200, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.18.13 release. > > > There are 168 pat

Re: [Ksummit-discuss] [PATCH 1/2] code-of-conduct: Fix the ambiguity about collecting email addresses

2018-10-09 Thread Rainer Fiebig
Laurent Pinchart schrieb: > Hi Josh, > > On Tuesday, 9 October 2018 21:56:23 EEST Josh Triplett wrote: >> On Tue, Oct 09, 2018 at 08:29:24PM +0200, Rainer Fiebig wrote: >>> Am Montag, 8. Oktober 2018, 08:20:44 schrieb Josh Triplett: On Sat, Oct 06, 2018 at 02:36:39PM -0700, James Bottomley wr

Re: [PATCH v4 2/2] locking/pvqspinlock, hv: Enable PV qspinlock for Hyper-V

2018-10-09 Thread Ingo Molnar
* Yi Sun wrote: > On 18-10-09 12:54:27, Ingo Molnar wrote: > > > > * Yi Sun wrote: > > > > > Follow PV spinlock mechanism to implement the callback functions > > > to allow the CPU idling and kicking operations on Hyper-V. > > > > > +#if defined(CONFIG_SMP) > > > + smp_ops.smp_prepare_boot_

Re: [PATCH v2] clocksource/drivers/fttmr010: fix invalid interrupt register access

2018-10-09 Thread Tao Ren
On 10/7/18, 2:03 PM, "Linus Walleij" wrote: >> TIMER_INTR_MASK register (Base Address of Timer + 0x38) is not designed >> for masking interrupts on ast2500 chips, and it's not even listed in >> ast2400 datasheet, so it's not safe to access TIMER_INTR_MASK on aspeed >> chips. >> >> Similarly, TIME

linux-next: Tree for Oct 10

2018-10-09 Thread Stephen Rothwell
Hi all, Changes since 20181009: The ext4 tree lost its build failure. The kvm-ppc tree gained a conflict against the kvm-arm tree. Non-merge commits (relative to Linus' tree): 9423 8942 files changed, 420582 insertions(+), 194157 dele

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-09 Thread Javi Merino
On Tue, Oct 09, 2018 at 12:24:55PM -0400, Thara Gopinath wrote: > Thermal governors can respond to an overheat event for a cpu by > capping the cpu's maximum possible frequency. This in turn > means that the maximum available compute capacity of the > cpu is restricted. But today in linux kernel, i

Re: perf report segfault

2018-10-09 Thread Sandipan Das
Hi Jiri, Yes, this happens when entry->map is NULL. While your fix seems correct, the following commit from Milian Wolff had already addressed this. I think this was pulled in with one of Arnaldo's recent perf/urgent updates. ff4ce2885af8 ("perf report: Don't try to map ip to invalid map") Addin

Re: [PATCH] platform/chrome: chromeos_tbmc - Remove unneeded const

2018-10-09 Thread Benson Leung
Hi Nathan, On Mon, Oct 08, 2018 at 03:20:41PM -0700, Nathan Chancellor wrote: > Clang warns: > > drivers/platform/chrome/chromeos_tbmc.c:102:14: warning: duplicate > 'const' declaration specifier [-Wduplicate-decl-specifier] > static const SIMPLE_DEV_PM_OPS(chromeos_tbmc_pm_ops, NULL, >

Re: [PATCH v10 4/5] clk: imx: add imx composite clock

2018-10-09 Thread Sascha Hauer
On Tue, Oct 09, 2018 at 10:56:14PM +, Leonard Crestez wrote: > On Tue, 2018-10-09 at 08:37 +, Abel Vesa wrote: > > +struct clk *imx_clk_composite_8m_flags(const char *name, > > + const char **parent_names, > > + int num_par

Re: [PATCH v4 12/17] remoteproc: modify vring allocation to rely on centralized carveout allocator

2018-10-09 Thread Bjorn Andersson
On Fri 27 Jul 06:14 PDT 2018, Loic Pallardy wrote: > int rproc_fw_sanity_check(struct rproc *rproc, const struct firmware *fw) > diff --git a/drivers/remoteproc/remoteproc_virtio.c > b/drivers/remoteproc/remoteproc_virtio.c [..] > @@ -114,6 +122,10 @@ static struct virtqueue *rp_find_vq(struct vi

Installation Notes for Teo En Ming Extremely Simple Linux 1810.08

2018-10-09 Thread Turritopsis Dohrnii Teo En Ming
Installation Notes for Teo En Ming Extremely Simple Linux 1810.08 = Definitely must watch YouTube video: https://www.youtube.com/watch?v=YrJADssqaQU Author: Mr. Turritopsis Dohrnii Teo En Ming Country: Singapore Start: 8th October 2

Re: [PATCH] KVM: Start populating /sys/hypervisor with KVM entries

2018-10-09 Thread kbuild test robot
Hi Filippo, Thank you for the patch! Yet something to improve: [auto build test ERROR on linux-sof-driver/master] [also build test ERROR on v4.19-rc7 next-20181009] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

[GIT PULL] s390 patches for 4.19 #4

2018-10-09 Thread Martin Schwidefsky
Hi Greg, please pull s390 fixes for 4.19: The following changes since commit 4b92e7fd76e94624e3d5ff56b3d6a5788c4a7ac8: Merge tag 'mtd/fixes-for-4.19-rc5' of git://git.infradead.org/linux-mtd (2018-09-20 11:25:20 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/l

Re: [PATCH v3] mfd: cros-ec: copy the whole event in get_next_event_xfer

2018-10-09 Thread Benson Leung
Hi Emil, On Wed, Oct 3, 2018 at 11:43 AM Emil Karlson wrote: > > Commit 57e94c8b974db2d83c60e1139c89a70806abbea0 caused cros-ec keyboard events > be truncated on many chromebooks so that Left and Right keys on Column 12 were > always 0. Use ret as memcpy len to fix this. > > The old code was using

enquiry 09-10-2018

2018-10-09 Thread Daniel Murray
Hi,friend, This is Daniel Murray and i am from Sinara Group Co.Ltd Group Co.,LTD in Russia. We are glad to know about your company from the web and we are interested in your products. Could you kindly send us your Latest catalog and price list for our trial order. Best Regards, Daniel Murray Pu

Re: [PATCH 2/2] platform/chrome: Add a new interrupt path for cros_ec_lpc

2018-10-09 Thread Benson Leung
Hi Enrico, On Wed, Oct 03, 2018 at 11:45:06AM -0700, Enrico Granata wrote: > From: Enrico Granata > > This commit allows cros_ec_lpc to register a direct IRQ instead of relying > on the ACPI notification chain to receive MKBP events. > > This change is done in the interest of allowing reduced j

[GIT PULL] IB between mfd and platform/chrome for move of lpc driver

2018-10-09 Thread Benson Leung
Hi Lee, Sorry for the super late reply to your email before. I wanted to make sure this wasn't dropped so we could get this into v4.20. Thanks, Benson The following changes since commit 57361846b52bc686112da6ca5368d11210796804: Linux 4.19-rc2 (2018-09-02 14:37:30 -0700) are available in the

[GIT PULL] chrome-platform fixes for v4.19-rc8

2018-10-09 Thread Benson Leung
Hi Greg, Sorry for the late in the cycle request, but this one is fairly urgent. Please pull thi fix to chrome platform. A patch that landed for 4.19 broke cros_ec based chromebooks' keyboards, and this fixes them. Thanks, Benson The following changes since commit 0238df646e6224016a45505d2c111a

Re: [PATCH v2 2/2] arm/arm64: KVM: enable 32 bits kvm vcpu events support

2018-10-09 Thread gengdongjiu
Hi Suzuki On 2018/10/10 1:22, Suzuki K Poulose wrote: > > > On 08/10/18 13:34, Dongjiu Geng wrote: >> The commit 539aee0edb9f ("KVM: arm64: Share the parts of >> get/set events useful to 32bit") shares the get/set events >> helper for arm64 and arm32, it is better also share the check >> for vcp

Re: [PATCH] ceph: only allow punch hole mode in fallocate

2018-10-09 Thread Yan, Zheng
On Wed, Oct 10, 2018 at 1:54 AM Luis Henriques wrote: > > Current implementation of cephfs fallocate isn't correct as it doesn't > really reserve the space in the cluster, which means that a subsequent > call to a write may actually fail due to lack of space. In fact, it is > currently possible t

Re: [PATCH 4.4 000/113] 4.4.160-stable review

2018-10-09 Thread Naresh Kamboju
On Tue, 9 Oct 2018 at 00:03, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.160 release. > There are 113 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. > > Res

Re: [PATCH 4.9 00/59] 4.9.132-stable review

2018-10-09 Thread Naresh Kamboju
On Tue, 9 Oct 2018 at 00:08, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.132 release. > There are 59 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. > > Resp

Re: [PATCH 4.14 00/94] 4.14.75-stable review

2018-10-09 Thread Naresh Kamboju
On Tue, 9 Oct 2018 at 21:45, Greg Kroah-Hartman wrote: > > On Mon, Oct 08, 2018 at 08:30:41PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.75 release. > > There are 94 patches in this series, all will be posted as a response > > to this one. If an

[PATCH v5 1/3] mm: get_user_pages: consolidate error handling

2018-10-09 Thread john . hubbard
From: John Hubbard An upcoming patch requires a way to operate on each page that any of the get_user_pages_*() variants returns. In preparation for that, consolidate the error handling for __get_user_pages(). This provides a single location (the "out:" label) for operating on the collected set o

Re: [PATCH 4.18 000/168] 4.18.13-stable review

2018-10-09 Thread Naresh Kamboju
On Tue, 9 Oct 2018 at 21:44, Greg Kroah-Hartman wrote: > > On Mon, Oct 08, 2018 at 08:29:40PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.18.13 release. > > There are 168 patches in this series, all will be posted as a response > > to this one. If a

Re: INFO: rcu detected stall in shmem_fault

2018-10-09 Thread David Rientjes
On Wed, 10 Oct 2018, Tetsuo Handa wrote: > syzbot is hitting RCU stall due to memcg-OOM event. > https://syzkaller.appspot.com/bug?id=4ae3fff7fcf4c33a47c1192d2d62d2e03efffa64 > > What should we do if memcg-OOM found no killable task because the allocating > task > was oom_score_adj == -1000 ? Fl

[PATCH v5 3/3] infiniband/mm: convert put_page() to put_user_page*()

2018-10-09 Thread john . hubbard
From: John Hubbard For infiniband code that retains pages via get_user_pages*(), release those pages via the new put_user_page(), or put_user_pages*(), instead of put_page() This is a tiny part of the second step of fixing the problem described in [1]. The steps are: 1) Provide put_user_page*()

[PATCH v5 2/3] mm: introduce put_user_page*(), placeholder versions

2018-10-09 Thread john . hubbard
From: John Hubbard Introduces put_user_page(), which simply calls put_page(). This provides a way to update all get_user_pages*() callers, so that they call put_user_page(), instead of put_page(). Also introduces put_user_pages(), and a few dirty/locked variations, as a replacement for release_p

[PATCH v5 0/3] get_user_pages*() and RDMA: first steps

2018-10-09 Thread john . hubbard
From: John Hubbard Changes since v4: -- Changed the new put_user_page*() functions to operate only on the head page, because that's how the final version of those functions will work. (Andrew Morton's feedback prompted this, thanks!) -- Added proper documentation of the new put_user_page*

Re: [PATCH] mm/thp: Correctly differentiate between mapped THP and PMD migration entry

2018-10-09 Thread Anshuman Khandual
On 10/09/2018 07:28 PM, Zi Yan wrote: > cc: Naoya Horiguchi (who proposed to use !_PAGE_PRESENT && !_PAGE_PSE for x86 > PMD migration entry check) > > On 8 Oct 2018, at 23:58, Anshuman Khandual wrote: > >> A normal mapped THP page at PMD level should be correctly differentiated >> from a PMD m

Re: [PATCH v3 4/7] dmaengine: stm32-dma: Add DMA/MDMA chaining support

2018-10-09 Thread Vinod
On 09-10-18, 10:40, Pierre Yves MORDRET wrote: > > > On 10/07/2018 06:00 PM, Vinod wrote: > > On 28-09-18, 15:01, Pierre-Yves MORDRET wrote: > >> This patch adds support of DMA/MDMA chaining support. > >> It introduces an intermediate transfer between peripherals and STM32 DMA. > >> This intermed

Re: [PATCH] perf trace beautify: Beautify flags of mount(2) and umount(2).

2018-10-09 Thread Benjamin Peterson
Hi Arnaldo, Did you get a chance to look at this again? On Thu, Aug 30, 2018, at 14:50, Benjamin Peterson wrote: > Thanks for the review. > > On Thu, Aug 30, 2018, at 11:28, Arnaldo Carvalho de Melo wrote: > > Em Mon, Aug 27, 2018 at 08:53:44PM -0700, Benjamin Peterson escreveu: > > > Example out

Re: [PATCH] mfd: cros-ec: copy the whole event in get_next_event_xfer

2018-10-09 Thread Benson Leung
Hi Enric, On Wed, Oct 3, 2018 at 4:01 AM Enric Balletbo i Serra wrote: > > Hi Emil, > > Many thanks to catch this and fix. Some comments below. > > You missed to add the v2, please send the next patch with v3 prefix. > > On 28/9/18 19:08, Emil Karlson wrote: > > Commit 57e94c8b974db2d83c60e1139c89

RE: Pinmuxing and SDHC speeds on sdhci-esdhc-imx

2018-10-09 Thread Bough Chen
Hi Adam Yes, MMC_DDR52 can use pins_100mhz. You can do that, thanks! Best Regards Bough Chen > -Original Message- > From: linux-mmc-ow...@vger.kernel.org > [mailto:linux-mmc-ow...@vger.kernel.org] On Behalf Of Adam Ford > Sent: 2018年10月9日 21:38 > To: linux-...@vger.kernel.org; Linux Kern

Re: [PATCH 1/4] mm/hugetlb: Enable PUD level huge page migration

2018-10-09 Thread Anshuman Khandual
On 10/09/2018 07:44 PM, Michal Hocko wrote: > On Fri 05-10-18 13:04:43, Anshuman Khandual wrote: >> Does the following sound close enough to what you are looking for ? > > I do not think so Okay. > >> diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h >> index 9df1d59..070c419 10

RE: [PATCH 1/2] spi: spi-mem: Add the spi_set_xfer_bpw function

2018-10-09 Thread Chuanhua Han
> -Original Message- > From: Esben Haabendal On Behalf Of Esben > Haabendal > Sent: 2018年10月9日 19:21 > To: Chuanhua Han > Cc: Boris Brezillon ; broo...@kernel.org; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/2] spi: spi-mem: Add the spi_set_xfer_bpw

Re: [PATCH v4 2/2] locking/pvqspinlock, hv: Enable PV qspinlock for Hyper-V

2018-10-09 Thread Yi Sun
On 18-10-09 12:54:27, Ingo Molnar wrote: > > * Yi Sun wrote: > > > Follow PV spinlock mechanism to implement the callback functions > > to allow the CPU idling and kicking operations on Hyper-V. > > > +#if defined(CONFIG_SMP) > > + smp_ops.smp_prepare_boot_cpu = hv_smp_prepare_boot_cpu; > > +

linux-next: manual merge of the kvm-ppc tree with the kvm-arm tree

2018-10-09 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the kvm-ppc tree got a conflict in: include/uapi/linux/kvm.h between commit: 233a7cb23531 ("kvm: arm64: Allow tuning the physical address size for VM") from the kvm-arm tree and commit: aa069a996951 ("KVM: PPC: Book3S HV: Add a VM capability to enabl

[PATCH 1/2] dt-bindings: clock: add description of 74aup1g157gw

2018-10-09 Thread Kuninori Morimoto
From: Kuninori Morimoto 74aup1g157gw needs i0 and i1 pin as input, select and output it by sel gpio pin. This patch adds description for 74aup1g157gw as clock multiplexer. "nxp,74aup1g157gw-clk" will select most closest input as output, "nxp,74aup1g157gw-audio-clk" will select 48kHz/44.1kHz cat

[PATCH 2/2] clk: add 74aup1g157gw 2-input multiplexer as clock driver

2018-10-09 Thread Kuninori Morimoto
From: Kuninori Morimoto 74aup1g157gw needs i0 and i1 pin as input, select and output it by sel gpio pin. This driver adds new 74aup1g157gw as clock multiplexer. "nxp,74aup1g157gw-clk" will select most closest input as output, "nxp,74aup1g157gw-audio-clk" will select 48kHz/44.1kHz categorized in

[PATCH 0/2] add 74aup1g157gw 2-input multiplexer as clock driver

2018-10-09 Thread Kuninori Morimoto
Hi Michael, Stephen, Rob, Mark These adds 74aup1g157gw 2-input multiplexer as clock driver. Kuninori Morimoto (2): dt-bindings: clock: add description of 74aup1g157gw clk: add 74aup1g157gw 2-input multiplexer as clock driver Documentation/devicetree/bindings/clock/nxp,74aup1g157gw

Re: [PATCH v14 1/2] leds: core: Introduce LED pattern trigger

2018-10-09 Thread Baolin Wang
Hi Jacek, On 10 October 2018 at 02:37, Jacek Anaszewski wrote: > Hi Baolin, > > On 10/09/2018 02:01 PM, Baolin Wang wrote: >> Hi Jacek and Pavel, >> >> On 5 October 2018 at 04:00, Jacek Anaszewski >> wrote: >>> Hi Baolin, >>> >>> On 10/03/2018 03:21 AM, Baolin Wang wrote: Hi Jacek, >>

[PATCH] lib/rbtree.c: fix typo in comment of rb_insert_augmented()

2018-10-09 Thread Wei Yang
The function name in the comment is not correct. Signed-off-by: Wei Yang --- include/linux/rbtree_augmented.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/rbtree_augmented.h b/include/linux/rbtree_augmented.h index af8a61be2d8d..9510c677ac70 100644 --- a/

Inquiry 09-10-2018

2018-10-09 Thread Daniel Murray
Hi,friend, This is Daniel Murray and i am from Sinara Group Co.Ltd Group Co.,LTD in Russia. We are glad to know about your company from the web and we are interested in your products. Could you kindly send us your Latest catalog and price list for our trial order. Best Regards, Daniel Murray Pu

Re: [PATCH V5 3/3] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-10-09 Thread Stephen Boyd
Quoting Doug Anderson (2018-10-09 14:18:26) > Hi, > On Tue, Oct 9, 2018 at 12:45 PM Stephen Boyd wrote: > > > > Quoting Doug Anderson (2018-10-09 10:48:55) > > > > > > Ah, you're suggesting separating the platform_get_irq() and the > > > request_irq() so that we call platform_get_irq() as the firs

Re: [PATCH 4/4] mm: zero-seek shrinkers

2018-10-09 Thread Rik van Riel
On Tue, 2018-10-09 at 14:47 -0400, Johannes Weiner wrote: > These workloads also deal with tens of thousands of open files and > use > /proc for introspection, which ends up growing the proc_inode_cache > to > absurdly large sizes - again at the cost of valuable cache space, > which isn't a reason

Re: [PATCH v3 0/7] Remove errors building drivers/DRIVERNAME

2018-10-09 Thread Leonardo Bras
Thanks Finn, I will take a good look at that and try to use it in my build. Thank you, Leonardo Bras On Wed, Oct 3, 2018 at 11:00 PM Finn Thain wrote: > > On Wed, 3 Oct 2018, Leonardo Bras wrote: > > > Both ccache and distcc seem very interesting, I will take my time to > > study them better as

Re: [PATCH 1/1] kbuild: Optimize tests and remove shadowed local variable.

2018-10-09 Thread Leonardo Bras
Thank you! Please let me know if it needs any rework! Leonardo Bras On Sat, Oct 6, 2018 at 4:50 PM Masahiro Yamada wrote: > > Hi Leonardo, David, > > > > On Fri, Oct 5, 2018 at 11:32 AM Leonardo Bras wrote: > > > > Hello David, > > > > My name is Leonardo and I am new to kernel development. >

Re: [PATCH v3 3/7] drivers: parisc: Avoids building driver if CONFIG_PARISC is disabled

2018-10-09 Thread Leonardo Bras
Hello Michael, > That already works, doesn't it? So all that you'd need is an offline > tool to precompute what drivers to actually build with a given config. > > 'make -n' with some suitable output mangling might do the job. > > There may well be other ways to achieve your stated goal, without an

Re: [PATCH 2/4] mm: workingset: use cheaper __inc_lruvec_state in irqsafe node reclaim

2018-10-09 Thread Rik van Riel
On Tue, 2018-10-09 at 14:47 -0400, Johannes Weiner wrote: > No need to use the preemption-safe lruvec state function inside the > reclaim region that has irqs disabled. > > Signed-off-by: Johannes Weiner Reviewed-by: Rik van Riel

Re: [PATCH 1/4] mm: workingset: don't drop refault information prematurely fix

2018-10-09 Thread Rik van Riel
On Tue, 2018-10-09 at 14:47 -0400, Johannes Weiner wrote: > The shadow shrinker is invoked per NUMA node, but the shadow limit > enforced for cgroups is based on the page counter, which isn't NUMA > aware. Instead of shrinking shadow pages to desired_size, we end up > with desired_size * nr_online_

Re: linux-next: Tree for Oct 9

2018-10-09 Thread Guenter Roeck
On Tue, Oct 09, 2018 at 07:02:34PM +1100, Stephen Rothwell wrote: > Hi all, > > Changes since 20181008: > > The s390 tree gained a conflict against the compiler-attributes tree. > > The ext4 tree gained a build failure for which I reverted a commit. > > The nfsd tree lost its build failure. >

[LKP] fde06e0775 [ 9.203072] kernel BUG at lib/list_debug.c:31!

2018-10-09 Thread kernel test robot
ton Signed-off-by: Stephen Rothwell 8a497b6945 mm/slub.c: switch to bitmap_zalloc() fde06e0775 mm/slub: remove useless condition in deactivate_slab 570b7bdeaf Add linux-next specific files for 20181

Re: [PATCH v4 2/3] mm: introduce put_user_page*(), placeholder versions

2018-10-09 Thread John Hubbard
On 10/8/18 5:14 PM, Andrew Morton wrote: > On Mon, 8 Oct 2018 14:16:22 -0700 john.hubb...@gmail.com wrote: > >> From: John Hubbard [...] >> +/* >> + * Pages that were pinned via get_user_pages*() should be released via >> + * either put_user_page(), or one of the put_user_pages*() routines >> +

Re: [PATCH v4 2/3] mm: introduce put_user_page*(), placeholder versions

2018-10-09 Thread John Hubbard
On 10/9/18 4:20 PM, Andrew Morton wrote: > On Tue, 9 Oct 2018 10:30:25 +0200 Jan Kara wrote: > >>> Also, maintainability. What happens if someone now uses put_page() by >>> mistake? Kernel fails in some mysterious fashion? How can we prevent >>> this from occurring as code evolves? Is there a

Re: R8169: Network lockups in 4.18.{8,9,10} (and 4.19 dev)

2018-10-09 Thread Maciej S. Szmigiero
On 09.10.2018 22:36, Heiner Kallweit wrote: > On 09.10.2018 16:40, Chris Clayton wrote: >> Thanks to Maciej and Heiner for their replies. >> >> On 09/10/2018 13:32, Maciej S. Szmigiero wrote: >>> On 07.10.2018 21:36, Chris Clayton wrote: Hi again, I didn't think there was anything in

Re: [alsa-devel] [PATCH linux-next v2 9/9] ASoC: rsnd: add busif property to dai stream

2018-10-09 Thread Kuninori Morimoto
Hi Jiada > >> 1ch:  (tdm_slots < 4) Basic mode, (tdm_slots >= 4) TDM Split mode > >> 2ch: (2 <= tdm_slots < 8) Basic mode, (tdm_slots >= 8) TDM Ex-Split mode > >> 4ch: (4 <= tdm_slots < 8) Basic mode, (tdm_slots >= 8) TDM Ex-Split mode > >> 6ch: (6 <= tdm_slots < 8) Basic mode, (tdm_slots == 8)

Re: INFO: rcu detected stall in shmem_fault

2018-10-09 Thread Tetsuo Handa
ER_MOVABLE), nodemask=(null), order=0, oom_score_adj=-1000 syz-executor0 cpuset=syz0 mems_allowed=0 CPU: 0 PID: 2050 Comm: syz-executor0 Not tainted 4.19.0-rc7-next-20181009+ #90 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: (...snipped...) Me

Re: [PATCH i2c-next v7 5/5] i2c: aspeed: Add bus idle waiting logic for multi-master use cases

2018-10-09 Thread Brendan Higgins
On Fri, Oct 5, 2018 at 2:45 PM Jae Hyun Yoo wrote: > > In multi-master environment, this driver's master cannot know > exactly when peer master sends data to this driver's slave so a > case can be happened that this master tries to send data through > the master_xfer function but slave data from p

INFO: rcu detected stall in shmem_fault

2018-10-09 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:570b7bdeaf18 Add linux-next specific files for 20181009 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=13eeb68540 kernel config: https://syzkaller.appspot.com/x/.config?x=9b5a60e1381390c4

RE: [PATCH 0/6] cpuidle: menu: Fixes, optimizations and cleanups

2018-10-09 Thread Doug Smythies
On 2018.10.09 03:43 Rafael J. Wysocki wrote: ...[snip]... > While at it, could you test the appended patch > (on top of the previous 8) for me please? > > I think that this code can be simplified now. > > --- > drivers/cpuidle/governors/menu.c |8 > 1 file changed, 4 insertions(+), 4

Re: [PATCH i2c-next v7 4/5] i2c: aspeed: Remove hard-coded bus timeout value setting

2018-10-09 Thread Brendan Higgins
On Fri, Oct 5, 2018 at 2:45 PM Jae Hyun Yoo wrote: > > This commit removes hard-coded bus timeout value setting so that > it can be set by i2c-core-base. > > Signed-off-by: Jae Hyun Yoo > Reviewed-by: Joel Stanley Reviewed-by: Brendan Higgins

Re: [PATCH i2c-next v7 3/5] dt-bindings: i2c: aspeed: Add 'bus-timeout-ms' property as an optional property

2018-10-09 Thread Brendan Higgins
On Fri, Oct 5, 2018 at 2:45 PM Jae Hyun Yoo wrote: > > This commit adds 'bus-timeout-ms' property as an optional property > which can be used for setting the bus timeout value of an adapter. > With this patch, the bus timeout value can be set through this > property at the probing time of this mod

[tip:x86/mm 4/4] htmldocs: kernel/resource.c:337: warning: Function parameter or member 'first_lvl' not described in 'find_next_iomem_res'

2018-10-09 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/mm head: b69c2e20f6e4046da84ce5b33ba1ef89cb087b40 commit: b69c2e20f6e4046da84ce5b33ba1ef89cb087b40 [4/4] resource: Clean it up a bit reproduce: make htmldocs All warnings (new ones prefixed by >>): WARNING: convert(1) n

Re: [PATCH] remoteproc: qcom: q6v5: shore up resource probe handling

2018-10-09 Thread Brian Norris
On Tue, Oct 9, 2018 at 4:34 PM Doug Anderson wrote: > On Tue, Oct 9, 2018 at 3:33 PM Brian Norris wrote: > > + if (q6v5->wdog_irq < 0) { > > + if (q6v5->wdog_irq != -EPROBE_DEFER) > > + dev_err(&pdev->dev, > > + "failed to re

invalidatepage questions (was Re: [PATCH 14/19] orangefs: write range tracking)

2018-10-09 Thread martin
I have some questions about my assumptions writing this code. I definitely have something wrong. (Given my comments in invalidatepage, it should be clear I'm not quite confident that it's doing the right thing.) I thought writpeage could not be called while PagePrivate is not set. It is set duri

Re: [PATCH] remoteproc: qcom: q6v5: shore up resource probe handling

2018-10-09 Thread Doug Anderson
Hi, On Tue, Oct 9, 2018 at 3:33 PM Brian Norris wrote: > + if (q6v5->wdog_irq < 0) { > + if (q6v5->wdog_irq != -EPROBE_DEFER) > + dev_err(&pdev->dev, > + "failed to retrieve wdog IRQ: %d\n", > +

Re: R8169: Network lockups in 4.18.{8,9,10} (and 4.19 dev)

2018-10-09 Thread Chris Clayton
On 09/10/2018 22:39, Heiner Kallweit wrote: > On 09.10.2018 16:40, Chris Clayton wrote: >> Thanks to Maciej and Heiner for their replies. >> >> On 09/10/2018 13:32, Maciej S. Szmigiero wrote: >>> On 07.10.2018 21:36, Chris Clayton wrote: Hi again, I didn't think there was anything

Re: [BUG -next 20181008] list corruption with "mm/slub: remove useless condition in deactivate_slab"

2018-10-09 Thread Andrew Morton
On Tue, 9 Oct 2018 08:35:00 +0200 Heiko Carstens wrote: > with linux-next for 20181008 I can reliably crash my system with lot's of > debugging options enabled on s390. List debugging triggers the list > corruption below, which I could bisect down to this commit: > > fde06e07750477f049f12d7d471

Re: [PATCH v4 2/3] mm: introduce put_user_page*(), placeholder versions

2018-10-09 Thread Andrew Morton
On Tue, 9 Oct 2018 10:30:25 +0200 Jan Kara wrote: > > Also, maintainability. What happens if someone now uses put_page() by > > mistake? Kernel fails in some mysterious fashion? How can we prevent > > this from occurring as code evolves? Is there a cheap way of detecting > > this bug at runti

Re: [PATCH] PCI/portdrv: Enable error reporting on managed ports

2018-10-09 Thread Bjorn Helgaas
On Tue, Oct 09, 2018 at 07:51:58PM +, Derrick, Jonathan wrote: > On Tue, 2018-10-09 at 12:56 -0500, Bjorn Helgaas wrote: > > On Tue, Sep 04, 2018 at 12:33:09PM -0600, Jon Derrick wrote: > > > During probe, the port driver will disable error reporting and > > > assumes it will be enabled later b

Re: [PATCH] mm: Speed up mremap on large regions

2018-10-09 Thread Joel Fernandes
On Tue, Oct 09, 2018 at 02:38:59PM -0700, Andrew Morton wrote: > On Tue, 9 Oct 2018 13:14:00 -0700 "Joel Fernandes (Google)" > wrote: > > > Android needs to mremap large regions of memory during memory management > > related operations. The mremap system call can be really slow if THP is > > no

Re: [PATCH] lib: memcmp optimization

2018-10-09 Thread Andrew Morton
On Tue, 9 Oct 2018 16:28:11 +0200 Jack Wang wrote: > From: Florian-Ewald Mueller > > During testing, I have configured 128 md/raid1's and, while under > heavy IO, I started a check on each of them > (echo check > /sys/block/mdx/md/sync_action). > > The CPU utilization went through the ceiling

Re: [PATCH v3] smb2: fix uninitialized variable bug in smb2_ioctl_query_info

2018-10-09 Thread Steve French
Added Ronnie's reviewed-by and pushed to cifs-2.6.git for-next On Tue, Oct 9, 2018 at 5:27 PM Gustavo A. R. Silva wrote: > > There is a potential execution path in which variable *resp_buftype* > is passed as an argument to function free_rsp_buf(), in which it is > used in a comparison without bei

linux-next: build warning after merge of the ext4 tree

2018-10-09 Thread Stephen Rothwell
Hi Theodore, After merging the ext4 tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: fs/ext4/super.c: In function 'parse_options': fs/ext4/super.c:1976:26: warning: unused variable 'grp_qf_name' [-Wunused-variable] char *p, *usr_qf_name, *grp_qf_name;

Re: [PATCH] mm: Speed up mremap on large regions

2018-10-09 Thread Joel Fernandes
On Wed, Oct 10, 2018 at 01:02:22AM +0300, Kirill A. Shutemov wrote: > On Tue, Oct 09, 2018 at 01:14:00PM -0700, Joel Fernandes (Google) wrote: > > Android needs to mremap large regions of memory during memory management > > related operations. The mremap system call can be really slow if THP is > >

Re: [PATCH 1/2] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-10-09 Thread Andrea Arcangeli
On Tue, Oct 09, 2018 at 04:25:10PM +0200, Michal Hocko wrote: > On Tue 09-10-18 14:00:34, Mel Gorman wrote: > > On Tue, Oct 09, 2018 at 02:27:45PM +0200, Michal Hocko wrote: > > > [Sorry for being slow in responding but I was mostly offline last few > > > days] > > > > > > On Tue 09-10-18 10:48:2

Re: [PATCH v3] ARM: dts: imx6sx-sdb: Fix enet phy regulator

2018-10-09 Thread Leonard Crestez
On Tue, 2018-10-09 at 09:09 +0800, Shawn Guo wrote: > On Mon, Oct 08, 2018 at 03:28:01PM +, Leonard Crestez wrote: > > Bindings for "fixed-regulator" only explicitly support "gpio" property, > > not "gpios". Fix by correcting the property name. > > > > The enet PHYs on imx6sx-sdb needs to be e

  1   2   3   4   5   6   7   8   >