Re: [PATCH v3 1/2] kretprobe: produce sane stack traces

2018-11-07 Thread Aleksa Sarai
On 2018-11-06, Steven Rostedt wrote: > On Sun, 4 Nov 2018 22:59:13 +1100 > Aleksa Sarai wrote: > > > The same issue is present in __save_stack_trace > > (arch/x86/kernel/stacktrace.c). This is likely the only reason that -- > > as Steven said -- stacktraces wouldn't work with ftrace-graph (and t

Re: [patch 2/2] Documentation/process: Add tip tree handbook

2018-11-07 Thread Ingo Molnar
Lemme fill in the scheduler and locking/atomics bits as well: > +The tip tree contains the following subsystems: > + > + - **x86 architecture** > + > + The x86 architecture development takes place in the tip tree except > + for the x86 KVM and XEN specific parts which are maintained i

Re: [PATCH 3/3] staging: iio: ad7780: generates pattern_mask from PAT bits

2018-11-07 Thread Ardelean, Alexandru
On Wed, 2018-11-07 at 16:50 -0200, Giuliano Belinassi wrote: > Previously, all pattern_masks in the chip_info table were hardcoded. Now > they > are generated using the PAT macros, as described in the datasheets. > I like this change :) I only have nitpicks. See inline. > Signed-off-by: Giulian

Re: [PATCH] fs/proc: introduce /proc/stat2 file

2018-11-07 Thread Davidlohr Bueso
On Wed, 07 Nov 2018, Davidlohr Bueso wrote: I have not looked at how filesystems tune the batch size, but it would certainly be worth looking into methinks. nm this part, percpu_counter_batch is not tunable. It would still probably be acceptable (famous last words) to at least move the bottlen

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

2018-11-07 Thread Liang Yang
On 2018/11/7 0:16, Boris Brezillon wrote: On Tue, 6 Nov 2018 19:08:27 +0800 Liang Yang wrote: On 2018/11/6 18:22, Boris Brezillon wrote: On Tue, 6 Nov 2018 18:00:37 +0800 Liang Yang wrote: On 2018/11/6 17:28, Boris Brezillon wrote: On Tue, 6 Nov 2018 17:08:00 +0800 Liang Yang wrote:

Re: [patch 2/2] Documentation/process: Add tip tree handbook

2018-11-07 Thread Ingo Molnar
* Thomas Gleixner wrote: > + - Signed-off-by: ``Patch handler `` > + > + SOBs after the author SOB are from people handling and transporting the > + patch, but were not involved in development. If the handler made > + modifications to the patch or the changelog, then this should be > +

Re: [PATCH 2/3] staging: iio: ad7780: check if ad778x before gain update

2018-11-07 Thread Ardelean, Alexandru
On Wed, 2018-11-07 at 16:50 -0200, Giuliano Belinassi wrote: > Only the ad778x have the 'gain' status bit. Check it before updating. > This looks good. The only note is that it can be squashed with the 1st patch (which I noted on the 1st patch). > Signed-off-by: Giuliano Belinassi > --- > driv

Re: [PATCH 1/3] staging: iio: ad7780: Add is_ad778x flag chip info

