Re: Linux 4.15-rc2: Regression in resume from ACPI S3

2017-12-06 Thread Michal Hocko
On Wed 06-12-17 13:14:52, Michal Hocko wrote: > On Mon 04-12-17 14:36:20, Linus Torvalds wrote: > > On Mon, Dec 4, 2017 at 2:25 PM, Rafael J. Wysocki > > wrote: > > > > > > So far, resume from suspend-to-RAM (ACPI S3) is broken on all of the > > > systems I have tested, so it is probably safe to

Re: [RFC v3 PATCH 0/2] Introduce Security Version to EFI Stub

2017-12-06 Thread Gary Lin
On Thu, Dec 07, 2017 at 07:09:27AM +0100, Ingo Molnar wrote: > > * Gary Lin wrote: > > > On Wed, Dec 06, 2017 at 07:37:34PM +0100, Ingo Molnar wrote: > > > > > > * Gary Lin wrote: > > > > > > > On Tue, Dec 05, 2017 at 04:14:26PM -0500, Josh Boyer wrote: > > > > > On Tue, Dec 5, 2017 at 5:01 A

Re: WARNING in x86_emulate_insn

2017-12-06 Thread Wanpeng Li
2017-12-07 15:49 GMT+08:00 蓝天宇 : > Hi Dmitry: > I tried to reproduce the issue via syz-execprog with attached > reproducer on latest linux-next but it causes VM-entry failure due to > invalid guest state... Because rflags is 0 in his program. You can set ept=0 and retry. Regards, Wanpeng Li

Re: WARNING in x86_emulate_insn

2017-12-06 Thread 蓝天宇
Hi Dmitry: I tried to reproduce the issue via syz-execprog with attached reproducer on latest linux-next but it causes VM-entry failure due to invalid guest state... 2017-12-07 14:25 GMT+08:00 Dmitry Vyukov : > On Thu, Dec 7, 2017 at 1:44 AM, Wanpeng Li wrote: >> 2017-12-06 4:07 GMT+08:00 sy

Re: [PATCH 4.14 00/95] 4.14.4-stable review

2017-12-06 Thread Greg Kroah-Hartman
On Wed, Dec 06, 2017 at 12:01:04PM -0600, Tom Gall wrote: > > > > On Dec 6, 2017, at 12:49 AM, Greg Kroah-Hartman > > wrote: > > > > On Tue, Dec 05, 2017 at 03:45:07PM -0600, Tom Gall wrote: > >> > >> > >>> On Dec 5, 2017, at 12:24 AM, Greg Kroah-Hartman > >>> wrote: > >>> > >>> On Mon, D

[PATCH 1/1] codestyle issue fixed drivers/staging/vc04_services

