Re: [RFC 3/3] dmaengine: Support for requesting channels preferring DMA domain controller

2019-09-08 Thread Peter Ujfalusi
On 08/09/2019 15.15, Vinod Koul wrote: > On 06-09-19, 17:18, Peter Ujfalusi wrote: >> In case the channel is not requested via the slave API, use the >> of_find_dma_domain() to see if a system default DMA controller is >> specified. >> >> Add new function which can be used by clients to request

Re: [PATCH 2/2] staging: iio: accel: adis16240: move out of staging

2019-09-08 Thread Ardelean, Alexandru
On Sun, 2019-09-08 at 12:09 +0100, Jonathan Cameron wrote: > On Mon, 2 Sep 2019 13:26:02 + > "Ardelean, Alexandru" wrote: > > > On Sun, 2019-09-01 at 21:59 -0300, Rodrigo Carvalho wrote: > > > Move ADIS16240 driver from staging to mainline. > > > > > > The ADIS16240 is a fully integrated

Re: [PATCH 5.2 00/94] 5.2.14-stable review

2019-09-08 Thread Naresh Kamboju
On Sun, 8 Sep 2019 at 18:19, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.2.14 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. > >

[PATCH] scsi: dpt_i2o: drop unnecessary comparison statement

2019-09-08 Thread Austin Kim
The type of 'chan' is u32 which contain non-negative value. So 'chan < 0' is statment is always false. Remove unnecessary comparison statement Signed-off-by: Austin Kim --- drivers/scsi/dpt_i2o.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/dpt_i2o.c

Re: [xfs] 610125ab1e: fsmark.app_overhead -71.2% improvement

2019-09-08 Thread Dave Chinner
On Mon, Sep 09, 2019 at 09:58:49AM +0800, kernel test robot wrote: > Greeting, > > FYI, we noticed a -71.2% improvement of fsmark.app_overhead due to commit: A negative improvement? That's somewhat ambiguous... > 0e822255f95db400 610125ab1e4b1b48dcffe74d9d8 >

Re: [RFC,v2 2/6] i2c: add I2C Address Translator (ATR) support

2019-09-08 Thread Vladimir Zapolskiy
Hi Luca, Jacopo, Wolfram, Peter, On 09/08/2019 11:45 PM, Vladimir Zapolskiy wrote: > Hi Luca, Jacopo, Wolfram, Peter, > > On 09/01/2019 05:31 PM, jacopo mondi wrote: >> Hi Luca, >>thanks for keep pushing this series! I hope we can use part of this >> for the (long time) on-going GMSL work...

Why isn't Grsecurity being sued for its long standing GPL violations?

2019-09-08 Thread gameonlinux
Hi, RMS and Bruce Perens; I noticed that recently Grsecurity's Brad Spengler (who sued you, Bruce, for speaking the truth), decided to "Flex" and basically advertise while chastising the linux community: news.ycombinator.com/item?id=20874470 Another poster then pointed out the history of

Re: [PATCH 2/2] vhost: re-introducing metadata acceleration through kernel virtual address

2019-09-08 Thread Michael S. Tsirkin
On Mon, Sep 09, 2019 at 10:18:57AM +0800, Jason Wang wrote: > > On 2019/9/8 下午7:05, Michael S. Tsirkin wrote: > > On Thu, Sep 05, 2019 at 08:27:36PM +0800, Jason Wang wrote: > > > This is a rework on the commit 7f466032dc9e ("vhost: access vq > > > metadata through kernel virtual address"). > > >

[rfc patch script] treewide conversion of __section(foo) to section("foo");

2019-09-08 Thread Joe Perches
This is an example script that could be applied to -next to get compiler coverage testing for a treewide conversion of __section(foo) to __section("foo") I compiled an x86 defconfig but the coverage for this script output, but it's possible an arch or two may have asm compilation without

Re: [vfs] 8bb3c61baf: vm-scalability.median -23.7% regression

2019-09-08 Thread Al Viro
On Sun, Sep 08, 2019 at 08:10:17PM -0700, Hugh Dickins wrote: Hmm... FWIW, I'd ended up redoing most of the thing, with hopefully sane carve-up. Differences: * we really care only about three things having been set - ->max_blocks, ->max_inodes and ->huge. This __set_bit() hack is cute,

Re: [PATCH] SoC: simple-card-utils: set 0Hz to sysclk when shutdown

2019-09-08 Thread Kuninori Morimoto
Hi Katsuhiro > >> Bad scenario as follows (mclk-fs = 256): > >> - Initialize sysclk by correct value (Ex. 12.288MHz) > >> - Codec set constraints of PCM rate by sysclk > >> 48kHz (1/256), 32kHz (1/384), 24kHz (1/512) > >> - Play 48kHz sound, it's acceptable > >> -

Re: [PATCH v4 00/10] Allwinner sunxi message box support

