Re: [PATCH 4.20 00/88] 4.20.14-stable review

2019-03-04 Thread Greg Kroah-Hartman
On Tue, Mar 05, 2019 at 02:06:11AM +0530, Naresh Kamboju wrote: > On Mon, 4 Mar 2019 at 14:02, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 4.20.14 release. > > There are 88 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH 4.20 00/88] 4.20.14-stable review

2019-03-04 Thread Greg Kroah-Hartman
On Mon, Mar 04, 2019 at 07:39:48PM -0800, Guenter Roeck wrote: > On 3/4/19 12:21 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.20.14 release. > > There are 88 patches in this series, all will be posted as a response > > to this one. If anyone has any

[PATCH v4.9 1/1] jiffies: use jiffies64_to_nsecs() to fix 100% steal usage for xen vcpu hotplug

2019-03-04 Thread Dongli Zhang
[ Not relevant upstream, therefore no upstream commit. ] To fix, use jiffies64_to_nsecs() directly instead of deriving the result according to jiffies_to_usecs(). As the return type of jiffies_to_usecs() is 'unsigned int', when the return value is more than the size of 'unsigned int', the

Re: [PATCH 2/2] arm64: dts: bitmain: Add GPIO Line names for Sophon Edge board

2019-03-04 Thread Linus Walleij
On Tue, Feb 26, 2019 at 12:50 PM Manivannan Sadhasivam wrote: > Add GPIO line names for Sophon Edge board based on BM1880 SoC from > Bitmain. Line names are based on the board schematics as well as the > 96Boards Consumer Edition specification v1.0. > > Signed-off-by: Manivannan Sadhasivam

Re: [PATCH 1/2] arm64: dts: bitmain: Add GPIO support for BM1880 SoC

2019-03-04 Thread Linus Walleij
On Tue, Feb 26, 2019 at 12:50 PM Manivannan Sadhasivam wrote: > Add GPIO support for Bitmain BM1880 SoC based on Designware APB GPIO > controller IP. IP exposes 3 GPIO controllers with a total of 72 pins. > > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Linus Walleij Yours, Linus

Re: [PATCH] media: staging/intel-ipu3: reduce kernel stack usage