2017-12-06 Thread Mikhail Shvetsov
From: Mike Signed-off-by: Mike --- .../interface/vchiq_arm/vchiq_kern_lib.c | 64 -- 1 file changed, 35 insertions(+), 29 deletions(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_kern_lib.c b/drivers/staging/vc04_services/interface/vchiq_

Re: [PATCH v2] doc: convert printk-formats.txt to rst

2017-12-06 Thread Markus Heiser
> Am 07.12.2017 um 06:49 schrieb Tobin C. Harding : > > Documentation/printk-formats.txt is a candidate for conversion to > ReStructuredText format. Some effort has already been made to do this > conversion even thought the suffix is currently .txt > [...] > > Signed-off-by: Tobin C. Harding >

Re: USB: hub: Delete an error message for a failed memory allocation in usb_hub_clear_tt_buffer()

2017-12-06 Thread Geert Uytterhoeven
Hi Alan, On Wed, Dec 6, 2017 at 11:02 PM, Alan Stern wrote: > On Wed, 6 Dec 2017, SF Markus Elfring wrote: >> >>> Does the existing memory allocation error message include the >> >>> &udev->dev device name and driver name? If it doesn't, there will be >> >>> no way for the user to tell that the

Re: [PATCH v3] ARM: da850: Fix LEGO EV3 battery voltage gpio

2017-12-06 Thread Sekhar Nori
On Monday 04 December 2017 03:34 AM, David Lechner wrote: > This fixes the battery voltage monitoring gpio-hog settings. > > When the gpio is low, it turns off the battery voltage to the ADC chip. > However, this needs to be on all of the time so that we can monitor > battery voltage. > > Also, t

Re: [tip:x86/mpx] x86/insn-eval: Add utility function to get segment descriptor

2017-12-06 Thread Ricardo Neri
On Tue, Dec 05, 2017 at 10:29:33PM +0100, Borislav Petkov wrote: > On Tue, Dec 05, 2017 at 07:38:45PM +0100, Peter Zijlstra wrote: > > Sorry what? So either this code is broken because it has IRQs enabled, > > or its broken because its trying to acquire a mutex with IRQs disabled. > > Which is it?

Re: [PATCH v3 35/36] usb/gadget/NCM: Replace tasklet with softirq hrtimer

2017-12-06 Thread Anna-Maria Gleixner
On Mon, 4 Dec 2017, Felipe Balbi wrote: > Anna-Maria Gleixner writes: > > > From: Thomas Gleixner > > > > The tx_tasklet tasklet is used in invoke the hrtimer (task_timer) in > > softirq context. This can be also achieved without the tasklet but > > with HRTIMER_MODE_SOFT as hrtimer mode. > > >

RE: [PATCH v2] arm64: dts: ls1088a: Add USB support

2017-12-06 Thread Yinbo Zhu
Hi shawn guo, If my patch has no other issue, Can you help me push it to upstream. Thanks. BRs. -Original Message- From: Yinbo Zhu Sent: Wednesday, November 22, 2017 9:32 AM To: 'Shawn Guo' Cc: 'Rob Herring' ; 'Mark Rutland' ; 'Catalin Marinas )' ; 'Will Deacon )' ; Harninder Rai ;

Re: [tip:x86/mpx] x86/insn-eval: Add utility function to get segment descriptor

2017-12-06 Thread Ricardo Neri
On Tue, Dec 05, 2017 at 07:14:56PM +0100, Borislav Petkov wrote: > > But, if other code is going to use those functions - and I believe > that's the idea - otherwise they wouldn't be in arch/x86/lib/ At the moment MPX and UMIP are using the insn-eval decoder to determine linear addresses. Thank

Re: [PATCH] cpufreq: longhaul: Set transition_delay_us to 20 ms

2017-12-06 Thread Meelis Roos
> On 06-12-17, 20:21, Meelis Roos wrote: > > 3 was not reliable. > > > > I created root cron job > > @reboot sleep 120; /sbin/reboot > > > > and by the evening it was dead again. > > > > Will try 5 tomorrow. > > Lets make it similar to what it was before my original patch modified > it,

[PATCH] LDT improvements

2017-12-06 Thread Andy Lutomirski
I think I like this approach. I also think it might be nice to move the whole cpu_entry_area into this new pgd range so that we can stop mucking around with the fixmap. TODO: - It crashes in ldt_gdt_64. Not sure why. - 5-level docs aren't updated and the code is untested. Signed-off-by: Andy

[PATCH v2 5/5] perf-probe: Support escaped character in parser

2017-12-06 Thread Masami Hiramatsu
Support the special characters escaped by '\' in parser. This allows user to specify versions directly like below. = # ./perf probe -x /lib64/libc-2.25.so malloc_get_state\\@GLIBC_2.2.5 Added new event: probe_libc:malloc_get_state (on malloc_get_state@GLIBC_2.2.5 in /usr/lib64/libc-

[PATCH v2 3/5] perf-probe: Add __return suffix for return events

2017-12-06 Thread Masami Hiramatsu
Add __return suffix for function return events automatically. Without this, user have to give --force option and will see the number suffix for each event like "function_1", which is not easy to recognize. Instead, this adds __return suffix to it automatically. E.g. = # ./perf probe -x /li

[PATCH v2 4/5] perf-probe: Find versioned symbols from map

2017-12-06 Thread Masami Hiramatsu
Find versioned symbols correctly from map. Commit d80406453ad4 ("perf symbols: Allow user probes on versioned symbols") allows user to find default versioned symbols (with "@@") in map. However, it did not enable normal versioned symbol (with "@") for perf-probe. E.g. = # ./perf probe -x /

[PATCH v2 2/5] perf-probe: Cut off the version suffix from event name

2017-12-06 Thread Masami Hiramatsu
Cut off the version suffix (e.g. @GLIBC_2.2.5 etc.) from automatic generated event name. This fixes wildcard event adding like below case; = # perf probe -x /lib64/libc-2.25.so malloc* Internal error: "malloc_get_state@GLIBC_2" is wrong event name. Error: Failed to add events.

[PATCH v2 1/5] perf-probe: Add warning message if there is unexpected event name

2017-12-06 Thread Masami Hiramatsu
This improve the error message so that user can know event-name error before writing new events to kprobe-events interface. E.g. == #./perf probe -x /lib64/libc-2.25.so malloc_get_state* Internal error: "malloc_get_state@GLIBC_2" is wrong event name. Error: Failed to add events.

[PATCH v2 0/5] perf-probe: Improve probing on versioned symbols

2017-12-06 Thread Masami Hiramatsu
Hi, Here is the 2nd version of the series for probing on versioned symbols in libraries. This includes 5 patches to fix the issues discussed on perf-users ML (https://www.spinics.net/lists/linux-perf-users/msg04637.html) The first version is here; https://lkml.org/lkml/2017/12/5/1124 Here is th

Re: Use-after-free with deferred driver probing and __initconst

2017-12-06 Thread Frank Rowand
adding /me On 12/04/17 04:24, Greg Kroah-Hartman wrote: > On Sun, Dec 03, 2017 at 07:19:53PM +0200, Dan Aloni wrote: >> Hi all, >> >> [[ CC'ed: folks relating to the original __*_refok family of attributes, >> deferred probing, Open Firmware maintainer, drivers/base/ maintainer, >> kernel harderni

Re: Use-after-free with deferred driver probing and __initconst

2017-12-06 Thread Frank Rowand
adding /me On 12/03/17 12:19, Dan Aloni wrote: > Hi all, > > [[ CC'ed: folks relating to the original __*_refok family of attributes, > deferred probing, Open Firmware maintainer, drivers/base/ maintainer, > kernel harderning, LKML ]] > > It seems that it is possible to cause a use-after-free in

Re: [PATCH 2/2] arm64: allwinner: a64: bananapi-m64: add usb otg

2017-12-06 Thread Jagan Teki
On Thu, Dec 7, 2017 at 12:31 PM, Chen-Yu Tsai wrote: > On Thu, Dec 7, 2017 at 2:54 PM, Jagan Teki wrote: >> On Thu, Dec 7, 2017 at 11:56 AM, Chen-Yu Tsai wrote: >>> On Thu, Dec 7, 2017 at 2:18 PM, Jagan Teki wrote: On Thu, Dec 7, 2017 at 8:54 AM, Chen-Yu Tsai wrote: > On Thu, Dec 7, 2

Re: [PATCH v2] clk: stm32-h7: fix copyright

2017-12-06 Thread Stephen Boyd
On 11/30, Benjamin Gaignard wrote: > Uniformize STMicroelectronics copyrights header > Add SPDX identifier > > Signed-off-by: Benjamin Gaignard > Acked-by: Alexandre TORGUE > CC: Gabriel Fernandez > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,

Re: [PATCH v2] usb: core: Add "quirks" parameter for usbcore

2017-12-06 Thread Kai Heng Feng
> On 6 Dec 2017, at 10:10 PM, Greg KH wrote: > > On Wed, Dec 06, 2017 at 06:26:21PM +0800, Kai-Heng Feng wrote: >> Trying quirks in usbcore needs to rebuild the driver or the entire >> kernel if it's builtin. It can save a lot of time if usbcore has similar >> ability like "usbhid.quirks=" and "

Re: [PATCH v3 2/3] clk: hisilicon: Add support for Hi3660 stub clocks

2017-12-06 Thread Stephen Boyd
On 11/17, Xu YiPing wrote: > From: Kaihua Zhong > + > +static struct clk_hw *hi3660_stub_clk_hw_get(struct of_phandle_args *clkspec, > + void *data) > +{ > + unsigned int idx = clkspec->args[0]; > + > + if (idx > HI3660_CLK_STUB_NUM) { This should

Re: [PATCHv4 4/4] x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G

2017-12-06 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > This patch addresses a shortcoming in current boot process on machines > that supports 5-level paging. s/in current boot process /in the current boot process > If a bootloader enables 64-bit mode with 4-level paging, we might need to > switch over to 5-level pagi

Re: [PATCH 2/2] arm64: allwinner: a64: bananapi-m64: add usb otg

2017-12-06 Thread Chen-Yu Tsai
On Thu, Dec 7, 2017 at 2:54 PM, Jagan Teki wrote: > On Thu, Dec 7, 2017 at 11:56 AM, Chen-Yu Tsai wrote: >> On Thu, Dec 7, 2017 at 2:18 PM, Jagan Teki wrote: >>> On Thu, Dec 7, 2017 at 8:54 AM, Chen-Yu Tsai wrote: On Thu, Dec 7, 2017 at 1:51 AM, Jagan Teki wrote: > usb otg on ba

Re: Timer refuses to expire

2017-12-06 Thread Boqun Feng
Hi Paul, On Wed, Dec 06, 2017 at 02:04:21PM -0800, Paul E. McKenney wrote: > On Tue, Dec 05, 2017 at 03:37:44PM -0800, Paul E. McKenney wrote: > > On Mon, Dec 04, 2017 at 09:42:08AM -0800, Paul E. McKenney wrote: > > > On Fri, Dec 01, 2017 at 10:25:29AM -0800, Paul E. McKenney wrote: > > > > Hello

Re: [PATCH v3 1/3] dt-bindings: clk: Hi3660: Document stub clock

2017-12-06 Thread Stephen Boyd
On 11/17, Xu YiPing wrote: > From: Leo Yan > > Document the DT binding for stub clock which is used for CPU, > GPU and DDR frequency scaling. > > Acked-by: Rob Herring > Signed-off-by: Leo Yan > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a

Re: [PATCH 01/10] staging: ccree: remove inline qualifiers

2017-12-06 Thread Gilad Ben-Yossef
On Mon, Dec 4, 2017 at 11:36 AM, Dan Carpenter wrote: > On Sun, Dec 03, 2017 at 01:58:12PM +, Gilad Ben-Yossef wrote: >> The ccree drivers was marking a lot of big functions in C file as >> static inline for no good reason. Remove the inline qualifier from >> any but the few truly single line

Re: [PATCH] checkpatch: add check for tag Co-Developed-by

2017-12-06 Thread Joe Perches
On Thu, 2017-12-07 at 07:55 +0100, Greg Kroah-Hartman wrote: > On Wed, Dec 06, 2017 at 10:34:26PM -0800, Joe Perches wrote: > > On Thu, 2017-12-07 at 11:59 +1100, Tobin C. Harding wrote: > > > Recently signature tag Co-Developed-by was added to the > > > kernel (Documentation/process/5.Posting.rst)

Re: [PATCH 0/1] About MIPS/Loongson maintainance

2017-12-06 Thread Greg Kroah-Hartman
On Thu, Dec 07, 2017 at 02:31:07PM +0800, Huacai Chen wrote: > Hi, Linus, Stephen, Greg, Ralf and James, > > We are kernel developers from Lemote Inc. and Loongson community. We > have already made some contributions in Linux kernel, but we hope we > can do more works. > > Of course Loongson is a

Re: [PATCH] checkpatch: add check for tag Co-Developed-by

2017-12-06 Thread Greg Kroah-Hartman
On Thu, Dec 07, 2017 at 11:59:36AM +1100, Tobin C. Harding wrote: > Recently signature tag Co-Developed-by was added to the > kernel (Documentation/process/5.Posting.rst). checkpatch.pl doesn't know > about it yet. All prior tags used all lowercase characters except for first > character. Checks fo

Re: [PATCH] checkpatch: add check for tag Co-Developed-by

2017-12-06 Thread Greg Kroah-Hartman
On Wed, Dec 06, 2017 at 10:34:26PM -0800, Joe Perches wrote: > On Thu, 2017-12-07 at 11:59 +1100, Tobin C. Harding wrote: > > Recently signature tag Co-Developed-by was added to the > > kernel (Documentation/process/5.Posting.rst). checkpatch.pl doesn't know > > about it yet. All prior tags used al

Re: [PATCH] usb: xhci: fix TDS for MTK xHCI1.1

2017-12-06 Thread Mathias Nyman
On 06.12.2017 08:42, Chunfeng Yun wrote: For MTK's xHCI 1.0 or latter, TD size is the number of max packet sized packets remaining in the TD, not including this TRB (following spec). For MTK's xHCI 0.96 and older, TD size is the number of max packet sized packets remaining in the TD, including t

Re: [PATCH V6 02/12] clk: sprd: Add common infrastructure

2017-12-06 Thread Stephen Boyd
On 11/27, Chunyan Zhang wrote: > + > + sprd_clk_set_regmap(desc, regmap); > + > + return 0; > +} > +EXPORT_SYMBOL_GPL(sprd_clk_regmap_init); > + > +int sprd_clk_probe(struct device *dev, struct clk_hw_onecell_data *clkhw) > +{ > + int i, ret = 0; ret shouldn't need to be initialized he

Re: [PATCH V6 01/12] drivers: move clock common macros out from vendor directories

2017-12-06 Thread Stephen Boyd
On 11/27, Chunyan Zhang wrote: > These macros are used by more than one SoC vendor platforms, avoid to > have many copies of these code, this patch moves them to the common > clock directory which every clock drivers can access to. > > Signed-off-by: Chunyan Zhang > --- > drivers/clk/clk_common.

[PATCH v2 1/3] mmc: dt-bindings: add mmc support to MT7623 SoC

2017-12-06 Thread sean.wang
From: Sean Wang Add the devicetree binding for MT7623 SoC using MT2701 as the fallback. Cc: devicet...@vger.kernel.org Signed-off-by: Sean Wang Acked-by: Rob Herring --- Documentation/devicetree/bindings/mmc/mtk-sd.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/device

[lkp-robot] [lib/rbtree,drm/mm] 3e6e51217d: WARNING:at_lib/stackdepot.c:#depot_save_stack

2017-12-06 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-7): commit: 3e6e51217dd14dcda10d4bc9a38b1440e2d42c14 ("lib/rbtree,drm/mm: Add rbtree_replace_node_cached()") git://anongit.freedesktop.org/drm-intel topic/core-for-CI in testcase: trinity with following parameters: runtime: 300s tes

[PATCH v2 0/3] Misc fixes up for MT7623 mmc

2017-12-06 Thread sean.wang
From: Sean Wang Changes since v1: - add tag from the feedback of v1 - enhance dt-binding documentation Just add some fixes up for the current MT7623 support Patch 1) complement the missing dt-bindings definitions Patch 2) pick up the proper falling back as patch 1 defines. Patch 3) SD-card dete

[PATCH v2 3/3] arm: dts: mt7623: fix card detection issue on bananapi-r2

2017-12-06 Thread sean.wang
From: Sean Wang Fix that bananapi-r2 booting from SD-card would fail since incorrect polarity is applied to the previous setup with GPIO_ACTIVE_HIGH. Cc: sta...@vger.kernel.org Fixes: 0eed8d097612 ("arm: dts: mt7623: Add SD-card and EMMC to bananapi-r2") Signed-off-by: Sean Wang Tested-by: Matt

[PATCH v2 2/3] arm: dts: mt7623: update mmc related nodes with the appropriate fallback

2017-12-06 Thread sean.wang
From: Sean Wang The current mmc related nodes should be falling back to MT2701 as the dt-binding defines and which has more appropriate setup for MT7623. Signed-off-by: Sean Wang --- arch/arm/boot/dts/mt7623.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/

[PATCH V3] spi: sun4i: disable clocks in the remove function

2017-12-06 Thread Takuo Koguchi
mclk and hclk need to be disabled. Since pm_runtime_disable does not disable the clocks, use pm_runtime_force_suspend instead. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Takuo Koguchi --- V3: remove redundant pm_runtime_disable call. Compile test only, no

[PATCH 1/2] mtd: spi-nor: cadence-quadspi: Refactor indirect read/write sequence.

2017-12-06 Thread Vignesh R
Move configuring of indirect read/write start address to cqspi_indirect_*_execute() function and rename cqspi_indirect_*_setup() function. This will help to reuse cqspi_indirect_*_setup() function for supporting direct access mode. Signed-off-by: Vignesh R --- drivers/mtd/spi-nor/cadence-quadspi

[PATCH 0/2] CQSPI: Add direct mode support

2017-12-06 Thread Vignesh R
This patch series enables use Direct access controller on Cadence QSPI which helps in accessing QSPI flash in memory mapped mode. On TI platforms, this mode has higher throughput compared to indirect access mode. Tested on TI's 66AK2G GP EVM. It would be great if this patch series could be teste

Re: [PATCH 6/6] clk: h8300: pr_err() strings should end with newlines

2017-12-06 Thread Stephen Boyd
On 11/24, Arvind Yadav wrote: > pr_err() messages should end with a new-line to avoid other messages > being concatenated. > > Signed-off-by: Arvind Yadav > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 5/6] clk: h8s2678: pr_err() strings should end with newlines

2017-12-06 Thread Stephen Boyd
On 11/24, Arvind Yadav wrote: > pr_err() messages should end with a new-line to avoid other messages > being concatenated. > > Signed-off-by: Arvind Yadav > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 4/6] SPEAr: clk: pr_err() strings should end with newlines

2017-12-06 Thread Stephen Boyd
On 11/24, Arvind Yadav wrote: > pr_err() messages should end with a new-line to avoid other messages > being concatenated. > > Signed-off-by: Arvind Yadav > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

[PATCH 2/2] mtd: spi-nor: cadence-quadspi: Add support for direct access mode

2017-12-06 Thread Vignesh R
Cadence QSPI controller provides direct access mode through which flash can be accessed in a memory-mapped IO mode. This enables read/write to flash using memcpy*() functions. This mode provides higher throughput for both read/write operations when compared to current indirect mode of operation. T

Re: [PATCH 3/6] clk: SPEAr: pr_err() strings should end with newlines

2017-12-06 Thread Stephen Boyd
On 11/24, Arvind Yadav wrote: > pr_err() messages should end with a new-line to avoid other messages > being concatenated. > > Signed-off-by: Arvind Yadav > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 2/6] clk: lpc32xx: pr_err() strings should end with newlines

2017-12-06 Thread Stephen Boyd
On 11/24, Arvind Yadav wrote: > pr_err() messages should end with a new-line to avoid other messages > being concatenated. > > Signed-off-by: Arvind Yadav > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 1/6] clk: stm32f4: pr_err() strings should end with newlines