2019-09-08 Thread Samuel Holland
On 9/8/19 10:22 PM, Ondřej Jirman wrote: > Hello Samuel, > > On Mon, Aug 19, 2019 at 10:23:01PM -0500, Samuel Holland wrote: >> This series adds support for the "hardware message box" in sun8i, sun9i, >> and sun50i SoCs, used for communication with the ARISC management >> processor (the

Re: [PATCH] Add input file_name support for perf sched {map|latency|replay|timehist}

2019-09-08 Thread 禹舟键
PING yuzhoujian 于2019年9月3日周二 下午4:56写道: > > From: YuZhoujian > > Just add '-i' option for perf sched {map|latency|replay|timehist} > > Signed-off-by: YuZhoujian > --- > tools/perf/Documentation/perf-sched.txt | 7 +++ > tools/perf/builtin-sched.c | 4 > 2 files changed,

[PATCH V3 2/4] clk: imx: clk-pll14xx: unbypass PLL by default

2019-09-08 Thread Peng Fan
From: Peng Fan When registering the PLL, unbypass the PLL. The PLL has two bypass control bit, BYPASS and EXT_BYPASS. we will expose EXT_BYPASS to clk driver for mux usage, and keep BYPASS inside pll14xx usage. The PLL has a restriction that when M/P change, need to RESET/BYPASS pll to avoid

RE: [PATCH V2 1/4] clk: imx: pll14xx: avoid glitch when set rate

2019-09-08 Thread Peng Fan
Hi Stephen, > Subject: Re: [PATCH V2 1/4] clk: imx: pll14xx: avoid glitch when set rate > > Quoting Peng Fan (2019-08-26 02:42:14) > > From: Peng Fan > > > > According to PLL1443XA and PLL1416X spec, "When BYPASS is 0 and RESETB > > is changed from 0 to 1, FOUT starts to output unstable clock

[PATCH V3 3/4] clk: imx: imx8mm: fix pll mux bit

2019-09-08 Thread Peng Fan
From: Peng Fan pll BYPASS bit should be kept inside pll driver for glitchless freq setting following spec. If exposing the bit, that means pll driver and clk driver has two paths to touch this bit, which is wrong. So use EXT_BYPASS bit here. And drop uneeded set parent, because EXT_BYPASS

[PATCH V3 4/4] clk: imx: imx8mn: fix pll mux bit

2019-09-08 Thread Peng Fan
From: Peng Fan pll BYPASS bit should be kept inside pll driver for glitchless freq setting following spec. If exposing the bit, that means pll driver and clk driver has two paths to touch this bit, which is wrong. So use EXT_BYPASS bit here. And drop uneeded set parent, because EXT_BYPASS

[PATCH V3 1/4] clk: imx: pll14xx: avoid glitch when set rate

2019-09-08 Thread Peng Fan
From: Peng Fan According to PLL1443XA and PLL1416X spec, "When BYPASS is 0 and RESETB is changed from 0 to 1, FOUT starts to output unstable clock until lock time passes. PLL1416X/PLL1443XA may generate a glitch at FOUT." So set BYPASS when RESETB is changed from 0 to 1 to avoid glitch. In the

[PATCH V3 0/4] clk: imx8m: fix glitch/mux

2019-09-08 Thread Peng Fan
From: Peng Fan V3: Add cover-letter V2: Added patch [2,3,4]/4 and avoid glitch when prepare There is two bypass bit in the pll, BYPASS and EXT_BYPASS. There is also a restriction that to avoid glitch, need set BYPASS bit when RESETB changed from 0 to 1, otherwise there will be glitch.

[PATCH 4/7] lib: make bitmap_parse_user a wrapper on bitmap_parse

2019-09-08 Thread Yury Norov
Currently we parse user data byte after byte which leads to overcomplicating of parsing algorithm. There are no performance critical users of bitmap_parse_user(), and so we can duplicate user data to kernel buffer and simply call bitmap_parselist(). This rework lets us unify and simplify

[PATCH 5/7] lib: rework bitmap_parse()

2019-09-08 Thread Yury Norov
bitmap_parse() is ineffective and full of opaque variables and opencoded parts. It leads to hard understanding and usage of it. This rework includes: - remove bitmap_shift_left() call from the cycle. Now it makes the complexity of the algorithm as O(nbits^2). In the suggested approach the

[PATCH 6/7] lib: new testcases for bitmap_parse{_user}

2019-09-08 Thread Yury Norov
New version of bitmap_parse() is unified with bitmap_parse_list(), and therefore: - weakens rules on whitespaces and commas between hex chunks; - in addition to \0 allows using \n as the line ending symbol; - allows passing UINT_MAX or any other big number as the length of input string

[PATCH 7/7] cpumask: don't calculate length of the input string

2019-09-08 Thread Yury Norov
New design of inner bitmap_parse() allows to avoid calculating the size of a null-terminated string. Reviewed-by: Andy Shevchenko Signed-off-by: Yury Norov --- include/linux/cpumask.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/linux/cpumask.h

[PATCH 2/7] bitops: more BITS_TO_* macros

2019-09-08 Thread Yury Norov
Introduce BITS_TO_U64, BITS_TO_U32 and BITS_TO_BYTES as they are handy in the following patches (BITS_TO_U32 specifically). Reimplement tools/ version of the macros according to the kernel implementation. Also fix indentation for BITS_PER_TYPE definition. Reviewed-by: Andy Shevchenko

[PATCH 1/7] lib/string: add strnchrnul()

2019-09-08 Thread Yury Norov
New function works like strchrnul() with a length limited strings. Reviewed-by: Andy Shevchenko Signed-off-by: Yury Norov --- include/linux/string.h | 1 + lib/string.c | 17 + 2 files changed, 18 insertions(+) diff --git a/include/linux/string.h

[PATCH 3/7] lib: add test for bitmap_parse()

2019-09-08 Thread Yury Norov
The test is derived from bitmap_parselist() NO_LEN is reserved for use in following patches. Reviewed-by: Andy Shevchenko Signed-off-by: Yury Norov --- lib/test_bitmap.c | 94 ++- 1 file changed, 93 insertions(+), 1 deletion(-) diff --git

[PATCH v4 0/7] lib: rework bitmap_parse

2019-09-08 Thread Yury Norov
Hi all, I'm sorry for long delay with re-submission of this series As Andy mentioned in review for v3, I switched to isxdigit() where appropriate. I also removed my Marvell's signed-off-by since I don't work for them anymore. Thanks, Yury On top of next-20190904. Similarly to recently

Re: [PATCH v4 00/10] Allwinner sunxi message box support

2019-09-08 Thread Ondřej Jirman
Hello Samuel, On Mon, Aug 19, 2019 at 10:23:01PM -0500, Samuel Holland wrote: > This series adds support for the "hardware message box" in sun8i, sun9i, > and sun50i SoCs, used for communication with the ARISC management > processor (the platform's equivalent of the ARM SCP). The end goal is to >

Re: [PATCH 4.19 00/57] 4.19.72-stable review

2019-09-08 Thread Naresh Kamboju
On Sun, 8 Sep 2019 at 18:20, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.72 release. > There are 57 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: [vfs] 8bb3c61baf: vm-scalability.median -23.7% regression

2019-09-08 Thread Hugh Dickins
On Mon, 9 Sep 2019, Al Viro wrote: > On Sun, Sep 08, 2019 at 10:46:01PM +0100, Al Viro wrote: > > On Tue, Sep 03, 2019 at 04:41:22PM +0800, kernel test robot wrote: > > > Greeting, > > > > > > FYI, we noticed a -23.7% regression of vm-scalability.median due to > > > commit: > > > > > > > > >

Re: [PATCH] [v2] pinctrl: intel: mark intel_pin_to_gpio __maybe_unused

2019-09-08 Thread Chris Chiu
On Sat, Sep 7, 2019 at 2:52 AM Arnd Bergmann wrote: > > The intel_pin_to_gpio() function is only called by the > PM support functions and causes a warning when those are disabled: > > drivers/pinctrl/intel/pinctrl-intel.c:841:12: error: unused function > 'intel_pin_to_gpio'

Re: [HELP REQUESTED from the community] Was: Staging status of speakup

2019-09-08 Thread Gregory Nowak
On Sun, Sep 08, 2019 at 10:43:02AM +0100, Okash Khawaja wrote: > Sorry, I have only now got round to working on this. It's not complete > yet but I have assimilated the feedback and converted subjective > phrases, like "I think..." into objective statements or put them in > TODO: so that someone

Re: [PATCH] SoC: simple-card-utils: set 0Hz to sysclk when shutdown

2019-09-08 Thread Katsuhiro Suzuki
On 2019/09/09 9:31, Kuninori Morimoto wrote: Hi Katsuhiro This patch set 0Hz to sysclk when shutdown the card. Some codecs set rate constraints that derives from sysclk. This mechanism works correctly if machine drivers give fixed frequency. But simple-audio and audio-graph card set

[PATCH 2/2] cpufreq: intel_pstate: Conditional frequency invariant accounting

2019-09-08 Thread Giovanni Gherdovich
From: Srinivas Pandruvada From: Srinivas Pandruvada intel_pstate has two operating modes: active and passive. In "active" mode, the in-built scaling governor is used and in "passive" mode, the driver can be used with any governor like "schedutil". In "active" mode the utilization values from

[PATCH 1/2] x86,sched: Add support for frequency invariance

2019-09-08 Thread Giovanni Gherdovich
Implement arch_scale_freq_capacity() for 'modern' x86. This function is used by the scheduler to correctly account usage in the face of DVFS. The present patch addresses Intel processors specifically and has positive performance and performance-per-watt implications for the schedutil cpufreq

[PATCH 0/2] Add support for frequency invariance for (some) x86

2019-09-08 Thread Giovanni Gherdovich
This is a resend with of Peter Zijlstra's patch to support frequency scale-invariance on x86 from May 2018 [see 1]. I've added some modifications and included performance test results. If Peter doesn't mind, I'm slapping my name on it :) The changes from Peter's original implementation are: 1)

Re: [PATCH 2/2] vhost: re-introducing metadata acceleration through kernel virtual address

2019-09-08 Thread Jason Wang
On 2019/9/9 上午10:18, Jason Wang wrote: On a elder CPU Sandy Bridge without SMAP support. TX PPS doesn't see any difference. Why is not Kaby Lake with SMAP off the same as Sandy Bridge? I don't know, I guess it was because the atomic is l Sorry, I meant atomic costs less for Kaby Lake.

Re: [PATCH 0/2] Revert and rework on the metadata accelreation

2019-09-08 Thread Jason Wang
On 2019/9/7 下午11:03, Jason Gunthorpe wrote: On Fri, Sep 06, 2019 at 06:02:35PM +0800, Jason Wang wrote: On 2019/9/5 下午9:59, Jason Gunthorpe wrote: On Thu, Sep 05, 2019 at 08:27:34PM +0800, Jason Wang wrote: Hi: Per request from Michael and Jason, the metadata accelreation is reverted in

[PATCH v3] gpio/mpc8xxx: change irq handler from chained to normal

2019-09-08 Thread Hui Song
From: Song Hui More than one gpio controllers can share one interrupt, change the driver to request shared irq. Signed-off-by: Laurentiu Tudor Signed-off-by: Alex Marginean Signed-off-by: Song Hui --- Changes in v3: - update the patch description. Changes in v2: - delete the

Re: [PATCH 2/2] vhost: re-introducing metadata acceleration through kernel virtual address

2019-09-08 Thread Jason Wang
On 2019/9/8 下午7:05, Michael S. Tsirkin wrote: On Thu, Sep 05, 2019 at 08:27:36PM +0800, Jason Wang wrote: This is a rework on the commit 7f466032dc9e ("vhost: access vq metadata through kernel virtual address"). It was noticed that the copy_to/from_user() friends that was used to access

Re: [PATCH] bus: ti-sysc: Remove unpaired sysc_clkdm_deny_idle()

2019-09-08 Thread Keerthy
On 07/09/19 1:31 AM, Tony Lindgren wrote: Commit d098913a10f8 ("bus: ti-sysc: Fix clock handling for no-idle quirks") fixed handling for no-idle quirk modules that are not enabled by the bootloader. But it also caused unpaired clockdomain calls that won't allow idling the system. That's

Re: [PATCH pinctrl/fixes] pinctrl: aspeed: Fix spurious mux failures on the AST2500

2019-09-08 Thread Andrew Jeffery
On Thu, 29 Aug 2019, at 16:47, Andrew Jeffery wrote: > Commit 674fa8daa8c9 ("pinctrl: aspeed-g5: Delay acquisition of regmaps") > was determined to be a partial fix to the problem of acquiring the LPC > Host Controller and GFX regmaps: The AST2500 pin controller may need to > fetch syscon

[PATCH] Revert "locking/pvqspinlock: Don't wait if vCPU is preempted"

2019-09-08 Thread Wanpeng Li
From: Wanpeng Li This patch reverts commit 75437bb304b20 (locking/pvqspinlock: Don't wait if vCPU is preempted), we found great regression caused by this commit. Xeon Skylake box, 2 sockets, 40 cores, 80 threads, three VMs, each is 80 vCPUs. The score of ebizzy -M can reduce from 13000-14000

Re: [PATCH 4.14 00/40] 4.14.143-stable review

2019-09-08 Thread Naresh Kamboju
On Sun, 8 Sep 2019 at 18:15, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.143 release. > There are 40 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 4.9 00/26] 4.9.192-stable review

2019-09-08 Thread Naresh Kamboju
On Sun, 8 Sep 2019 at 18:15, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.192 release. > There are 26 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 -next] perf/smmuv3: gpio: creg-snps: use devm_platform_ioremap_resource() to simplify code

