[PATCH] arm64/prefetch: fix a -Wtype-limits warning

2019-08-02 Thread Qian Cai
The commit d5370f754875 ("arm64: prefetch: add alternative pattern for CPUs without a prefetcher") introduced MIDR_IS_CPU_MODEL_RANGE() to be used in has_no_hw_prefetch() with rv_min=0 which generates a compilation warning from GCC, In file included from ./arch/arm64/include/asm/cache.h:8,

[PATCH] rtl8188eu: hal: phy.c

2019-08-02 Thread Jose Carlos Cazarin Filho
Fix a lot of checkpath errors of the type: -CHECK: spaces preferred around that -CHECK: Alignment should match open parenthesis Signed-off-by: Jose Carlos Cazarin Filho --- My second commit to the kernel, I know you ppl don't like these kind of commits fixing style-only erros

Re: [PATCH v2 1/2] khugepaged: enable collapse pmd for pte-mapped THP

2019-08-02 Thread Song Liu
> On Aug 2, 2019, at 3:31 AM, Oleg Nesterov wrote: > > On 08/01, Song Liu wrote: >> >> >>> On Aug 1, 2019, at 7:50 AM, Oleg Nesterov wrote: >>> >>> On 07/31, Song Liu wrote: +static int khugepaged_add_pte_mapped_thp(struct mm_struct *mm, +

Re: [PATCH v3 QEMU 2/2] virtio-balloon: Provide a interface for unused page reporting

2019-08-02 Thread Alexander Duyck
On Fri, 2019-08-02 at 16:40 -0400, Nitesh Narayan Lal wrote: > On 8/1/19 6:43 PM, Alexander Duyck wrote: > > From: Alexander Duyck > > > > Add support for what I am referring to as "unused page reporting". > > Basically the idea is to function very similar to how the balloon works > > in that we

Re: [PATCH 4/5] watchdog: ziirave_wdt: Don't bail out on unexpected timeout value

2019-08-02 Thread Guenter Roeck
On Wed, Jul 31, 2019 at 10:42:51AM -0700, Andrey Smirnov wrote: > Reprogramming bootloader on watchdog MCU will result in reported > default timeout value of "0". That in turn will be unnecesarily > rejected by the driver as invalid device (-ENODEV). Simplify probe to > just read stored timeout

Re: [PATCH v21 08/28] x86/cpu/intel: Detect SGX support and update caps appropriately

2019-08-02 Thread Jarkko Sakkinen
On Wed, Jul 24, 2019 at 12:35:42PM -0700, Sean Christopherson wrote: > On Sat, Jul 13, 2019 at 08:07:44PM +0300, Jarkko Sakkinen wrote: > > arch/x86/kernel/cpu/intel.c | 71 + > > 1 file changed, 71 insertions(+) > > > > diff --git

Re: [PATCH v21 24/28] selftests/x86: Add a selftest for SGX

2019-08-02 Thread Jarkko Sakkinen
On Wed, Jul 17, 2019 at 03:37:03PM -0700, Xing, Cedric wrote: > On 7/13/2019 10:08 AM, Jarkko Sakkinen wrote: > > Add a selftest for SGX. It is a trivial test where a simple enclave > > copies one 64-bit word of memory between two memory locations given to > > the enclave as arguments. > > > >

Re: [PATCH 7/7] tracing: Un-export ftrace_set_clr_event

2019-08-02 Thread Steven Rostedt
On Fri, 2 Aug 2019 13:41:20 -0700 Divya Indi wrote: > > As a stand alone patch, the first one may be fine. But as part of a > > series, it doesn't make sense to add it. > > I see. Will separate this out from the series. Is that really needed? Do you need to have that patch in the kernel? Do

Re: [PATCH v2 6/6] tpm: Add driver for cr50 on I2C

2019-08-02 Thread Jarkko Sakkinen
On Tue, Jul 16, 2019 at 03:45:18PM -0700, Stephen Boyd wrote: > From: Duncan Laurie > > Add TPM 2.0 compatible I2C interface for chips with cr50 firmware. > > The firmware running on the currently supported H1 MCU requires a > special driver to handle its specific protocol, and this makes it >

Re: [PATCH v2 5/6] tpm: add driver for cr50 on SPI

2019-08-02 Thread Jarkko Sakkinen
On Thu, Jul 18, 2019 at 06:47:14PM +0200, Alexander Steffen wrote: > On 17.07.2019 21:57, Stephen Boyd wrote: > > Quoting Alexander Steffen (2019-07-17 05:00:06) > > > On 17.07.2019 00:45, Stephen Boyd wrote: > > > > From: Andrey Pronin > > > > > > > > +static unsigned short rng_quality = 1022;

Re: [PATCH v2 5/6] tpm: add driver for cr50 on SPI

2019-08-02 Thread Jarkko Sakkinen
On Wed, Jul 17, 2019 at 02:00:06PM +0200, Alexander Steffen wrote: > Is it a common pattern to add config options that are not useful on their > own? When would I ever enable TCG_CR50 without also enabling TCG_CR50_SPI? > Why can't you just use TCG_CR50_SPI for everything? Agreed. If the kernel

Re: [PATCH v3 QEMU 2/2] virtio-balloon: Provide a interface for unused page reporting

2019-08-02 Thread Nitesh Narayan Lal
On 8/1/19 6:43 PM, Alexander Duyck wrote: > From: Alexander Duyck > > Add support for what I am referring to as "unused page reporting". > Basically the idea is to function very similar to how the balloon works > in that we basically end up madvising the page as not being used. However > we

Re: [PATCH V6 14/21] clk: tegra210: Add suspend and resume support

2019-08-02 Thread Sowjanya Komatineni
On 8/2/19 10:51 AM, Stephen Boyd wrote: Quoting Dmitry Osipenko (2019-07-22 00:12:17) 22.07.2019 10:09, Dmitry Osipenko пишет: 22.07.2019 9:52, Sowjanya Komatineni пишет: On 7/21/19 11:10 PM, Dmitry Osipenko wrote: 22.07.2019 1:45, Sowjanya Komatineni пишет: On 7/21/19 2:38 PM, Dmitry

[PATCH tip/core/rcu 1/1] rcu: Remove unused function hlist_bl_del_init_rcu

2019-08-02 Thread Ethan Hansen
The function hlist_bl_del_init_rcu is declared in rculist_bl.h, but never used. Remove hlist_bl_del_init_rcu to clean code. Signed-off-by: Ethan Hansen <1ethanhan...@gmail.com> --- include/linux/rculist_bl.h | 28 1 file changed, 28 deletions(-) diff --git

Re: [PATCH v7 07/20] clk: tegra: clk-periph: Add save and restore support

2019-08-02 Thread Sowjanya Komatineni
On 8/2/19 1:20 PM, Dmitry Osipenko wrote: 02.08.2019 21:43, Sowjanya Komatineni пишет: On 8/2/19 5:32 AM, Dmitry Osipenko wrote: 31.07.2019 3:20, Sowjanya Komatineni пишет: This patch implements save and restore context for peripheral fixed clock ops, peripheral gate clock ops, sdmmc mux

Re: [PATCH v3 1/2] khugepaged: enable collapse pmd for pte-mapped THP

2019-08-02 Thread Song Liu
> On Aug 2, 2019, at 9:21 AM, Oleg Nesterov wrote: > > On 08/01, Song Liu wrote: >> >> +static int khugepaged_add_pte_mapped_thp(struct mm_struct *mm, >> + unsigned long addr) >> +{ >> +struct mm_slot *mm_slot; >> +int ret = 0; >> + >> +/* hold

Re: [PATCH] KEYS: trusted: allow module init if TPM is inactive or deactivated

2019-08-02 Thread Tyler Hicks
On 2019-08-02 15:23:43, Tyler Hicks wrote: > On 2019-08-02 22:42:26, Jarkko Sakkinen wrote: > > On Fri, Aug 02, 2019 at 09:27:22AM -0500, Tyler Hicks wrote: > > > On 2019-08-02 10:21:16, Roberto Sassu wrote: > > > > On 8/1/2019 6:32 PM, Jarkko Sakkinen wrote: > > > > > On Mon, Jul 15, 2019 at

Re: [PATCH v7 07/20] clk: tegra: clk-periph: Add save and restore support

2019-08-02 Thread Sowjanya Komatineni
On 8/2/19 1:17 PM, Dmitry Osipenko wrote: 02.08.2019 23:13, Dmitry Osipenko пишет: 02.08.2019 21:33, Sowjanya Komatineni пишет: On 8/2/19 5:38 AM, Dmitry Osipenko wrote: 02.08.2019 2:49, Sowjanya Komatineni пишет: On 8/1/19 4:19 PM, Sowjanya Komatineni wrote: On 8/1/19 2:30 PM, Sowjanya

Re: [PATCH v4] watchdog: alim1535: Rewriting of alim1535 driver to use watchdog subsystem

2019-08-02 Thread Mark Balantzyan
Dear Ondrej, As advised by another kernel maintainer, patches for antiquated drivers like these (this one which I test-built successfully) should hang around until someone with the hardware volunteers to test it. Therefore, I would provide the software and the individual would serve as the

[PATCH] staging: isdn: remove unnecessary parentheses

2019-08-02 Thread Thiago Bonotto
Fix the following checkpatch error: ERROR: return is not a function, parentheses are not required FILE: drivers/staging/isdn/hysdn/hysdn_net.c:289: +return (0);/* and return success */ Signed-off-by: Thiago Bonotto --- Hello, this is my first contribution :) Thanks for

Re: [PATCH] KEYS: trusted: allow module init if TPM is inactive or deactivated

2019-08-02 Thread Tyler Hicks
On 2019-08-02 22:42:26, Jarkko Sakkinen wrote: > On Fri, Aug 02, 2019 at 09:27:22AM -0500, Tyler Hicks wrote: > > On 2019-08-02 10:21:16, Roberto Sassu wrote: > > > On 8/1/2019 6:32 PM, Jarkko Sakkinen wrote: > > > > On Mon, Jul 15, 2019 at 06:44:28PM +0200, Roberto Sassu wrote: > > > > >

Re: [PATCH v2 1/6] hwrng: core: Freeze khwrng thread during suspend

2019-08-02 Thread Jarkko Sakkinen
On Tue, Jul 16, 2019 at 03:45:13PM -0700, Stephen Boyd wrote: > The hwrng_fill() function can run while devices are suspending and > resuming. If the hwrng is behind a bus such as i2c or SPI and that bus > is suspended, the hwrng may hang the bus while attempting to add some > randomness. It's

[PATCH] perf tools: Replace MAX_NR_CPUS with nr_cpus_onln

2019-08-02 Thread Kyle Meyer
The variables nr_cpus_onln and max_caches are dynamic alternatives for MAX_NR_CPUS and MAX_CACHES as they are initialized at runtime. MAX_NR_CPUS is still used by DECLARE_BITMAP() at compile time, however, nr_cpus_onln replaces it elsewhere throughout perf. This patch was tested using "perf

Re: [PATCH v7 07/20] clk: tegra: clk-periph: Add save and restore support

2019-08-02 Thread Dmitry Osipenko
02.08.2019 21:43, Sowjanya Komatineni пишет: > > On 8/2/19 5:32 AM, Dmitry Osipenko wrote: >> 31.07.2019 3:20, Sowjanya Komatineni пишет: >>> This patch implements save and restore context for peripheral fixed >>> clock ops, peripheral gate clock ops, sdmmc mux clock ops, and >>> peripheral clock

[PATCH] perf tools: Replace MAX_NR_CPUS with nr_cpus_onln

2019-08-02 Thread Kyle Meyer
The variables nr_cpus_onln and max_caches are dynamic alternatives for MAX_NR_CPUS and MAX_CACHES as they are initialized at runtime. MAX_NR_CPUS is still used by DECLARE_BITMAP() at compile time, however, nr_cpus_onln replaces it elsewhere throughout perf. This patch was tested using "perf

Re: [PATCH v7 07/20] clk: tegra: clk-periph: Add save and restore support

2019-08-02 Thread Dmitry Osipenko
02.08.2019 23:13, Dmitry Osipenko пишет: > 02.08.2019 21:33, Sowjanya Komatineni пишет: >> >> On 8/2/19 5:38 AM, Dmitry Osipenko wrote: >>> 02.08.2019 2:49, Sowjanya Komatineni пишет: On 8/1/19 4:19 PM, Sowjanya Komatineni wrote: > On 8/1/19 2:30 PM, Sowjanya Komatineni wrote: >> On

Re: [PATCH v7 07/20] clk: tegra: clk-periph: Add save and restore support

2019-08-02 Thread Dmitry Osipenko
02.08.2019 21:33, Sowjanya Komatineni пишет: > > On 8/2/19 5:38 AM, Dmitry Osipenko wrote: >> 02.08.2019 2:49, Sowjanya Komatineni пишет: >>> On 8/1/19 4:19 PM, Sowjanya Komatineni wrote: On 8/1/19 2:30 PM, Sowjanya Komatineni wrote: > On 8/1/19 1:54 PM, Dmitry Osipenko wrote: >>

Re: [PATCH V2 01/10] x86/CPU: Expose if cache is inclusive of lower level caches

2019-08-02 Thread Reinette Chatre
Hi Borislav, On 8/2/2019 11:03 AM, Borislav Petkov wrote: > On Tue, Jul 30, 2019 at 10:29:35AM -0700, Reinette Chatre wrote: >> +/* >> + * According to details about CPUID instruction documented in Intel SDM >> + * the third bit of the EDX register is used to indicate if complex >> + * cache

Re: kernel BUG at mm/vmscan.c:LINE! (2)

2019-08-02 Thread Minchan Kim
On Fri, Aug 02, 2019 at 10:58:05AM -0700, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:0d8b3265 Add linux-next specific files for 20190729 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=1663c7d060 > kernel

Re: [PATCH v16 1/2] spi: Add Renesas R-Car Gen3 RPC-IF SPI controller driver

2019-08-02 Thread Sergei Shtylyov
Hello! On 07/31/2019 05:14 AM, Mason Yang wrote: > Add a driver for Renesas R-Car Gen3 RPC-IF SPI controller. > > Signed-off-by: Mason Yang > Signed-off-by: Sergei Shtylyov [...] > diff --git a/drivers/spi/spi-renesas-rpc.c b/drivers/spi/spi-renesas-rpc.c > new file mode 100644 > index

Re: Device to write to all (serial) consoles

2019-08-02 Thread Paul Menzel
Dear Greg, On 02.08.19 18:02, Greg Kroah-Hartman wrote: On Fri, Aug 02, 2019 at 03:23:08PM +0200, Paul Menzel wrote: On a lot of devices, like servers, you have more than one serial console, and you do not always know, how they are numbered. Therefore, we start a console on ttyS0 and ttyS1.

[PATCH] isdn: hysdn: Fix error spaces around '*'

2019-08-02 Thread Jose Carlos Cazarin Filho
Fix checkpath error: CHECK: spaces preferred around that '*' (ctx:WxV) +extern hysdn_card *card_root;/* pointer to first card */ Signed-off-by: Jose Carlos Cazarin Filho --- Hello all! This is my first commit to the Linux Kernel, I'm doing this to learn and be able to contribute more

Re: [PATCH] phy: qcom-qmp: Correct READY_STATUS poll break condition

2019-08-02 Thread Marc Gonzalez
On 23/07/2019 12:31, Marc Gonzalez wrote: > On 19/07/2019 17:50, Marc Gonzalez wrote: > >> On 13/06/2019 11:10, Marc Gonzalez wrote: >> >>> Here are my observations for a 8998 board: >>> >>> 1) If I apply only the readl_poll_timeout() fix (not the mask_pcs_ready >>> fixup) >>> qcom_pcie_probe()