2017-12-06 Thread Stephen Boyd
On 11/24, Arvind Yadav wrote: > pr_err() messages should end with a new-line to avoid other messages > being concatenated. > > Signed-off-by: Arvind Yadav > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH v8 7/7] arm64: kvm: handle SError Interrupt by categorization

2017-12-06 Thread gengdongjiu
Hi James, On 2017/12/7 3:04, James Morse wrote: > Hi gengdongjiu, > > On 06/12/17 10:26, gengdongjiu wrote: >> On 2017/11/15 0:00, James Morse wrote: + * error has not been propagated + */ + run->exit_reason = KVM_EXIT_EXCEPTION; + run->ex

Re: [PATCH 1/2] clk: qcom: msm8916: fix mnd_width for codec_digcodec

2017-12-06 Thread Stephen Boyd
On 12/06, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > This patch fixes missing mnd_width for codec_digital clk, this is now set to > 8 inline with datasheet. > > Fixes: 3966fab8b6ab ("clk: qcom: Add MSM8916 Global Clock Controller support") > Signed-off-by: Srinivas Kan

Re: [PATCH 2/2] clk: qcom: msm8916: add 12.288 MHz support to codec dig clk

2017-12-06 Thread Stephen Boyd
On 12/06, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > This patch adds 12.288 MHz suport to codec digital clk, this clock. > Some external PA requires a 12.288 MHz to work. > > Signed-off-by: Srinivas Kandagatla > --- Applied to clk-next -- Qualcomm Innovation Center

