Re: [PATCH v2 0/3] initramfs: add support for xattrs in the initial ram disk

2019-05-09 Thread Roberto Sassu
On 5/9/2019 8:34 PM, Rob Landley wrote: On 5/9/19 6:24 AM, Roberto Sassu wrote: This patch set aims at solving the following use case: appraise files from the initial ram disk. To do that, IMA checks the signature/hash from the security.ima xattr. Unfortunately, this use case cannot be implement

Re: [PATCH 2/2] kconfig: do not write .config if the content is the same

2019-05-09 Thread Geert Uytterhoeven
Hi Yamada-san, On Fri, May 10, 2019 at 8:14 AM Masahiro Yamada wrote: > Kconfig updates the .config when it exits even if its content is > exactly the same as before. Since its timestamp becomes newer than > that of other build artifacts, additional processing is invoked, > which is annoying. > >

Re: [RFC V2 1/2] sched: Start tracking SCHED_IDLE tasks count in cfs_rq

2019-05-09 Thread Peter Zijlstra
On Thu, Apr 25, 2019 at 03:07:39PM +0530, Viresh Kumar wrote: > @@ -5166,6 +5170,7 @@ enqueue_task_fair(struct rq *rq, struct task_struct *p, > int flags) > { > struct cfs_rq *cfs_rq; > struct sched_entity *se = &p->se; > + int idle_h_nr_running = unlikely(task_has_idle_policy(p))

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

2019-05-09 Thread CK Hu
Hi, Bibby: On Fri, 2019-05-10 at 11:27 +0800, Bibby Hsieh wrote: > 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 m

[PATCH v2 1/3] nsfs: add evict callback into struct proc_ns_operations

2019-05-09 Thread Wenbin Zeng
The newly added evict callback shall be called by nsfs_evict(). Currently only put() callback is called in nsfs_evict(), it is not able to release all netns refcount, for example, a rpc client holds two netns refcounts, these refcounts are supposed to be released when the rpc client is freed, but t

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

2019-05-09 Thread Naresh Kamboju
On Fri, 10 May 2019 at 00:14, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.175 release. > There are 28 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

[PATCH v2 0/3] auth_gss: netns refcount leaks when use-gss-proxy==1

2019-05-09 Thread Wenbin Zeng
This patch series fixes an auth_gss bug that results in netns refcount leaks when use-gss-proxy is set to 1. The problem was found in privileged docker containers with gssproxy service enabled and /proc/net/rpc/use-gss-proxy set to 1, the corresponding struct net->count ends up at 2 after containe

Re: [PATCH] thermal: cpu_cooling: Actually trace CPU load in thermal_power_cpu_get_power

2019-05-09 Thread Javi Merino
On Thu, May 02, 2019 at 11:32:38AM -0700, Matthias Kaehlcke wrote: > The CPU load values passed to the thermal_power_cpu_get_power > tracepoint are zero for all CPUs, unless, unless the > thermal_power_cpu_limit tracepoint is enabled too: > > irq/41-rockchip-98[000] 290.972410: therma

[PATCH v2 2/3] netns: add netns_evict into netns_operations

2019-05-09 Thread Wenbin Zeng
The newly added netns_evict() shall be called when the netns inode being evicted. It provides another path to release netns refcounts, previously netns_put() is the only choice, but it is not able to release all netns refcount, for example, a rpc client holds two netns refcounts, these refcounts ar

Re: [PATCH] thermal: cpu_cooling: Actually trace CPU load in thermal_power_cpu_get_power

2019-05-09 Thread Viresh Kumar
On 02-05-19, 11:32, Matthias Kaehlcke wrote: > The CPU load values passed to the thermal_power_cpu_get_power > tracepoint are zero for all CPUs, unless, unless the > thermal_power_cpu_limit tracepoint is enabled too: > > irq/41-rockchip-98[000] 290.972410: thermal_power_cpu_get_power:

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

2019-05-09 Thread Naresh Kamboju
On Fri, 10 May 2019 at 00:21, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.0.15 release. > There are 95 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Resp

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

2019-05-09 Thread Naresh Kamboju
On Fri, 10 May 2019 at 00:35, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.42 release. > There are 66 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

Re: Question about sched_setaffinity()

2019-05-09 Thread Andrea Parri
> > > Adding some "sched" folks in Cc: hopefully, they can shed some light > > > about this. > > > > +Thomas, +Sebastian > > > > Thread starts here: > > > > http://lkml.kernel.org/r/20190427180246.ga15...@linux.ibm.com > > Peter Zijlstra kindly volunteered over IRC to look at this more closely

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

2019-05-09 Thread Greg Kroah-Hartman
On Thu, May 09, 2019 at 05:27:13PM -0700, kernelci.org bot wrote: > 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-gdf1376651

Re: [PATCH 4.19 32/66] xtensa: fix initialization of pt_regs::syscall in start_thread

2019-05-09 Thread Greg Kroah-Hartman
On Thu, May 09, 2019 at 11:55:31AM -0700, Max Filippov wrote: > Hello, > > On Thu, May 9, 2019 at 11:48 AM Greg Kroah-Hartman > wrote: > > > > [ Upstream commit 2663147dc7465cb29040a05cc4286fdd839978b5 ] > > > > New pt_regs should indicate that there's no syscall, not that there's > > syscall #0.

RE: [PATCH V5 03/16] PCI: Export pcie_bus_config symbol

2019-05-09 Thread Vidya Sagar
-Original Message- From: linux-pci-ow...@vger.kernel.org On Behalf Of Thierry Reding Sent: Friday, May 3, 2019 4:38 PM To: Vidya Sagar Cc: lorenzo.pieral...@arm.com; bhelg...@google.com; robh...@kernel.org; mark.rutl...@arm.com; Jonathan Hunter ; kis...@ti.com; catalin.mari...@arm.co

Re: [PATCH 2/2] kconfig: do not write .config if the content is the same

2019-05-09 Thread Greg KH
On Fri, May 10, 2019 at 03:12:05PM +0900, Masahiro Yamada wrote: > Kconfig updates the .config when it exits even if its content is > exactly the same as before. Since its timestamp becomes newer than > that of other build artifacts, additional processing is invoked, > which is annoying. > > - syn

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

2019-05-09 Thread Masahiro Yamada
Hi Linus, On Fri, May 10, 2019 at 5:50 AM 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 1/2] kconfig: do not accept a directory for configuration output

