Re: [PATCH] mm/huge_memory: Fix vmf_insert_pfn_{pmd, pud}() crash, handle unaligned addresses

2019-05-09 Thread Pankaj Gupta
> > Starting with commit c6f3c5ee40c1 "mm/huge_memory.c: fix modifying of > page protection by insert_pfn_pmd()" vmf_insert_pfn_pmd() internally > calls pmdp_set_access_flags(). That helper enforces a pmd aligned > @address argument via VM_BUG_ON() assertion. > > Update the implementation to

Re: [EXT] [PATCH 4.19 60/66] scsi: qla2xxx: Fix device staying in blocked state

2019-05-09 Thread Greg Kroah-Hartman
On Thu, May 09, 2019 at 08:28:29PM +, Quoc Tran wrote: > Hi All, > > Please, remove Quoc Tran (qt...@marvell.com) from this email. I think the > correct contact is Quinn Tran (qut...@marvell.com) I can't go back and rewrite git history, sorry. greg k-h

Re: [PATCH] nvme-pci: Use non-operational power state instead of D3 on Suspend-to-Idle

2019-05-09 Thread Christoph Hellwig
> +int nvme_set_power(struct nvme_ctrl *ctrl, unsigned npss) > +{ > + int ret; > + > + mutex_lock(>scan_lock); > + nvme_start_freeze(ctrl); > + nvme_wait_freeze(ctrl); > + ret = nvme_set_features(ctrl, NVME_FEAT_POWER_MGMT, npss, NULL, 0, > + NULL);

linux-next: Tree for May 10

2019-05-09 Thread Stephen Rothwell
Hi all, Please do not add any v5.3 material to your linux-next included trees/branches until after v5.2-rc1 has been released. Changes since 20190509: The netfilter tree gained a conflict against Linus' tree. Non-merge commits (relative to Linus' tree): 3561 3382 files changed, 113022

Re: [PATCH] arm64: arch_k3: Fix kconfig dependency warning

2019-05-09 Thread Lokesh Vutla
On 10/05/19 9:22 AM, YueHaibing wrote: > Fix Kbuild warning when SOC_TI is not set > > WARNING: unmet direct dependencies detected for TI_SCI_INTA_IRQCHIP > Depends on [n]: TI_SCI_PROTOCOL [=y] && SOC_TI [=n] > Selected by [y]: > - ARCH_K3 [=y] > > Fixes: 009669e74813 ("arm64: arch_k3:

Re: WARNING: locking bug in copy_process

2019-05-09 Thread Christian Brauner
On May 10, 2019 3:07:05 AM GMT+02:00, syzbot wrote: >Hello, > >syzbot found the following crash on: > >HEAD commit:a2d635de Merge tag 'drm-next-2019-05-09' of >git://anongit... >git tree: upstream >console output: >https://syzkaller.appspot.com/x/log.txt?x=12b36dd0a0 >kernel

RE: [PATCH] ARM: imx_v6_v7_defconfig: Enable CONFIG_THERMAL_STATISTICS

2019-05-09 Thread Anson Huang
Hi, Shawn > -Original Message- > From: Shawn Guo [mailto:shawn...@kernel.org] > Sent: Friday, May 10, 2019 11:29 AM > To: Anson Huang > Cc: li...@armlinux.org.uk; s.ha...@pengutronix.de; > ker...@pengutronix.de; feste...@gmail.com; ota...@ossystems.com.br; > Leonard Crestez ; Robin Gong

Re: [PATCH 2/4] x86/kprobes: Fix frame pointer annotations

2019-05-09 Thread Masami Hiramatsu
On Thu, 9 May 2019 19:14:16 +0200 Peter Zijlstra wrote: > On Thu, May 09, 2019 at 11:01:06PM +0900, Masami Hiramatsu wrote: > > On Thu, 9 May 2019 10:14:31 +0200 > > Peter Zijlstra wrote: > > > > But what I'd love to do is something like the belwo patch, and make all > > > the trampolines

[PATCH v2 2/8] remoteproc: qcom: qdsp6-adsp: Add support for QCS404 CDSP

2019-05-09 Thread Bjorn Andersson
Move the clock list to adsp_pil_data, make the pdc_reset optional and make the driver directly enable the xo, sleep and core clocks. The three clocks are previously toggled through the clock controller, but that means the same hardware block needs to be mapped in both drivers. Making the

[PATCH v2 1/8] dt-bindings: remoteproc: Rename and amend Hexagon v56 binding

2019-05-09 Thread Bjorn Andersson
The SDM845 Audio DSP peripheral image loader binding describes the properties needed to load and boot firmware on a Hexagon v56. Rename the file and add the Compute DSP (CDSP) found in QCS404 to the binding. Signed-off-by: Bjorn Andersson --- ...qcom,adsp-pil.txt => qcom,hexagon-v56.txt} | 35

[PATCH v2 3/8] arm64: dts: qcom: qcs404-evb: Mark CDSP clocks protected

2019-05-09 Thread Bjorn Andersson
With the Trustzone based CDSP remoteproc driver these clocks are controlled elsewhere and as they are not enabled by anything in Linux the clock framework will turn them off during lateinit. This results in issues either to later start the CDSP, using the Trustzone interface, or if the CDSP is

[PATCH v2 7/8] arm64: dts: qcom: qcs404: Define APPS IOMMU

2019-05-09 Thread Bjorn Andersson
The APPS IOMMU provides contexts for FastRPC, MDP and WLAN, among other things. Define these. We use the qcom_iommu binding because the firmware restrictions in incompatible with the arm-smmu. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 85