2019-03-04 Thread Sakari Ailus
Hi Bingbu, Arnd, On Tue, Mar 05, 2019 at 12:25:18AM +, Cao, Bingbu wrote: ... > > @@ -1744,7 +1745,7 @@ int imgu_css_fmt_try(struct imgu_css *css, > > struct v4l2_rect *const bds = [IPU3_CSS_RECT_BDS]; > > struct v4l2_rect *const env = [IPU3_CSS_RECT_ENVELOPE]; > > struct

Re: [PATCH] x86/ftrace: avoid an unused-function warning

2019-03-04 Thread Arnd Bergmann
On Mon, Mar 4, 2019 at 10:43 PM Steven Rostedt wrote: > On Mon, 4 Mar 2019 21:07:39 +0100 Arnd Bergmann wrote: ... > Also, it's basically identical to ftrace_call_replace(). I'm going to > combine the two and move the jmp replace and have it do this instead. Sounds good. >

Re: [RFC PATCH] printk: Introduce "store now but print later" prefix.

2019-03-04 Thread Sergey Senozhatsky
On (03/05/19 10:23), Tetsuo Handa wrote: > > > > [..] > > > >> This patch tries to address "don't lockup the system" with minimal > > > >> risk of > > > >> failing to "print out printk() messages", by allowing printk() callers > > > >> to > > > >> tell printk() "store $body_text_lines lines into

Re: [PATCH v4 00/14] m68k: Drop arch_gettimeoffset and adopt clocksource API

2019-03-04 Thread Geert Uytterhoeven
Hi Finn, On Tue, Mar 5, 2019 at 7:13 AM Finn Thain wrote: > On Sat, 1 Dec 2018, Finn Thain wrote: > > This series removes "select ARCH_USES_GETTIMEOFFSET" from arch/m68k > > and converts users of arch_gettimeoffset to the clocksource API. > > Various bugs are fixed along the way. > > Are there

Re: [PATCH] ARM: qcom_defconfig: add options for LG Nexus 5 phone

2019-03-04 Thread Linus Walleij
On Sun, Feb 10, 2019 at 1:17 PM Brian Masney wrote: > Add wcn36xx wireless, msm vibrator, pm8941 power key, bq24190 charger, > spmi-iadc, spmi-vadc, mpu6515 gyroscope / accelerometer, and tsl2772 > proximity / light drivers as modules to support the LG Nexus 5 > (hammerhead) phone. > > CFG80211

Re: [m68k:master 1174/1174] arch/m68k/include/asm/string.h:72:25: warning: '__builtin_memcpy' forming offset 8 is out of the bounds [0, 7]

2019-03-04 Thread Geert Uytterhoeven
Hi Finn, On Tue, Mar 5, 2019 at 3:58 AM Finn Thain wrote: > On Tue, 5 Mar 2019, Finn Thain wrote: > > Looks bogus to me. > > > > If you change memcpy to __builtin_memcpy, then we avoid the macro and the > > warning changes to, > > > > ./include/linux/string.h:456:3: warning: '__builtin_memcpy'

Re: [PATCH] Input: msm-vibrator: use correct gpio header

2019-03-04 Thread Linus Walleij
On Mon, Mar 4, 2019 at 8:57 PM Arnd Bergmann wrote: > When CONFIG_GPIOLIB is not set, we get a couple of build > errors during test building: > > drivers/input/misc/msm-vibrator.c: In function 'msm_vibrator_start': > drivers/input/misc/msm-vibrator.c:79:3: error: implicit declaration of >

Re: [PATCH v4 11/17] x86/clearcpuid: Clear CPUID bit in CPUID faulting

2019-03-04 Thread kbuild test robot
Hi Peter, I love your patch! Perhaps something to improve: [auto build test WARNING on kvm/linux-next] [also build test WARNING on v5.0 next-20190304] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

On reboot sometimes "sched: Unexpected reschedule of offline CPU#1!"

2019-03-04 Thread Andy Shevchenko
I have an Intel Merrifield platform where from time to time (don't know how to reproduce reliably) I have got a warning on reboot. Requesting system reboot [ 64.945973] reboot: Restarting system [ 64.950770] reboot: machine restart [ 64.955962] [ cut here ] [

Re: [PATCH] net: xfrm: Fix potential oops in xfrm_user_rcv_msg and array out of bounds

2019-03-04 Thread Su Yanjun
On 2019/3/5 15:31, Steffen Klassert wrote: On Tue, Mar 05, 2019 at 03:08:49PM +0800, Su Yanjun wrote: On 2019/3/5 14:49, Herbert Xu wrote: On Sun, Mar 03, 2019 at 10:47:39PM -0500, Su Yanjun wrote: When i review xfrm_user.c code, i found some potentical bug in it. In xfrm_user_rcvmsg if

Re: [PATCH] net: xfrm: Fix potential oops in xfrm_user_rcv_msg and array out of bounds

2019-03-04 Thread Steffen Klassert
On Tue, Mar 05, 2019 at 03:08:49PM +0800, Su Yanjun wrote: > On 2019/3/5 14:49, Herbert Xu wrote: > > > On Sun, Mar 03, 2019 at 10:47:39PM -0500, Su Yanjun wrote: > > > When i review xfrm_user.c code, i found some potentical bug in it. > > > > > > In xfrm_user_rcvmsg if type parameter from

linux-next: Tree for Mar 5

2019-03-04 Thread Stephen Rothwell
window. Changes since 20190304: The sound-asoc-fixes tree gained a conflict against the sound-current tree. The block tree gained a conflict against Linus' tree. Non-merge commits (relative to Linus' tree): 11135 10985 files changed, 492514 insertions(+), 253755 deletions

RE: Re: [PATCH v4] PM / devfreq: Restart previous governor if new governor fails to start

2019-03-04 Thread MyungJoo Ham
>Hey MyungJoo, Kyungmin >Did you get a chance to think about how you >want this fix implemented? > >On 2019-02-19 10:42, Sibi Sankar wrote: >> Hey MyungJoo, >> >> On 12/14/18 7:15 AM, MyungJoo Ham wrote: From: Saravana Kannan If the new governor fails to start, switch back to old

Re: [PATCH v2 04/10] mtd: rawnand: denali: switch over to ->exec_op() from legacy hooks

2019-03-04 Thread Masahiro Yamada
Hi Miquel, On Mon, Mar 4, 2019 at 6:31 PM Miquel Raynal wrote: > > Hi Masahiro, > > Masahiro Yamada wrote on Tue, 12 Feb > 2019 16:12:56 +0900: > > > Implement ->exec_op(), and remove the deprecated hooks. > > > > Signed-off-by: Masahiro Yamada > > --- > > Thanks for working on this, I like

Re: [RFC net-next 8/8] net/mlx5: Add subdev driver to bind to subdev devices

2019-03-04 Thread Greg KH
On Fri, Mar 01, 2019 at 05:21:13PM +, Parav Pandit wrote: > > > > -Original Message- > > From: Greg KH > > Sent: Friday, March 1, 2019 1:22 AM > > To: Parav Pandit > > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; > > michal.l...@markovi.net; da...@davemloft.net; Jiri

Re: [PATCH v12 1/4] pstore/blk: new support logger for block devices

2019-03-04 Thread Dan Carpenter
Hi liaoweixiong, url: https://github.com/0day-ci/linux/commits/liaoweixiong/pstore-block-new-support-logger-for-block-devices/20190303-142003 base: https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git for-next/pstore smatch warnings: fs/pstore/blkzone.c:180 blkz_zone_write()

[PATCH v2] scripts: checkpatch: Check multiple blank lines when deleting code

2019-03-04 Thread Alexandre Ghiti
By matching only current line starting with '+', we miss the case when deleting code makes consecutive blank lines appear: this patch then makes it possible to detect this case by also matching current line starting with ' ', which is an already existing blank line. Signed-off-by: Alexandre Ghiti

[PATCH v2 28/28] docs/zh_CN: update Zhang Wei's email address

2019-03-04 Thread Alex Shi
to replace the obsolete email address with new one. Signed-off-by: Alex Shi Cc: Zhang Wei Cc: Li Yang --- Documentation/translations/zh_CN/process/submitting-drivers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] virtio_console: free unused buffers with virtio port