2019-09-08 Thread Yuehaibing
The patch title is wrong, fix it in v2, sorry. On 2019/9/6 22:38, YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Signed-off-by: YueHaibing > --- > drivers/perf/arm_smmuv3_pmu.c | 5 ++--- > 1 file changed, 2

[PATCH v2 -next] perf/smmuv3: use devm_platform_ioremap_resource() to simplify code

2019-09-08 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Signed-off-by: YueHaibing --- v2: fix patch title --- drivers/perf/arm_smmuv3_pmu.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/perf/arm_smmuv3_pmu.c

Re: [PATCH] net/skbuff: silence warnings under memory pressure

2019-09-08 Thread Sergey Senozhatsky
On (09/06/19 17:32), Petr Mladek wrote: > > [..] > > > I mean, really, do we need to keep calling wake up if it > > > probably never even executed? > > > > I guess ratelimiting you are talking about ("if it probably never even > > executed") would be to check if we have already called wake up on

Re: [PATCH 0/8] kconfig/hacking: make 'kernel hacking' menu better structured

2019-09-08 Thread Randy Dunlap
On 9/7/19 6:27 PM, Changbin Du wrote: > This series is a trivial improvment for the layout of 'kernel hacking' > configuration menu. Now we have many items in it which makes takes > a little time to look up them since they are not well structured yet. > > Early discussion is here: >