Re: [PATCH] checkpatch: add check for tag Co-Developed-by

2017-12-06 Thread Joe Perches
On Thu, 2017-12-07 at 11:59 +1100, Tobin C. Harding wrote: > Recently signature tag Co-Developed-by was added to the > kernel (Documentation/process/5.Posting.rst). checkpatch.pl doesn't know > about it yet. All prior tags used all lowercase characters except for first > character. Checks for this

Re: [PATCH] clk: qcom: msm8916: Fix i2s clk rates required for mclk

2017-12-06 Thread Stephen Boyd
On 11/29, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > lpaif i2s clk rates in the freq table are not accurate enough > for I2S mclk. Fix the inaccurate ones and add few more clock > rates that are used in LPASS audio driver. > > Signed-off-by: Srinivas Kandagatla > ---

Re: [PATCH V7 2/2] dt-bindings: Add qcom spmi_pmic clock divider bindings

2017-12-06 Thread Stephen Boyd
On 11/21, Tirupathi Reddy wrote: > This patch adds device tree bindings for Qualcomm SPMI PMIC > clock divider module. > > Signed-off-by: Tirupathi Reddy > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH V7 1/2] clk: qcom: Add spmi_pmic clock divider support

2017-12-06 Thread Stephen Boyd
On 11/21, Tirupathi Reddy wrote: > Clkdiv module provides a clock output on the PMIC with CXO as > the source. This clock can be routed through PMIC GPIOs. Add > a device driver to configure this clkdiv module. > > Signed-off-by: Stephen Boyd > Signed-off-by: Tirupathi Reddy > --- Applied to cl