Re: [PATCH net-next v2] net: phy: broadcom: add 1000Base-X support for BCM54616S

2019-08-02 Thread Tao Ren
On 8/2/19 7:50 AM, Andrew Lunn wrote: >> +static int bcm54616s_read_status(struct phy_device *phydev) >> +{ >> +int err; >> + >> +err = genphy_read_status(phydev); >> + >> +/* 1000Base-X register set doesn't provide speed fields: the >> + * link speed is always 1000 Mb/s as long as

Re: Kernel 4.14 + has 100 times higher IO latency than Kernel 4.4 with raid1

2019-08-02 Thread Paul Menzel
Dear Jinpu, On 02.08.19 16:48, Jinpu Wang wrote: We found a problem regarding much higher IO latency when running kernel 4.4.131 compare to 4.14.133, tried with latest upstream 5.3-rc2, same result. Reproducer: 1 create md raid1 with 2 ram disks: sudo mdadm -C /dev/md0 -l1 -n2 -e1.2

[PATCH] drivers:staging:isdn:hysdn brace same line if

2019-08-02 Thread Fernando Eckhardt Valle
Fix checkpatch error "ERROR: that open brace { should be on the previous line" in drivers/staging/isdn/hysdn/hycapi.c:51. Signed-off-by: Fernando Eckhardt Valle --- drivers/staging/isdn/hysdn/hycapi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH] isdn: hysdn: fix code style error from checkpatch

2019-08-02 Thread Ricardo Bruno Lopes da Silva
Fix error bellow from checkpatch. WARNING: Block comments use * on subsequent lines +/*** + Signed-off-by: Ricardo Bruno Lopes da Silva --- Hi! This is my first patch, I am learning how to contribute to Linux kernel. Let me know if you

Re: [PATCH v2 5/6] tpm: add driver for cr50 on SPI

2019-08-02 Thread Jarkko Sakkinen
On Thu, Aug 01, 2019 at 09:02:02AM -0700, Stephen Boyd wrote: > Quoting Alexander Steffen (2019-07-19 00:53:00) > > On 18.07.2019 20:11, Stephen Boyd wrote: > > > Quoting Alexander Steffen (2019-07-18 09:47:22) > > >> On 17.07.2019 23:38, Stephen Boyd wrote: > > >>> Quoting Stephen Boyd

Re: [PATCH] KEYS: trusted: allow module init if TPM is inactive or deactivated

2019-08-02 Thread Jarkko Sakkinen
On Fri, Aug 02, 2019 at 09:27:22AM -0500, Tyler Hicks wrote: > On 2019-08-02 10:21:16, Roberto Sassu wrote: > > On 8/1/2019 6:32 PM, Jarkko Sakkinen wrote: > > > On Mon, Jul 15, 2019 at 06:44:28PM +0200, Roberto Sassu wrote: > > > > According to the bug report at

[PATCH] asm-generic: fix variable 'p4d' set but not used

2019-08-02 Thread Qian Cai
GCC throws a warning on an arm64 system since the commit 9849a5697d3d ("arch, mm: convert all architectures to use 5level-fixup.h"), mm/kasan/init.c: In function 'kasan_free_p4d': mm/kasan/init.c:344:9: warning: variable 'p4d' set but not used [-Wunused-but-set-variable] p4d_t *p4d;

Re: [PATCH v4 4/4] net: phy: realtek: configure RTL8211E LEDs

2019-08-02 Thread Matthias Kaehlcke
Hi Andrew, On Fri, Aug 02, 2019 at 08:18:40PM +0200, Andrew Lunn wrote: > On Thu, Aug 01, 2019 at 12:07:59PM -0700, Matthias Kaehlcke wrote: > > Configure the RTL8211E LEDs behavior when the device tree property > > 'realtek,led-modes' is specified. note to self: update commit message > >

Re: [PATCH] KEYS: trusted: allow module init if TPM is inactive or deactivated

2019-08-02 Thread Jarkko Sakkinen
On Fri, Aug 02, 2019 at 10:21:16AM +0200, Roberto Sassu wrote: > On 8/1/2019 6:32 PM, Jarkko Sakkinen wrote: > > On Mon, Jul 15, 2019 at 06:44:28PM +0200, Roberto Sassu wrote: > > > According to the bug report at https://bugs.archlinux.org/task/62678, > > > the trusted module is a dependency of

Re: [PATCH v4 6/9] leds: multicolor: Introduce a multicolor class definition

2019-08-02 Thread Jacek Anaszewski
Dan, On 8/2/19 4:14 PM, Dan Murphy wrote: > Jacek > > On 7/31/19 3:44 PM, Jacek Anaszewski wrote: >> Dan, >> > [...] >> +    for (i = 0; i < mcled_cdev->num_leds; i++) { >> +    ret = sscanf(buf + offset, "%i%n", [i], ); >> +    if (ret != 1) >> +    break; >> + >> +   

[PATCH v2] mm: memcontrol: switch to rcu protection in drain_all_stock()

2019-08-02 Thread Roman Gushchin
Commit 72f0184c8a00 ("mm, memcg: remove hotplug locking from try_charge") introduced css_tryget()/css_put() calls in drain_all_stock(), which are supposed to protect the target memory cgroup from being released during the mem_cgroup_is_descendant() call. However, it's not completely safe. In

Re: [PATCH] memremap: move from kernel/ to mm/

2019-08-02 Thread Andrew Morton
On Fri, 2 Aug 2019 10:32:30 +0200 Christoph Hellwig wrote: > Andrew, > > I've seen you've queued this up in -mm, but the explicit intent here was > to quickly merge this after -rc1 so that the move doesn't conflict with > further development for 5.3. Didn't know that. > Any chance you could

Re: Possible mem cgroup bug in kernels between 4.18.0 and 5.3-rc1.

2019-08-02 Thread Michal Hocko
On Fri 02-08-19 11:00:55, Masoud Sharbiani wrote: > > > > On Aug 2, 2019, at 7:41 AM, Michal Hocko wrote: > > > > On Fri 02-08-19 07:18:17, Masoud Sharbiani wrote: > >> > >> > >>> On Aug 2, 2019, at 12:40 AM, Michal Hocko wrote: > >>> > >>> On Thu 01-08-19 11:04:14, Masoud Sharbiani wrote:

Re: [PATCH v3 2/3] mm/hmm: fix ZONE_DEVICE anon page mapping reuse

2019-08-02 Thread Andrew Morton
On Fri, 2 Aug 2019 10:31:41 +0200 Christoph Hellwig wrote: > Andrew, > > Any reason the fixes haven't made it to mainline yet? I generally let fixes bake in -next for a week or two, unless they appear to be impeding ongoing test [3/3] shows no sign of having been reviewed, btw.

[PATCH block 2/2] writeback, cgroup: inode_switch_wbs() shouldn't give up on wb_switch_rwsem trylock fail

2019-08-02 Thread Tejun Heo
As inode wb switching may make sync(2) miss some inodes, they're synchronized using wb_switch_rwsem so that no wb switching happens while sync(2) is in progress. In addition to synchronizing the actual switching, the rwsem is also used to prevent queueing new switch attempts while sync(2) is in

[PATCH block 1/2] writeback, cgroup: Adjust WB_FRN_TIME_CUT_DIV to accelerate foreign inode switching

2019-08-02 Thread Tejun Heo
WB_FRN_TIME_CUT_DIV is used to tell the foreign inode detection logic to ignore short writeback rounds to prevent getting confused by a burst of short writebacks. The parameter is currently 2 meaning that anything smaller than half of the running average writback duration will be ignored. This

Re: [PATCH V2] mlx5: Fix formats with line continuation whitespace

2019-08-02 Thread Doug Ledford
On Fri, 2019-08-02 at 18:32 +, Saeed Mahameed wrote: > On Fri, 2019-08-02 at 11:09 -0700, Joe Perches wrote: > > On Tue, 2018-11-06 at 16:34 -0500, Doug Ledford wrote: > > > On Thu, 2018-11-01 at 09:34 +0200, Leon Romanovsky wrote: > > > > On Thu, Nov 01, 2018 at 12:24:08AM -0700, Joe Perches

Re: [PATCH 1/3] drivers: hv: vmbus: Introduce latency testing

2019-08-02 Thread Branden Bonaby
On Fri, Aug 02, 2019 at 09:32:59AM +0200, Vitaly Kuznetsov wrote: > Branden Bonaby writes: > > > Introduce user specified latency in the packet reception path. > > > > Signed-off-by: Branden Bonaby > > --- > > drivers/hv/connection.c | 5 + > > drivers/hv/ring_buffer.c | 10 ++ >

Re: [PATCH AUTOSEL 4.4 13/17] ARM: davinci: fix sleep.S build error on ARMv4

2019-08-02 Thread Arnd Bergmann
On Fri, Aug 2, 2019 at 3:27 PM Sasha Levin wrote: > > From: Arnd Bergmann > > [ Upstream commit d64b212ea960db4276a1d8372bd98cb861dfcbb0 ] > > When building a multiplatform kernel that includes armv4 support, > the default target CPU does not support the blx instruction, > which leads to a build

Re: [PATCH 2/3] drivers: hv: vmbus: add fuzz test attributes to sysfs

2019-08-02 Thread Branden Bonaby
On Fri, Aug 02, 2019 at 09:34:40AM +0200, Vitaly Kuznetsov wrote: > Branden Bonaby writes: > > > Expose the test parameters as part of the sysfs channel attributes. > > We will control the testing state via these attributes. > > > > Signed-off-by: Branden Bonaby > > --- > >

Re: [PATCH 0/3] hv: vmbus: add fuzz testing to hv devices

2019-08-02 Thread Branden Bonaby
On Fri, Aug 02, 2019 at 09:30:18AM +0200, Vitaly Kuznetsov wrote: > Branden Bonaby writes: > > > This patchset introduces a testing framework for Hyper-V drivers. > > This framework allows us to introduce delays in the packet receive > > path on a per-device basis. While the current code only

Re: [PATCH 09/20] ext4: Initialize timestamps limits

2019-08-02 Thread Arnd Bergmann
On Fri, Aug 2, 2019 at 5:43 PM Theodore Y. Ts'o wrote: > > On Fri, Aug 02, 2019 at 12:39:41PM +0200, Arnd Bergmann wrote: > > Is it correct to assume that this kind of file would have to be > > created using the ext3.ko file system implementation that was > > removed in linux-4.3, but not usiing

Applied "ASoC: amd: acp3x: use dma_ops of parent device for acp3x dma driver" to the asoc tree

2019-08-02 Thread Mark Brown
The patch ASoC: amd: acp3x: use dma_ops of parent device for acp3x dma driver has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in

Re: [PATCH RFC] mm/memcontrol: reclaim severe usage over high limit in get_user_pages loop

2019-08-02 Thread Yang Shi
On Fri, Aug 2, 2019 at 2:35 AM Michal Hocko wrote: > > On Thu 01-08-19 14:00:51, Yang Shi wrote: > > On Mon, Jul 29, 2019 at 11:48 AM Michal Hocko wrote: > > > > > > On Mon 29-07-19 10:28:43, Yang Shi wrote: > > > [...] > > > > I don't worry too much about scale since the scale issue is not

Re: [PATCH 5/6] lib/refcount: Improve performance of generic REFCOUNT_FULL code

2019-08-02 Thread Peter Zijlstra
On Fri, Aug 02, 2019 at 11:09:59AM +0100, Will Deacon wrote: > static inline void refcount_add(int i, refcount_t *r) > { > + int old = atomic_fetch_add_relaxed(i, >refs); > + > + WARN_ONCE(!old, "refcount_t: addition on 0; use-after-free.\n"); > + if (unlikely(old <= 0 || old + i <=

[PATCH] PCI: hv: Detect and fix Hyper-V PCI domain number collision

2019-08-02 Thread Haiyang Zhang
Due to Azure host agent settings, the device instance ID's bytes 8 and 9 are no longer unique. This causes some of the PCI devices not showing up in VMs with multiple passthrough devices, such as GPUs. So, as recommended by Azure host team, we now use the bytes 4 and 5 which usually provide unique

Re: [PATCH 4/6] lib/refcount: Move bulk of REFCOUNT_FULL implementation into header

2019-08-02 Thread Peter Zijlstra
On Fri, Aug 02, 2019 at 11:09:58AM +0100, Will Deacon wrote: > In an effort to improve performance of the REFCOUNT_FULL implementation, > move the bulk of its functions into linux/refcount.h. This allows them > to be inlined in the same way as if they had been provided via >

Re: [PATCH 0/6] Rework REFCOUNT_FULL using atomic_fetch_* operations

2019-08-02 Thread Peter Zijlstra
On Fri, Aug 02, 2019 at 11:09:54AM +0100, Will Deacon wrote: > Although the revised implementation passes all of the lkdtm REFCOUNT > tests, there is a race condition introduced by the deferred saturation > whereby if INT_MIN + 2 tasks take a reference on a refcount at > REFCOUNT_MAX and are each

Re: [PATCH 4.9 000/223] 4.9.187-stable review

2019-08-02 Thread Naresh Kamboju
On Fri, 2 Aug 2019 at 15:10, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.187 release. > There are 223 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. > >

Re: [PATCH v7 07/20] clk: tegra: clk-periph: Add save and restore support

2019-08-02 Thread Sowjanya Komatineni
On 8/2/19 5:32 AM, Dmitry Osipenko wrote: 31.07.2019 3:20, Sowjanya Komatineni пишет: This patch implements save and restore context for peripheral fixed clock ops, peripheral gate clock ops, sdmmc mux clock ops, and peripheral clock ops. During system suspend, core power goes off and looses

Re: [PATCH] net/mlx4_core: Use refcount_t for refcount

2019-08-02 Thread Saeed Mahameed
On Sat, 2019-08-03 at 00:10 +0800, Chuhong Yuan wrote: > Chuhong Yuan 于2019年8月2日周五 下午8:10写道: > > refcount_t is better for reference counters since its > > implementation can prevent overflows. > > So convert atomic_t ref counters to refcount_t. > > > > Also convert refcount from 0-based to

Re: [PATCH v7 07/20] clk: tegra: clk-periph: Add save and restore support

2019-08-02 Thread Sowjanya Komatineni
On 8/2/19 5:38 AM, Dmitry Osipenko wrote: 02.08.2019 2:49, Sowjanya Komatineni пишет: On 8/1/19 4:19 PM, Sowjanya Komatineni wrote: On 8/1/19 2:30 PM, Sowjanya Komatineni wrote: On 8/1/19 1:54 PM, Dmitry Osipenko wrote: 01.08.2019 23:31, Sowjanya Komatineni пишет: On 8/1/19 1:17 PM,

Re: [PATCH V2] mlx5: Fix formats with line continuation whitespace

2019-08-02 Thread Saeed Mahameed
On Fri, 2019-08-02 at 11:09 -0700, Joe Perches wrote: > On Tue, 2018-11-06 at 16:34 -0500, Doug Ledford wrote: > > On Thu, 2018-11-01 at 09:34 +0200, Leon Romanovsky wrote: > > > On Thu, Nov 01, 2018 at 12:24:08AM -0700, Joe Perches wrote: > > > > The line continuations unintentionally add

Re: [PATCH v4 1/4] dt-bindings: net: phy: Add subnode for LED configuration

2019-08-02 Thread Matthias Kaehlcke
On Fri, Aug 02, 2019 at 06:57:55PM +0200, Andrew Lunn wrote: > On Thu, Aug 01, 2019 at 12:07:56PM -0700, Matthias Kaehlcke wrote: > > The LED behavior of some Ethernet PHYs is configurable. Add an > > optional 'leds' subnode with a child node for each LED to be > > configured. The binding aims to

Re: [PATCH v4 4/4] net: phy: realtek: configure RTL8211E LEDs

2019-08-02 Thread Andrew Lunn
On Thu, Aug 01, 2019 at 12:07:59PM -0700, Matthias Kaehlcke wrote: > Configure the RTL8211E LEDs behavior when the device tree property > 'realtek,led-modes' is specified. > > Signed-off-by: Matthias Kaehlcke Hi Matthias I was more thinking of adding a new driver call to the PHY driver API, to

Re: [PATCH] linux/bits.h: Add compile time sanity check of GENMASK inputs

2019-08-02 Thread Rikard Falkeborn
On Fri, Aug 02, 2019 at 12:25:06PM +0900, Masahiro Yamada wrote: > On Fri, Aug 2, 2019 at 12:14 PM Joe Perches wrote: > > > > On Fri, 2019-08-02 at 10:40 +0900, Masahiro Yamada wrote: > > > On Thu, Aug 1, 2019 at 4:27 AM Joe Perches wrote: > > > > On Wed, 2019-07-31 at 21:03 +0200, Rikard

Re: [PATCH V2] mlx5: Fix formats with line continuation whitespace

2019-08-02 Thread Joe Perches
On Tue, 2018-11-06 at 16:34 -0500, Doug Ledford wrote: > On Thu, 2018-11-01 at 09:34 +0200, Leon Romanovsky wrote: > > On Thu, Nov 01, 2018 at 12:24:08AM -0700, Joe Perches wrote: > > > The line continuations unintentionally add whitespace so > > > instead use coalesced formats to remove the

Re: Possible mem cgroup bug in kernels between 4.18.0 and 5.3-rc1.

2019-08-02 Thread Masoud Sharbiani
> On Aug 2, 2019, at 7:41 AM, Michal Hocko wrote: > > On Fri 02-08-19 07:18:17, Masoud Sharbiani wrote: >> >> >>> On Aug 2, 2019, at 12:40 AM, Michal Hocko wrote: >>> >>> On Thu 01-08-19 11:04:14, Masoud Sharbiani wrote: Hey folks, I’ve come across an issue that affects most of

Re: [PATCH V2 01/10] x86/CPU: Expose if cache is inclusive of lower level caches

2019-08-02 Thread Borislav Petkov
On Tue, Jul 30, 2019 at 10:29:35AM -0700, Reinette Chatre wrote: > Deterministic cache parameters can be learned from CPUID leaf 04H. > Executing CPUID with a particular index in EAX would return the cache > parameters associated with that index in the EAX, EBX, ECX, and EDX > registers. > > At

Re: [PATCH v2 5/6] tpm: add driver for cr50 on SPI

2019-08-02 Thread Stephen Boyd
Quoting Jarkko Sakkinen (2019-08-02 08:21:06) > On Thu, 2019-08-01 at 09:02 -0700, Stephen Boyd wrote: > > Quoting Alexander Steffen (2019-07-19 00:53:00) > > > On 18.07.2019 20:11, Stephen Boyd wrote: > > > > Quoting Alexander Steffen (2019-07-18 09:47:22) > > > > > On 17.07.2019 23:38, Stephen

Re: [PATCH] clk: Fix falling back to legacy parent string matching

2019-08-02 Thread Stephen Boyd
Quoting Stephen Boyd (2019-08-01 10:12:09) > Calls to clk_core_get() will return ERR_PTR(-EINVAL) if we've started > migrating a clk driver to use the DT based style of specifying parents > but we haven't made any DT updates yet. This happens when we pass a > non-NULL value as the 'name' argument

Re: [PATCH v4 2/4] net: phy: Add function to retrieve LED configuration from the DT

2019-08-02 Thread Matthias Kaehlcke
On Fri, Aug 02, 2019 at 06:38:10PM +0200, Andrew Lunn wrote: > On Thu, Aug 01, 2019 at 12:07:57PM -0700, Matthias Kaehlcke wrote: > > Add a phylib function for retrieving PHY LED configuration that > > is specified in the device tree using the generic binding. LEDs > > can be configured to be 'on'

kernel BUG at mm/vmscan.c:LINE! (2)

2019-08-02 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:0d8b3265 Add linux-next specific files for 20190729 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1663c7d060 kernel config: https://syzkaller.appspot.com/x/.config?x=ae96f3b8a7e885f7

Re: [PATCH V6 14/21] clk: tegra210: Add suspend and resume support

2019-08-02 Thread Stephen Boyd
Quoting Dmitry Osipenko (2019-07-22 00:12:17) > 22.07.2019 10:09, Dmitry Osipenko пишет: > > 22.07.2019 9:52, Sowjanya Komatineni пишет: > >> > >> On 7/21/19 11:10 PM, Dmitry Osipenko wrote: > >>> 22.07.2019 1:45, Sowjanya Komatineni пишет: > On 7/21/19 2:38 PM, Dmitry Osipenko wrote: > >

Re: [PATCH] net: sctp: Rename fallthrough label to unhandled

2019-08-02 Thread Neil Horman
On Tue, Jul 30, 2019 at 10:04:37PM -0700, Joe Perches wrote: > fallthrough may become a pseudo reserved keyword so this only use of > fallthrough is better renamed to allow it. > > Signed-off-by: Joe Perches > --- > net/sctp/sm_make_chunk.c | 12 ++-- > 1 file changed, 6 insertions(+),

Assist Request From You

2019-08-02 Thread Sgt,Arnett David
-- Hello Greetings. I am happy to have you here as a friend, i hope all is well with you, and how are you enjoying your day over there in your country? My name is Sergeant ,Arnett David. I’m 28 years old an orphan my parents died when I was five years old nobody to help me,I send you my

Re: [PATCH] net: sctp: Rename fallthrough label to unhandled

2019-08-02 Thread Joe Perches
On Wed, 2019-07-31 at 08:16 -0400, Neil Horman wrote: > On Wed, Jul 31, 2019 at 04:32:43AM -0700, Joe Perches wrote: > > On Wed, 2019-07-31 at 07:19 -0400, Neil Horman wrote: > > > On Tue, Jul 30, 2019 at 10:04:37PM -0700, Joe Perches wrote: > > > > fallthrough may become a pseudo reserved keyword

Re: [PATCH v4 0/8] recordmcount cleanups

2019-08-02 Thread Steven Rostedt
On Wed, 31 Jul 2019 11:24:08 -0700 Matt Helsley wrote: > recordmcount presents unnecessary challenges to reviewers: > > It pretends to wrap access to the ELF file in > uread/uwrite/ulseek functions which aren't related > the way you might think (i.e. not the way read, write, >

Re: [RFC PATCH 35/40] soundwire: intel: export helper to exit reset

2019-08-02 Thread Pierre-Louis Bossart
On 8/2/19 12:31 PM, Vinod Koul wrote: On 25-07-19, 18:40, Pierre-Louis Bossart wrote: Here as well I squashed this with earlier patches to fix the init sequence in one shot Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/cadence_master.c | 9 +++--

Re: [RFC PATCH 2/3] mm, compaction: use MIN_COMPACT_COSTLY_PRIORITY everywhere for costly orders

2019-08-02 Thread Mike Kravetz
On 8/2/19 5:05 AM, Vlastimil Babka wrote: > > On 8/1/19 10:33 PM, Mike Kravetz wrote: >> On 8/1/19 6:01 AM, Vlastimil Babka wrote: >>> Could you try testing the patch below instead? It should hopefully >>> eliminate the stalls. If it makes hugepage allocation give up too early, >>> we'll know we

Re: [RFC PATCH 34/40] soundwire: intel: ignore disabled links for suspend/resume

2019-08-02 Thread Pierre-Louis Bossart
On 8/2/19 12:30 PM, Vinod Koul wrote: On 25-07-19, 18:40, Pierre-Louis Bossart wrote: Please add explanation why.. yes missed this Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/intel.c | 12 1 file changed, 12 insertions(+) diff --git

Re: [alsa-devel] [RFC PATCH 31/40] soundwire: intel: move shutdown() callback and don't export symbol

2019-08-02 Thread Pierre-Louis Bossart
On 8/2/19 12:28 PM, Vinod Koul wrote: On 26-07-19, 09:46, Pierre-Louis Bossart wrote: On 7/26/19 5:38 AM, Cezary Rojewski wrote: On 2019-07-26 01:40, Pierre-Louis Bossart wrote: +void intel_shutdown(struct snd_pcm_substream *substream, +    struct snd_soc_dai *dai) +{ +    struct

Re: [PATCH 7/7] tracing: Un-export ftrace_set_clr_event

2019-08-02 Thread Steven Rostedt
On Tue, 30 Jul 2019 15:29:41 -0700 Divya Indi wrote: > Hi Steven, > > On 7/29/19 5:51 PM, Steven Rostedt wrote: > > On Mon, 29 Jul 2019 17:02:34 -0700 > > Divya Indi wrote: > > > >> Use "trace_array_set_clr_event" to enable/disable events to a trace > >> array from other kernel

[PATCH V4 2/2] mmc: sdhci: Fix O2 Host data read/write DLL Lock Phase shift issue

2019-08-02 Thread Shirley Her (SC)
Fix data read/write error in HS200 mode due to chip DLL lock phase shift Signed-off-by:Shirley Her --- change in V4: 1. add a bug fix for V3 change in V3: 1. add more explanation in dll_recovery and execute_tuning function 2. move dll_adjust_count to O2_host struct 3. fix some coding style

[PATCH V4 1/2] mmc: sdhci: Fix O2 Host data read/write DLL Lock Phase shift issue

2019-08-02 Thread Shirley Her (SC)
Fix data read/write error in HS200 mode due to chip DLL lock phase shift Signed-off-by:Shirley Her --- change in V4: 1. add a bug fix in V3 change in V3: 1. add more explanation in dll_recovery and execute_tuning function 2. move dll_adjust_count to O2_host struct 3. fix some coding style

Re: [alsa-devel] [RFC PATCH 06/40] soundwire: intel: prevent possible dereference in hw_params

2019-08-02 Thread Vinod Koul
On 02-08-19, 11:52, Pierre-Louis Bossart wrote: > > > On 8/2/19 10:57 AM, Vinod Koul wrote: > > On 02-08-19, 10:16, Pierre-Louis Bossart wrote: > > > > > > > > > On 8/2/19 6:55 AM, Vinod Koul wrote: > > > > On 25-07-19, 18:39, Pierre-Louis Bossart wrote: > > > > > This should not happen in

Re: [PATCH] mm: memcontrol: switch to rcu protection in drain_all_stock()

2019-08-02 Thread Roman Gushchin
On Fri, Aug 02, 2019 at 07:14:51PM +0200, Michal Hocko wrote: > On Fri 02-08-19 17:00:34, Roman Gushchin wrote: > > On Fri, Aug 02, 2019 at 10:59:47AM +0200, Michal Hocko wrote: > > > On Fri 02-08-19 10:04:22, Michal Hocko wrote: > > > > On Thu 01-08-19 16:35:13, Roman Gushchin wrote: > > > > >

Re: [PATCH V6 01/21] irqchip: tegra: Do not disable COP IRQ during suspend

2019-08-02 Thread Dmitry Osipenko
02.08.2019 16:05, Peter De Schrijver пишет: > On Thu, Jul 25, 2019 at 01:59:09PM +0300, Dmitry Osipenko wrote: >> 25.07.2019 13:38, Peter De Schrijver пишет: >>> On Thu, Jul 25, 2019 at 01:33:48PM +0300, Peter De Schrijver wrote: On Thu, Jul 25, 2019 at 01:05:13PM +0300, Dmitry Osipenko

Re: [PATCH 2/2 v3] MIPS: Ingenic: Fix bugs when calculate bogomips/lpj.

2019-08-02 Thread Paul Burton
Hi Paul, On Thu, Aug 01, 2019 at 09:26:09PM -0400, Paul Cercueil wrote: > > diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c > > index eb527a1..2bdd3e1 100644 > > --- a/arch/mips/kernel/cpu-probe.c > > +++ b/arch/mips/kernel/cpu-probe.c > > @@ -1964,6 +1964,13 @@ static

Re: [RFC PATCH 35/40] soundwire: intel: export helper to exit reset

2019-08-02 Thread Vinod Koul
On 25-07-19, 18:40, Pierre-Louis Bossart wrote: Here as well > Signed-off-by: Pierre-Louis Bossart > --- > drivers/soundwire/cadence_master.c | 9 +++-- > drivers/soundwire/cadence_master.h | 1 + > drivers/soundwire/intel.c | 4 > 3 files changed, 12 insertions(+), 2

Re: [RFC PATCH 34/40] soundwire: intel: ignore disabled links for suspend/resume

2019-08-02 Thread Vinod Koul
On 25-07-19, 18:40, Pierre-Louis Bossart wrote: Please add explanation why.. > Signed-off-by: Pierre-Louis Bossart > --- > drivers/soundwire/intel.c | 12 > 1 file changed, 12 insertions(+) > > diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c > index

Re: [RFC PATCH 26/40] soundwire: cadence_master: fix divider setting in clock register

2019-08-02 Thread Pierre-Louis Bossart
On 8/2/19 12:19 PM, Vinod Koul wrote: On 25-07-19, 18:40, Pierre-Louis Bossart wrote: From: Rander Wang The existing code uses an OR operation which would mix the original divider setting with the new one, resulting in an invalid configuration that can make codecs hang. This looked fine but

Re: [alsa-devel] [RFC PATCH 31/40] soundwire: intel: move shutdown() callback and don't export symbol

2019-08-02 Thread Vinod Koul
On 26-07-19, 09:46, Pierre-Louis Bossart wrote: > > > On 7/26/19 5:38 AM, Cezary Rojewski wrote: > > On 2019-07-26 01:40, Pierre-Louis Bossart wrote: > > > +void intel_shutdown(struct snd_pcm_substream *substream, > > > +    struct snd_soc_dai *dai) > > > +{ > > > +    struct

Re: [RFC PATCH 25/40] soundwire: intel: use BIOS information to set clock dividers

2019-08-02 Thread Pierre-Louis Bossart
On 8/2/19 12:17 PM, Vinod Koul wrote: On 25-07-19, 18:40, Pierre-Louis Bossart wrote: The BIOS provides an Intel-specific property, let's use it to avoid hard-coded clock dividers. Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/cadence_master.c | 26 ++

Re: [PATCH v3 0/6] mm / virtio: Provide support for unused page reporting

2019-08-02 Thread Alexander Duyck
On Fri, 2019-08-02 at 12:19 -0400, Nitesh Narayan Lal wrote: > On 8/2/19 11:13 AM, Alexander Duyck wrote: > > On Fri, 2019-08-02 at 10:41 -0400, Nitesh Narayan Lal wrote: > > > On 8/1/19 6:24 PM, Alexander Duyck wrote: > > > > This series provides an asynchronous means of reporting to a hypervisor

Re: [alsa-devel] [PATCH v2 3/3] ASoC: TDA7802: Add turn-on diagnostic routine

2019-08-02 Thread Mark Brown
On Fri, Aug 02, 2019 at 03:51:09PM +0100, Thomas Preston wrote: > On 02/08/2019 12:10, Mark Brown wrote: > > You can use a read only control for the readback, or just have it be > > triggered by overwriting the readback value. You can cache the result. > Keeping the trigger and result together

Re: [RFC PATCH] ARM: UNWINDER_FRAME_POINTER implementation for Clang

2019-08-02 Thread Nathan Huckleberry
You're right. Would pushing an extra register be an adequate fix? On Fri, Aug 2, 2019 at 7:24 AM Robin Murphy wrote: > > On 02/08/2019 00:10, Nathan Huckleberry wrote: > > The stackframe setup when compiled with clang is different. > > Since the stack unwinder expects the gcc stackframe setup it

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