[PATCH v2] ftrace: simplify ftrace hash lookup code

2019-09-08 Thread Changbin Du
Function ftrace_lookup_ip() will check empty hash table. So we don't need extra check outside. Signed-off-by: Changbin Du --- v2: fix incorrect code remove. --- kernel/trace/ftrace.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/kernel/trace/ftrace.c

Re: [PATCH] SoC: simple-card-utils: set 0Hz to sysclk when shutdown

2019-09-08 Thread Kuninori Morimoto
Hi Katsuhiro > This patch set 0Hz to sysclk when shutdown the card. > > Some codecs set rate constraints that derives from sysclk. This > mechanism works correctly if machine drivers give fixed frequency. > > But simple-audio and audio-graph card set variable clock rate if > 'mclk-fs'

Re: [PATCH v3 1/4] staging: exfat: drop unused function parameter

2019-09-08 Thread Valdis Klētnieks
On Sun, 08 Sep 2019 17:35:36 -, Valentin Vidic said: > sbi parameter not used inside the function so remove it. > Also cleanup unused variables generated by this change. Tread carefully with this sort of patch - there's still a lot of places in the code where we have matching pairs of

Re: [PATCH v2 2/3] staging: exfat: drop unused field access_time_ms

2019-09-08 Thread Valdis Klētnieks
On Sun, 08 Sep 2019 16:10:14 -, Valentin Vidic said: > Not used in the exfat-fuse implementation and spec defines > this position should hold the value for CreateUtcOffset. In that case, rather than removing it, shouldn't we be *adding* code to properly set it instead? pgp9KZVl0RIgO.pgp

