Re: [PATCH 2/5] perf pmu: Support more complex PMU event aliasing

2019-06-11 Thread Jiri Olsa
On Mon, Jun 10, 2019 at 05:59:29PM +0800, John Garry wrote: > The jevent "Unit" field is used for uncore PMU alias definition. > > The form uncore_pmu_example_X is supported, where "X" is a wildcard, > to support multiple instances of the same PMU in a system. > > Unfortunately this format not su

Re: [RFC PATCH] ACPI / processors: allow a processor device _UID to be a string

2019-06-11 Thread Sudeep Holla
On Tue, Jun 11, 2019 at 10:03:15AM -0600, Al Stone wrote: > On 6/11/19 6:53 AM, Sudeep Holla wrote: > > On Mon, Jun 10, 2019 at 02:07:34PM -0600, Al Stone wrote: > >> In the ACPI specification, section 6.1.12, a _UID may be either an > >> integer or a string object. Up until now, when defining pro

Re: [PATCH 08/15] x86/alternatives: Teach text_poke_bp() to emulate instructions

2019-06-11 Thread Steven Rostedt
On Tue, 11 Jun 2019 08:54:23 -0700 Andy Lutomirski wrote: > How does that help? If RIP == x+2 and you want to put a 5-byte jump > at address x, no amount of 0xcc is going to change the fact that RIP > is in the middle of the jump. > > Live patching can handle this by detecting this condition o

Re: [PATCH v12 1/1] Add support for IPMB driver

2019-06-11 Thread Randy Dunlap
On 6/11/19 6:28 AM, Asmaa Mnebhi wrote: > Hello Randy, > > Please refer to the slave-interface linux documentation: > https://www.kernel.org/doc/Documentation/i2c/slave-interface OK, thanks. > Thanks. > Asmaa > > -Original Message- > From: Randy Dunlap > Sent: Monday, June 10, 2019 5:

Re: [PATCHv3 1/2] mm/gup: fix omission of check on FOLL_LONGTERM in get_user_pages_fast()

2019-06-11 Thread Aneesh Kumar K.V
Pingfan Liu writes: > As for FOLL_LONGTERM, it is checked in the slow path > __gup_longterm_unlocked(). But it is not checked in the fast path, which > means a possible leak of CMA page to longterm pinned requirement through > this crack. Shouldn't we disallow FOLL_LONGTERM with get_user_pages f

Re: [PATCH 2/2] arm64/mm: show TAINT_CPU_OUT_OF_SPEC warning if the cache size is over the spec.

2019-06-11 Thread Masayoshi Mizuma
On Tue, Jun 11, 2019 at 04:41:06PM +0100, Catalin Marinas wrote: > On Tue, Jun 11, 2019 at 11:17:31AM -0400, Masayoshi Mizuma wrote: > > From: Masayoshi Mizuma > > > > Show the warning and taints as TAINT_CPU_OUT_OF_SPEC if the cache line > > size is greater than the maximum. > > In general the

Re: [PATCH 08/15] x86/alternatives: Teach text_poke_bp() to emulate instructions

2019-06-11 Thread Peter Zijlstra
On Tue, Jun 11, 2019 at 05:52:48PM +0200, Peter Zijlstra wrote: > On Tue, Jun 11, 2019 at 11:14:10AM -0400, Steven Rostedt wrote: > > On Wed, 05 Jun 2019 15:08:01 +0200 > > Peter Zijlstra wrote: > > > > > -void text_poke_bp(void *addr, const void *opcode, size_t len, void > > > *handler) > > > +

Re: What do LSMs *actually* need for checks on notifications?

2019-06-11 Thread Casey Schaufler
On 6/11/2019 7:21 AM, David Howells wrote: > To see if we can try and make progress on this, can we try and come at this > from another angle: what do LSMs *actually* need to do this? And I grant that > each LSM might require different things. > > -~- > > [A] There are a bunch of things available,

Re: [PATCH 2/5] perf pmu: Support more complex PMU event aliasing

2019-06-11 Thread John Garry
On 11/06/2019 17:10, Jiri Olsa wrote: On Mon, Jun 10, 2019 at 05:59:29PM +0800, John Garry wrote: The jevent "Unit" field is used for uncore PMU alias definition. The form uncore_pmu_example_X is supported, where "X" is a wildcard, to support multiple instances of the same PMU in a system. Unf

Re: memory leak in nfs_get_client