2019-03-04 Thread Pankaj Gupta
Hello Michael, Thanks for your reply. > > On Mon, Mar 04, 2019 at 06:35:11PM +0530, Pankaj Gupta wrote: > > The commit a7a69ec0d8e4 ("virtio_console: free buffers after reset") > > deffered detaching of unused buffer to virtio device unplug time. > > > > This causes unplug/replug of

[PATCH] arm64: dts: qcom: qcs404-evb: Enable uart3 and add Bluetooth

2019-03-04 Thread Bjorn Andersson
Enable blsp1_uart3, define its pinconf and add the bluetooth node. It seems provisioning is lacking a valid BD address, preventing the interface from initializing, so provide a dummy for now. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 45

Re: [PATCH 01/20] docs/zh_CN: add disclaimer file

2019-03-04 Thread Alex Shi
On 2019/3/5 11:55 上午, Li Yang wrote: > On Mon, Mar 4, 2019 at 8:51 PM Alex Shi wrote: >> >> >> On 2019/3/5 7:31 上午, Li Yang wrote: >>> Zhang Wei >> The only usage of 'Zhang wei' in kernel is freescale's driver maintainer. I >> am not sure the outlook.com address is better than Zhang Wei's

Re: [PATCH 4/4] iommu/vt-d: Remove lazy allocation of domains

2019-03-04 Thread Lu Baolu
Hi, It's hard for me to understand why do we remove the rmrr related code in this patch. And, now we have two places to hold a domain for a device: group and dev->info. We can consider to optimize the use of per device iommu arch data. This should be later work anyway. More comments inline.

Re: [PATCH v4 15/17] kvm: x86: Report CORE_CAPABILITY on GET_SUPPORTED_CPUID

2019-03-04 Thread Xiaoyao Li
On Mon, 2019-03-04 at 12:14 +0100, Paolo Bonzini wrote: > On 04/03/19 12:10, Xiaoyao Li wrote: > > Like you said before, I think we don't need the condition judgment > > "if(boot_cpu_has(X86_FEATURE_SPLIT_LOCK_DETECT))", but to set > > F(CORE_CAPABILITY) > > always for guest since

[PATCH v2 07/27] docs/zh_CN: rename SubmittingPatches for html links

2019-03-04 Thread Alex Shi
renamed:Documentation/translations/zh_CN/process/SubmittingPatches -> Documentation/translations/zh_CN/process/submitting-patches.rst For htmldoc links. And will change the doc format to rst. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc:

[PATCH v2 23/26] docs/zh_CN: fix rst format errro in howto.rst

2019-03-04 Thread Alex Shi
Tame howto.rst file to avoid "ERROR: Unexpected indentation." etc compiler errors. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Yang Cc: TripleX Chung --- .../translations/zh_CN/process/howto.rst | 32 +-- 1 file changed, 30 insertions(+), 2

[PATCH v2 08/27] docs/zh_CN: format the submitting-patches doc to rst

2019-03-04 Thread Alex Shi
And remove Enghlish explainations in the docs, which it isn't necessary in Chinese doc. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/submitting-patches.rst | 36

[PATCH v2 12/27] docs/zh_CN: do rst format for email-clients.rst

2019-03-04 Thread Alex Shi
Make it readble as rst format. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/email-clients.rst | 53 --- 1 file changed, 22 insertions(+), 31 deletions(-) diff --git

[PATCH v2 10/27] docs/zh_CN: rst format change for stable-kernel-rules

2019-03-04 Thread Alex Shi
to Make it readble with rst format. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/stable-kernel-rules.rst | 32 +-- 1 file changed, 15 insertions(+), 17

[PATCH v2 17/27] docs/zh_CN: rename magic-numbers as rst doc

2019-03-04 Thread Alex Shi
to Make it available in html etc doc making Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Jia Wei Wei Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/{magic-number.txt => magic-number.rst} | 0 1 file changed, 0 insertions(+), 0

[PATCH v2 19/27] docs/zh_CN: rename stable_api_nonsense.txt as stable-api-nonsense.rst

2019-03-04 Thread Alex Shi
make it available in html etc doc making Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../process/{stable_api_nonsense.txt => stable-api-nonsense.rst} | 0 1 file changed, 0 insertions(+), 0

[PATCH v2 05/27] docs/zh_CN: rename HOWTO into process directory

2019-03-04 Thread Alex Shi
Make it available in htmldocs Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Yang Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- Documentation/translations/zh_CN/process/{HOWTO => howto.rst} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename

[PATCH v2 16/27] docs/zh_CN: format submitting drivers as rst

2019-03-04 Thread Alex Shi
to Make it readble for html etc docs making. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Yang Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/submitting-drivers.rst | 30 +++ 1 file changed, 11 insertions(+), 19

[PATCH v2 14/27] docs/zh_CN: volatile doc format changes

2019-03-04 Thread Alex Shi
make it readble as rst format for html etc doc making. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Bryan Wu Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../process/volatile-considered-harmful.rst | 35 --- 1 file changed, 14

[PATCH v2 02/27] docs/zh_CN: move process related docs into process dir