2019-05-09 Thread Masahiro Yamada
Currently, conf_write() can be called with a directory name instead of a file name. As far as I see, this can happen for menuconfig, nconfig, gconfig. If it is given with a directory path, conf_write() kindly appends getenv("KCONFIG_CONFIG"), but this ends up with hacky dir/basename handling, and

[PATCH 2/2] kconfig: do not write .config if the content is the same

2019-05-09 Thread Masahiro Yamada
Kconfig updates the .config when it exits even if its content is exactly the same as before. Since its timestamp becomes newer than that of other build artifacts, additional processing is invoked, which is annoying. - syncconfig is invoked to update include/config/auto.conf, etc. - kernel/config.

Re: [PATCH] arm64: add support for rng-seed

2019-05-09 Thread Rasmus Villemoes
On 09/05/2019 10.00, Hsin-Yi Wang wrote: Why do you need to clear it? That wasn't necessary for kaslr-seed. >>> I think it's for security purpose. If we know the random seed, it's >>> more likely we can predict randomness. >>> Currently on arm64, kaslr-seed will be wiped out (in >>> arch/arm64

[PATCH] csky: Select intc & timer drivers

2019-05-09 Thread guoren
From: Guo Ren Let arch help to select interrupt controller's and timer's drivers instead of people using menuconfig to select. This help the mini system boot up. Signed-off-by: Guo Ren Cc: Arnd Bergmann --- arch/csky/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/csky/Kc

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

2019-05-09 Thread Kai-Heng Feng
at 06:19, wrote: -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; linux-kernel@vger.ker

Re: [PATCH] x86: intel_epb: Take CONFIG_PM into account

2019-05-09 Thread Ingo Molnar
* Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Commit b9c273babce7 (PM / arch: x86: MSR_IA32_ENERGY_PERF_BIAS sysfs > interface) caused kernels built with CONFIG_PM unset to crash on > systems supporting the Performance and Energy Bias Hint (EPB), > because it attempts to add files

[tip:perf/urgent] perf/x86/intel: Fix INTEL_FLAGS_EVENT_CONSTRAINT* masking

2019-05-09 Thread tip-bot for Stephane Eranian
Commit-ID: 6b89d4c1ae8596a8c9240f169ef108704de373f2 Gitweb: https://git.kernel.org/tip/6b89d4c1ae8596a8c9240f169ef108704de373f2 Author: Stephane Eranian AuthorDate: Thu, 9 May 2019 14:45:56 -0700 Committer: Ingo Molnar CommitDate: Fri, 10 May 2019 08:04:17 +0200 perf/x86/intel: Fix INT

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

2019-05-09 Thread Adrian Hunter
On 10/05/19 6:42 AM, Faiz Abbas wrote: > 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 Except that

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 ta

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(&ctrl->scan_lock); > + nvme_start_freeze(ctrl); > + nvme_wait_freeze(ctrl); > + ret = nvme_set_features(ctrl, NVME_FEAT_POWER_MGMT, npss, NULL, 0, > + NU

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 chang

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: E

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 config:

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 (very

[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 remotepro

[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 alr

[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 a/arch/arm64/boot/dts/qcom/qcs404.dt

[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 thes

[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 --- arch/arm64/boot/dt

[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 Anderss

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. Appreciat

[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: YueHai

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()") > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.gi

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; daniel.lezc...@linaro.or

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 ->bi_cn

[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 --- a/drivers/mmc/

[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 t

[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 inserti

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, mediatek,gce-su

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 t

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( > > >".glob

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: B

[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 func

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 .c

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 se

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 channels

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 plan.

[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 --- dr

[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 Robo

[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 1

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. https://

[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 repo

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 _ASM_X86_FTRACE

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, May

[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 Op

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 > > mailing

[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: git:

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 +--- > > arch/x86/k

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 i

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 d

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 reclaim.

[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 | 4

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: https://kernelci.org/build/stable-rc/branch

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 da

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 ou

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: https://kernelci.org/build/stable-rc/branch/linux-

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 flag

[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: https://kernelci.org/build/stable-rc/branch/linux-4.

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 s

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: Th

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). > >

  1   2   3   4   5   6   7   8   9   10   >