Re: [PATCH v2 0/5] Add support for O_MAYEXEC

2019-09-08 Thread James Morris
On Fri, 6 Sep 2019, Mickaël Salaün wrote: > Furthermore, the security policy can also be delegated to an LSM, either > a MAC system or an integrity system. For instance, the new kernel > MAY_OPENEXEC flag closes a major IMA measurement/appraisal interpreter > integrity gap by bringing the

Re: [PATCH] ftrace: simplify ftrace hash lookup code

2019-09-08 Thread Changbin Du
On Sun, Sep 08, 2019 at 08:05:45PM +0800, Changbin Du wrote: > diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h > index 005f08629b8b..74162bc4024d 100644 > --- a/kernel/trace/trace.h > +++ b/kernel/trace/trace.h > @@ -941,11 +941,6 @@ static inline int ftrace_graph_addr(struct >

Re: [vfs] 8bb3c61baf: vm-scalability.median -23.7% regression

2019-09-08 Thread Al Viro
On Sun, Sep 08, 2019 at 10:46:01PM +0100, Al Viro wrote: > On Tue, Sep 03, 2019 at 04:41:22PM +0800, kernel test robot wrote: > > Greeting, > > > > FYI, we noticed a -23.7% regression of vm-scalability.median due to commit: > > > > > > commit: 8bb3c61bafa8c1cd222ada602bb94ff23119e738 ("vfs:

Re: [PATCH] Documentation: kunit: Fix verification command

2019-09-08 Thread Brendan Higgins
On Sat, Sep 7, 2019 at 2:01 PM SeongJae Park wrote: > > kunit wrapper script ('kunit.py') receives a sub-command (only 'run' for > now) as its argument. If no sub-command is given, it prints help > message and just quit. However, an example command in the kunit > documentation for a

Re: [PATCH] xen/pci: try to reserve MCFG areas earlier

2019-09-08 Thread Igor Druzhinin
On 09/09/2019 00:30, Boris Ostrovsky wrote: > On 9/8/19 5:11 PM, Igor Druzhinin wrote: >> On 08/09/2019 19:28, Boris Ostrovsky wrote: >>> On 9/6/19 7:00 PM, Igor Druzhinin wrote: On 06/09/2019 23:30, Boris Ostrovsky wrote: > Where is MCFG parsed? pci_arch_init()? >> It happens twice:

Re: [PATCH] xen/pci: try to reserve MCFG areas earlier

2019-09-08 Thread Boris Ostrovsky
On 9/8/19 5:11 PM, Igor Druzhinin wrote: > On 08/09/2019 19:28, Boris Ostrovsky wrote: >> On 9/6/19 7:00 PM, Igor Druzhinin wrote: >>> On 06/09/2019 23:30, Boris Ostrovsky wrote: Where is MCFG parsed? pci_arch_init()? > It happens twice: >>> 1) first time early one in pci_arch_init() that

Re: [PATCH] Fixed most indent issues in tty_io.c

2019-09-08 Thread Sandro Volery
> On 8 Sep 2019, at 22:59, Theodore Y. Ts'o wrote: > Hi Ted, Thank you, for elaborating all this to me! I will try to limit my patches to the staging tree, until I feel confident enough to tackle a real coding issue in the kernel. Thanks, Sandro V

Re: [RFC][PATCH 1/1] Carry ima measurement log for arm64 via kexec_file_load

2019-09-08 Thread Mimi Zohar
Hi Prakhar, On Fri, 2019-09-06 at 16:56 -0700, prsriva wrote: > On 8/30/19 5:11 PM, Thiago Jung Bauermann wrote: > > Hello Prakhar, > > > > Answering this part from the cover letter: > > > >> The code is in most part same as powerpc, i want to get feedback as to > >> how/correct way to refactor

[PATCH] nvmem: core: fix nvmem_cell_write inline function

2019-09-08 Thread Sebastian Reichel
From: Sebastian Reichel nvmem_cell_write's buf argument uses different types based on the configuration of CONFIG_NVMEM. The function prototype for enabled NVMEM uses 'void *' type, but the static dummy function for disabled NVMEM uses 'const char *' instead. Fix the different behaviour by

Re: [PATCH 2/2] watchdog: pm8916_wdt: fix missing include

2019-09-08 Thread Guenter Roeck
On 9/6/19 1:30 PM, Jorge Ramirez-Ortiz wrote: As per Documentation/process/submit-checklist.rst, when using a facility #include the file that defines/declares that facility. Don't depend on other header files pulling in ones that you use. Correct, but then also don't include header files

Re: [PATCH 1/2] watchdog: pm8916_wdt: fix pretimeout registration flow

2019-09-08 Thread Guenter Roeck
On 9/6/19 1:30 PM, Jorge Ramirez-Ortiz wrote: When an IRQ is present in the dts, the probe function shall fail if the interrupt can not be registered. The author intended differently, and did not want registration to fail in this situation, following the logic that it is better to have a

$1,000,000.00 dollars

2019-09-08 Thread Chestin Salisbury
$1,000,000.00 dollars has been donated to you by Mavis L. Wanczyk who won the Powerball Jackpot of $758.7 million Dollars. Contact her via Email: maviswl...@gmail.com for more details

Re: [PATCH bpf-next v10 06/10] bpf,landlock: Add a new map type: inode

2019-09-08 Thread Al Viro
On Mon, Sep 09, 2019 at 12:09:57AM +0200, Mickaël Salaün wrote: > >>> +rcu_read_lock(); > >>> +ptr = htab_map_lookup_elem(map, ); > >>> +iput(inode); Wait a sec. You are doing _what_ under rcu_read_lock()? > >>> +if (IS_ERR(ptr)) { > >>> +ret = PTR_ERR(ptr); > >>> +

Re: [RFC PATCH v4 0/9] printk: new ringbuffer implementation

2019-09-08 Thread Peter Zijlstra
On Fri, Sep 06, 2019 at 04:01:26PM +0200, Peter Zijlstra wrote: > On Fri, Sep 06, 2019 at 02:42:11PM +0200, Petr Mladek wrote: > > 7. People would complain when continuous lines become less > >reliable. It might be most visible when mixing backtraces > >from all CPUs. Simple sorting by

Re: [PATCH bpf-next v10 06/10] bpf,landlock: Add a new map type: inode

2019-09-08 Thread Mickaël Salaün
On 31/07/2019 20:46, Mickaël Salaün wrote: > > On 27/07/2019 03:40, Alexei Starovoitov wrote: >> On Sun, Jul 21, 2019 at 11:31:12PM +0200, Mickaël Salaün wrote: >>> FIXME: 64-bits in the doc > > FYI, this FIXME was fixed, just not removed from this message. :) > >>> >>> This new map store

Re: [vfs] 8bb3c61baf: vm-scalability.median -23.7% regression

2019-09-08 Thread Al Viro
On Tue, Sep 03, 2019 at 04:41:22PM +0800, kernel test robot wrote: > Greeting, > > FYI, we noticed a -23.7% regression of vm-scalability.median due to commit: > > > commit: 8bb3c61bafa8c1cd222ada602bb94ff23119e738 ("vfs: Convert ramfs, shmem, > tmpfs, devtmpfs, rootfs to use the new mount

Re: [PATCH v4 3/4] arm64: use both ZONE_DMA and ZONE_DMA32

2019-09-08 Thread Catalin Marinas
On Fri, Sep 06, 2019 at 02:06:14PM +0200, Nicolas Saenz Julienne wrote: > @@ -430,7 +454,7 @@ void __init arm64_memblock_init(void) > > high_memory = __va(memblock_end_of_DRAM() - 1) + 1; > > - dma_contiguous_reserve(arm64_dma32_phys_limit); > +

Re: [PATCH] xen/pci: try to reserve MCFG areas earlier

2019-09-08 Thread Igor Druzhinin
On 08/09/2019 19:28, Boris Ostrovsky wrote: > On 9/6/19 7:00 PM, Igor Druzhinin wrote: >> >> On 06/09/2019 23:30, Boris Ostrovsky wrote: >>> >>> Where is MCFG parsed? pci_arch_init()? It happens twice: >> 1) first time early one in pci_arch_init() that is arch_initcall - that >> time

interested in your products

2019-09-08 Thread SELFRIDGES RETAIL LIMITED
Dear Sir/Madam, We are looking to buy your products and partner with your company, can you please send us your Catalog or your website to learn more about your products or prices list by email and if we can make some order with you and start a long-term partnership. Can your company supply

Re: [PATCH] Fixed most indent issues in tty_io.c

2019-09-08 Thread Theodore Y. Ts'o
Hi Sandro, It's not mentioned in the process documentation (but maybe we should add this), is that it's up to individual maintainers about whether or not whitespace cleanups are accepted outside of the staging tree. That's because whitespace cleanups are a great "training wheel" for newbies who

Linux 5.3-rc8

2019-09-08 Thread Linus Torvalds
So we probably didn't strictly need an rc8 this release, but with LPC and the KS conference travel this upcoming week it just makes everything easier. And partly because of the extra week, we then had a few fixes that maybe otherwise would have been delayed and marked for stable. The most notable

Re: [RFC,v2 2/6] i2c: add I2C Address Translator (ATR) support

2019-09-08 Thread Vladimir Zapolskiy
Hi Luca, Jacopo, Wolfram, Peter, On 09/01/2019 05:31 PM, jacopo mondi wrote: > Hi Luca, >thanks for keep pushing this series! I hope we can use part of this > for the (long time) on-going GMSL work... > > I hope you will be patient enough to provide (another :) overview > of this work during

Re: [patch for-5.3 0/4] revert immediate fallback to remote hugepages

2019-09-08 Thread David Rientjes
On Sun, 8 Sep 2019, Vlastimil Babka wrote: > > On Sat, 7 Sep 2019, Linus Torvalds wrote: > > > >>> Andrea acknowledges the swap storm that he reported would be fixed with > >>> the last two patches in this series > >> > >> The problem is that even you aren't arguing that those patches should >

Re: [PATCH] z3fold: fix retry mechanism in page reclaim

2019-09-08 Thread Vitaly Wool
On Sun, Sep 8, 2019 at 4:56 PM Maciej S. Szmigiero wrote: > > On 08.09.2019 15:29, Vitaly Wool wrote: > > z3fold_page_reclaim()'s retry mechanism is broken: on a second > > iteration it will have zhdr from the first one so that zhdr > > is no longer in line with struct page. That leads to crashes

[PATCH 2/2] dt-bindings: backlight: lm3630a: add enable_gpios

2019-09-08 Thread Andreas Kemnade
add enable-gpios to describe HWEN pin Signed-off-by: Andreas Kemnade --- .../devicetree/bindings/leds/backlight/lm3630a-backlight.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.yaml

[PATCH 0/2] backlight_lm3630a: add enable_gpios property

2019-09-08 Thread Andreas Kemnade
To be able to handle the HWEN pin of the lm3630a, add an enable gpio to the driver and a property. Tested on Kobo Clara HD Andreas Kemnade (2): backlight: lm3630a: add an enable gpio for the HWEN pin dt-bindings: backlight: lm3630a: add enable_gpios

[PATCH 1/2] backlight: lm3630a: add an enable gpio for the HWEN pin

2019-09-08 Thread Andreas Kemnade
For now just enable it in the probe function to allow i2c access and disable it on remove. Disabling also means resetting the register values to default. Tested on Kobo Clara HD. Signed-off-by: Andreas Kemnade --- drivers/video/backlight/lm3630a_bl.c | 18 ++ 1 file changed, 18

Re: [PATCH 3/5] driver core: class: add function to create /sys/class//foo directory

2019-09-08 Thread Pavel Machek
Hi! > This adds a new function class_kobject_create_and_add() that creates a > directory in the /sys/class/. > > This function is required to create the /sys/class/leds/triggers directory > that contains all available LED triggers. Lets not do this. With your fixes (1,2/5), we'll have

Re: [PATCH v7] platform/x86: intel_pmc_core: Attach using APCI HID "INT33A1"

2019-09-08 Thread Rajat Jain
On Sat, Sep 7, 2019 at 10:42 AM Andy Shevchenko wrote: > > On Fri, Aug 23, 2019 at 1:44 AM Rajat Jain wrote: > > > > On Thu, Jun 27, 2019 at 8:34 PM Rajat Jain wrote: > > > > > > Most modern platforms already have the ACPI device "INT33A1" that could > > > be used to attach to the driver.

Re: [PATCH v3 1/6] bus/ti-pwmss: move TI PWMSS driver from PWM to bus subsystem

2019-09-08 Thread Tony Lindgren
* Jonathan Cameron [190908 11:16]: > On Mon, 2 Sep 2019 17:02:45 +0200 > Thierry Reding wrote: > > > On Sun, Sep 01, 2019 at 05:58:22PM -0500, David Lechner wrote: > > > The TI PWMSS driver is a simple bus driver for providing power > > > power management for the PWM peripherals on TI AM33xx

Re: [RFC,v2 2/6] i2c: add I2C Address Translator (ATR) support

2019-09-08 Thread Luca Ceresoli
Hi Peter, On 04/09/19 10:09, Peter Rosin wrote:> Hi! > > [ Sorry about my absence. I've been meaning to comment on this series > for a long time, but work and family keep interfering... ] No problem, thanks for your comments. See below my reply. > > On 2019-09-03 09:31, Luca Ceresoli wrote:

Re: [PATCH v3 2/4] staging: exfat: drop duplicate date_time_t struct

2019-09-08 Thread Valentin Vidić
On Sun, Sep 08, 2019 at 07:50:31PM +0100, Greg Kroah-Hartman wrote: > Wait, how are these "duplicate"? The fields are in different order, > don't these refer to things on-disk? On-disk combines the values from these structures in a different form: offset bits DoubleSeconds 0 5

Re: [PATCH v3 2/4] staging: exfat: drop duplicate date_time_t struct

2019-09-08 Thread Valentin Vidić
On Sun, Sep 08, 2019 at 07:54:24PM +0100, Greg Kroah-Hartman wrote: > On Sun, Sep 08, 2019 at 05:35:37PM +, Valentin Vidic wrote: > > +struct timestamp_t { > > + u16 millisec; /* 0 ~ 999 */ > > You added this field to this structure, why? You did not document that > in

Re: [PATCH] fat: fix corruption in fat_alloc_new_dir()

2019-09-08 Thread Jan Stancek
- Original Message - > Jan Stancek writes: > > > sb_getblk does not guarantee that buffer_head is uptodate. If there is > > async read running in parallel for same buffer_head, it can overwrite > > just initialized msdos_dir_entry, leading to corruption: > > FAT-fs (loop0): error,

Re: [PATCH v3 2/4] staging: exfat: drop duplicate date_time_t struct

2019-09-08 Thread Greg Kroah-Hartman
On Sun, Sep 08, 2019 at 05:35:37PM +, Valentin Vidic wrote: > Use timestamp_t for everything and cleanup duplicate code. > > Signed-off-by: Valentin Vidic > --- > drivers/staging/exfat/exfat.h | 35 +++--- > drivers/staging/exfat/exfat_super.c | 158 > 2

Re: [PATCH v3 2/4] staging: exfat: drop duplicate date_time_t struct

2019-09-08 Thread Greg Kroah-Hartman
On Sun, Sep 08, 2019 at 05:35:37PM +, Valentin Vidic wrote: > Use timestamp_t for everything and cleanup duplicate code. Wait, how are these "duplicate"? The fields are in different order, don't these refer to things on-disk? Did you test this? > -struct date_time_t { > - u16

Re: [PATCH v2] drm: bridge/dw_hdmi: add audio sample channel status setting

2019-09-08 Thread Russell King - ARM Linux admin
On Thu, Sep 05, 2019 at 05:43:25PM +0800, Cheng-Yi Chiang wrote: > From: Yakir Yang > > When transmitting IEC60985 linear PCM audio, we configure the > Aduio Sample Channel Status information of all the channel > status bits in the IEC60958 frame. > Refer to 60958-3 page 10 for frequency,

Re: [PATCH] xen/pci: try to reserve MCFG areas earlier

2019-09-08 Thread Boris Ostrovsky
On 9/6/19 7:00 PM, Igor Druzhinin wrote: > > On 06/09/2019 23:30, Boris Ostrovsky wrote: >> On 9/3/19 8:20 PM, Igor Druzhinin wrote: >>> If MCFG area is not reserved in E820, Xen by default will defer its usage >>> until Dom0 registers it explicitly after ACPI parser recognizes it as >>> a

Re: [PATCH v2] drm: bridge/dw_hdmi: add audio sample channel status setting

2019-09-08 Thread Jernej Škrabec
Dne četrtek, 05. september 2019 ob 11:43:25 CEST je Cheng-Yi Chiang napisal(a): > From: Yakir Yang > > When transmitting IEC60985 linear PCM audio, we configure the > Aduio Sample Channel Status information of all the channel > status bits in the IEC60958 frame. > Refer to 60958-3 page 10 for

[PATCH 1/1] staging: emxx_udc: remove local TRUE/FALSE definition

2019-09-08 Thread Saiyam Doshi
As the function argument and variables are defined as type 'bool', remove local TRUE/FALSE define and change usage of those macros with boolean value. Signed-off-by: Saiyam Doshi --- drivers/staging/emxx_udc/emxx_udc.c | 76 ++--- drivers/staging/emxx_udc/emxx_udc.h | 5

[PATCH] Ext4 Documentation: Add missing quota section.

2019-09-08 Thread Ayush Ranjan
There were a few broken links for quota. The page https://ext4.wiki.kernel.org/index.php/Quota was not migrated into the current documentation sources. This patch adds the contents of that missing page as a new section in the overview page. Also fixes those broken links by replacing them with

[PATCH v3] KEYS: trusted: correctly initialize digests and fix locking issue

2019-09-08 Thread Roberto Sassu
Commit 0b6cf6b97b7e ("tpm: pass an array of tpm_extend_digest structures to tpm_pcr_extend()") modifies tpm_pcr_extend() to accept a digest for each PCR bank. After modification, tpm_pcr_extend() expects that digests are passed in the same order as the algorithms set in chip->allocated_banks.

[PATCH v3 4/4] staging: exfat: add millisecond support

2019-09-08 Thread Valentin Vidic
Use create_time_ms and modify_time_ms fields to store the millisecond part of the file timestamp with the precision of 10 ms. Signed-off-by: Valentin Vidic --- drivers/staging/exfat/exfat_core.c | 28 1 file changed, 28 insertions(+) diff --git

[PATCH v3 2/4] staging: exfat: drop duplicate date_time_t struct

2019-09-08 Thread Valentin Vidic
Use timestamp_t for everything and cleanup duplicate code. Signed-off-by: Valentin Vidic --- drivers/staging/exfat/exfat.h | 35 +++--- drivers/staging/exfat/exfat_super.c | 158 2 files changed, 55 insertions(+), 138 deletions(-) diff --git

[PATCH v3 1/4] staging: exfat: drop unused function parameter

2019-09-08 Thread Valentin Vidic
sbi parameter not used inside the function so remove it. Also cleanup unused variables generated by this change. Signed-off-by: Valentin Vidic --- v2: split up into multiple patches v3: split up some more fix if statement braces add utc offset fields drivers/staging/exfat/exfat_super.c

[PATCH v3 3/4] staging: exfat: drop unused field access_time_ms

2019-09-08 Thread Valentin Vidic
Spec defines that UtcOffset fields should start in this position instead. Signed-off-by: Valentin Vidic --- drivers/staging/exfat/exfat.h | 6 -- drivers/staging/exfat/exfat_core.c | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/staging/exfat/exfat.h

Re: [GIT PULL] GPIO fixes for v5.3

2019-09-08 Thread pr-tracker-bot
The pull request you sent on Sun, 8 Sep 2019 09:00:26 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git > tags/gpio-v5.3-5 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/def8b72f0e40f2c9d9f1843af020a955e36a7cf4 Thank you! --

  1   2   3   4   5   6   >