2019-03-04 Thread Alex Shi
Much process documents spread here isn't neat. It's good to put them together in their directory: process So create 'process' directory and move docs: email-clients stable_kernel_rules stable_api_nosense submittingpatches submittingdrivers HOWTO volatile-considered-harmful

[PATCH v2 13/27] docs/zh_CN: rename volatile-consider-harmful doc

2019-03-04 Thread Alex Shi
Make it available for html etc docs making. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Bryan Wu Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- ...ile-considered-harmful.txt => volatile-considered-harmful.rst} | 0 1 file changed, 0 insertions(+), 0

[PATCH v2 22/27] docs/zh_CN: update TripleX chung's email address

2019-03-04 Thread Alex Shi
Update the obslete email address to active one in Chineses docs. Signed-off-by: Alex Shi Cc: TripleX Chung Cc: Li Yang --- .../translations/zh_CN/process/stable-api-nonsense.rst| 4 ++-- .../translations/zh_CN/process/stable-kernel-rules.rst| 4 ++--

[PATCH v2 15/27] docs/zh_CN: rename SubmittingDrivers

2019-03-04 Thread Alex Shi
Rename the file to make it available in html etc docs making. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Yang Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/{SubmittingDrivers => submitting-drivers.rst} | 0 1 file changed, 0

[PATCH v2 20/27] docs/zh_CN: format stable-api-nonsense

2019-03-04 Thread Alex Shi
to make it follow rst format and readble in html etc doc making. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/stable-api-nonsense.rst | 34 --- 1 file changed,

[PATCH v2 24/27] docs/zh_CN: fix indent issue in stable-api-nonsense file

2019-03-04 Thread Alex Shi
Tame the 'make htmldocs' to avoid 'ERROR: Unexpected indentation' etc errors. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Yang Cc: TripleX Chung --- .../zh_CN/process/stable-api-nonsense.rst | 33 +++ 1 file changed, 19 insertions(+), 14 deletions(-)

[PATCH v2 18/27] docs/zh_CN: format the magic-number doc as rst

2019-03-04 Thread Alex Shi
to Make it readble in html etc doc making. And fix the wrong translation for 'number' in form. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Jia Wei Wei Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/magic-number.rst| 210

[PATCH v2 21/27] docs/zh_CN: update Li Yang's email address

2019-03-04 Thread Alex Shi
Change le...@freescale.com and l...@zh-kernel.org to active address: leoyang...@nxp.com Signed-off-by: Alex Shi Cc: Li Yang --- Documentation/translations/zh_CN/oops-tracing.txt | 2 +- Documentation/translations/zh_CN/process/howto.rst | 4 ++--

[PATCH v2 26/27] docs/zh_CN: fix rst format issue in submitting-patch

2019-03-04 Thread Alex Shi
Tame 'make htmldocs' to avoid indent and code section error complains. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Yang Cc: TripleX Chung --- .../zh_CN/process/submitting-patches.rst | 24 +++ 1 file changed, 14 insertions(+), 10 deletions(-) diff

[PATCH v2 06/27] docs/zh_CN: howto format changes

2019-03-04 Thread Alex Shi
also with few contents changes Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Yang Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../translations/zh_CN/process/howto.rst | 37 --- 1 file changed, 15 insertions(+), 22 deletions(-) diff

[PATCH v2 23/27] docs/zh_CN: fix rst format errors in howto.rst

2019-03-04 Thread Alex Shi
Tame howto.rst file to avoid "ERROR: Unexpected indentation." etc compiler errors. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Yang Cc: TripleX Chung --- .../translations/zh_CN/process/howto.rst | 32 +-- 1 file changed, 30 insertions(+), 2

[PATCH v2 27/27] docs/zh_CN: remove zh-kernel.org in MAINTAINERS

2019-03-04 Thread Alex Shi
This web site is on sale, and Li Yang said it won't be in service again. Signed-off-by: Alex Shi --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 9919840d54cd..6ba6e8559de6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3652,7 +3652,6 @@ F:

[PATCH v2 25/27] docs/zh_CN: fix indent issue in submitting-drivers

2019-03-04 Thread Alex Shi
Tame 'make htmldocs' w/o indent complains. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Yang Cc: TripleX Chung --- .../translations/zh_CN/process/submitting-drivers.rst | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v2 04/27] docs/zh_CN: add index file into process dir

2019-03-04 Thread Alex Shi
Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../translations/zh_CN/process/index.rst | 53 +++ 1 file changed, 53 insertions(+) create mode 100644

[PATCH v2 11/27] docs/zh_CN: rename email-clients.txt as email-clients.rst

2019-03-04 Thread Alex Shi
Make it available for html etc docs. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../zh_CN/process/{email-clients.txt => email-clients.rst}| 0 1 file changed, 0 insertions(+), 0 deletions(-) rename

[PATCH v2 03/27] docs/zh_CN: change Chinese index to know process dir

2019-03-04 Thread Alex Shi
And add some description translation in index file. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- Documentation/translations/zh_CN/index.rst | 17 + 1 file changed, 13 insertions(+), 4 deletions(-)

[PATCH v2 00/27] clean up Chinese kernel docs and format as rst

2019-03-04 Thread Alex Shi
Hi All, The following patches change existing Chinese kernel docs to rst format and reorg them to make them alive in 'make htmldocs'. you can view the generated htmldocs from: http://176.122.172.82/translations/zh_CN/index.html Or make and review docs on your self box: make