Re: [PATCHv4 3/4] x86/boot/compressed/64: Introduce place_trampoline()

2017-12-06 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > If a bootloader enables 64-bit mode with 4-level paging, we might need to > switch over to 5-level paging. The switching requires disabling paging. > It works fine if kernel itself is loaded below 4G. s/The switching requires disabling paging. /The switching requi

[PATCH 0/1] About MIPS/Loongson maintainance

2017-12-06 Thread Huacai Chen
Hi, Linus, Stephen, Greg, Ralf and James, We are kernel developers from Lemote Inc. and Loongson community. We have already made some contributions in Linux kernel, but we hope we can do more works. Of course Loongson is a sub-arch in MIPS, but linux-mips community is so inactive (Maybe maintaine

[PATCH 1/1] MAINTAINERS: Add Loongson-2/Loongson-3 maintainers

2017-12-06 Thread Huacai Chen
Add Jiaxun Yang as the MIPS/Loongson-2 maintainer and add Huacai Chen as the MIPS/Loongson-3 maintainer. Signed-off-by: Huacai Chen Signed-off-by: Jiaxun Yang --- MAINTAINERS | 20 1 file changed, 20 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index cdd6365..bf449

Re: [PATCH V7 2/2] dt-bindings: Add qcom spmi_pmic clock divider bindings

2017-12-06 Thread Stephen Boyd
On 12/04, Rob Herring wrote: > On Tue, Nov 21, 2017 at 02:41:05PM +0530, Tirupathi Reddy wrote: > > This patch adds device tree bindings for Qualcomm SPMI PMIC > > clock divider module. > > > > Signed-off-by: Tirupathi Reddy > > --- > > .../bindings/clock/qcom,spmi-pmic-div.txt | 59 >

Re: [PATCH v4 0/9] drm/i915: Implement HDCP

2017-12-06 Thread Ramalingam C
Sean, Could you please share the level of functional testing is done on this code? like with Receiver/Repeaters and port type tested (DP/HDMI/DP over USB TypeC ?) Whether Compliance test is attempted on this code? Thanks -Ram On Thursday 07 December 2017 05:30 AM, Sean Paul wrote: Welcome

Re: [PATCH 2/2] arm64: allwinner: a64: bananapi-m64: add usb otg

2017-12-06 Thread Chen-Yu Tsai
On Thu, Dec 7, 2017 at 2:18 PM, Jagan Teki wrote: > On Thu, Dec 7, 2017 at 8:54 AM, Chen-Yu Tsai wrote: >> On Thu, Dec 7, 2017 at 1:51 AM, Jagan Teki wrote: >>> usb otg on bananapi-m64 has configured with USB-ID with PH9 >>> and USB-DRVVBUS attached with dcdc1 regulatort. >> >> That is not how y

Re: unused-variable warning is getting disabled with clang

2017-12-06 Thread Greg Kroah-Hartman
On Wed, Dec 06, 2017 at 01:24:51PM -0800, Sodagudi Prasad wrote: > > Hi All, > > When kernel compiled with clang, following line is disabling the > unused-variable warning. This is not the case with gcc. > KBUILD_CFLAGS += $(call cc-disable-warning, unused-variable) > > Are there any specific re

Re: WARNING in x86_emulate_insn

2017-12-06 Thread Dmitry Vyukov
On Thu, Dec 7, 2017 at 1:44 AM, Wanpeng Li wrote: > 2017-12-06 4:07 GMT+08:00 syzbot > : >> Hello, >> >> syzkaller hit the following crash on >> fb20eb9d798d2f4c1a75b7fe981d72dfa8d7270d >> git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master >> compiler: gcc (GCC) 7.1.1 2017062

Re: [PATCH 00/13] Updates for QCOM Alpha PLL

2017-12-06 Thread Stephen Boyd
On 09/28, Abhishek Sahu wrote: > This patch series does the miscellaneous changes in QCOM Alpha PLL > operation and structure to support other types of Alpha PLL’s. > > 1. It adds the pll_type which will be used for determining all >the properties of Alpha PLL. > 2. It adds the support for Bra

Re: [PATCH] staging: ccree: ssi_aead: fixed all coding style warnings.

2017-12-06 Thread Gilad Ben-Yossef
Hi Sunil, On Thu, Dec 7, 2017 at 12:08 AM, SUNIL KALLUR RAMEGOWDA wrote: > My first kernel patch, fixed warnings. > Congratulations and may there be many more! :-) Please note that in addition to what Greg's patch-bot already mentioned I'm pretty sure you are looking at Linus's tree and not Gre