[PATCH v2 6/8] arm64: dts: qcom: qcs404: Move lpass and q6 into soc

2019-05-09 Thread Bjorn Andersson
Although we don't describe lpass and wcss with all the details needed to control them in a Trustzone-less environment, move them under soc in order to tidy up the structure and prepare for describing them fully. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 126

[PATCH v2 4/8] arm64: dts: qcom: qcs404: Add TCSR node

2019-05-09 Thread Bjorn Andersson
The bus halt registers in TCSR are referenced as a syscon device, add these so that we can reference them from the remoteproc nodes. Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH v2 8/8] arm64: dts: qcom: qcs404: Add fastrpc nodes

2019-05-09 Thread Bjorn Andersson
From: Thierry Escande The ADSP fastrpc provides 3 context banks and are assigned to IOMMU context banks 23, 24 and 25; using SIDs 0x804, 0x805 and 0x806. The CDSP fastrpc provides 5 context banks and are assigned to IOMMU context banks 5, 6, 7, 8 and 9; using SIDs 0x1001 through 0x1005. Add

[PATCH v2 5/8] arm64: dts: qcom: qcs404: Fully describe the CDSP

2019-05-09 Thread Bjorn Andersson
Add all the properties needed to describe the CDSP for both the Trustzone and non-Trustzone based remoteproc case, allowing any child devices to be described once by just overriding the compatible to match the firmware available on the board. Signed-off-by: Bjorn Andersson ---

[PATCH v2 0/8] Qualcomm QCS404 CDSP improvements and fastrpc

2019-05-09 Thread Bjorn Andersson
This series introduces the non-Trustzone based CDSP support, restructures the remoteproc nodes in the dts, introduces the IOMMU and adds the fastrpc nodes. The matrix_multi app is used for verification, the test completes 100% of the time, but exits only succesfully 70% of the time. Bjorn

Re: [PATCH] mm: vmscan: correct nr_reclaimed for THP

2019-05-09 Thread William Kucharski
> On May 9, 2019, at 9:03 PM, Huang, Ying wrote: > > Yang Shi writes: > >> On 5/9/19 7:12 PM, Huang, Ying wrote: >>> >>> How about to change this to >>> >>> >>> nr_reclaimed += hpage_nr_pages(page); >> >> Either is fine to me. Is this faster than "1 << compound_order(page)"? >

Re: [PATCH 1/1] of: reserved_mem: fix reserve memory leak

2019-05-09 Thread pierre kuo
hi Rob: > As no one else seems to have any comments, I've applied it. Sorry for bothering you. Since I haven't see this patch on below up stream repository, "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git" if there is anything wrong about the patch, please let me know.

[PATCH] arm64: arch_k3: Fix kconfig dependency warning

2019-05-09 Thread YueHaibing
Fix Kbuild warning when SOC_TI is not set WARNING: unmet direct dependencies detected for TI_SCI_INTA_IRQCHIP Depends on [n]: TI_SCI_PROTOCOL [=y] && SOC_TI [=n] Selected by [y]: - ARCH_K3 [=y] Fixes: 009669e74813 ("arm64: arch_k3: Enable interrupt controller drivers") Signed-off-by:

Re: [btrfs] ddf30cf03f: xfstests.generic.102.fail

2019-05-09 Thread Qu Wenruo
On 2019/5/10 上午11:19, kernel test robot wrote: > FYI, we noticed the following commit (built with gcc-7): > > commit: ddf30cf03fb53b9a0ad0f355a69dbedf416edde9 ("btrfs: extent-tree: Use > btrfs_ref to refactor add_pinned_bytes()") >

RE: [EXT] Re: [PATCH v6] arm64: dts: ls1088a: add one more thermal zone node

2019-05-09 Thread Andy Tang
> -Original Message- > From: Shawn Guo > Sent: 2019年5月10日 11:14 > To: Andy Tang > Cc: Leo Li ; robh...@kernel.org; > mark.rutl...@arm.com; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux...@vger.kernel.org;

Re: [PATCH 2/5] bio: fix improper use of smp_mb__before_atomic()