2018-11-07 Thread Ardelean, Alexandru
On Wed, 2018-11-07 at 16:49 -0200, Giuliano Belinassi wrote: > This patch allows further checking of whatever the chip is (ad778x or > ad717x). Hey, The patch looks good overall. I only have one nitpick for this patch. See inline. And you can squash this patch with patch `[PATCH 2/3] staging: ii

Re: [patch 2/2] Documentation/process: Add tip tree handbook

2018-11-07 Thread Ingo Molnar
* Thomas Gleixner wrote: > + - Fixes: 12char-SHA1 ("sub/sys: Original subject line") > + > + A Fixes tag should be added even for changes which do not need to be > + backported to stable kernels, i.e. when addressing a recently introduced > + issue which only affects tip or the current he

Re: [PATCH v6 3/3] arm64: dts: allwinner: a64: enable sound on Pinebook

2018-11-07 Thread Chen-Yu Tsai
On Thu, Nov 8, 2018 at 2:42 PM Vasily Khoruzhick wrote: > > This commit enables I2S, digital and analog parts of audiocodec on > Pinebook > > Signed-off-by: Vasily Khoruzhick > --- > .../dts/allwinner/sun50i-a64-pinebook.dts | 42 +++ > 1 file changed, 42 insertions(+) > > di

Re: [PATCH v6 2/3] arm64: dts: allwinner: a64: enable sound on Pine64 and SoPine

2018-11-07 Thread Vasily Khoruzhick
On Wed, Nov 7, 2018 at 11:11 PM Chen-Yu Tsai wrote: > > On Thu, Nov 8, 2018 at 2:42 PM Vasily Khoruzhick wrote: > > > > This commit enables I2S, digital and analog parts of audiocodec on > > Pine64 and SoPine boards. > > > > Signed-off-by: Vasily Khoruzhick > > --- > > .../boot/dts/allwinner/su

Re: [PATCH] fs/proc: introduce /proc/stat2 file

2018-11-07 Thread Davidlohr Bueso
On Thu, 08 Nov 2018, Dave Chinner wrote: If only we had percpu counters that had a fixed, extremely low read overhead that doesn't care about the number of CPUs in the machine Oh, wait, we do: percpu_counters.[ch]. This all seems like a counter implementation deficiency to me, not an inter

Re: [PATCH v2 3/4] mm: convert totalram_pages and totalhigh_pages variables to atomic

2018-11-07 Thread Arun KS
On 2018-11-07 14:34, Vlastimil Babka wrote: On 11/6/18 5:21 PM, Arun KS wrote: totalram_pages and totalhigh_pages are made static inline function. Suggested-by: Michal Hocko Suggested-by: Vlastimil Babka Signed-off-by: Arun KS Reviewed-by: Konstantin Khlebnikov Acked-by: Michal Hocko Ack

Re: [patch 2/2] Documentation/process: Add tip tree handbook

2018-11-07 Thread Ingo Molnar
* Thomas Gleixner wrote: > +Backtraces in changelogs > + > + > +Backtraces can be useful to document the call chain which led to a > +problem. Though not all back traces are really valuable because the call > +chain is unique and obvious, e.g. in early boot code. Just co

Re: [RFC PATCH 5/5] mm, memory_hotplug: be more verbose for memory offline failures

2018-11-07 Thread Anshuman Khandual
On 11/07/2018 03:48 PM, Michal Hocko wrote: > From: Michal Hocko > > There is only very limited information printed when the memory offlining > fails: > [ 1984.506184] rac1 kernel: memory offlining [mem > 0x826-0x8267fff] failed due to signal backoff > > This tells us that the fa

Re: [patch 2/2] Documentation/process: Add tip tree handbook

2018-11-07 Thread Ingo Molnar
* Ingo Molnar wrote: > With tail comments the code looks like this: > > res = dostuff(); /* We explain something here. */ > > seed = 1; /* Another explanation. */ > > mod_timer(&our_object->our_timer, jiffies + OUR_INTERVAL); /* We like > to talk */ > > res = check_

Re: [PATCH RFC] hist lookups

2018-11-07 Thread Jiri Olsa
On Wed, Nov 07, 2018 at 12:01:54PM -0800, David Miller wrote: > From: Jiri Olsa > Date: Wed, 7 Nov 2018 20:43:44 +0100 > > > I pushed new version in my perf/fixes branch > > Thanks, I'll check it out later today for sure! This is pretty exciting > work. > > Just some random thoughts as I've be

Re: [PATCH v6 2/3] arm64: dts: allwinner: a64: enable sound on Pine64 and SoPine

2018-11-07 Thread Chen-Yu Tsai
On Thu, Nov 8, 2018 at 2:42 PM Vasily Khoruzhick wrote: > > This commit enables I2S, digital and analog parts of audiocodec on > Pine64 and SoPine boards. > > Signed-off-by: Vasily Khoruzhick > --- > .../boot/dts/allwinner/sun50i-a64-pine64.dts | 28 +++ > .../allwinner/sun50i-a

drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c:96: undefined reference to `thermal_zone_device_register'