[PATCH v2 01/27] docs/zh_CN: add disclaimer file

2019-03-04 Thread Alex Shi
This a disclaimer file which will be included in Chinese files as header. To reduce the same common contents copy. Part of contents quoted from Federico Vaga's file: Documentation/translations/it_IT/disclaimer-ita.rst. Thanks a lot! Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet

[PATCH v2 09/27] docs/zh_CN: rename stable_kernel_rules doc

2019-03-04 Thread Alex Shi
This patch renamed stable_kernel_rules.txt to stable-kernel-rules.rst Make it available in htmldocs making. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet Cc: TripleX Chung Cc: Li Zefan Cc: Shawn Guo Cc: Fengguang Wu Cc: Coly Li --- .../process/{stable_kernel_rules.txt =>

Re: [PATCH 3/4] iommu/vt-d: Allow IOMMU_DOMAIN_DMA and IOMMU_DOMAIN_IDENTITY to be allocated

2019-03-04 Thread Lu Baolu
Hi, On 3/4/19 11:46 PM, James Sewart wrote: Allowing IOMMU_DOMAIN_DMA type IOMMU domain to be allocated allows the default_domain of an iommu_group to be set. This delegates device-domain relationships to the generic IOMMU code. Signed-off-by: James Sewart --- drivers/iommu/intel-iommu.c |

Re: [PATCH] net: xfrm: Fix potential oops in xfrm_user_rcv_msg and array out of bounds

2019-03-04 Thread Herbert Xu
On Sun, Mar 03, 2019 at 10:47:39PM -0500, Su Yanjun wrote: > When i review xfrm_user.c code, i found some potentical bug in it. > > In xfrm_user_rcvmsg if type parameter from user space is set to > XFRM_MSG_MAX or XFRM_MSG_NEWSADINFO or XFRM_MSG_NEWSPDINFO. It will cause > xfrm_user_rcv_msg

Re: [PATCH v5 9/9] clk: mediatek: Allow changing PLL rate when it is off

2019-03-04 Thread James Liao
On Tue, 2019-03-05 at 13:05 +0800, Weiyi Lu wrote: > From: James Liao > > Some modules may need to change its clock rate before turn on it. > So changing PLL's rate when it is off should be allowed. > This patch removes PLL enabled check before set rate, so that > PLLs can set new frequency even

Re: [PATCH v5 7/9] clk: mediatek: Add configurable pcw_chg_reg to mtk_pll_data

2019-03-04 Thread James Liao
On Tue, 2019-03-05 at 13:05 +0800, Weiyi Lu wrote: > In previous MediaTek PLL design, it assumes the pcw change control > is always on the CON1 register. > However, the pcw change bit on MT8183 was moved onto CON0 because > the the PCW length of audio PLLs are extended to 32-bit. > Add

Re: [PATCH v5 6/9] clk: mediatek: Add flags support for mtk_gate data

2019-03-04 Thread James Liao
On Tue, 2019-03-05 at 13:05 +0800, Weiyi Lu wrote: > On some Mediatek platforms, there are critical clocks of > clock gate type. > To register clock gate with flags CLK_IS_CRITICAL, > we need to add the flags field in mtk_gate data and register APIs. > > Signed-off-by: Weiyi Lu Reviewed-by:

Re: [PATCH v5 3/9] clk: mediatek: Add configurable pcwibits and fmin to mtk_pll_data

2019-03-04 Thread James Liao
On Tue, 2019-03-05 at 13:05 +0800, Weiyi Lu wrote: > From: Owen Chen > > 1. pcwibits: The integer bits of pcw for plls is extend to 8 bits, >add a variable to indicate this change and >backward-compatible. > 2. fmin: The pll freqency lower-bound is vary from 1GMhz to >1.5Ghz, add a

Re: [PATCH] iwlwifi: fix 64-bit division

2019-03-04 Thread Luciano Coelho
Hi Arnd, On Mon, 2019-03-04 at 21:38 +0100, Arnd Bergmann wrote: > do_div() expects unsigned operands and otherwise triggers a warning > like: > > drivers/net/wireless/intel/iwlwifi/mvm/ftm-initiator.c:465:2: error: > comparison of distinct pointer types ('typeof ((rtt_avg)) *' (aka > 'long long

Re: [PATCH v5 1/9] clk: mediatek: Disable tuner_en before change PLL rate

2019-03-04 Thread James Liao
On Tue, 2019-03-05 at 13:05 +0800, Weiyi Lu wrote: > From: Owen Chen > > PLLs with tuner_en bit, such as APLL1, need to disable > tuner_en before apply new frequency settings, or the new frequency > settings (pcw) will not be applied. > The tuner_en bit will be disabled during changing PLL rate

Re: [PATCH v5 2/9] clk: mediatek: Add new clkmux register API

2019-03-04 Thread James Liao
On Tue, 2019-03-05 at 13:05 +0800, Weiyi Lu wrote: > From: Owen Chen > > On both MT8183 & MT6765, there add "set/clr" register for > each clkmux setting, and one update register to trigger value change. > It is designed to prevent read-modify-write racing issue. > The sw design need to add a new

Re: KASAN: use-after-free Read in get_mem_cgroup_from_mm

2019-03-04 Thread zhong jiang
On 2019/3/5 14:26, Dmitry Vyukov wrote: > On Mon, Mar 4, 2019 at 4:32 PM zhong jiang wrote: >> On 2019/3/4 22:11, Dmitry Vyukov wrote: >>> On Mon, Mar 4, 2019 at 3:00 PM zhong jiang wrote: On 2019/3/4 15:40, Dmitry Vyukov wrote: > On Sun, Mar 3, 2019 at 5:19 PM zhong jiang wrote:

Re: [PATCH] xen: avoid link error on ARM

2019-03-04 Thread Juergen Gross
On 04/03/2019 21:47, Arnd Bergmann wrote: > Building the privcmd code as a loadable module on ARM, we get > a link error due to the private cache management functions: > > ERROR: "__sync_icache_dcache" [drivers/xen/xen-privcmd.ko] undefined! > > Move the code into a new file that is built along

Re: [PATCH] selftest/rseq: Remove duplicate header

2019-03-04 Thread Souptick Joarder
On Tue, Mar 5, 2019 at 1:27 AM Mathieu Desnoyers wrote: > > - On Mar 4, 2019, at 1:53 PM, Souptick Joarder jrdr.li...@gmail.com wrote: > > > On Tue, Mar 5, 2019 at 12:20 AM Peter Zijlstra wrote: > >> > >> On Tue, Mar 05, 2019 at 12:08:27AM +0530, Souptick Joarder wrote: > >> > Remove

Re: [PATCH v2 05/10] mtd: rawnand: denali: use more precise timeout for NAND_OP_WAITRDT_INSTR

2019-03-04 Thread Masahiro Yamada
Hi Miquel, On Mon, Mar 4, 2019 at 5:44 PM Miquel Raynal wrote: > > Hi Masahiro, > > Masahiro Yamada wrote on Tue, 12 Feb > 2019 16:12:57 +0900: > > > Currently, wait_for_completion_timeout() is always passed in the > > hard-coded msec_to_jiffies(1000). There is no specific reason for > > 1000

Re: KASAN: use-after-free Read in get_mem_cgroup_from_mm

2019-03-04 Thread Dmitry Vyukov
On Mon, Mar 4, 2019 at 4:32 PM zhong jiang wrote: > > On 2019/3/4 22:11, Dmitry Vyukov wrote: > > On Mon, Mar 4, 2019 at 3:00 PM zhong jiang wrote: > >> On 2019/3/4 15:40, Dmitry Vyukov wrote: > >>> On Sun, Mar 3, 2019 at 5:19 PM zhong jiang wrote: > Hi, guys > > I also hit the

Re: [PATCH v4 00/14] m68k: Drop arch_gettimeoffset and adopt clocksource API

2019-03-04 Thread Finn Thain
On Sat, 1 Dec 2018, Finn Thain wrote: > This series removes "select ARCH_USES_GETTIMEOFFSET" from arch/m68k > and converts users of arch_gettimeoffset to the clocksource API. > Various bugs are fixed along the way. Are there any plans to merge this series, Geert? --

Re: [PATCH 0/4] iommu/vt-d: Fix-up device-domain relationship by refactoring to use iommu group default domain.

2019-03-04 Thread Lu Baolu
Hi James, Very glad to see this. Thank you! On 3/4/19 11:41 PM, James Sewart wrote: Hey, This patchset moves IOMMU_DOMAIN_DMA iommu domain management to iommu.c. This avoids the use of find_or_alloc_domain whose domain assignment is inconsistent with the iommu grouping as determined by

[PATCH 3/3] objtool: move tools/objtool/ to scripts/objtool/

2019-03-04 Thread Masahiro Yamada
Tools that are globally needed for building the kernel are supposed to be put in the scripts/ directory, but objtool is the exceptional one. People were confused by objtool's Makefile since most of tools run on the target whereas objtool runs on the host machine. Some time ago, Douglas Anderson

[PATCH 1/3] tools: move initial declarations out of 'for' loop

2019-03-04 Thread Masahiro Yamada
When I was trying to compile this code for hostprogs-y notation of Kbuild, I was hit by the following error. error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode This is because KBUILD_HOSTCFLAGS specifies -std=gnu89 whereas the tools Makefile compiles it with -std=gnu99.

[PATCH 2/3] objtool: move stack-validation.txt to Documentation/

2019-03-04 Thread Masahiro Yamada
Move the document to the standard Documentation/ directory instead of creating the same directory structure under objtool/. Signed-off-by: Masahiro Yamada --- {tools/objtool/Documentation => Documentation}/stack-validation.txt | 0 Documentation/x86/orc-unwinder.txt

Re: [PATCH] kernel, resource: use resource_overlaps() to simplify region_intersects()

2019-03-04 Thread Wei Yang
On Tue, Mar 05, 2019 at 01:45:31PM +0800, Like Xu wrote: >On 2019/2/12 8:13, Wei Yang wrote: >> On Mon, Jan 21, 2019 at 09:20:28AM +0800, Wei Yang wrote: >> > The three checks in region_intersects() is to see whether two resources >> > overlap. This means it could be simplified with one

Re: [PATCH] kernel, resource: use resource_overlaps() to simplify region_intersects()

2019-03-04 Thread Like Xu
On 2019/2/12 8:13, Wei Yang wrote: On Mon, Jan 21, 2019 at 09:20:28AM +0800, Wei Yang wrote: The three checks in region_intersects() is to see whether two resources overlap. This means it could be simplified with one resource_overlaps(). Also fix two typo in related function. Signed-off-by:

Re: [PATCH v3 6/8] KVM:VMX: Load Guest CET via VMCS when CET is enabled in Guest

2019-03-04 Thread Yang Weijiang
On Mon, Mar 04, 2019 at 07:12:02PM -0800, Sean Christopherson wrote: > On Mon, Mar 04, 2019 at 05:56:40PM +0800, Yang Weijiang wrote: > > On Mon, Mar 04, 2019 at 10:43:07AM -0800, Sean Christopherson wrote: > > > On Sun, Mar 03, 2019 at 08:26:08PM +0800, Yang Weijiang wrote: > > > > On Fri, Mar

[PATCH] media: serial_ir: Fix use-after-free in serial_ir_init_module

2019-03-04 Thread Yue Haibing
From: YueHaibing Syzkaller report this: BUG: KASAN: use-after-free in sysfs_remove_file_ns+0x5f/0x70 fs/sysfs/file.c:468 Read of size 8 at addr 8881dc7ae030 by task syz-executor.0/6249 CPU: 1 PID: 6249 Comm: syz-executor.0 Not tainted 5.0.0-rc8+ #3 Hardware name: QEMU Standard PC (i440FX +

Re: [PATCH] scsi: qedi: Fix global-out-of-bounds bug in qedi dbg function

2019-03-04 Thread YueHaibing
ping. On 2019/2/22 11:39, Yue Haibing wrote: > From: YueHaibing > > KASAN report this: > > BUG: KASAN: global-out-of-bounds in qedi_dbg_err+0xda/0x330 [qedi] > Read of size 31 at addr c12b0ae0 by task syz-executor.0/2429 > > CPU: 0 PID: 2429 Comm: syz-executor.0 Not tainted 5.0.0-rc7+

Re: [PATCH v3 3/8] KVM:CPUID: Add CPUID support for Guest CET

2019-03-04 Thread Yang Weijiang
On Mon, Mar 04, 2019 at 10:28:36AM -0800, Sean Christopherson wrote: > On Sun, Mar 03, 2019 at 05:36:45PM +0800, Yang Weijiang wrote: > > On Fri, Mar 01, 2019 at 06:53:23AM -0800, Sean Christopherson wrote: > > > On Thu, Feb 28, 2019 at 04:28:32PM +0800, Yang Weijiang wrote: > > > > On Thu, Feb

[PATCH] phy: ocelot-serdes: Add support for SERDES6G muxing

2019-03-04 Thread Kavyasree.Kotagiri
From: Kavya Sree Kotagiri Adding support for SERDES6G muxing required for QSGMII mode of operation. Signed-off-by: Kavya Sree Kotagiri Signed-off-by: Quentin Schulz Signed-off-by: Steen Hegelund Co-developed-by: Quentin Schulz Co-developed-by: Steen Hegelund ---

[PATCH v4 3/3] perf diff: Support --pid/--tid filter options

2019-03-04 Thread Jin Yao
For better filtering support for perf diff, it would be useful to add --pid and --tid filter options. For example, perf diff --tid 13965 It only diff the samples for thread 13965. v4: --- No logical changes. Signed-off-by: Jin Yao --- tools/perf/Documentation/perf-diff.txt | 6 ++

[PATCH v4 1/3] perf diff: Support --time filter option

2019-03-04 Thread Jin Yao
For better support for perf diff, it would be useful to add --time filter option to diff the samples within given time window. It supports time percent with multipe time ranges. Time string is 'a%/n,b%/m,...' or 'a%-b%,c%-%d,...'. For example: Select the second 10% time slice to diff: perf diff

[PATCH v4 2/3] perf diff: Support --cpu filter option

2019-03-04 Thread Jin Yao
For better support for perf diff, it would be useful to add --cpu filter option. Multiple CPUs can be provided as a comma-separated list with no space: 0,1. Ranges of CPUs are specified with -: 0-2. Default is to report samples on all CPUs. For example, perf diff --cpu 0,1 It only diff the

[PATCH v4 0/3] perf diff: Add new filter options

2019-03-04 Thread Jin Yao
This patch series creates following new filter options for perf diff. --time: It supports time percent with multipe time ranges. Time string is 'a%/n,b%/m,...' or 'a%-b%,c%-%d,...'. For example: Select the second 10% time slice to diff: perf diff --time 10%/2 Select

[PATCH v5 9/9] clk: mediatek: Allow changing PLL rate when it is off

2019-03-04 Thread Weiyi Lu
From: James Liao Some modules may need to change its clock rate before turn on it. So changing PLL's rate when it is off should be allowed. This patch removes PLL enabled check before set rate, so that PLLs can set new frequency even if they are off. On MT8173 for example, ARMPLL's enable bit

[PATCH v5 7/9] clk: mediatek: Add configurable pcw_chg_reg to mtk_pll_data

2019-03-04 Thread Weiyi Lu
In previous MediaTek PLL design, it assumes the pcw change control is always on the CON1 register. However, the pcw change bit on MT8183 was moved onto CON0 because the the PCW length of audio PLLs are extended to 32-bit. Add configurable pcw_chg_reg to set the pcw change control register address

[PATCH v5 6/9] clk: mediatek: Add flags support for mtk_gate data

2019-03-04 Thread Weiyi Lu
On some Mediatek platforms, there are critical clocks of clock gate type. To register clock gate with flags CLK_IS_CRITICAL, we need to add the flags field in mtk_gate data and register APIs. Signed-off-by: Weiyi Lu --- drivers/clk/mediatek/clk-gate.c | 5 +++-- drivers/clk/mediatek/clk-gate.h

[PATCH v5 1/9] clk: mediatek: Disable tuner_en before change PLL rate

2019-03-04 Thread Weiyi Lu
From: Owen Chen PLLs with tuner_en bit, such as APLL1, need to disable tuner_en before apply new frequency settings, or the new frequency settings (pcw) will not be applied. The tuner_en bit will be disabled during changing PLL rate and be restored after new settings applied. Fixes:

[PATCH v5 3/9] clk: mediatek: Add configurable pcwibits and fmin to mtk_pll_data

2019-03-04 Thread Weiyi Lu
From: Owen Chen 1. pcwibits: The integer bits of pcw for plls is extend to 8 bits, add a variable to indicate this change and backward-compatible. 2. fmin: The pll freqency lower-bound is vary from 1GMhz to 1.5Ghz, add a variable to indicate platform-dependent. Signed-off-by: Owen Chen

[PATCH v5 5/9] clk: mediatek: Add dt-bindings for MT8183 clocks

2019-03-04 Thread Weiyi Lu
Add MT8183 clock dt-bindings, include topckgen, apmixedsys, infracfg, mcucfg and subsystem clocks. Signed-off-by: Weiyi Lu Reviewed-by: Rob Herring --- include/dt-bindings/clock/mt8183-clk.h | 422 + 1 file changed, 422 insertions(+) create mode 100644

[PATCH v5 4/9] dt-bindings: ARM: Mediatek: Document bindings for MT8183

2019-03-04 Thread Weiyi Lu
This patch adds the binding documentation for apmixedsys, audiosys, camsys, imgsys, infracfg, mcucfg, mfgcfg, mmsys, topckgen, vdecsys, vencsys and ipu for Mediatek MT8183. Signed-off-by: Weiyi Lu Reviewed-by: Rob Herring Acked-by: Stephen Boyd --- .../arm/mediatek/mediatek,apmixedsys.txt

[PATCH v5 8/9] clk: mediatek: Add MT8183 clock support

2019-03-04 Thread Weiyi Lu
Add MT8183 clock support, include topckgen, apmixedsys, infracfg, mcucfg and subsystem clocks. Signed-off-by: Weiyi Lu --- drivers/clk/mediatek/Kconfig | 75 ++ drivers/clk/mediatek/Makefile | 12 + drivers/clk/mediatek/clk-gate.h| 14 +

[PATCH v5 2/9] clk: mediatek: Add new clkmux register API

2019-03-04 Thread Weiyi Lu
From: Owen Chen On both MT8183 & MT6765, there add "set/clr" register for each clkmux setting, and one update register to trigger value change. It is designed to prevent read-modify-write racing issue. The sw design need to add a new API to handle this hw change with a new mtk_clk_mux/mtk_mux

[PATCH v5 0/9] Mediatek MT8183 clock support

2019-03-04 Thread Weiyi Lu
Resend clock patches from v4 based on v5.0-rc1. The whole series now is composed of a fix for PLL tuner (PATCH 1), clock common changes for both MT8183 & MT6765 (PATCH 2-3), clock support of MT8183 (PATCH 4-8) and resend a clock patch long time ago(PTACH 9). changes since v4: - refine for the

[PATCH v5 0/9] Mediatek MT8183 clock support

2019-03-04 Thread Weiyi Lu
Resend clock patches from v4 based on v5.0-rc1. The whole series now is composed of a fix for PLL tuner (PATCH 1), clock common changes for both MT8183 & MT6765 (PATCH 2-3), clock support of MT8183 (PATCH 4-8) and resend a clock patch long time ago(PTACH 9). changes since v4: - refine for the

Re: [PATCH] selftest/proc: Remove duplicate header

2019-03-04 Thread Souptick Joarder
On Tue, Mar 5, 2019 at 6:07 AM Andrew Morton wrote: > > On Mon, 4 Mar 2019 23:57:19 +0530 Souptick Joarder > wrote: > > > Remove duplicate header which is included twice. > > > > Signed-off-by: Sabyasachi Gupta > > Signed-off-by: Souptick Joarder > > This signoff order makes me suspect that

[PATCH v2 4/6] clk: add coordinated clk changes support

2019-03-04 Thread Derek Basehore
This adds a new clk_op, pre_rate_req. It allows clks to setup an intermediate state when clk rates are changed. One use case for this is when a clk needs to switch to a safe parent when its PLL ancestor changes rates. This is needed when a PLL cannot guarantee that it will not exceed the new rate

  1   2   3   4   5   6   7   8   9   10   >