Re: [PATCH 2/2] arm64: allwinner: a64: bananapi-m64: add usb otg

2017-12-06 Thread Jagan Teki
On Thu, Dec 7, 2017 at 8:54 AM, Chen-Yu Tsai wrote: > On Thu, Dec 7, 2017 at 1:51 AM, Jagan Teki wrote: >> usb otg on bananapi-m64 has configured with USB-ID with PH9 >> and USB-DRVVBUS attached with dcdc1 regulatort. > > That is not how you read the schematic... > > Intersecting lines that are t

Re: [PATCH] staging: ccree: ssi_aead: fixed all coding style warnings.

2017-12-06 Thread Greg KH
On Wed, Dec 06, 2017 at 11:08:09PM +0100, SUNIL KALLUR RAMEGOWDA wrote: > My first kernel patch, fixed warnings. > > Signed-off-by: SUNIL KALLUR RAMEGOWDA > --- > drivers/staging/ccree/ssi_aead.c | 179 > +++ > 1 file changed, 123 insertions(+), 56 deletions(

Re: [PATCHv4 2/4] x86/boot/compressed/64: Rename pagetable.c to kaslr_64.c

2017-12-06 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > The name of the file -- pagetable.c -- is misleading: it only contains > helpers used for KASLR in 64-bin mode. s/64-bin mode /64-bit mode Thanks, Ingo

Re: [PATCHv4 1/4] x86/boot/compressed/64: Fix build with GCC < 5

2017-12-06 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > 0-day reported this build error: > >arch/x86/boot/compressed/pgtable_64.o: In function `l5_paging_required': >pgtable_64.c:(.text+0x22): undefined reference to `__force_order' > > The issue is only with GCC < 5 and when KASLR is disabled. Newer GCC > works

Re: [PATCH 5/6] staging: pi433: Move enum option_on_off to pi433_if.h

2017-12-06 Thread Greg KH
On Thu, Dec 07, 2017 at 12:24:34AM +0200, Marcus Wolf wrote: > > > Am 06.12.2017 um 22:42 schrieb Simon Sandström: > > The enum is now only used for ioctl, so move it pi433_if.h. > > > > Signed-off-by: Simon Sandström > > --- > > drivers/staging/pi433/pi433_if.h | 5 + > > drivers/stagi

Re: [PATCH 1/2] epoll: use the waitqueue lock to protect ep->wq

2017-12-06 Thread Ingo Molnar
* Andreas Dilger wrote: > > On Dec 6, 2017, at 17:49, Ingo Molnar wrote: > > > > This exposes some waitqueue internals, but AFAICS the FUSE code already > > does a > > similar trick with fiq->waitq.lock so there's precedent. > > What about waitqueue_lock() and waitqueue_unlock() helpers tha

Re: [PATCH 0/5] perf-probe: Improve probing on versioned symbols

2017-12-06 Thread Masami Hiramatsu
On Thu, 7 Dec 2017 10:13:28 +0530 Ravi Bangoria wrote: > Hi Masami, > > > On 12/06/2017 08:36 AM, Masami Hiramatsu wrote: > > [4/5] Find versioned symbol from map without wildcard. > >This allows user to specify a symbol without version > >suffix nor wildcard. Anyway, at this point we h

Re: [RFC v3 PATCH 0/2] Introduce Security Version to EFI Stub

2017-12-06 Thread Ingo Molnar
* Gary Lin wrote: > On Wed, Dec 06, 2017 at 07:37:34PM +0100, Ingo Molnar wrote: > > > > * Gary Lin wrote: > > > > > On Tue, Dec 05, 2017 at 04:14:26PM -0500, Josh Boyer wrote: > > > > On Tue, Dec 5, 2017 at 5:01 AM, Gary Lin wrote: > > > > > The series of patches introduce Security Version

[PATCH net-next 3/3] net: dsa: mediatek: update MAINTAINERS entry with MediaTek switch driver

2017-12-06 Thread sean.wang
From: Sean Wang I work for MediaTek and maintain SoC targeting to home gateway and also will keep extending and testing the function from MediaTek switch. Signed-off-by: Sean Wang --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c0edf30

[PATCH net-next 0/3] add VLAN support to DSA MT7530

2017-12-06 Thread sean.wang
From: Sean Wang The patchset extends DSA MT7530 to VLAN support through filling required callbacks in patch 1 and merging the special tag with VLAN tag in patch 2 for allowing that the hardware can handle these packets with VID from the CPU port. Sean Wang (3): net: dsa: mediatek: add VLAN sup

[PATCH net-next 1/3] net: dsa: mediatek: add VLAN support for MT7530

2017-12-06 Thread sean.wang
From: Sean Wang MT7530 can treat each port as either VLAN-unware port or VLAN-ware port through the implementation of port matrix mode or port security mode on the ingress port, respectively. On one hand, Each port has been acting as the VLAN-unware one whenever the device is created in the initi

[PATCH net-next 2/3] net: dsa: mediatek: combine MediaTek tag with VLAN tag

2017-12-06 Thread sean.wang
From: Sean Wang In order to let MT7530 switch can recognize well those packets having both special tag and VLAN tag, the information about the special tag should be carried on the existing VLAN tag. Signed-off-by: Sean Wang --- net/dsa/tag_mtk.c | 38 +- 1 f

Re: [PATCH v3 08/15] drm/sun4i: Add LVDS support

2017-12-06 Thread Chen-Yu Tsai
On Tue, Dec 5, 2017 at 11:10 PM, Maxime Ripard wrote: > The TCON supports the LVDS interface to output to a panel or a bridge. > Let's add support for it. > > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/sun4i/Makefile | 1 +- > drivers/gpu/drm/sun4i/sun4i_lvds.c | 183

[v2 PATCH] cpufreq: powernv: Correctly parse the sign of pstates on POWER8 vs POWER9

2017-12-06 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" On POWERNV platform, Pstates are 8-bit values. On POWER8 they are negatively numbered while on POWER9 they are positively numbered. Thus, on POWER9, the maximum number of pstates could be as high as 256. The current code interprets pstates as a signed 8-bit value. This

[PATCH] mm/huge_memory: fix comment in __split_huge_pmd_locked

2017-12-06 Thread Yisheng Xie
pmd_trans_splitting has been remove after THP refcounting redesign, therefore related comment should be updated. Signed-off-by: Yisheng Xie --- mm/huge_memory.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 86fe697..f2467a0 1

[rcu:rcu/dev 24/25] ERROR: "schedule_timeout_set_task2dump" [kernel/torture.ko] undefined!

2017-12-06 Thread kbuild test robot
Hi Paul, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/dev head: 7cd5cf28cef12fa21e35063c906a38e7be270a17 commit: aa2b802cb432a725589884d2ba47833de21e0871 [24/25] EXP: timer: Dump __cpuhp_kick_ap task state config: x86_

Re: [PATCH RESEND] arm64: fault: avoid send SIGBUS two times

2017-12-06 Thread gengdongjiu
On 2017/12/7 0:15, Will Deacon wrote: >> --- a/arch/arm64/mm/fault.c >> +++ b/arch/arm64/mm/fault.c >> @@ -570,7 +570,6 @@ static int do_sea(unsigned long addr, unsigned int esr, >> struct pt_regs *regs) >> { >> struct siginfo info; >> const struct fault_info *inf; >> -int ret = 0;

[PATCH v2] doc: convert printk-formats.txt to rst

2017-12-06 Thread Tobin C. Harding
Documentation/printk-formats.txt is a candidate for conversion to ReStructuredText format. Some effort has already been made to do this conversion even thought the suffix is currently .txt Changes required to complete conversion - Move printk-formats.txt to core-api/printk-formats.rst - Add ent

Re: [PATCH 0/2] mm: introduce MAP_FIXED_SAFE

2017-12-06 Thread Michael Ellerman
Matthew Wilcox writes: > On Tue, Dec 05, 2017 at 08:54:35PM -0800, Matthew Wilcox wrote: >> On Wed, Dec 06, 2017 at 03:51:44PM +1100, Michael Ellerman wrote: >> > Cyril Hrubis writes: >> > >> > > Hi! >> > >> > MAP_FIXED_UNIQUE >> > >> > MAP_FIXED_ONCE >> > >> > MAP_FIXED_FRESH >> > >> >> > >>

[RESEND PATCH v2] dmaengine: zynqmp_dma: Add runtime pm support

2017-12-06 Thread Kedareswara rao Appana
This patch adds runtime pm support in the driver. Signed-off-by: Kedareswara rao Appana --- Resending the patch as there are some issues with my git send-email, patch is not showing in the dmeengine mailing list. Changes for v2: --> Fixed error path in the probe. drivers/dma/xilinx/zynqmp_dma.c

[PATCH v2 1/4] dmaengine: zynqmp_dma: Fix kernel doc-format

2017-12-06 Thread Kedareswara rao Appana
This patch fixes the below kernel doc warnings drivers/dma/xilinx/zynqmp_dma.c:552: info: Scanning doc for zynqmp_dma_device_config drivers/dma/xilinx/zynqmp_dma.c:558: warning: No description found for return value of 'zynqmp_dma_device_config' drivers/dma/xilinx/zynqmp_dma.c:649: info: Scanning d

[PATCH v2 4/4] dmaengine: zynqmp_dma: Fix race condition in the probe

2017-12-06 Thread Kedareswara rao Appana
Incase of interrupt property is not present, Driver is trying to free an invalid irq, This patch fixes it by adding a check before freeing the irq. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> New patch. drivers/dma/xilinx/zynqmp_dma.c | 3 ++- 1 file changed, 2 insertions(+),

[PATCH v2 0/4] dmaengine: zynqmp_dma: Bug fixes

2017-12-06 Thread Kedareswara rao Appana
This patch series does the below --> Fixes kernel doc format style issues. --> Fixes warings in the driver. --> Fixes issues with overflow interrupt. --> Fixes race condition in the probe. This patch series got created on top of the below patch "dmaengine: zynqmp_dma: Add runtime pm support" Chan

[PATCH v2 3/4] dmaengine: zynqmp_dma: Fix issues with overflow interrupt

2017-12-06 Thread Kedareswara rao Appana
This patch fixes the below issues. --> Need to clear the channel data count register when overflow interrupts occurs. --> Reduce the log level from _info to _dbg when overflow interrupt occurs. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> None. drivers/dma/xilinx/zynqmp_dma.c |

[PATCH v2 2/4] dmaengine: zynqmp_dma: Fix warning variable 'val' set but not used

2017-12-06 Thread Kedareswara rao Appana
This patch fixes the below warning drivers/dma/xilinx/zynqmp_dma.c: In function 'zynqmp_dma_handle_ovfl_int': drivers/dma/xilinx/zynqmp_dma.c:522:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> None. drivers

Re: [PATCH V11 4/5] vsprintf: add printk specifier %px

2017-12-06 Thread Sergey Senozhatsky
On (12/07/17 16:17), Tobin C. Harding wrote: [..] > > hm, indeed. and !CONFIG_KALLSYMS config turns %pS/%ps > > into special_hex_number(). > > But totally misses this :( > > "" would be better returned when !CONFIG_KALLSYMS, right? I guess I'll take back my comment. I assume there are tons of e

[PATCH v7 5/6] dmaengine: xilinx_dma: fix style issues from checkpatch

2017-12-06 Thread Kedareswara rao Appana
This patch fixes below. ERROR: open brace '{' following function definitions go on the next line +static int xilinx_dma_child_probe(struct xilinx_dma_device *xdev, + struct device_node *node) { Signed-off-by: Kedareswara rao Appana --- Changes for v7: --> New pat

Re: [PATCH v6 3/6] kernel/reboot.c: export pm_power_off_prepare

2017-12-06 Thread Oleksij Rempel
On 07.12.2017 00:11, Christoph Hellwig wrote: >> void (*pm_power_off_prepare)(void); >> +EXPORT_SYMBOL(pm_power_off_prepare); > > EXPORT_SYMBOL_GPL for something this deeply internal, please. Ok, probably all other symbols should be converted in this file in to EXPORT_SYMBOL_GPL as well? grep

[PATCH v7 2/6] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-12-06 Thread Kedareswara rao Appana
VDMA engine default frame buffer configuration is cirular mode. in this mode dmaengine continuously circles through h/w configured fstore frame buffers. When vdma h/w is configured for more than one frame. for example h/w is configured for n number of frames, user submits less than n number of fra

  1   2   3   4   5   6   7   8   9   10   >