2019-06-11 Thread Benjamin Coddington
Ugh.. Now that you can cancel the wait, you have to also handle if "new" was allocated. I think this needs: diff --git a/fs/nfs/client.c b/fs/nfs/client.c index d7e4f0848e28..4d90f5bf0b0a 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c @@ -406,10 +406,10 @@ struct nfs_client *nfs_get_client(

[tip:ras/core] x86/MCE: Make struct mce_banks[] static

2019-06-11 Thread tip-bot for Yazen Ghannam
Commit-ID: 95fdce6b24f3526c2bd1aad15978d238b79da6bd Gitweb: https://git.kernel.org/tip/95fdce6b24f3526c2bd1aad15978d238b79da6bd Author: Yazen Ghannam AuthorDate: Fri, 7 Jun 2019 20:18:03 + Committer: Borislav Petkov CommitDate: Tue, 11 Jun 2019 15:13:51 +0200 x86/MCE: Make struct m

[tip:ras/core] x86/MCE: Make mce_banks a per-CPU array

2019-06-11 Thread tip-bot for Yazen Ghannam
Commit-ID: b4914508f1fe0eca1cd011b6026ff762a1aa62d5 Gitweb: https://git.kernel.org/tip/b4914508f1fe0eca1cd011b6026ff762a1aa62d5 Author: Yazen Ghannam AuthorDate: Fri, 7 Jun 2019 20:18:04 + Committer: Borislav Petkov CommitDate: Tue, 11 Jun 2019 15:22:13 +0200 x86/MCE: Make mce_bank

[tip:ras/core] x86/MCE/AMD: Don't cache block addresses on SMCA systems

2019-06-11 Thread tip-bot for Yazen Ghannam
Commit-ID: 95d057f54664f3c6e8f650faf5690b82b30a9e52 Gitweb: https://git.kernel.org/tip/95d057f54664f3c6e8f650faf5690b82b30a9e52 Author: Yazen Ghannam AuthorDate: Fri, 7 Jun 2019 20:18:04 + Committer: Borislav Petkov CommitDate: Tue, 11 Jun 2019 15:22:41 +0200 x86/MCE/AMD: Don't cac

Re: [PATCH AUTOSEL 4.4 50/56] tty: pty: Fix race condition between release_one_tty and pty_write

2019-06-11 Thread Sasha Levin
On Sat, Jun 01, 2019 at 09:18:36AM -0700, Greg Kroah-Hartman wrote: On Sat, Jun 01, 2019 at 09:17:07AM -0700, Greg Kroah-Hartman wrote: On Sat, Jun 01, 2019 at 09:25:54AM -0400, Sasha Levin wrote: > From: Sahara > > [ Upstream commit b9ca5f8560af244489b4a1bc1ae88b341f24bc95 ] > > Especially whe

[tip:ras/core] x86/MCE: Make the number of MCA banks a per-CPU variable

2019-06-11 Thread tip-bot for Yazen Ghannam
Commit-ID: c7d314f386e987be8b51eeb7dd947756ae23f6b6 Gitweb: https://git.kernel.org/tip/c7d314f386e987be8b51eeb7dd947756ae23f6b6 Author: Yazen Ghannam AuthorDate: Fri, 7 Jun 2019 20:18:05 + Committer: Borislav Petkov CommitDate: Tue, 11 Jun 2019 15:23:09 +0200 x86/MCE: Make the numb

[tip:ras/core] x86/MCE: Determine MCA banks' init state properly

2019-06-11 Thread tip-bot for Yazen Ghannam
Commit-ID: 068b053dca0e2ab40b3d953b102a178654eec282 Gitweb: https://git.kernel.org/tip/068b053dca0e2ab40b3d953b102a178654eec282 Author: Yazen Ghannam AuthorDate: Fri, 7 Jun 2019 20:18:06 + Committer: Borislav Petkov CommitDate: Tue, 11 Jun 2019 15:23:34 +0200 x86/MCE: Determine MCA

Re: [RFC PATCH] ACPI / processors: allow a processor device _UID to be a string

2019-06-11 Thread Zhang Rui
On 二, 2019-06-11 at 17:11 +0100, Sudeep Holla wrote: > On Tue, Jun 11, 2019 at 10:03:15AM -0600, Al Stone wrote: > > > > On 6/11/19 6:53 AM, Sudeep Holla wrote: > > > > > > On Mon, Jun 10, 2019 at 02:07:34PM -0600, Al Stone wrote: > > > > > > > > In the ACPI specification, section 6.1.12, a _UID

Re: [RFC PATCH] ACPI / processors: allow a processor device _UID to be a string

2019-06-11 Thread Al Stone
On 6/11/19 10:11 AM, Sudeep Holla wrote: > On Tue, Jun 11, 2019 at 10:03:15AM -0600, Al Stone wrote: >> On 6/11/19 6:53 AM, Sudeep Holla wrote: >>> On Mon, Jun 10, 2019 at 02:07:34PM -0600, Al Stone wrote: In the ACPI specification, section 6.1.12, a _UID may be either an integer or a str

Re: [PATCH v2 04/14] pwm: meson: change MISC_CLK_SEL_WIDTH to MISC_CLK_SEL_MASK

2019-06-11 Thread Uwe Kleine-König
Hello, [added clk-people to recipients] On Sat, Jun 08, 2019 at 08:06:16PM +0200, Martin Blumenstingl wrote: > MISC_CLK_SEL_WIDTH is only used in one place where it's converted into > a bit-mask. Rename and change the macro to be a bit-mask so that > conversion is not needed anymore. No functiona

Re: [PATCH] fmc: Delete the FMC subsystem

2019-06-11 Thread Federico Vaga
Well I do not know if it make sense to make it stronger with: Signed-off-by: Federico Vaga As you want On Monday, June 10, 2019 4:18:09 PM CEST Linus Walleij wrote: > The FMC subsystem was created in 2012 with the ambition to > drive development of drivers for this hardware upstream. > > The c

[PATCH v3 4/5] interconnect: qcom: Add interconnect SMD over SMD driver

2019-06-11 Thread Georgi Djakov
On some Qualcomm SoCs, there is a remote processor, which controls some of the Network-On-Chip interconnect resources. Other CPUs express their needs by communicating with this processor. Add a driver to handle communication with this remote processor. Signed-off-by: Georgi Djakov --- v3: - New

[PATCH v3 3/5] soc: qcom: smd-rpm: Create RPM interconnect proxy child device

2019-06-11 Thread Georgi Djakov
Register a platform device to handle the communication of bus bandwidth requests with the remote processor. The interconnect proxy device is part of this remote processor (RPM) hardware. Let's create a icc-smd-rpm proxy child device to represent the bus throughput functionality that is provided by

[PATCH v3 2/5] interconnect: qcom: Add QCS404 interconnect provider driver

2019-06-11 Thread Georgi Djakov
From: Bjorn Andersson Add driver for the interconnect buses found in Qualcomm QCS404-based platforms. The topology consists of three NoCs that are controlled by a remote processor. This remote processor collects the aggregated bandwidth for each master-slave pairs. Signed-off-by: Bjorn Andersson

[PATCH v3 5/5] arm64: dts: qcs404: Add interconnect provider DT nodes

2019-06-11 Thread Georgi Djakov
Add the DT nodes for the network-on-chip interconnect buses found on qcs404-based platforms. Signed-off-by: Georgi Djakov --- v3: - Updated according to the new binding: added reg property and moved under the "soc" node. arch/arm64/boot/dts/qcom/qcs404.dtsi | 28

[PATCH v3 0/5] Add QCS404 interconnect provider driver

2019-06-11 Thread Georgi Djakov
Add drivers to support scaling of the on-chip interconnects on QCS404-based platforms. Also add the necessary device-tree nodes, so that the driver for each NoC can probe and register as interconnect-provider. v3: - Drop the patch introducing the qcom,qos DT property. - Add two new patches to crea

[PATCH v3 1/5] dt-bindings: interconnect: Add Qualcomm QCS404 DT bindings

2019-06-11 Thread Georgi Djakov
The Qualcomm QCS404 platform has several buses that could be controlled and tuned according to the bandwidth demand. Signed-off-by: Georgi Djakov --- v3: - Add a reg property and move the interconnect nodes under the "soc" node. v2: - No changes. .../bindings/interconnect/qcom,qcs404.txt

Re: [PATCHv3 1/2] mm/gup: fix omission of check on FOLL_LONGTERM in get_user_pages_fast()

2019-06-11 Thread Ira Weiny
On Tue, Jun 11, 2019 at 08:29:35PM +0800, Pingfan Liu wrote: > On Fri, Jun 07, 2019 at 02:10:15PM +0800, Pingfan Liu wrote: > > On Fri, Jun 7, 2019 at 5:17 AM John Hubbard wrote: > > > > > > On 6/5/19 7:19 PM, Pingfan Liu wrote: > > > > On Thu, Jun 6, 2019 at 5:49 AM Andrew Morton > > > > wrote:

Re: [PATCH] powerpc/32s: fix initial setup of segment registers on secondary CPU

2019-06-11 Thread Christophe Leroy
Le 11/06/2019 à 17:47, Christophe Leroy a écrit : The patch referenced below moved the loading of segment registers out of load_up_mmu() in order to do it earlier in the boot sequence. However, the secondary CPU still needs it to be done when loading up the MMU. Reported-by: Erhard F. Fixes:

Re: iMX6 5.2-rc3 boot failure due to "PCI: imx6: Allow asynchronous probing"

2019-06-11 Thread Robert Hancock
Adding linux-pci. One thing that may be slightly unusual about our setup is that we are using CONFIG_PREEMPT=y, which may be allowing more concurrency to come into play. On 2019-06-07 6:28 p.m., Robert Hancock wrote: > I am seeing a boot failure on our iMX6D-based embedded platform running > v5.2

Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver

2019-06-11 Thread Subash Abhinov Kasiviswanathan
The general plan (and I believe Daniele Palmas was working on it) was to eventually make qmi_wwan use rmnet rather than its internal sysfs- based implementation. qmi_wwan and ipa are at essentially the same level and both could utilize rmnet on top. *That's* what I'd like to see. I don't want to

Re: [PATCH v3 3/4] backlight: pwm_bl: compute brightness of LED linearly to human eye.

2019-06-11 Thread Brian Norris
On Tue, Jun 11, 2019 at 3:49 AM Daniel Thompson wrote: > This is a long standing flaw in the backlight interfaces. AFAIK generic > userspaces end up with a (flawed) heuristic. Bingo! Would be nice if we could start to fix this long-standing flaw. > Basically devices with a narrow range of choice

Gooday To You,

2019-06-11 Thread Mrs. Patrick Huang
This is to officially inform you that ATM card number: 3774 2856 7847 9006 worth fifteen Million US dollars($15. Million US dollars.) has been credited in your favor in bid to compensate you on your contract payment since you are next on our inheritance file for the second part of this fiscal Y

Gooday To You,

2019-06-11 Thread Mrs. Patrick Huang
This is to officially inform you that ATM card number: 3774 2856 7847 9006 worth fifteen Million US dollars($15. Million US dollars.) has been credited in your favor in bid to compensate you on your contract payment since you are next on our inheritance file for the second part of this fiscal Y

Gooday To You,

2019-06-11 Thread Mrs. Patrick Huang
This is to officially inform you that ATM card number: 3774 2856 7847 9006 worth fifteen Million US dollars($15. Million US dollars.) has been credited in your favor in bid to compensate you on your contract payment since you are next on our inheritance file for the second part of this fiscal Y

Gooday To You,

2019-06-11 Thread Mrs. Patrick Huang
This is to officially inform you that ATM card number: 3774 2856 7847 9006 worth fifteen Million US dollars($15. Million US dollars.) has been credited in your favor in bid to compensate you on your contract payment since you are next on our inheritance file for the second part of this fiscal Y

Gooday To You,

2019-06-11 Thread Mrs. Patrick Huang
This is to officially inform you that ATM card number: 3774 2856 7847 9006 worth fifteen Million US dollars($15. Million US dollars.) has been credited in your favor in bid to compensate you on your contract payment since you are next on our inheritance file for the second part of this fiscal Y

Re: [PATCH 3/7] perf: arm64: Use rseq to test userspace access to pmu counters

2019-06-11 Thread Mark Rutland
Hi Arnaldo, On Tue, Jun 11, 2019 at 11:33:46AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Jun 11, 2019 at 01:53:11PM +0100, Raphael Gault escreveu: > > Add an extra test to check userspace access to pmu hardware counters. > > This test doesn't rely on the seqlock as a synchronisation mechani

Re: [PATCH v3 0/3] KVM: Yield to IPI target if necessary

2019-06-11 Thread Nadav Amit
> On Jun 11, 2019, at 3:02 AM, Wanpeng Li wrote: > > On Tue, 11 Jun 2019 at 09:48, Nadav Amit wrote: >>> On Jun 10, 2019, at 6:45 PM, Wanpeng Li wrote: >>> >>> On Tue, 11 Jun 2019 at 09:11, Sean Christopherson >>> wrote: On Mon, Jun 10, 2019 at 04:34:20PM +0200, Radim Krčmář wrote: >

Re: [PATCHv5 04/20] PCI: mobiveil: Remove the flag MSI_FLAG_MULTI_PCI_MSI

2019-06-11 Thread Lorenzo Pieralisi
On Fri, Apr 12, 2019 at 08:35:36AM +, Z.q. Hou wrote: > From: Hou Zhiqiang > > The current code does not support multiple MSIs, so remove > the corresponding flag from the msi_domain_info structure. Please explain me what's the problem before removing multi MSI support. Thanks, Lorenzo > F

Re: [PATCH 1/7] perf: arm64: Compile tests unconditionally

2019-06-11 Thread Mark Rutland
On Tue, Jun 11, 2019 at 11:23:56AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Jun 11, 2019 at 03:09:07PM +0100, Mark Rutland escreveu: > > On Tue, Jun 11, 2019 at 01:53:09PM +0100, Raphael Gault wrote: > > > In order to subsequently add more tests for the arm64 architecture > > > we compile t

Re: [PATCH 2/2] backlight: pwm_bl: Get number of brightness levels for CIE 1931 from the device tree

2019-06-11 Thread Matthias Kaehlcke
Hi Daniel, On Tue, Jun 11, 2019 at 04:33:14PM +0100, Daniel Thompson wrote: > On Mon, Jun 10, 2019 at 04:37:39PM -0700, Matthias Kaehlcke wrote: > > Commit 88ba95bedb79 ("backlight: pwm_bl: Compute brightness of LED > > linearly to human eye") uses pwm_period / hweight32(pwm_period) as > > as heur

Re: [PATCH v2 8/8] habanalabs: enable 64-bit DMA mask in POWER9

2019-06-11 Thread Oded Gabbay
On Tue, Jun 11, 2019 at 6:26 PM Greg KH wrote: > > On Tue, Jun 11, 2019 at 08:17:53AM -0700, Christoph Hellwig wrote: > > On Tue, Jun 11, 2019 at 11:58:57AM +0200, Greg KH wrote: > > > That feels like a big hack. ppc doesn't have any "what arch am I > > > running on?" runtime call? Did you ask o

Re: [GIT PULL] PHY: for 5.2-rc

2019-06-11 Thread Greg Kroah-Hartman
On Tue, Jun 11, 2019 at 07:31:22PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Please find the pull request for 5.2 -rc cycle. > > The major fix being moving supplies powering PLLs used by USB, SATA, > PCIe to tegra-xusb driver fixing initialization failure. > > Others are minor fixes. P

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

2019-06-11 Thread dmitry.torok...@gmail.com
On Tue, Jun 11, 2019 at 09:23:33AM +0200, Pali Rohár wrote: > On Tuesday 11 June 2019 12:32:33 Hui Wang wrote: > > On 2019/6/11 上午11:23, Hui Wang wrote: > > > On 2019/6/11 上午11:05, Xiaoxiao Liu wrote: > > > > Hi Pali, > > > > > > > > I discussed with our FW team about this problem. > > > > We thin

Re: [PATCH 06/10] mfd / platform: cros_ec: Reorganize platform and mfd includes

2019-06-11 Thread Dmitry Torokhov
On Tue, Jun 04, 2019 at 05:20:15PM +0200, Enric Balletbo i Serra wrote: > There is a bit of mess between cros-ec mfd includes and platform > includes. For example, we have a linux/mfd/cros_ec.h include that > exports the interface implemented in platform/chrome/cros_ec_proto.c. Or > we have a linux

Re: msm8996: qcom-qmp: apq8096-db820c fails to boot, reset back to fastboot and locks up

2019-06-11 Thread Niklas Cassel
On Mon, Jun 10, 2019 at 03:44:01PM +0200, Paolo Pisati wrote: > From time to time, my apq8096-db820c fails to boot to userspace, reset back to > fastboot and locks up: to easily reproduce the issue, i'm boot looping using a > cron job with a 1 min reboot entry on the board while leaving a "while 1;

Re: [v7 PATCH 1/2] mm: vmscan: remove double slab pressure by inc'ing sc->nr_scanned

2019-06-11 Thread Yang Shi
On 6/10/19 2:36 PM, Oscar Salvador wrote: On Tue, 2019-05-28 at 14:44 +0800, Yang Shi wrote: The commit 9092c71bb724 ("mm: use sc->priority for slab shrink targets") has broken up the relationship between sc->nr_scanned and slab pressure. The sc->nr_scanned can't double slab pressure anymore.

Re: [PATCH v4 2/5] x86/umwait: Initialize umwait control values

2019-06-11 Thread Fenghua Yu
On Tue, Jun 11, 2019 at 10:50:36AM +0200, Peter Zijlstra wrote: > On Fri, Jun 07, 2019 at 03:00:34PM -0700, Fenghua Yu wrote: > > umwait or tpause allows processor to enter a light-weight > > power/performance optimized state (C0.1 state) or an improved > > power/performance optimized state (C0.2 s

Re: [PATCH v2 2/2] mm: hugetlb: soft-offline: dissolve_free_huge_page() return zero on !PageHuge

2019-06-11 Thread Mike Kravetz
On 6/10/19 1:18 AM, Naoya Horiguchi wrote: > madvise(MADV_SOFT_OFFLINE) often returns -EBUSY when calling soft offline > for hugepages with overcommitting enabled. That was caused by the suboptimal > code in current soft-offline code. See the following part: > > ret = migrate_pages(&pagelist,

Re: memory leak in create_ctx

2019-06-11 Thread Jakub Kicinski
On Tue, 11 Jun 2019 13:45:11 +0200, Dmitry Vyukov wrote: > Do you see the bug? Jakub said he can't repro. > The repro has these suspicious bpf syscalls and there is currently > some nasty bpf bug that plagues us and leads to random assorted > splats. Ah, must be the BPF interaction indeed :S The r

Re: [PATCH v2 0/4] Additional fixes on Talitos driver

2019-06-11 Thread Christophe Leroy
Le 11/06/2019 à 18:30, Horia Geanta a écrit : On 6/11/2019 6:40 PM, Christophe Leroy wrote: Le 11/06/2019 à 17:37, Horia Geanta a écrit : On 6/11/2019 5:39 PM, Christophe Leroy wrote: This series is the last set of fixes for the Talitos driver. We now get a fully clean boot on both SEC1

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

2019-06-11 Thread Pali Rohár
On Tuesday 11 June 2019 10:07:07 dmitry.torok...@gmail.com wrote: > On Tue, Jun 11, 2019 at 09:23:33AM +0200, Pali Rohár wrote: > > On Tuesday 11 June 2019 12:32:33 Hui Wang wrote: > > > On 2019/6/11 上午11:23, Hui Wang wrote: > > > > On 2019/6/11 上午11:05, Xiaoxiao Liu wrote: > > > > > Hi Pali, > > >

Re: [v7 PATCH 1/2] mm: vmscan: remove double slab pressure by inc'ing sc->nr_scanned

2019-06-11 Thread Yang Shi
On 6/11/19 10:12 AM, Yang Shi wrote: On 6/10/19 2:36 PM, Oscar Salvador wrote: On Tue, 2019-05-28 at 14:44 +0800, Yang Shi wrote: The commit 9092c71bb724 ("mm: use sc->priority for slab shrink targets") has broken up the relationship between sc->nr_scanned and slab pressure. The sc->nr_sca

Re: [PATCHv5 16/20] PCI: mobiveil: Add link up condition check

2019-06-11 Thread Lorenzo Pieralisi
NB: Please trim the CC list and keep it to concerned maintainers. On Fri, Apr 12, 2019 at 08:36:48AM +, Z.q. Hou wrote: > From: Hou Zhiqiang > > Avoid to issue CFG transactions to link partner when the PCIe > link is not up. > > Signed-off-by: Hou Zhiqiang > --- > V5: > - Corrected the su

[PATCH v2] arm64: Don't unconditionally add -Wno-psabi to KBUILD_CFLAGS

2019-06-11 Thread Nathan Chancellor
This is a GCC only option, which warns about ABI changes within GCC, so unconditionally adding it breaks Clang with tons of: warning: unknown warning option '-Wno-psabi' [-Wunknown-warning-option] and link time failures: ld.lld: error: undefined symbol: __efistub___stack_chk_guard >>> referenced

Re: [RFC PATCH v2 3/5] x86/sgx: Enforce noexec filesystem restriction for enclaves

2019-06-11 Thread Stephen Smalley
On 6/10/19 12:44 PM, Andy Lutomirski wrote: On Mon, Jun 10, 2019 at 9:00 AM Jarkko Sakkinen wrote: On Wed, Jun 05, 2019 at 07:11:43PM -0700, Sean Christopherson wrote: + goto out; + } + + /* + * Query VM_MAYEXEC as an indirect path_noexec() check (see do_mmap()), +

Re: [PATCH v4 3/9] mm: Add write-protect and clean utilities for address space ranges

2019-06-11 Thread Nadav Amit
> On Jun 11, 2019, at 5:24 AM, Thomas Hellström (VMware) > wrote: > > From: Thomas Hellstrom > [ snip ] > +/** > + * apply_pt_wrprotect - Leaf pte callback to write-protect a pte > + * @pte: Pointer to the pte > + * @token: Page table token, see apply_to_pfn_range() > + * @addr: The virtual

Re: Question - check in runtime which architecture am I running on

2019-06-11 Thread Oded Gabbay
On Tue, Jun 11, 2019 at 5:07 PM Christoph Hellwig wrote: > > On Tue, Jun 11, 2019 at 03:30:08PM +0300, Oded Gabbay wrote: > > Hello POWER developers, > > > > I'm trying to find out if there is an internal kernel API so that a > > PCI driver can call it to check if its PCI device is running inside

Re: [PATCH] sched/topology: Improve load balancing on AMD EPYC

2019-06-11 Thread Lendacky, Thomas
On 6/10/19 4:26 PM, Matt Fleming wrote: > On Wed, 05 Jun, at 08:00:35PM, Peter Zijlstra wrote: >> >> And then we had two magic values :/ >> >> Should we not 'fix' RECLAIM_DISTANCE for EPYC or something? Because >> surely, if we want to load-balance agressively over 30, then so too >> should we do n

Re: [PATCH] bpf: verifier: avoid fall-through warnings

2019-06-11 Thread Andrii Nakryiko
On Tue, Jun 11, 2019 at 7:05 AM Gustavo A. R. Silva wrote: > > In preparation to enabling -Wimplicit-fallthrough, this patch silences > the following warning: Your patch doesn't apply cleanly to neither bpf nor bpf-next tree. Could you please rebase and re-submit? Please also include which tree (

Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver

2019-06-11 Thread Dan Williams
On Tue, 2019-06-11 at 10:52 -0600, Subash Abhinov Kasiviswanathan wrote: > > The general plan (and I believe Daniele Palmas was working on it) > > was > > to eventually make qmi_wwan use rmnet rather than its internal > > sysfs- > > based implementation. qmi_wwan and ipa are at essentially the same

Re: [PATCH v2 8/8] habanalabs: enable 64-bit DMA mask in POWER9

2019-06-11 Thread Oded Gabbay
On Tue, Jun 11, 2019 at 8:03 PM Oded Gabbay wrote: > > On Tue, Jun 11, 2019 at 6:26 PM Greg KH wrote: > > > > On Tue, Jun 11, 2019 at 08:17:53AM -0700, Christoph Hellwig wrote: > > > On Tue, Jun 11, 2019 at 11:58:57AM +0200, Greg KH wrote: > > > > That feels like a big hack. ppc doesn't have any

KASAN: use-after-free Read in usb_kill_anchored_urbs

2019-06-11 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:69bbe8c7 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasan.git usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=15df4ecaa0 kernel config: https://syzkaller.appspot.com/x/.

Re: [PATCH v2] sched/fair: don't push cfs_bandwith slack timers forward

2019-06-11 Thread bsegall
Peter Zijlstra writes: > On Thu, Jun 06, 2019 at 10:21:01AM -0700, bseg...@google.com wrote: >> diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h >> index efa686eeff26..60219acda94b 100644 >> --- a/kernel/sched/sched.h >> +++ b/kernel/sched/sched.h >> @@ -356,6 +356,7 @@ struct cfs_bandwid

Re: [PATCH v7 3/5] usb: host: ohci-sm501: init genalloc for local memory

2019-06-11 Thread Fredrik Noring
ppend 'panic=-1 slub_debug=FZPUA root=/dev/sda rootwait > > console=ttySC1,115200 earlycon=scif,mmio16,0xffe8 noiotrap' \ > > -serial null -serial stdio \ > > -net nic,model=rtl8139 -net user -nographic -monitor null > > > > Reverting this patch a

Re: [PATCH] bpf: verifier: avoid fall-through warnings

2019-06-11 Thread Gustavo A. R. Silva
bpf nor bpf-next tree. > Could you please rebase and re-submit? Please also include which tree > (probably bpf-next) you are designating this patch to in subject > prefix. > This patch applies cleanly to linux-next (tag next-20190611). -- Gustavo >> >> kernel/bpf

Re: [PATCH v4 3/5] x86/umwait: Add sysfs interface to control umwait C0.2 state

2019-06-11 Thread Peter Zijlstra
(can you, perchance, look at a MUA that isn't 'broken' ?) On Tue, Jun 11, 2019 at 09:04:30AM -0700, Andy Lutomirski wrote: > > > > On Jun 11, 2019, at 1:54 AM, Peter Zijlstra wrote: > > > >> On Fri, Jun 07, 2019 at 03:00:35PM -0700, Fenghua Yu wrote: > >> C0.2 state in umwait and tpause inst

Re: [PATCH 02/21] EDAC: Fixes to use put_device() after device_add() errors

2019-06-11 Thread Borislav Petkov
On Wed, May 29, 2019 at 08:44:05AM +, Robert Richter wrote: > Always use put_device() after device_add() failed. > > Signed-off-by: Robert Richter > --- > drivers/edac/edac_mc_sysfs.c | 36 +++- > 1 file changed, 19 insertions(+), 17 deletions(-) I already ha

Re: [PATCHv5 04/20] PCI: mobiveil: Remove the flag MSI_FLAG_MULTI_PCI_MSI

2019-06-11 Thread Marc Zyngier
On 11/06/2019 17:59, Lorenzo Pieralisi wrote: > On Fri, Apr 12, 2019 at 08:35:36AM +, Z.q. Hou wrote: >> From: Hou Zhiqiang >> >> The current code does not support multiple MSIs, so remove >> the corresponding flag from the msi_domain_info structure. > > Please explain me what's the problem b

[PATCH V7 09/11] misc: xilinx_sdfec: Add stats & status ioctls

2019-06-11 Thread Dragan Cvetic
SD-FEC statistic data are: - count of data interface errors (isr_err_count) - count of Correctable ECC errors (cecc_count) - count of Uncorrectable ECC errors (uecc_count) Add support: 1. clear stats ioctl callback which clears collected statistic data, 2. get stats ioctl callback which reads a co

[PATCH V7 07/11] misc: xilinx_sdfec: Add ability to get/set config

2019-06-11 Thread Dragan Cvetic
- Add capability to get SD-FEC config data using ioctl XSDFEC_GET_CONFIG. - Add capability to set SD-FEC data order using ioctl SDFEC_SET_ORDER. - Add capability to set SD-FEC bypass option using ioctl XSDFEC_SET_BYPASS. - Add capability to set SD-FEC active state using ioctl XSDFEC_IS_ACTIVE.

[PATCH V7 04/11] misc: xilinx_sdfec: Store driver config and state

2019-06-11 Thread Dragan Cvetic
Stores configuration based on parameters from the DT node and values from the SD-FEC core plus reads the default state from the SD-FEC core. To obtain values from the core register read, write capabilities have been added plus related register map details. Tested-by: Dragan Cvetic Signed-off-by:

[PATCH V7 06/11] misc: xilinx_sdfec: Add ability to configure LDPC

2019-06-11 Thread Dragan Cvetic
Add the capability to configure LDPC mode via the ioctl XSDFEC_ADD_LDPC_CODE_PARAMS. Tested-by: Dragan Cvetic Signed-off-by: Derek Kiernan Signed-off-by: Dragan Cvetic --- drivers/misc/xilinx_sdfec.c | 324 +++ include/uapi/misc/xilinx_sdfec.h | 98 +++

[PATCH V7 01/11] dt-bindings: xilinx-sdfec: Add SDFEC binding

2019-06-11 Thread Dragan Cvetic
Add the Soft Decision Forward Error Correction (SDFEC) Engine bindings which is available for the Zynq UltraScale+ RFSoC FPGA's. Signed-off-by: Dragan Cvetic Signed-off-by: Derek Kiernan --- .../devicetree/bindings/misc/xlnx,sd-fec.txt | 58 ++ 1 file changed, 58 inser

[PATCH V7 03/11] misc: xilinx_sdfec: Add CCF support

2019-06-11 Thread Dragan Cvetic
Add the support for Linux Clock Control Framework (CCF). Registers and enables clocks with the Clock Control Framework (CCF), to prevent shared clocks from been disabled. Tested-by: Dragan Cvetic Signed-off-by: Derek Kiernan Signed-off-by: Dragan Cvetic --- drivers/misc/xilinx_sdfec.c | 193 ++

[PATCH V7 02/11] misc: xilinx-sdfec: add core driver

2019-06-11 Thread Dragan Cvetic
Implement a platform driver that matches with xlnx, sd-fec-1.1 device tree node and registers as a character device, including: - SD-FEC driver binds to sdfec DT node. - creates and initialise an initial driver dev structure. - add the driver in Linux build and Kconfig. Tested-by: Dragan Cvetic S

[PATCH V7 11/11] MAINTAINERS: add maintainer for SD-FEC

2019-06-11 Thread Dragan Cvetic
support Add maintainer entry for Xilinx SD-FEC driver support. Signed-off-by: Derek Kiernan Signed-off-by: Dragan Cvetic --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index bfe48cb..9fde3e8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -

[PATCH V7 08/11] misc: xilinx_sdfec: Support poll file operation

2019-06-11 Thread Dragan Cvetic
Support monitoring and detecting the SD-FEC error events through IRQ and poll file operation. The SD-FEC device can detect one-error or multi-error events. An error triggers an interrupt which creates and run the ONE_SHOT IRQ thread. The ONE_SHOT IRQ thread detects type of error and pass that info

[PATCH V7 05/11] misc: xilinx_sdfec: Add ability to configure turbo

2019-06-11 Thread Dragan Cvetic
Add the capability to configure and retrieve turbo mode via the ioctls XSDFEC_SET_TURBO and XSDFEC_GET_TURBO. Add char device interface per DT node present and support file operations: - open(), - close(), - unlocked_ioctl(), - compat_ioctl(). Tested-by: Dragan Cvetic Signed-off-by: Derek Kiernan

Re: linux-next: Tree for Jun 11 (drivers/dma/dw-edma/)

2019-06-11 Thread Randy Dunlap
On 6/11/19 2:24 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20190607: > on x86_64 or i386: when CONFIG_PCI is not set/enabled: ../drivers/dma/dw-edma/dw-edma-core.c: In function ‘dw_edma_irq_request’: ../drivers/dma/dw-edma/dw-edma-core.c:784:3: error: implicit declaration of func

[PATCH V7 10/11] Docs: misc: xilinx_sdfec: Add documentation

2019-06-11 Thread Dragan Cvetic
Add SD-FEC driver documentation. Signed-off-by: Derek Kiernan Signed-off-by: Dragan Cvetic --- Documentation/misc-devices/index.rst| 1 + Documentation/misc-devices/xilinx_sdfec.rst | 291 2 files changed, 292 insertions(+) create mode 100644 Documentatio

[PATCH V7 00/11] misc: xilinx sd-fec drive

2019-06-11 Thread Dragan Cvetic
This patchset is adding the full Soft Decision Forward Error Correction (SD-FEC) driver implementation, driver DT binding and driver documentation. Forward Error Correction (FEC) codes such as Low Density Parity Check (LDPC) and turbo codes provide a means to control errors in data transmissions o

Re: [PATCH v2] firmware: ti_sci: Always request response from firmware

2019-06-11 Thread Tero Kristo
On 28/05/2019 18:55, Andrew F. Davis wrote: TI-SCI firmware will only respond to messages when the TI_SCI_FLAG_REQ_ACK_ON_PROCESSED flag is set. Most messages already do this, set this for the ones that do not. This will be enforced in future firmware that better match the TI-SCI specifications,

Re: [RFC V3] mm: Generalize and rename notify_page_fault() as kprobe_page_fault()

2019-06-11 Thread Leonardo Bras
On Tue, 2019-06-11 at 10:44 +0530, Anshuman Khandual wrote: > > On 06/10/2019 08:57 PM, Leonardo Bras wrote: > > On Mon, 2019-06-10 at 08:09 +0530, Anshuman Khandual wrote: > > > > > +/* > > > > > + * To be potentially processing a kprobe fault and to be allowed > > > > > + * to call k

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

2019-06-11 Thread dmitry.torok...@gmail.com
On Tue, Jun 11, 2019 at 07:17:07PM +0200, Pali Rohár wrote: > On Tuesday 11 June 2019 10:07:07 dmitry.torok...@gmail.com wrote: > > On Tue, Jun 11, 2019 at 09:23:33AM +0200, Pali Rohár wrote: > > > On Tuesday 11 June 2019 12:32:33 Hui Wang wrote: > > > > On 2019/6/11 上午11:23, Hui Wang wrote: > > >

Re: Linux 5.1.9 build failure with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT=n

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 5:37 PM Greg Kroah-Hartman wrote: > On Tue, Jun 11, 2019 at 03:56:35PM +0200, Sven Joachim wrote: > > Commit 1e07d63749 ("drm/nouveau: add kconfig option to turn off nouveau > > legacy contexts. (v3)") has caused a build failure for me when I > > actually tried that option

Re: [PATCH 1/2] Input: synaptics-rmi4 - clear irqs before set irqs

2019-06-11 Thread Dmitry Torokhov
On Tue, Jun 11, 2019 at 12:55:58AM +0800, Aaron Ma wrote: > > On 6/10/19 12:55 AM, Dmitry Torokhov wrote: > > Hi Aaron, > > > > On Wed, Feb 20, 2019 at 05:41:59PM +0100, Aaron Ma wrote: > >> rmi4 got spam data after S3 resume on some ThinkPads. > >> Then TrackPoint lost when be detected by psmous

Re: [PATCH v1.1] firmware: ti_sci: Add resource management APIs for ringacc, psi-l and udma

2019-06-11 Thread Tero Kristo
On 10/06/2019 12:41, Lokesh Vutla wrote: On 10/06/19 2:48 PM, Peter Ujfalusi wrote: Configuration of NAVSS resource, like rings, UDMAP channels, flows and PSI-L thread management need to be done via TISCI. Add the needed structures and functions for NAVSS resource configuration of the followi

Re: [PATCH] firmware: ti_sci: Add support for processor control

2019-06-11 Thread Tero Kristo
On 10/06/2019 20:16, santosh.shilim...@oracle.com wrote: On 6/10/19 5:19 AM, Tero Kristo wrote: On 08/06/2019 00:35, santosh.shilim...@oracle.com wrote: On 6/5/19 3:33 PM, Suman Anna wrote: Texas Instrument's System Control Interface (TI-SCI) Message Protocol is used in Texas Instrument's Sy

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

2019-06-11 Thread Pali Rohár
On Tuesday 11 June 2019 10:32:28 dmitry.torok...@gmail.com wrote: > On Tue, Jun 11, 2019 at 07:17:07PM +0200, Pali Rohár wrote: > > On Tuesday 11 June 2019 10:07:07 dmitry.torok...@gmail.com wrote: > > > On Tue, Jun 11, 2019 at 09:23:33AM +0200, Pali Rohár wrote: > > > > On Tuesday 11 June 2019 12:

Re: Linux 5.1.9 build failure with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT=n

2019-06-11 Thread Greg Kroah-Hartman
On Tue, Jun 11, 2019 at 07:33:16PM +0200, Daniel Vetter wrote: > On Tue, Jun 11, 2019 at 5:37 PM Greg Kroah-Hartman > wrote: > > On Tue, Jun 11, 2019 at 03:56:35PM +0200, Sven Joachim wrote: > > > Commit 1e07d63749 ("drm/nouveau: add kconfig option to turn off nouveau > > > legacy contexts. (v3)")

Re: [PATCH v2] arm64: dts: ls1028a: Fix CPU idle fail.

2019-06-11 Thread Li Yang
On Thu, May 23, 2019 at 3:52 AM Shawn Guo wrote: > > On Fri, May 17, 2019 at 12:57:53PM +0800, Ran Wang wrote: > > PSCI spec define 1st parameter's bit 16 of function CPU_SUSPEND to > > indicate CPU State Type: 0 for standby, 1 for power down. In this > > case, we want to select standby for CPU id

Re: [PATCH] bpf: verifier: avoid fall-through warnings

2019-06-11 Thread Gustavo A. R. Silva
>> the following warning: >> >> Your patch doesn't apply cleanly to neither bpf nor bpf-next tree. >> Could you please rebase and re-submit? Please also include which tree >> (probably bpf-next) you are designating this patch to in subject >> prefix. >>

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

2019-06-11 Thread dmitry.torok...@gmail.com
On Tue, Jun 11, 2019 at 07:38:56PM +0200, Pali Rohár wrote: > On Tuesday 11 June 2019 10:32:28 dmitry.torok...@gmail.com wrote: > > On Tue, Jun 11, 2019 at 07:17:07PM +0200, Pali Rohár wrote: > > > On Tuesday 11 June 2019 10:07:07 dmitry.torok...@gmail.com wrote: > > > > On Tue, Jun 11, 2019 at 09:

Re: [PATCH v4 0/5] x86/umwait: Enable user wait instructions

2019-06-11 Thread Fenghua Yu
On Tue, Jun 11, 2019 at 11:01:45AM +0200, Peter Zijlstra wrote: > On Fri, Jun 07, 2019 at 03:00:32PM -0700, Fenghua Yu wrote: > > Today, if an application needs to wait for a very short duration > > they have to have spinloops. Spinloops consume more power and continue > > to use execution resource

Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook

2019-06-11 Thread Andreas Schwab
On Jun 10 2019, Larry Finger wrote: > I do not understand why the if statement returns true as neither of the > values is zero. That's because the format string does not make any sense. You are printing garbage. > diff --git a/kernel/dma/mapping.c b/kernel/dma/mapping.c > index f7afdad..ba2489

[PATCH v1 2/4] ASoC: Add codec driver for ST TDA7802

2019-06-11 Thread Thomas Preston
Add an I2C based codec driver for ST TDA7802 amplifier. By default, the amplifier supports 4 audio channels but can support up to 16 with multiple devices. Input is configurable for I2S or TDM. The unified device properties API is used to get board-specific config from device tree / ACPI. Signed-

[PATCH v1 3/4] ASoC: tda7802: Add enable device attribute

2019-06-11 Thread Thomas Preston
Add a device attribute to control the enable regulator. Write 1 to enable, 0 to disable (ref-count minus one), or -1 to force disable the physical pin. To disable a set of amplifiers wired to the same enable gpio, each device must be disabled. For example: echo 0 > /sys/devices/.../device

[PATCH v1 4/4] ASoC: tda7802: Add speaker-test sysfs

2019-06-11 Thread Thomas Preston
Add speaker_test device attribute. When the speaker-test node is read the hardware speaker test is started. $ cat /sys/devices/.../device:00/speaker_test 04 04 04 04 Signed-off-by: Thomas Preston Cc: Patrick Glaser Cc: Rob Duncan Cc: Nate Case --- sound/soc/codecs/tda7802.c |

[PATCH v1 0/4] ASoC: Codecs: Add TDA7802 codec

2019-06-11 Thread Thomas Preston
This patch series adds a driver for the ST TDA7802 amplifier. Thanks, Thomas Cc: Patrick Glaser Cc: Rob Duncan Cc: Nate Case Thomas Preston (4): dt-bindings: ASoC: Add TDA7802 amplifier ASoC: Add codec driver for ST TDA7802 ASoC: tda7802: Add enable device attribute ASoC: tda7802: Add

<    2   3   4   5   6   7   8   9   10   11   >