2019-05-09 Thread Ming Lei
On Mon, Apr 29, 2019 at 10:14:58PM +0200, Andrea Parri wrote: > This barrier only applies to the read-modify-write operations; in > particular, it does not apply to the atomic_set() primitive. > > Replace the barrier with an smp_mb(). > > Fixes: dac56212e8127 ("bio: skip atomic inc/dec of

[PATCH v2 2/3] mmc: sdhci_am654: Print error message if the DLL fails to lock

2019-05-09 Thread Faiz Abbas
Print an error message and return if DLL fails to lock. Signed-off-by: Faiz Abbas --- drivers/mmc/host/sdhci_am654.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mmc/host/sdhci_am654.c b/drivers/mmc/host/sdhci_am654.c index 337c24b8f4a8..3ff949925127 100644 ---

[PATCH v2 0/3] Fix issues with phy configurations in am65x MMC driver

2019-05-09 Thread Faiz Abbas
The following patches fix issues with phy configurations for sdhci_am654 driver. v2: 1. Split patch 1 into 2 separate patches. 2. Improved patch descriptions. Faiz Abbas (3): mmc: sdhci_am654: Improve line wrapping with regmap_*() calls mmc: sdhci_am654: Print error message if the DLL fails

[PATCH v2 3/3] mmc: sdhci_am654: Fix SLOTTYPE write

2019-05-09 Thread Faiz Abbas
In the call to regmap_update_bits() for SLOTTYPE, the mask and value fields are exchanged. Fix this. This didn't have any affect on the driver because this was a NOP and it was taking the correct value from the bootloader. Cc: stable Signed-off-by: Faiz Abbas --- drivers/mmc/host/sdhci_am654.c

[PATCH v2 1/3] mmc: sdhci_am654: Improve line wrapping with regmap_*() calls

2019-05-09 Thread Faiz Abbas
Line wrapping with the regmap_*() functions is way more conservative than required by the 80 character rule. Expand the function calls out to use less number of lines. Signed-off-by: Faiz Abbas --- drivers/mmc/host/sdhci_am654.c | 34 +- 1 file changed, 13

Re: [PATCH v5 03/12] dt-binding: gce: add binding for gce subsys property

2019-05-09 Thread Bibby Hsieh
Hi, Rob, On Tue, 2019-05-07 at 12:41 -0500, Rob Herring wrote: > On Tue, May 07, 2019 at 04:13:46PM +0800, Bibby Hsieh wrote: > > tcmdq driver provide a function that get the relationship > > of sub system number from device node for client. > > add specification for #subsys-cells,

Re: [PATCH] ARM: imx_v6_v7_defconfig: Enable CONFIG_THERMAL_STATISTICS

2019-05-09 Thread Shawn Guo
On Wed, Apr 24, 2019 at 03:27:13AM +, Anson Huang wrote: > Enable CONFIG_THERMAL_STATISTICS to extend the sysfs interface > for thermal cooling devices and expose some useful statistics. > > Signed-off-by: Anson Huang I don't apply patch using base64 encoding. Shawn

Re: [PATCH] driver core: Fix use-after-free and double free on glue directory

2019-05-09 Thread Gaurav Kohli
Thanks for the comment, will check the patch and update. Regards Gaurav On 5/10/2019 4:52 AM, Benjamin Herrenschmidt wrote: On Thu, 2019-05-09 at 20:08 +0530, Gaurav Kohli wrote: Hi , Last patch will serialize the addition of child to parent directory, won't it affect performance. I doubt

Re: [PATCH v3] fs/proc: add VmTaskSize field to /proc/$$/status

2019-05-09 Thread Michael Ellerman
Yury Norov writes: > On Tue, May 07, 2019 at 08:54:31AM -0400, Rafael Aquini wrote: >> On Mon, May 06, 2019 at 11:53:43AM -0400, Joel Savitz wrote: >> > There is currently no easy and architecture-independent way to find the >> > lowest unusable virtual address available to a process without >> >

Re: [PATCH 2/4] x86/kprobes: Fix frame pointer annotations

2019-05-09 Thread Masami Hiramatsu
On Thu, 9 May 2019 13:43:16 -0400 Steven Rostedt wrote: > On Thu, May 09, 2019 at 09:20:06AM -0700, Andy Lutomirski wrote: > > > +END(call_to_exception_trampoline) > > > --- a/arch/x86/kernel/kprobes/core.c > > > +++ b/arch/x86/kernel/kprobes/core.c > > > @@ -731,29 +731,8 @@ asm( > > >

Re: [PATCH v5 04/12] dt-binding: gce: add binding for gce event property

2019-05-09 Thread Bibby Hsieh
Hi, CK, On Wed, 2019-05-08 at 13:10 +0800, CK Hu wrote: > Hi, Bibby: > > On Tue, 2019-05-07 at 16:13 +0800, Bibby Hsieh wrote: > > Client hardware would send event to GCE hardware, > > mediatek,gce-event-names and mediatek,gce-events > > can be used to present the event. > > > > Signed-off-by:

[PATCH] ubifs: Fix build error without CONFIG_UBIFS_FS_XATTR

2019-05-09 Thread YueHaibing
Fix gcc build error while CONFIG_UBIFS_FS_XATTR is not set fs/ubifs/dir.o: In function `ubifs_unlink': dir.c:(.text+0x260): undefined reference to `ubifs_purge_xattrs' fs/ubifs/dir.o: In function `do_rename': dir.c:(.text+0x1edc): undefined reference to `ubifs_purge_xattrs' fs/ubifs/dir.o: In

drivers/regulator/core.o: warning: objtool: regulator_count_voltages()+0x95: return with modified stack frame

2019-05-09 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8ea5b2abd07e2280a332bd9c1a7f4dd15b9b6c13 commit: 37686b1353cfc30e127cef811959cdbcd0495d98 tracing: Improve "if" macro code generation date: 5 weeks ago config: x86_64-randconfig-b0-05100522 (attached as

Re: [PATCH v6] arm64: dts: ls1088a: add one more thermal zone node

2019-05-09 Thread Shawn Guo
On Tue, Apr 23, 2019 at 10:25:07AM +0800, Yuantian Tang wrote: > Ls1088a has 2 thermal sensors, core cluster and SoC platform. Core cluster > sensor is used to monitor the temperature of core and SoC platform is for > platform. The current dts only support the first sensor. > This patch adds the

Re: [PATCH] arm64: defconfig: Enable FSL_EDMA driver

2019-05-09 Thread Shawn Guo
On Mon, Apr 22, 2019 at 01:30:56PM -0500, Li Yang wrote: > Enables the FSL EDMA driver by default. This also works around an issue > that imx-i2c driver keeps deferring the probe because of the DMA is not > ready. And currently the DMA engine framework can not correctly tell > if the DMA

Re: [PATCH] mm: vmscan: correct nr_reclaimed for THP

2019-05-09 Thread Huang, Ying
Yang Shi writes: > On 5/9/19 7:12 PM, Huang, Ying wrote: >> Yang Shi writes: >> >>> Since commit bd4c82c22c36 ("mm, THP, swap: delay splitting THP after >>> swapped out"), THP can be swapped out in a whole. But, nr_reclaimed >>> still gets inc'ed by one even though a whole THP (512 pages) gets

Re: [PATCH v1 3/3] clk: qcom: rcg: update the DFS macro for RCG

2019-05-09 Thread Taniya Das
Hello Stephen, Thanks for the review. On 5/9/2019 10:57 PM, Stephen Boyd wrote: Quoting Taniya Das (2019-05-08 11:24:55) Update the init data name for each of the dynamic frequency switch controlled clock associated with the RCG clock name, so that it can be generated as per the hardware

[PATCH 1/3] Input: apanel: avoid panic if ioreamp fails

2019-05-09 Thread Kefeng Wang
If ioremap fails, NULL pointer dereference will happen and leading to a kernel panic when access the virtual address in check_signature(). Fix it by check the return value of ioremap. Cc: Dmitry Torokhov Cc: linux-in...@vger.kernel.org Reported-by: Hulk Robot Signed-off-by: Kefeng Wang ---

[PATCH 2/3] Input: wistron_btns: avoid panic if ioreamp fails

2019-05-09 Thread Kefeng Wang
If ioremap fails, NULL pointer dereference will happen and leading to a kernel panic when access the virtual address in check_signature(). Fix it by check the return value of ioremap. Cc: Dmitry Torokhov Cc: Miloslav Trmac Cc: Wolfram Sang Cc: linux-in...@vger.kernel.org Reported-by: Hulk

[PATCH 3/3] i2c: i801: avoid panic if ioreamp fails

2019-05-09 Thread Kefeng Wang
If ioremap fails, NULL pointer dereference will happen and leading to a kernel panic when access the virtual address in check_signature(). Fix it by check the return value of ioremap. Cc: Jean Delvare Cc: Wolfram Sang Cc: linux-...@vger.kernel.org Reported-by: Hulk Robot Signed-off-by: Kefeng

Re: [PATCH 1/2] soc: imx-sc: add i.MX system controller soc driver support

2019-05-09 Thread Shawn Guo
On Mon, Apr 22, 2019 at 08:48:56AM +, Leonard Crestez wrote: > On 4/22/2019 9:46 AM, Anson Huang wrote: > >> -Original Message- > >> From: Anson Huang > >>> From: Shawn Guo [mailto:shawn...@kernel.org] > >>> On Sun, Apr 21, 2019 at 03:40:00PM +0800, Shawn Guo wrote: > On Thu, Apr

Re: [git pull] vfs.git braino fix

2019-05-09 Thread pr-tracker-bot
The pull request you sent on Fri, 10 May 2019 03:33:33 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8ea5b2abd07e2280a332bd9c1a7f4dd15b9b6c13 Thank you! -- Deet-doot-dot, I am a bot.

[PATCH] staging: wlan-ng: collect return status without variable

2019-05-09 Thread Hariprasad Kelam
err and result variables are declared to collect return status of prism2_domibset_uint32. Check return status in if loop and return directly. Rearragne code such that we can avoid declaring these variables. Signed-off-by: Hariprasad Kelam --- drivers/staging/wlan-ng/cfg80211.c | 17

Re: [PATCH v2 17/18] fpga: dfl: fme: add global error reporting support

2019-05-09 Thread Wu Hao
On Thu, May 09, 2019 at 11:27:36AM -0500, Alan Tull wrote: > On Mon, Apr 29, 2019 at 4:13 AM Wu Hao wrote: > > Hi Hao, > > The changes look good. There's one easy to fix thing that Greg has > pointed out recently on another patch (below). > > > > > This patch adds support for global error

Re: [RFC][PATCH] ftrace/x86: Remove mcount support

2019-05-09 Thread Steven Rostedt
On Thu, 9 May 2019 15:49:02 -0400 Steven Rostedt wrote: > diff --git a/arch/x86/include/asm/ftrace.h b/arch/x86/include/asm/ftrace.h > index cf350639e76d..287f1f7b2e52 100644 > --- a/arch/x86/include/asm/ftrace.h > +++ b/arch/x86/include/asm/ftrace.h > @@ -3,12 +3,10 @@ > #define

Re: [GIT PULL] Driver core patches for 5.2-rc1

2019-05-09 Thread Joel Fernandes
On Thu, May 09, 2019 at 01:47:54PM -0700, Linus Torvalds wrote: > [ Ok, this may look irrelevant to people, but I actually notice this > because I do quick rebuilds *all* the time, so the 30s vs 41s > difference is actually something I reacted to and then tried to figure > out... ] > > On Tue,

[PATCH] ASoC: SOF: Fix build error with CONFIG_SND_SOC_SOF_NOCODEC=m

2019-05-09 Thread YueHaibing
Fix gcc build error while CONFIG_SND_SOC_SOF_NOCODEC=m sound/soc/sof/core.o: In function `snd_sof_device_probe': core.c:(.text+0x4af): undefined reference to `sof_nocodec_setup' Change SND_SOC_SOF_NOCODEC to bool to fix this. Reported-by: Hulk Robot Fixes: c16211d6226d ("ASoC: SOF: Add Sound

Re: kobject_init_and_add() confusion

2019-05-09 Thread Tobin C. Harding
On Wed, May 01, 2019 at 09:54:16AM +0200, Rafael J. Wysocki wrote: > On Wed, May 1, 2019 at 1:38 AM Tobin C. Harding wrote: > > > > Hi, > > > > Looks like I've created a bit of confusion trying to fix memleaks in > > calls to kobject_init_and_add(). Its spread over various patches and > >

[git pull] vfs.git braino fix

2019-05-09 Thread Al Viro
Fix for umount -l/mount --move race caught by syzbot yesterday... The following changes since commit 80f232121b69cc69a31ccb2b38c1665d770b0710: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next (2019-05-07 22:03:58 -0700) are available in the git repository at:

Re: [RFC][PATCH] ftrace/x86: Remove mcount support

2019-05-09 Thread Steven Rostedt
On Thu, 9 May 2019 15:14:30 -0500 Josh Poimboeuf wrote: > > Signed-off-by: Steven Rostedt (VMware) > > --- > > arch/x86/include/asm/ftrace.h| 8 +++ > > arch/x86/include/asm/livepatch.h | 3 --- > > arch/x86/kernel/ftrace_32.S | 36 +--- > >

Re: [RFC][PATCH] ftrace/x86: Remove mcount support

2019-05-09 Thread Steven Rostedt
On Thu, 9 May 2019 13:12:55 -0700 Linus Torvalds wrote: > On Thu, May 9, 2019 at 12:49 PM Steven Rostedt wrote: > > > > diff --git a/arch/x86/include/asm/livepatch.h > > b/arch/x86/include/asm/livepatch.h > > index ed80003ce3e2..2f2bdf0662f8 100644 > > --- a/arch/x86/include/asm/livepatch.h >

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

2019-05-09 Thread Yury Norov
Hi Andy, Thanks for thorough review. On Wed, May 08, 2019 at 11:46:32AM +0300, Andy Shevchenko wrote: > On Tue, Apr 30, 2019 at 06:06:34PM -0700, Yury Norov wrote: > > bitmap_parse() is ineffective and full of opaque variables and opencoded > > parts. It leads to hard understanding and usage of

Re: [PATCH v2 2/3] iio: dps310: Temperature measurement errata

2019-05-09 Thread Matt Ranostay
On Thu, May 9, 2019 at 11:17 PM Eddie James wrote: > > > On 5/8/19 10:09 PM, Matt Ranostay wrote: > > On Thu, May 9, 2019 at 3:36 AM Eddie James wrote: > >> From: Christopher Bostic > >> > >> Add a manufacturer's suggested workaround to deal with early revisions > >> of chip that don't indicate

Re: [PATCH 02/10] PCI/PME: Replace dev_printk(KERN_DEBUG) with dev_info()

2019-05-09 Thread Joe Perches
On Thu, 2019-05-09 at 16:12 -0500, Bjorn Helgaas wrote: > On Thu, May 09, 2019 at 11:31:04AM -0700, Joe Perches wrote: > > On Thu, 2019-05-09 at 20:35 +0300, Andy Shevchenko wrote: > > > On Thu, May 9, 2019 at 5:18 PM Bjorn Helgaas wrote: > > > > Replace dev_printk(KERN_DEBUG) with dev_info() or

Re: [PATCH] mm: vmscan: correct nr_reclaimed for THP

2019-05-09 Thread Yang Shi
On 5/9/19 7:12 PM, Huang, Ying wrote: Yang Shi writes: Since commit bd4c82c22c36 ("mm, THP, swap: delay splitting THP after swapped out"), THP can be swapped out in a whole. But, nr_reclaimed still gets inc'ed by one even though a whole THP (512 pages) gets swapped out. This doesn't make

Re: [PATCH] mm: vmscan: correct nr_reclaimed for THP

2019-05-09 Thread Huang, Ying
Yang Shi writes: > Since commit bd4c82c22c36 ("mm, THP, swap: delay splitting THP after > swapped out"), THP can be swapped out in a whole. But, nr_reclaimed > still gets inc'ed by one even though a whole THP (512 pages) gets > swapped out. > > This doesn't make too much sense to memory

[PATCH] ASoC: amd: Reporting accurate hw_ptr for acp3x dma

2019-05-09 Thread Vijendar Mukunda
From: Ravulapati Vishnu vardhan rao acp3x dma pointer callback has issues in reporting hw_ptr. Modified logic to use linear position registers to retrieve accurate hw_ptr. Signed-off-by: Ravulapati Vishnu vardhan rao Signed-off-by: Vijendar Mukunda --- sound/soc/amd/raven/acp3x-pcm-dma.c |

Re: [PATCH 4.9 00/28] 4.9.175-stable review

2019-05-09 Thread kernelci.org bot
stable-rc/linux-4.9.y boot: 112 boots: 0 failed, 107 passed with 2 offline, 3 conflicts (v4.9.174-29-g50bbfeb1e2a3) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.9.y/kernel/v4.9.174-29-g50bbfeb1e2a3/ Full Build Summary:

WARNING: locking bug in copy_process

2019-05-09 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:a2d635de Merge tag 'drm-next-2019-05-09' of git://anongit... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12b36dd0a0 kernel config: https://syzkaller.appspot.com/x/.config?x=2ef407aed78c3758

Help Desk

2019-05-09 Thread Natalia Wojtasiak
Dear E-mail User. Your EMAIL ACCOUNT PASSWORD Expires TODAY, and you are requested to UPGRADE it within 24 hours or else your E-mail account will be disable to update. Please Click on the link (http://accesp.eu5.net/amin.php) and Follow Instructions. Help Desk Administrator. ADMIN TEAM

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

2019-05-09 Thread Stephen Rothwell
Hi all, After merging the amdgpu tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from drivers/gpu/drm/amd/amdgpu/df_v3_6.c:23: drivers/gpu/drm/amd/amdgpu/df_v3_6.c: In function 'df_v3_6_pmc_start': drivers/gpu/drm/amd/amdgpu/amdgpu.h:1010:29: warning:

Re: [PATCH] mm: vmscan: correct nr_reclaimed for THP

2019-05-09 Thread Shakeel Butt
From: Yang Shi Date: Thu, May 9, 2019 at 5:16 PM To: , , , , , , Cc: , , > Since commit bd4c82c22c36 ("mm, THP, swap: delay splitting THP after > swapped out"), THP can be swapped out in a whole. But, nr_reclaimed > still gets inc'ed by one even though a whole THP (512 pages) gets > swapped

Re: [PATCH 5.0 00/95] 5.0.15-stable review

2019-05-09 Thread kernelci.org bot
stable-rc/linux-5.0.y boot: 143 boots: 1 failed, 141 passed with 1 untried/unknown (v5.0.14-96-gdf1376651d49) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.0.y/kernel/v5.0.14-96-gdf1376651d49/ Full Build Summary:

Re: [PATCH v2 3/7] lib/hexdump.c: Optionally suppress lines of repeated bytes

2019-05-09 Thread Alastair D'Silva
On Wed, 2019-05-08 at 17:58 -0700, Randy Dunlap wrote: > On 5/8/19 12:01 AM, Alastair D'Silva wrote: > > From: Alastair D'Silva > > > > Some buffers may only be partially filled with useful data, while > > the rest > > is padded (typically with 0x00 or 0xff). > > > > This patch introduces a

[PATCH] mm: vmscan: correct nr_reclaimed for THP

2019-05-09 Thread Yang Shi
Since commit bd4c82c22c36 ("mm, THP, swap: delay splitting THP after swapped out"), THP can be swapped out in a whole. But, nr_reclaimed still gets inc'ed by one even though a whole THP (512 pages) gets swapped out. This doesn't make too much sense to memory reclaim. For example, direct reclaim

Re: [PATCH 4.19 00/66] 4.19.42-stable review

2019-05-09 Thread kernelci.org bot
stable-rc/linux-4.19.y boot: 135 boots: 1 failed, 132 passed with 2 conflicts (v4.19.41-67-g82fd2fd59cff) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.19.y/kernel/v4.19.41-67-g82fd2fd59cff/ Full Build Summary:

Re: [RFC PATCH v2 11/17] sched: Basic tracking of matching tasks

2019-05-09 Thread Tim Chen
On 5/9/19 10:50 AM, Subhra Mazumdar wrote: > >>> select_task_rq_* seems to be unchanged. So the search logic to find a cpu >>> to enqueue when a task becomes runnable is same as before and doesn't do >>> any kind of cookie matching. >> Okay, that's true in task wakeup path, and also load_balance

Re: [PATCH v4 1/3] MIPS: SGI-IP27: move IP27 specific code out of pci-ip27.c into new file

2019-05-09 Thread Paul Burton
Hi Thomas, On Wed, May 08, 2019 at 09:52:39AM +0200, Thomas Bogendoerfer wrote: > On Tue, 7 May 2019 23:18:15 -0700 > Christoph Hellwig wrote: > > > On Tue, May 07, 2019 at 11:09:13PM +0200, Thomas Bogendoerfer wrote: > > > Code in pci-ip27.c will be moved to drivers/pci/controller therefore >

Re: [PATCH v2] MIPS: Fix Ingenic SoCs sometimes reporting wrong ISA

2019-05-09 Thread Paul Burton
Hello, Paul Cercueil wrote: > The config0 register in the Xburst CPUs with a processor ID of > PRID_COMP_INGENIC_D0 report themselves as MIPS32r2 compatible, > but they don't actually support this ISA. > > Signed-off-by: Paul Cercueil Applied to mips-next. Thanks, Paul [ This message was

Re: [PATCH v4 3/3] MIPS: SGI-IP27: abstract chipset irq from bridge

2019-05-09 Thread Paul Burton
Hello, Thomas Bogendoerfer wrote: > Bridge ASIC is widely used in different SGI systems, but the connected > chipset is either HUB, HEART or BEDROCK. This commit switches to > irq domain hierarchy for hub and bridge interrupts to get bridge > setup out of hub interrupt code. > > Signed-off-by:

Re: [PATCH fixes v2] MIPS: perf: Fix build with CONFIG_CPU_BMIPS5000 enabled

2019-05-09 Thread Paul Burton
Hello, Florian Fainelli wrote: > arch/mips/kernel/perf_event_mipsxx.c: In function 'mipsxx_pmu_enable_event': > arch/mips/kernel/perf_event_mipsxx.c:326:21: error: unused variable 'event' > [-Werror=unused-variable] > struct perf_event *event = container_of(evt, struct perf_event, hw); > ^ >

Re: [PATCH v4 2/3] MIPS: SGI-IP27: use generic PCI driver

2019-05-09 Thread Paul Burton
Hello, Thomas Bogendoerfer wrote: > Converted bridge code to a platform driver using the PCI generic driver > framework and use adding platform devices during xtalk scan. This allows > easier sharing bridge driver for other SGI platforms like IP30 (Octane) and > IP35 (Origin 3k, Fuel, Tezro). >

Re: [PATCH] hugetlbfs: always use address space in inode for resv_map pointer

2019-05-09 Thread Mike Kravetz
On 5/9/19 4:11 PM, Andrew Morton wrote: > On Wed, 8 May 2019 13:16:09 -0700 Mike Kravetz > wrote: > >>> I think it is better to add fixes label, like: >>> Fixes: 58b6e5e8f1ad ("hugetlbfs: fix memory leak for resv_map") >>> >>> Since the commit 58b6e5e8f1a has been merged to stable, this patch

Re: [PATCH 4.14 00/42] 4.14.118-stable review

2019-05-09 Thread kernelci.org bot
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.117-43-gfd7dbc6d8090/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.14.y/kernel/v4.14.117-43-gfd7dbc6d8090/ Tree: stable-rc Branch: linux-4.14.y Git Describe:

[v2 PATCH] mm: mmu_gather: remove __tlb_reset_range() for force flush

2019-05-09 Thread Yang Shi
A few new fields were added to mmu_gather to make TLB flush smarter for huge page by telling what level of page table is changed. __tlb_reset_range() is used to reset all these page table state to unchanged, which is called by TLB flush for parallel mapping changes for the same range under

Re: [PATCH] driver core: Fix use-after-free and double free on glue directory

2019-05-09 Thread Benjamin Herrenschmidt
On Thu, 2019-05-09 at 20:08 +0530, Gaurav Kohli wrote: > Hi , > > Last patch will serialize the addition of child to parent directory, > won't it affect performance. I doubt this is a significant issue, and there's already a global lock taken once or twice in that path, the fix is purely to

Re: [PATCH] hugetlbfs: always use address space in inode for resv_map pointer

2019-05-09 Thread Andrew Morton
On Wed, 8 May 2019 13:16:09 -0700 Mike Kravetz wrote: > > I think it is better to add fixes label, like: > > Fixes: 58b6e5e8f1ad ("hugetlbfs: fix memory leak for resv_map") > > > > Since the commit 58b6e5e8f1a has been merged to stable, this patch also be > > needed. > >

Re: [PATCH v2] mm/hugetlb: Don't put_page in lock of hugetlb_lock

2019-05-09 Thread Andrew Morton
On Mon, 6 May 2019 22:06:38 +0800 Zhiqiang Liu wrote: > From: Kai Shen > > spinlock recursion happened when do LTP test: > #!/bin/bash > ./runltp -p -f hugetlb & > ./runltp -p -f hugetlb & > ./runltp -p -f hugetlb & > ./runltp -p -f hugetlb & > ./runltp -p -f hugetlb & > > The dtor returned

Re: [PATCH 0/3] pinctrl: bcm: Allow PINCTRL_BCM2835 for ARCH_BRCMSTB

2019-05-09 Thread Eric Anholt
Florian Fainelli writes: > Hi Linus, > > This patch series allows making use of the pinctrl-bcm2835 driver on > ARCH_BRCMSTB where it is also used. Binding document is updated, and > then the Kconfig language is updated to allow selecting this driver with > ARCH_BRCMSTB, finally, Al updates the

Re: [PATCH 1/2] clk: bcm: Make BCM2835 clock drivers selectable

2019-05-09 Thread Eric Anholt
Florian Fainelli writes: > Make the BCM2835 clock driver selectable by other > architectures/platforms. ARCH_BRCMSTB will be selecting that driver in > the next commit since new chips like 7211 use the same CPRMAN clock > controller that this driver supports. These two are: Reviewed-by: Eric

Re: [PATCH v3] kheaders: Move from proc to sysfs

2019-05-09 Thread Joel Fernandes
On Wed, May 08, 2019 at 12:43:34PM +0900, Masahiro Yamada wrote: > On Mon, May 6, 2019 at 10:37 AM Joel Fernandes (Google) > wrote: > > > > The kheaders archive consisting of the kernel headers used for compiling > > bpf programs is in /proc. However there is concern that moving it here > > will

Re: [PATCH] spi: Allow selecting BCM2835 SPI controllers on ARCH_BRCMSTB

2019-05-09 Thread Eric Anholt
Florian Fainelli writes: > ARCH_BRCMSTB platforms have the BCM2835 SPI controllers (normal and > auxiliary), allow selecting the two drivers on such platforms. > > Signed-off-by: Florian Fainelli Reviewed-by: Eric Anholt signature.asc Description: PGP signature

[rcu:peterz.2019.05.09a 3/5] ERROR: "sched_getaffinity" [kernel/rcu/rcutorture.ko] undefined!

2019-05-09 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git peterz.2019.05.09a head: 9aaf2ab4ea3d421a1efa413020bbd5c30ecb5f86 commit: f77fecc7763a907926f68069f7eaf958caf9e5bf [3/5] EXP rcutorture: Additional prints for sched_setaffinity() config: x86_64-lkp (attached as

Re: [PATCH v3 09/11] platform/x86: asus-wmi: Control RGB keyboard backlight

2019-05-09 Thread Pavel Machek
Hi! > >> Yes, please. We have common interface for LED drivers; this needs to > >> use it. > > > > That is indeed a better option and I did in fact considered this first and > > even did a test implementation. The discoveries were: > > 1. The WMI methods are write-only and only written all at

RE: [PATCH] nvme-pci: Use non-operational power state instead of D3 on Suspend-to-Idle

2019-05-09 Thread Mario.Limonciello
> -Original Message- > From: Keith Busch > Sent: Thursday, May 9, 2019 4:54 PM > To: Limonciello, Mario > Cc: kai.heng.f...@canonical.com; h...@lst.de; ax...@fb.com; > s...@grimberg.me; raf...@kernel.org; linux...@vger.kernel.org; > rafael.j.wyso...@intel.com;

Re: [GIT PULL] security subsytem: TPM changes for v5.2

2019-05-09 Thread James Morris
On Thu, 9 May 2019, Linus Torvalds wrote: > On Thu, May 9, 2019 at 10:23 AM James Morris wrote: > > > > Bugfixes and new selftests for v5.1 features (partial reads in /dev/tpm0). > > What the heck is going on? > > I got all of these long ago in the "TPM fixes" branch for 5.1. One > month ago,

Re: [rcu:peterz.2019.05.09a 2/5] ERROR: "tracing_stop" [kernel/rcu/rcutorture.ko] undefined!

2019-05-09 Thread Paul E. McKenney
On Fri, May 10, 2019 at 05:47:32AM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > peterz.2019.05.09a > head: 9aaf2ab4ea3d421a1efa413020bbd5c30ecb5f86 > commit: 88437e0ce11d4b74d9606e2c587cdebbdfb41cf3 [2/5] EXP rcutorture: Test

Re: Question about sched_setaffinity()

2019-05-09 Thread Paul E. McKenney
On Thu, May 09, 2019 at 11:56:35PM +0200, Andrea Parri wrote: > On Thu, May 09, 2019 at 11:40:25PM +0200, Andrea Parri wrote: > > On Thu, May 09, 2019 at 10:36:54AM -0700, Paul E. McKenney wrote: > > > On Tue, May 07, 2019 at 03:16:13PM -0700, Paul E. McKenney wrote: > > > > On Wed, May 01, 2019

Re: [GIT PULL] clk changes for the merge window

2019-05-09 Thread pr-tracker-bot
The pull request you sent on Thu, 9 May 2019 14:15:10 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git > tags/clk-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ea5aee6d97fd2d4499b1eebc233861c1def70f06 Thank you! -- Deet-doot-dot,

Re: [PULL REQUEST] i2c for 5.2

2019-05-09 Thread pr-tracker-bot
The pull request you sent on Thu, 9 May 2019 21:11:55 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-5.2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/45182e4e1f8ac04708ca7508c51d9103f07d81ab Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT] Sparc

2019-05-09 Thread pr-tracker-bot
The pull request you sent on Thu, 09 May 2019 14:35:31 -0700 (PDT): > git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc.git > refs/heads/master has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9b6c9e96f941c5ab13dad7278a3622f58e5672fc Thank you! --

Re: [GIT PULL] RTC for 5.2

2019-05-09 Thread pr-tracker-bot
The pull request you sent on Thu, 9 May 2019 23:03:40 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git tags/rtc-5.2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8e4ff713ce313dcabbb60e6ede1ffc193e67631f Thank you! -- Deet-doot-dot, I am a

Re: [PATCH v3 09/11] platform/x86: asus-wmi: Control RGB keyboard backlight

2019-05-09 Thread Pavel Machek
On Fri 2019-05-10 00:06:11, Andy Shevchenko wrote: > On Thu, May 9, 2019 at 11:45 PM Dan Murphy wrote: > > On 5/9/19 2:04 PM, Yurii Pavlovskyi wrote: > > We are working on a framework for this. > > > > Please see this series > > https://lore.kernel.org/patchwork/project/lkml/list/?series=390141 >

Re: [GIT PULL] Please pull NFS client updates for Linux 5.2

2019-05-09 Thread pr-tracker-bot
The pull request you sent on Thu, 9 May 2019 20:37:00 +: > git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-5.2-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/06cbd26d312edfe4a83ff541c23f8f866265eb24 Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH] mm: mmu_gather: remove __tlb_reset_range() for force flush

2019-05-09 Thread Jan Stancek
- Original Message - > > > On 5/9/19 2:06 PM, Jan Stancek wrote: > > - Original Message - > >> > >> On 5/9/19 11:24 AM, Peter Zijlstra wrote: > >>> On Thu, May 09, 2019 at 05:36:29PM +, Nadav Amit wrote: > > On May 9, 2019, at 3:38 AM, Peter Zijlstra > > wrote: >

Re: [PATCHv2 08/10] vfio/mdev: Improve the create/remove sequence

2019-05-09 Thread Halil Pasic
On Thu, 9 May 2019 18:26:59 +0200 Pierre Morel wrote: > On 09/05/2019 11:06, Cornelia Huck wrote: > > [vfio-ap folks: find a question regarding removal further down] > > > > On Wed, 8 May 2019 22:06:48 + > > Parav Pandit wrote: > > > >>> -Original Message- > >>> From: Cornelia

Re: [PATCH] nvme-pci: Use non-operational power state instead of D3 on Suspend-to-Idle

2019-05-09 Thread Keith Busch
On Thu, May 09, 2019 at 09:37:58PM +, mario.limoncie...@dell.com wrote: > > +int nvme_set_power(struct nvme_ctrl *ctrl, unsigned npss) > > +{ > > + int ret; > > + > > + mutex_lock(>scan_lock); > > + nvme_start_freeze(ctrl); > > + nvme_wait_freeze(ctrl); > > + ret =

Re: Question about sched_setaffinity()

2019-05-09 Thread Andrea Parri
On Thu, May 09, 2019 at 11:40:25PM +0200, Andrea Parri wrote: > On Thu, May 09, 2019 at 10:36:54AM -0700, Paul E. McKenney wrote: > > On Tue, May 07, 2019 at 03:16:13PM -0700, Paul E. McKenney wrote: > > > On Wed, May 01, 2019 at 01:27:13PM -0700, Paul E. McKenney wrote: > > > > On Wed, May 01,

  1   2   3   4   5   6   7   8   9   10   >