2018-11-07 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 85758777c2a227fd1541b6dd122a08ab79c347ce commit: e70a57fa59bb7fefe063780a49e063d0d0f61863 cxgb4: fix thermal configuration dependencies date: 4 weeks ago config: x86_64-randconfig-s0-11081213 (attached as

Re: [patch 2/2] Documentation/process: Add tip tree handbook

2018-11-07 Thread Ingo Molnar
* Thomas Gleixner wrote: > +Coding style notes > +-- > + > +Comment style > +^ > + > +Sentences in comments start with a uppercase letter. > + > +Single line comments:: > + > + /* This is a single line comment */ > + > +Multi-line comments:: > + > + /* > +

[PATCH 1/2] dt-bindings: phy: Add Qualcomm Synopsys High-Speed USB PHY binding

2018-11-07 Thread Shawn Guo
From: Sriharsha Allenki It adds bindings for Synopsys 28nm femto phy controller that supports LS/FS/HS usb connectivity on Qualcomm chipsets. Signed-off-by: Sriharsha Allenki Signed-off-by: Anu Ramanathan Signed-off-by: Bjorn Andersson Signed-off-by: Shawn Guo --- .../phy/qcom,snps-28nm-usb

[PATCH 2/2] phy: qualcomm: Add Synopsys High-Speed USB PHY driver

2018-11-07 Thread Shawn Guo
It adds Synopsys 28nm Femto High-Speed USB PHY driver support, which is usually paired with Synopsys DWC3 USB controllers on Qualcomm SoCs. Signed-off-by: Shawn Guo --- drivers/phy/qualcomm/Kconfig | 10 + drivers/phy/qualcomm/Makefile | 1 + .../phy/qualcomm/

[PATCH 0/2] Add Synopsys High-Speed USB PHY driver for Qualcomm SoCs

2018-11-07 Thread Shawn Guo
It's based on a downstream driver from Sriharsha Allenki that uses USB phy framework, and gets rewrote to adpot generic phy framework together with quite some cleanups. Shawn Guo (1): phy: qualcomm: Add Synopsys High-Speed USB PHY driver Sriharsha Allenki (1): dt-bindings: phy: Add Qualcomm

Re: [PATCH 5/5] hwspinlock: Add test module

2018-11-07 Thread Bjorn Andersson
On Wed 31 Oct 02:30 PDT 2018, Benjamin Gaignard wrote: > Create a test module to perform simple unitary tests on hwspinlock. > It doesn't cover all the possibles cases but at least allow to test > that very basic features are working. > I like the idea of making these things testable, but I woul

Re: [PATCH V2] binder: ipc namespace support for android binder

2018-11-07 Thread Davidlohr Bueso
On Mon, 29 Oct 2018, chouryzhou(??) wrote: @@ -63,6 +63,12 @@ struct ipc_namespace { unsigned intmq_msg_default; unsigned intmq_msgsize_default; + /* next fields are for binder */ + struct mutex binder_procs_lock; + struct hlist_head binder_procs;

Re: [PATCH v6 1/3] arm64: dts: allwinner: a64: add nodes necessary for analog sound support

2018-11-07 Thread Chen-Yu Tsai
On Thu, Nov 8, 2018 at 2:42 PM Vasily Khoruzhick wrote: > > Add nodes for i2s, digital and analog parts of audiocodec on A64 > > Signed-off-by: Vasily Khoruzhick > --- > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 58 +++ > 1 file changed, 58 insertions(+) > > diff --git a/ar

Re: [PATCH] regulator: bd71837: add to fix build errors

2018-11-07 Thread Matti Vaittinen
Thanks Randy, On Wed, Nov 07, 2018 at 08:38:50AM -0800, Randy Dunlap wrote: > On 10/25/18 11:02 PM, Vaittinen, Matti wrote: > > Hello, > > > > From: Randy Dunlap > > > >> Fix build error due to missing header file: > >> > >> drivers/regulator/bd71837-regulator.c:242:3: error: implicit declarati

Re: [PATCH stable 4.9] posix-timers: Sanitize overrun handling

2018-11-07 Thread Thomas Gleixner
Florian, On Wed, 7 Nov 2018, Florian Fainelli wrote: > On 11/1/18 1:02 PM, Florian Fainelli wrote: > > From: Thomas Gleixner > > > > [ Upstream commit 78c9c4dfbf8c04883941445a195276bb4bb92c76 ] > > > > The posix timer overrun handling is broken because the forwarding functions > > can return a

[tip:timers/urgent] posix-cpu-timers: Remove useless call to check_dl_overrun()

2018-11-07 Thread tip-bot for Juri Lelli
Commit-ID: e6a2d72c10405b30ddba5af2e44a9d3d925a56d3 Gitweb: https://git.kernel.org/tip/e6a2d72c10405b30ddba5af2e44a9d3d925a56d3 Author: Juri Lelli AuthorDate: Wed, 7 Nov 2018 12:10:32 +0100 Committer: Thomas Gleixner CommitDate: Thu, 8 Nov 2018 07:43:35 +0100 posix-cpu-timers: Remove u

Re: [PATCH 3/5] ARM: dts: stm32: Add hwspinlock node for stm32mp157 SoC

2018-11-07 Thread Bjorn Andersson
On Wed 31 Oct 02:30 PDT 2018, Benjamin Gaignard wrote: > Declare hwspinlock device for stm32mp157 SoC > > Signed-off-by: Benjamin Gaignard Pending the clock-names question, Acked-by: Bjorn Andersson Regards, Bjorn > --- > arch/arm/boot/dts/stm32mp157c.dtsi | 9 + > 1 file changed,

[PATCH v2] ext4: missing !bh check in ext4_xattr_inode_write()

2018-11-07 Thread Vasily Averin
According to Ted Ts'o ext4_getblk() called in ext4_xattr_inode_write() should not return bh = NULL The only time that bh could be NULL, then, would be in the case of something really going wrong; a programming error elsewhere (perhaps a wild pointer dereference) or I/O error causing on-disk file s

Re: [PATCH] pinctrl: zynq: Use define directive for PIN_CONFIG_IO_STANDARD

2018-11-07 Thread Michal Simek
On 07. 11. 18 18:48, Nick Desaulniers wrote: > On Wed, Nov 7, 2018 at 1:01 AM Michal Simek wrote: >> >> On 07. 11. 18 9:55, Nathan Chancellor wrote: >>> On Wed, Nov 07, 2018 at 09:46:12AM +0100, Michal Simek wrote: On 01. 11. 18 1:57, Nathan Chancellor wrote: > Clang warns when one enumer

Re: [PATCH 1/5] dt-bindings: hwlock: Document STM32 hwspinlock bindings

2018-11-07 Thread Bjorn Andersson
On Wed 31 Oct 02:30 PDT 2018, Benjamin Gaignard wrote: > Add bindings for STM32 hardware spinlock device > > Signed-off-by: Benjamin Gaignard > --- > .../bindings/hwlock/st,stm32-hwspinlock.txt| 23 > ++ > 1 file changed, 23 insertions(+) > create mode 100644 > Do

[PATCH] regulator: as3711: convert to SPDX identifiers

2018-11-07 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch updates license to use SPDX-License-Identifier instead of verbose license text. Signed-off-by: Kuninori Morimoto --- drivers/regulator/as3711-regulator.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/regulator/as3711-regula

[PATCH] regulator: bd9571mwv: convert to SPDX identifiers

2018-11-07 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch updates license to use SPDX-License-Identifier instead of verbose license text. Signed-off-by: Kuninori Morimoto --- drivers/regulator/bd9571mwv-regulator.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/regulator/bd95

Re: [PATCH 2/5] hwspinlock: add STM32 hwspinlock device

2018-11-07 Thread Bjorn Andersson
On Wed 31 Oct 02:30 PDT 2018, Benjamin Gaignard wrote: > diff --git a/drivers/hwspinlock/Kconfig b/drivers/hwspinlock/Kconfig > index e895d29500ee..e1a20b460590 100644 > --- a/drivers/hwspinlock/Kconfig > +++ b/drivers/hwspinlock/Kconfig > @@ -59,3 +59,12 @@ config HSEM_U8500 > SoC. > >

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

2018-11-07 Thread Taniya Das
Thanks Stephen. On 11/6/2018 10:46 PM, Stephen Boyd wrote: Quoting Taniya Das (2018-11-02 20:16:20) On 11/2/2018 10:08 PM, Stephen Boyd wrote: Quoting Taniya Das (2018-10-28 00:35:40) How about moving the QSPI clocks too under this qcom property? Later could add the support? Yes the plan

[PATCH v6 1/3] arm64: dts: allwinner: a64: add nodes necessary for analog sound support

2018-11-07 Thread Vasily Khoruzhick
Add nodes for i2s, digital and analog parts of audiocodec on A64 Signed-off-by: Vasily Khoruzhick --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 58 +++ 1 file changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwin

[PATCH v6 0/3] Add support for audiocodec in Allwinner A64

2018-11-07 Thread Vasily Khoruzhick
This series enables sound on Pine64, SoPine boards and Pinebook. v2: - Use simple-amplifier for speaker amp on Pinebook - Rename sun50i-a64-i2s to sun50i-a64-codec-i2s to preserve compatible string for other 3 I2S modules in A64 in case if there's any incompatibility with H3 v3: -

[PATCH v6 3/3] arm64: dts: allwinner: a64: enable sound on Pinebook

2018-11-07 Thread Vasily Khoruzhick
This commit enables I2S, digital and analog parts of audiocodec on Pinebook Signed-off-by: Vasily Khoruzhick --- .../dts/allwinner/sun50i-a64-pinebook.dts | 42 +++ 1 file changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts b/arch/ar

[PATCH v6 2/3] arm64: dts: allwinner: a64: enable sound on Pine64 and SoPine

2018-11-07 Thread Vasily Khoruzhick
This commit enables I2S, digital and analog parts of audiocodec on Pine64 and SoPine boards. Signed-off-by: Vasily Khoruzhick --- .../boot/dts/allwinner/sun50i-a64-pine64.dts | 28 +++ .../allwinner/sun50i-a64-sopine-baseboard.dts | 28 +++ 2 files changed, 56 in

Re: donated proposal

2018-11-07 Thread MUSEO_BERSAGLIERI, AOO
Good news $1,000,000.00 has been donated to you contact (2244108...@qq.com) for details. - Messaggio originale - Da: MUSEO_BERSAGLIERI, AOO A: aoo museo_bersaglieri Inviato: Wed, 07 Nov 2018 17:18:26 +0100 (CET) Oggetto: donated proposal

Re: [PATCH] dpaa_eth: add ethtool coalesce control

2018-11-07 Thread David Miller
From: Madalin Bucur Date: Wed, 7 Nov 2018 15:53:43 +0200 > +static int dpaa_set_coalesce(struct net_device *dev, > + struct ethtool_coalesce *c) > +{ > + const cpumask_t *cpus = qman_affine_cpus(); > + struct qman_portal *portal; > + u32 period; > + u8 th

Re: [RFC PATCH v1 2/2] proc: add /proc//thread_state

2018-11-07 Thread Ingo Molnar
* Aubrey Li wrote: > Expose the per-task cpu specific thread state value, it's helpful > for userland to classify and schedule the tasks by different policies That's pretty vague - what exactly would use this information? I'm sure you have a usecase in mind - could you please describe it? Th

Re: [PATCH V2] binder: ipc namespace support for android binder

2018-11-07 Thread Davidlohr Bueso
On Wed, 07 Nov 2018, Bueso wrote: On Mon, 29 Oct 2018, chouryzhou(??) wrote: +// If init_ipc_ns is not defined elsewhere, +// we make a fake one here to put our variable. /* * comments like this please */ Actually, just drop the comment altogether. Forward declaring does not merit it.

[RESEND PATCH V7 2/3] dt-bindings: input: Add document bindings for DA7280

2018-11-07 Thread Roy Im
Add device tree binding information for DA7280 haptic driver. Example bindings for DA7280 are added. Reviewed-by: Rob Herring . Signed-off-by: Roy Im --- v7: No changes. v6: No changes. v5: Updated descriptions and fixed errors. v4: Fixed commit message, properties. v3: Fixed subject format.

[RESEND PATCH V7 1/3] MAINTAINERS: da7280 updates to the Dialog Semiconductor search terms

2018-11-07 Thread Roy Im
This patch adds the da7280 bindings doc and driver to the Dialog Semiconductor support list. Signed-off-by: Roy Im --- v7: No changes. v6: No changes. v5: No changes. v4: No changes. v3: No changes. v2: No changes. MAINTAINERS |2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAI

[RESEND PATCH V7 3/3] Input: new da7280 haptic driver

2018-11-07 Thread Roy Im
Adds support for the Dialog DA7280 LRA/ERM Haptic Driver with multiple mode and integrated waveform memory and wideband support. It communicates via an I2C bus to the device. Signed-off-by: Roy Im --- v7: - Added more attributes to handle one value per file. - Replaced and upd

Re: [RFC PATCH 4/5] mm, memory_hotplug: print reason for the offlining failure

2018-11-07 Thread Anshuman Khandual
On 11/07/2018 03:48 PM, Michal Hocko wrote: > From: Michal Hocko > > The memory offlining failure reporting is inconsistent and insufficient. > Some error paths simply do not report the failure to the log at all. > When we do report there are no details about the reason of the failure > and th

[RESEND PATCH V7 0/3] da7280: haptic driver submission

2018-11-07 Thread Roy Im
This patch adds support for the Dialog DA7280 Haptic driver IC. In this patch set the following is provided: [PATCH V7 1/3] MAINTAINERS file update for DA7280 [PATCH V7 2/3] DA7280 DT Binding [PATCH V7 3/3] DA7280 Driver This patch applies against linux-next and v4.19-rc6 Thank you, Roy Im, Dia

Re: [PATCH] scripts/spdxcheck: make python3 compliant

2018-11-07 Thread Uwe Kleine-König
Hello Andrew, On Wed, Nov 07, 2018 at 03:32:51PM -0800, Andrew Morton wrote: > On Tue, 23 Oct 2018 09:08:02 +0200 Uwe Kleine-König > wrote: > > > Without this change the following happens when using Python3 (3.6.6): > > > > $ echo "GPL-2.0" | python3 scripts/spdxcheck.py - > > FAIL: 's

Re: [PATCH V2] binder: ipc namespace support for android binder

2018-11-07 Thread Davidlohr Bueso
On Mon, 29 Oct 2018, chouryzhou(??) wrote: +// If init_ipc_ns is not defined elsewhere, +// we make a fake one here to put our variable. /* * comments like this please */ +#if !defined(CONFIG_SYSVIPC) && !defined(CONFIG_POSIX_MQUEUE) +struct ipc_namespace init_ipc_ns; ... --- a/includ

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

2018-11-07 Thread Nadav Amit
From: h...@zytor.com Sent: November 7, 2018 at 9:50:28 PM GMT > To: Logan Gunthorpe , Nadav Amit , > Ingo Molnar > Cc: LKML , X86 ML , Sam > Ravnborg , Michal Marek , Thomas > Gleixner , Linux Kbuild mailing list > , Stephen Bates > Subject: Re: [PATCH v9 02/10] Makefile: Prepare for using ma

Re: [PATCH] KVM/VMX: Check ept_pointer before flushing ept tlb

2018-11-07 Thread Tianyu Lan
On 11/7/2018 6:49 PM, Vitaly Kuznetsov wrote: Tianyu Lan writes: Hi Vitaly: Thanks for your review. On 11/6/2018 11:50 PM, Vitaly Kuznetsov wrote: ltyker...@gmail.com writes: From: Lan Tianyu This patch is to initialize ept_pointer to INVALID_PAGE and check it before flushing

Re: [PATCH RFC] hist lookups

2018-11-07 Thread David Miller
From: Arnaldo Carvalho de Melo Date: Wed, 7 Nov 2018 17:28:15 -0300 > So perhaps we should tell the kernel that is ok to lose SAMPLEs but not > the other events, and make userspace ask for PERF_RECORD_!SAMPLE in all > ring buffers? Duplication wouldn't be that much of a problem? I think we shoul

Re: [PATCH 0/2] mach-omap2: handle autoidle denial

2018-11-07 Thread Andreas Kemnade
ping. ..after stumbling again about that problem during testing with 4.20-rc1. will retest it there. On Thu, 4 Oct 2018 22:38:15 +0200 Andreas Kemnade wrote: > On the gta04 with a dm3730 omap_hdq does not work properly when the > device enters lower power states. Idling uart1 and 2 is enough >

[PATCH] regulator/of_get_regulator: add child path to find the regulator supplier

2018-11-07 Thread zoro
example code : &vir_regulator { ldo0_vir: ldo0-virtual { regulator-compatible = "VIR_LDO0"; regulator-name= "VIR_LDO0"; regulator-min-microvolt = <100>; regulator-max-microvolt = <200>; };

Re: [PATCH 1/2] opp: ti-opp-supply: Dynamically update u_volt_min

2018-11-07 Thread Viresh Kumar
On 07-11-18, 10:04, Keerthy wrote: > The voltage range (min, max) provided in the device tree is from > the data manual and is pretty big, catering to a wide range of devices. > On a i2c read/write failure the regulator_set_voltage_triplet function > falls back to set voltage between min and max. T

Re: [PATCH 0/2] opp: ti-opp-supply: Fixes

2018-11-07 Thread Viresh Kumar
On 07-11-18, 10:04, Keerthy wrote: > The series brings in couple of fixes to the ti-opp-supply driver. > One of them updates u_volt_min dynamically and avoids hang due > to lesser static u_volt_min and the other fixes the supply in > _get_optimal_vdd_voltage. > > Keerthy (2): > power: opp: ti-op

[PATCH] sched/fair: make some function static

2018-11-07 Thread Yi Wang
Make some function static as they are not used outside of fair.c. This fixes the following warning when building with 'W=1': kernel/sched/fair.c:2439:6: warning: no previous prototype for ‘task_numa_work’ [-Wmissing-prototypes] kernel/sched/fair.c:2584:6: warning: no previous prototype for ‘task

[PATCH 1/1] Bluetooth: make the balance of judgement condition to fix a false report

2018-11-07 Thread Zumeng Chen
This patch is to balance the condition scope between hci_get_cmd_complete and hci_event_packet about orig_skb as follows: if (req_complete_skb || event == HCI_EV_CMD_STATUS || event == HCI_EV_CMD_COMPLETE) orig_skb = skb_clone(skb, GFP_KERNEL); And hci_get_cmd

Re: [PATCH 1/2] dt-bindings: clk: Introduce 'protected-clocks' property

2018-11-07 Thread Bjorn Andersson
On Mon 05 Nov 17:04 PST 2018, Bjorn Andersson wrote: > On Mon 05 Nov 11:40 PST 2018, Stephen Boyd wrote: > > > Add a generic clk property for clks which are not intended to be used by > > the OS due to security restrictions put in place by firmware. For > > example, on some Qualcomm firmwares rea

Re: [QUESTION] Microsoft, WSL, and the Linux trademark (Edited For Readability)

2018-11-07 Thread Hayden Barnes
Mr. Caputo, > In reading the news today, I stumbled across an article talking about a $20 > "linux-based distro" app for Windows 10. Hello. That was my idea. Please allow me to address some of the concerns you raised. > This is just a bundled userspace for WSL, there is no actual Linux in thi

[PATCH 2/6] fs/epoll: simplify ep_send_events_proc() ready-list loop

2018-11-07 Thread Davidlohr Bueso
The current logic is a bit convoluted. Lets simplify this with a standard list_for_each_entry_safe() loop instead and just break out after maxevents is reached. While at it, remove an unnecessary indentation level in the loop when there are in fact ready events. Signed-off-by: Davidlohr Bueso --

[PATCH -next 0/6] epoll: some miscellaneous optimizations

2018-11-07 Thread Davidlohr Bueso
Hi, The following are some incremental optimizations on some of the epoll core. Each patch has the details, but together, the series is seen to shave off measurable cycles on a number of systems and workloads. For example, on a 40-core IB, a pipetest as well as parallel epoll_wait() benchmark sho

[PATCH 3/6] fs/epoll: drop ovflist branch prediction

2018-11-07 Thread Davidlohr Bueso
The ep->ovflist is a secondary ready-list to temporarily store events that might occur when doing sproc without holding the ep->wq.lock. This accounts for every time we check for ready events and also send events back to userspace; both callbacks, particularly the later because of copy_to_user, can

[PATCH 1/6] fs/epoll: remove max_nests argument from ep_call_nested()

2018-11-07 Thread Davidlohr Bueso
All callers pass the EP_MAX_NESTS constant already, so lets simplify this a tad and get rid of the redundant parameter for nested eventpolls. Signed-off-by: Davidlohr Bueso --- fs/eventpoll.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/fs/eventpoll.c b/fs/e

[PATCH 4/6] fs/epoll: robustify ep->mtx held checks

2018-11-07 Thread Davidlohr Bueso
Insted of just commenting how important it is, lets make it more robust and add a lockdep_assert_held() call. Signed-off-by: Davidlohr Bueso --- fs/eventpoll.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/eventpoll.c b/fs/eventpoll.c index 347da3f4f5d3..6a0c2591e57e 100644 --- a/fs/e

[PATCH 5/6] fs/epoll: reduce the scope of wq lock in epoll_wait()

2018-11-07 Thread Davidlohr Bueso
This patch aims at reducing ep wq.lock hold times in epoll_wait(2). For the blocking case, there is no need to constantly take and drop the spinlock, which is only needed to manipulate the waitqueue. The call to ep_events_available() is now lockless, and only exposed to benign races. Here, if fals

[PATCH 6/6] fs/epoll: avoid barrier after an epoll_wait(2) timeout

2018-11-07 Thread Davidlohr Bueso
Upon timeout, we can just exit out of the loop, without the cost of the changing the task's state smp_store_mb call. Just exit out of the loop and be done - setting the task state afterwards will be, of course, redundant. Signed-off-by: Davidlohr Bueso --- fs/eventpoll.c | 7 +-- 1 file chan

Re: [QUESTION] Microsoft, WSL, and the Linux trademark

2018-11-07 Thread Hayden Barnes
Mr. Caputo, Please allow me to address some of the concerns you raised. The Linux trademark is owned by Linus Torvalds and administered by the Linux Foundation through the Linux Mark Institute: https://www.linuxmark.org. The Linux trademark can be used by third parties subject to a Sublicense

Re: [PATCH 2/9] arm64: defconfig: Drop ARM_BIG_LITTLE_CPUFREQ

2018-11-07 Thread Viresh Kumar
On 07-11-18, 21:54, Marc Gonzalez wrote: > [ Add interested parties ] > > On 07/11/2018 21:14, Marc Gonzalez wrote: > > > Commit a7314405d83c ("drop ARM_BIG_LITTLE_CPUFREQ support for ARM64") > > > > Signed-off-by: Marc Gonzalez > > --- > > arch/arm64/configs/defconfig | 1 - > > 1 file change

Re: [PATCH 3/3] lockdep: Use line-buffered printk() for lockdep messages.

2018-11-07 Thread Sergey Senozhatsky
On (11/07/18 16:19), Petr Mladek wrote: > > syzbot is sometimes getting mixed output like below due to concurrent > > printk(). Mitigate such output by using line-buffered printk() API. > > > > @@ -2421,18 +2458,20 @@ static void check_chain_key(struct task_struct > > *curr) > > print_usage_bug_

Re: [PATCH] cpufreq: s3c24xx: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-07 Thread Viresh Kumar
On 07-11-18, 11:13, Yangtao Li wrote: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li > --- > drivers/cpufreq/s3c24xx-cpufreq-debugfs.c | 46 +++ > 1 file changed, 6 insertions(+), 40 deletions(-) > > diff --git a/drivers/cpufreq/s3c24xx

linux-next: stats (Was: Linux 4.20-rc1)

2018-11-07 Thread Stephen Rothwell
Hi all, As usual, the executive friendly graph is at http://neuling.org/linux-next-size.html :-) (No merge commits counted, next-20181019 was the last linux-next before the merge window opened.) Commits in v4.20-rc1 (relative to v4.19): 12125 Commits in next-20181019:

Re: linux-next: build warning after merge of the block tree

2018-11-07 Thread Jens Axboe
On 11/7/18 8:31 PM, Stephen Rothwell wrote: > Hi Jens, > > After merging the block tree, today's linux-next build (sparc64 defconfig) > produced this warning: > > /home/sfr/next/next/drivers/block/sunvdc.c: In function 'init_queue': > /home/sfr/next/next/drivers/block/sunvdc.c:788:6: warning: unu

[PATCH v3 resend 1/2] mm: Add an F_SEAL_FUTURE_WRITE seal to memfd

2018-11-07 Thread Joel Fernandes (Google)
Android uses ashmem for sharing memory regions. We are looking forward to migrating all usecases of ashmem to memfd so that we can possibly remove the ashmem driver in the future from staging while also benefiting from using memfd and contributing to it. Note staging drivers are also not ABI and ge

[PATCH v3 resend 2/2] selftests/memfd: Add tests for F_SEAL_FUTURE_WRITE seal

2018-11-07 Thread Joel Fernandes (Google)
Add tests to verify sealing memfds with the F_SEAL_FUTURE_WRITE works as expected. Cc: dan...@google.com Cc: minc...@kernel.org Reviewed-by: John Stultz Signed-off-by: Joel Fernandes (Google) --- tools/testing/selftests/memfd/memfd_test.c | 74 ++ 1 file changed, 74 insertio

linux-next: Tree for Nov 8

2018-11-07 Thread Stephen Rothwell
Hi all, Changes since 20181107: The tip tree still had its build failure for which I applied a fix patch. Non-merge commits (relative to Linus' tree): 1793 1942 files changed, 81402 insertions(+), 84317 dele

Re: [PATCH v3 1/4] dt-bindings: pinctrl: Add devicetree bindings for MT6797 SoC Pinctrl

2018-11-07 Thread Manivannan Sadhasivam
On Thu, Nov 08, 2018 at 10:11:12AM +0800, Yingjoe Chen wrote: > On Wed, 2018-11-07 at 23:18 +0530, Manivannan Sadhasivam wrote: > > Add devicetree bindings for Mediatek MT6797 SoC Pin Controller. > > > > Signed-off-by: Manivannan Sadhasivam > > --- > > .../bindings/pinctrl/pinctrl-mt6797.txt

Re: [PATCH v2] ext4: lost brelse in __ext4_read_dirblock()

2018-11-07 Thread Theodore Y. Ts'o
On Wed, Nov 07, 2018 at 08:30:17PM +0300, Vasily Averin wrote: > Fixes dc6982ff4db1 ("ext4: refactor code to read directory blocks ...") > Cc: sta...@kernel.org # 3.9 > > Signed-off-by: Vasily Averin Thanks, applied. I used the commit description: ext4: fix buffer leak in __ext4_read_dirbl

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

2018-11-07 Thread Stephen Rothwell
Hi Jens, After merging the block tree, today's linux-next build (sparc64 defconfig) produced this warning: /home/sfr/next/next/drivers/block/sunvdc.c: In function 'init_queue': /home/sfr/next/next/drivers/block/sunvdc.c:788:6: warning: unused variable 'ret' [-Wunused-variable] int ret; ^

Re: [PATCH 7/7] ext4: lost brelse in ext4_expand_extra_isize_ea()

2018-11-07 Thread Theodore Y. Ts'o
On Wed, Oct 31, 2018 at 10:13:09PM +0300, Vasily Averin wrote: > Fixes de05ca852679 ("ext4: move call to ext4_error() into ...") # 4.17 > > Signed-off-by: Vasily Averin Thanks, applied. I used the commit description: ext4: fix buffer leak in ext4_expand_extra_isize_ea() on error path

[PATCH] x86/kvm/vmx: fix old-style function declaration

2018-11-07 Thread Yi Wang
The inline keyword which is not at the beginning of the function declaration may trigger the following build warnings, so let's fix it: arch/x86/kvm/vmx.c:1309:1: warning: ‘inline’ is not at beginning of declaration [-Wold-style-declaration] arch/x86/kvm/vmx.c:5947:1: warning: ‘inline’ is not at

Re: [PATCH] Revert "scripts/setlocalversion: git: Make -dirty check more robust"

2018-11-07 Thread Brian Norris
On Wed, Nov 7, 2018 at 1:18 PM Doug Anderson wrote: > On Wed, Nov 7, 2018 at 1:07 PM Genki Sky wrote: > > On Wed, 7 Nov 2018 12:55:14 -0800, Guenter Roeck wrote: > > > Ubuntu 16.04 ships with git version 2.7.4. > > > > Okay. I guess --no-optional-locks is a no-go then. > > In theory you could wr

Re: [LKP] d50d82faa0 [ 33.671845] WARNING: possible circular locking dependency detected

2018-11-07 Thread Andrew Morton
On Wed, 7 Nov 2018 15:43:36 -0800 Andrew Morton wrote: > On Tue, 23 Oct 2018 08:30:04 +0800 kernel test robot > wrote: > > > Greetings, > > > > 0day kernel testing robot got the below dmesg and the first bad commit is > > > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.gi

RE: [PATCH V2] binder: ipc namespace support for android binder

2018-11-07 Thread 周威
> -Original Message- > From: Andrew Morton > Sent: Thursday, November 8, 2018 6:38 AM > To: chouryzhou(周威) > Cc: gre...@linuxfoundation.org; a...@android.com; tk...@android.com; > d...@stgolabs.net; de...@driverdev.osuosl.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH V2] binder:

[PATCH v2] PCI: mediatek: Use devm_of_pci_get_host_bridge_resources() to parse DT

2018-11-07 Thread honghui.zhang
From: Honghui Zhang Use the devm_of_pci_get_host_bridge_resources() API in place of the PCI OF DT parser. Signed-off-by: Honghui Zhang --- drivers/pci/controller/pcie-mediatek.c | 98 +- 1 file changed, 24 insertions(+), 74 deletions(-) diff --git a/drivers/pci

Re: virtio-balloon: VIRTIO_BALLOON_F_PAGE_POISON discussion

2018-11-07 Thread Wei Wang
On 11/08/2018 10:50 AM, Michael S. Tsirkin wrote: On Thu, Nov 08, 2018 at 10:49:20AM +0800, Wei Wang wrote: On 11/07/2018 11:27 PM, Michael S. Tsirkin wrote: + LKML On Wed, Nov 07, 2018 at 02:29:02PM +, Wang, Wei W wrote: Hi Michael, Thanks again for reviewing so many versions of patch

Re: [PATCH] PCI: mediatek: Use devm_of_pci_get_host_bridge_resources() to parse DT

2018-11-07 Thread Honghui Zhang
On Wed, 2018-11-07 at 12:03 +, Lorenzo Pieralisi wrote: > On Thu, Oct 18, 2018 at 11:23:34AM +0800, honghui.zh...@mediatek.com wrote: > > From: Honghui Zhang > > > > Use the devm_of_pci_get_host_bridge_resources() API in place of the PCI OF > > DT parser. > > > > Signed-off-by: Honghui Zhang

[PATCH net-next v3 1/6] net/ncsi: Don't enable all channels when HWA available

2018-11-07 Thread Samuel Mendoza-Jonas
NCSI hardware arbitration allows multiple packages to be enabled at once and share the same wiring. If the NCSI driver recognises that HWA is available it unconditionally enables all packages and channels; but that is a configuration decision rather than something required by HWA. Additionally the

Re: virtio-balloon: VIRTIO_BALLOON_F_PAGE_POISON discussion

2018-11-07 Thread Michael S. Tsirkin
On Thu, Nov 08, 2018 at 10:49:20AM +0800, Wei Wang wrote: > On 11/07/2018 11:27 PM, Michael S. Tsirkin wrote: > > + LKML > > > On Wed, Nov 07, 2018 at 02:29:02PM +, Wang, Wei W wrote: > > > Hi Michael, > > > > > > > > > Thanks again for reviewing so many versions of patches, and I learnt a

[PATCH v2 2/2] platform/chrome: don't report EC_MKBP_EVENT_SENSOR_FIFO as wakeup

2018-11-07 Thread Brian Norris
EC_MKBP_EVENT_SENSOR_FIFO events can be triggered for a variety of reasons, and there are very few cases in which they should be treated as wakeup interrupts (particularly, when a certain MOTIONSENSE_MODULE_FLAG_* is set, but this is not even supported in the mainline cros_ec_sensor driver yet). Mo

[PATCH net-next v3 2/6] net/ncsi: Probe single packages to avoid conflict

2018-11-07 Thread Samuel Mendoza-Jonas
Currently the NCSI driver sends a select-package command to all possible packages simultaneously to discover what packages are available. However at this stage in the probe process the driver does not know if hardware arbitration is available: if it isn't then this process could cause collisions on

[PATCH net-next v3 0/6] net/ncsi: Allow enabling multiple packages & channels

2018-11-07 Thread Samuel Mendoza-Jonas
This series extends the NCSI driver to configure multiple packages and/or channels simultaneously. Since the RFC series this includes a few extra changes to fix areas in the driver that either made this harder or were roadblocks due to deviations from the NCSI specification. Patches 1 & 2 fix two

[PATCH net-next v3 4/6] net/ncsi: Don't mark configured channels inactive

2018-11-07 Thread Samuel Mendoza-Jonas
The concepts of a channel being 'active' and it having link are slightly muddled in the NCSI driver. Tweak this slightly so that NCSI_CHANNEL_ACTIVE represents a channel that has been configured and enabled, and NCSI_CHANNEL_INACTIVE represents a de-configured channel. This distinction is important

[PATCH v2 1/2] platform/chrome: straighten out cros_ec_get_{next,host}_event() error codes

2018-11-07 Thread Brian Norris
cros_ec_get_next_event() is documented to return 0 for success and negative for errors. It currently returns negative for some errors, and non-negative (number of bytes received) for success (including some "no data available" responses as zero). This mostly works out OK, because the callers were m

Re: [RFC 0/2] RISC-V: A proposal to add vendor-specific code

2018-11-07 Thread Vincent Chen
On Wed, Nov 07, 2018 at 07:45:52AM +0800, Palmer Dabbelt wrote: > On Sun, 04 Nov 2018 22:58:07 PST (-0800), vince...@andestech.com wrote: > > On Fri, Nov 02, 2018 at 01:48:57AM +0800, Karsten Merker wrote: > >> On Wed, Oct 31, 2018 at 10:27:05AM -0700, Palmer Dabbelt wrote: > >> > On Wed, 31 Oct 20

Re: virtio-balloon: VIRTIO_BALLOON_F_PAGE_POISON discussion

2018-11-07 Thread Wei Wang
On 11/07/2018 11:27 PM, Michael S. Tsirkin wrote: + LKML On Wed, Nov 07, 2018 at 02:29:02PM +, Wang, Wei W wrote: Hi Michael, Thanks again for reviewing so many versions of patches, and I learnt a lot from your comments. While I’m writing the virtio-balloon spec patches, I’m th

Re: [PATCH v3] driver-staging: vsoc.c: Add sysfs support for examining the permissions of regions.

2018-11-07 Thread Greg Kroah-Hartman
On Thu, Nov 08, 2018 at 08:49:41AM +0800, wahahab wrote: > > > On 7 Nov 2018, at 5:15 PM, Greg Kroah-Hartman wrote: > > > > On Wed, Nov 07, 2018 at 10:30:43AM +0800, Jerry Lin wrote: > >> Add a attribute called permissions under vsoc device node for examining > >> current granted permissions in

  1   2   3   4   5   6   7   8   >