Re: [PATCH v8 2/3] perf auxtrace: Add four itrace options

2020-06-01 Thread Arnaldo Carvalho de Melo
Em Mon, Jun 01, 2020 at 10:24:00AM +0300, Adrian Hunter escreveu: > On 30/05/20 3:24 pm, Leo Yan wrote: > > From: Tan Xiaojun > > > > This patch is to add four options to synthesize events which are > > described as below: > > > > 'f': synthesize first level cache events > > 'm': synthesize la

Re: [PATCH 4/4] workqueue: slash half memory usage in 32bit system

2020-06-01 Thread Tejun Heo
On Mon, Jun 01, 2020 at 08:44:42AM +, Lai Jiangshan wrote: > The major memory ussage in workqueue is on the pool_workqueue. > The pool_workqueue has alignment requirement which often leads > to padding. > > Reducing the memory usage for the pool_workqueue is valuable. > > And 32bit system oft

Re: [PATCH 2/4] workqueue: use BUILD_BUG_ON() for compile time test instead of WARN_ON()

2020-06-01 Thread Tejun Heo
On Mon, Jun 01, 2020 at 08:44:40AM +, Lai Jiangshan wrote: > Any runtime WARN_ON() has to be fixed, and BUILD_BUG_ON() can > help you nitice it earlier. > > Signed-off-by: Lai Jiangshan Applied 1-2 to wq/for-5.8. Thanks. -- tejun

Re: [PATCH 5/5] arm: kexec_file: load zImage or uImage, initrd and dtb

2020-06-01 Thread Russell King - ARM Linux admin
On Mon, Jun 01, 2020 at 04:27:54PM +0200, Łukasz Stelmach wrote: > This is kexec_file_load implementation for ARM. It loads zImage and > initrd from file descripters and resuses DTB. > > Most code is derived from arm64 kexec_file_load implementation > and from kexec-tools. Please make the uImage

Re: [PATCH 14/14] perf tests: Add parse metric test for frontend metric

2020-06-01 Thread Arnaldo Carvalho de Melo
Em Mon, Jun 01, 2020 at 01:06:01AM -0700, Ian Rogers escreveu: > On Sun, May 24, 2020 at 3:43 PM Jiri Olsa wrote: > > > > Adding new metri test for frontend metric. It's stolen > > s/metri/metric/ > > > from x86 pmu events. > > > > Signed-off-by: Jiri Olsa > > Acked-by: Ian Rogers Ditto. -

Re: [PATCH 0/6] leds: fix broken devres usage

2020-06-01 Thread Andy Shevchenko
On Mon, Jun 1, 2020 at 5:29 PM Johan Hovold wrote: > On Mon, Jun 01, 2020 at 05:08:40PM +0300, Andy Shevchenko wrote: > > On Mon, Jun 1, 2020 at 5:01 PM Johan Hovold wrote: > > > On Mon, Jun 01, 2020 at 04:51:01PM +0300, Andy Shevchenko wrote: > > > > On Mon, Jun 1, 2020 at 4:42 PM Johan Hovold

Re: [PATCH 13/14] perf tests: Add parse metric test for ipc metric

2020-06-01 Thread Arnaldo Carvalho de Melo
Em Mon, Jun 01, 2020 at 12:55:44AM -0700, Ian Rogers escreveu: > On Sun, May 24, 2020 at 3:43 PM Jiri Olsa wrote: > > > > Adding new test that process metrics code and checks > > the expected results. Starting with easy ipc metric. > > > > Signed-off-by: Jiri Olsa > > Acked-by: Ian Rogers > >

Re: [PATCH 1/2] objtool: Rename rela to reloc

2020-06-01 Thread Josh Poimboeuf
On Fri, May 29, 2020 at 05:52:44PM -0700, Matt Helsley wrote: > So I was rebasing my future patches and I found a few spots where > objtool warning strings and code comments weren't fixed-up to > consistent. Here's the new, complete regex -- it includes the original > changes and the missed bits (e

Re: [PATCH] iommu/amd: Fix event counter availability check

2020-06-01 Thread Suravee Suthikulpanit
Alexander On 6/1/20 4:01 PM, Alexander Monakov wrote: On Mon, 1 Jun 2020, Suravee Suthikulpanit wrote: Moving init_iommu_perf_ctr just after iommu_flush_all_caches resolves the issue. This is the earliest point in amd_iommu_init_pci where the call succeeds on my laptop. According to your des

Re: [PATCH 1/5] arm: decompressor: set malloc pool size for the decompressor

2020-06-01 Thread Russell King - ARM Linux admin
On Mon, Jun 01, 2020 at 04:56:40PM +0200, Lukasz Stelmach wrote: > It was <2020-06-01 pon 15:46>, when Russell King - ARM Linux admin wrote: > > On Mon, Jun 01, 2020 at 04:27:50PM +0200, Łukasz Stelmach wrote: > >> Move the definition of malloc pool size of the decompressor to > >> a single place.

Re: Lost PCIe PME after a914ff2d78ce ("PCI/ASPM: Don't select CONFIG_PCIEASPM by default")

2020-06-01 Thread Bjorn Helgaas
On Sat, May 30, 2020 at 04:33:44AM -0700, Christoph Hellwig wrote: > On Sat, May 30, 2020 at 08:14:34AM +0100, Matthew Garrett wrote: > > On Sat, May 30, 2020 at 08:33:50AM +0200, Heiner Kallweit wrote: > > > > > It *was* default y. This changed with a914ff2d78ce ("PCI/ASPM: Don't > > > select CON

Greetings

2020-06-01 Thread Ezequiel Lindberg
Hello Dear, I am the project director of Svenska Petroleum Exploration AB (Sweden) I am seeking your assistance for the transfer of Fifty Two million (US$52,000,000.00) to your account for private investment purpose. I look forward to your response. Regards Ezequiel Lindberg E-mail address: e

[PATCH v3 0/1] ARM: Add Rockchip rk3288w support

2020-06-01 Thread Mylène Josserand
Hello everyone, Context --- Here is my V3 of my patches that add the support for the Rockchip RK3288w which is a revision of the RK3288. It is mostly the same SOC except for, at least, one clock tree which is different. This difference is only known by looking at the BSP kernel [1]. Currentl

[PATCH v3 1/1] clk: rockchip: rk3288: Handle clock tree for rk3288w

2020-06-01 Thread Mylène Josserand
The revision rk3288w has a different clock tree about "hclk_vio" clock, according to the BSP kernel code. This patch handles this difference by detecting which device-tree we are using. If it is a "rockchip,rk3288-cru", let's register the clock tree as it was before. If the compatible is "rockchip

RE: [PATCH v2 1/2] media: dt-bindings: media: xilinx: Add Xilinx UHD-SDI Receiver Subsystem

2020-06-01 Thread Vishal Sagar
Hi Laurent, Thanks for the review. > -Original Message- > From: Laurent Pinchart > Sent: Wednesday, May 6, 2020 6:32 PM > To: Vishal Sagar > Cc: Hyun Kwon ; mche...@kernel.org; > robh...@kernel.org; mark.rutl...@arm.com; Michal Simek > ; linux-me...@vger.kernel.org; > devicet...@vger.ke

Re: [PATCH 5/5] arm: kexec_file: load zImage or uImage, initrd and dtb

2020-06-01 Thread Russell King - ARM Linux admin
On Mon, Jun 01, 2020 at 04:07:45PM +0100, Russell King - ARM Linux admin wrote: > On Mon, Jun 01, 2020 at 04:27:54PM +0200, Łukasz Stelmach wrote: > > diff --git a/arch/arm/kernel/kexec_zimage.c b/arch/arm/kernel/kexec_zimage.c > > new file mode 100644 > > index ..d09795fc9072 > > --- /

Re: [PATCH v32 08/21] x86/sgx: Initialize metadata for Enclave Page Cache (EPC) sections

2020-06-01 Thread Randy Dunlap
Hi, Sorry I didn't respond to v31 with this so that it could have been fixed in v32. On 6/1/20 12:52 AM, Jarkko Sakkinen wrote: > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index 2d3f963fd6f1..d246c6071e8d 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -1948,6 +1948,22 @@ c

Re: [PATCH] ARM: dts: imx6ull: add MYiR MYS-6ULX SBC

2020-06-01 Thread Parthiban
On 4/27/20 8:18 AM, Marco Felsch wrote: > Hi Parthiban, > > a few more minor comments.. > > On 20-04-08 20:43, Parthiban Nallathambi wrote: > > ... > >> diff --git a/arch/arm/boot/dts/imx6ull-myir-mys-6ulx.dtsi >> b/arch/arm/boot/dts/imx6ull-myir-mys-6ulx.dtsi >> new file mode 100644 >> ind

Re: [PATCH] ARM: dts: imx6ull: add MYiR MYS-6ULX SBC

2020-06-01 Thread Parthiban
On 4/26/20 3:33 PM, Shawn Guo wrote: > On Wed, Apr 08, 2020 at 08:43:51PM +0200, Parthiban Nallathambi wrote: >> Add support for the MYiR imx6ULL based single board computer >> equipped with on board 256MB NAND & RAM. The board also >> provides expansion header for expansion board, but this >> c

Re: [PATCH v2 6/6] MAINTAINERS: Add maintainers for MIPS core drivers

2020-06-01 Thread Serge Semin
On Mon, Jun 01, 2020 at 04:56:21PM +0300, Andy Shevchenko wrote: > On Mon, Jun 1, 2020 at 3:26 PM Serge Semin > wrote: > > > > Add myself as a maintainer of MIPS CPU and GIC IRQchip, MIPS GIC timer > > and MIPS CPS CPUidle drivers. > ... > > +MIPS CORE DRIVERS > > +M: Serge Semin > > +L:

[PATCH v2 2/2] ARM: dts: imx6ull: add MYiR MYS-6ULX SBC

2020-06-01 Thread Parthiban Nallathambi
Add support for the MYiR imx6ULL based single board computer equipped with on board 256MB NAND & RAM. The board also provides expansion header for expansion board, but this commit adds only support for SBC. Signed-off-by: Parthiban Nallathambi --- Notes: Changelog v2: - moved regulator u

Re: [PATCH RESEND v2 0/6] mips: Add DT bindings for MIPS CDMM and MIPS GIC

2020-06-01 Thread Serge Semin
Hello Marc, On Mon, Jun 01, 2020 at 01:31:27PM +0100, Marc Zyngier wrote: > On 2020-06-01 13:21, Serge Semin wrote: > > [...] > > > Since Paul isn't looking after the MIPS arch code anymore, Ralf hasn't > > been seen maintaining MIPS for a long time, Thomas is only responsible > > for the next p

[PATCH v2 1/2] dt-bindings: arm: fsl: Add MYiR Tech boards

2020-06-01 Thread Parthiban Nallathambi
Add entries for MYiR Tech imx6ULL eval boards. Signed-off-by: Parthiban Nallathambi --- Documentation/devicetree/bindings/arm/fsl.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index cd3f

Re: [PATCH v3 0/2] usb: xhci: Load Raspberry Pi 4 VL805's firmware

2020-06-01 Thread Marek Vasut
On 6/1/20 4:41 PM, Nicolas Saenz Julienne wrote: > On Mon, 2020-06-01 at 13:12 +0200, Marek Vasut wrote: >> On 6/1/20 1:09 PM, Nicolas Saenz Julienne wrote: >>> On Mon, 2020-06-01 at 12:53 +0200, Marek Vasut wrote: On 6/1/20 12:47 PM, Nicolas Saenz Julienne wrote: > On Tue, 2020-05-05 at 1

Re: [PATCH v2 6/6] MAINTAINERS: Add maintainers for MIPS core drivers

2020-06-01 Thread Andy Shevchenko
On Mon, Jun 1, 2020 at 6:19 PM Serge Semin wrote: > On Mon, Jun 01, 2020 at 04:56:21PM +0300, Andy Shevchenko wrote: > > On Mon, Jun 1, 2020 at 3:26 PM Serge Semin > > wrote: > > > > > > Add myself as a maintainer of MIPS CPU and GIC IRQchip, MIPS GIC timer > > > and MIPS CPS CPUidle drivers. > >

[GIT PULL] objtool changes for v5.8

2020-06-01 Thread Ingo Molnar
Linus, Please pull the latest objtool/core git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git objtool-core-2020-06-01 # HEAD: 0decf1f8de919782b152daf9c991967a2bac54f0 objtool: Enable compilation of objtool for all architectures There are a lot of objtool changes in

Re: [PATCH 0/6] leds: fix broken devres usage

2020-06-01 Thread Johan Hovold
On Mon, Jun 01, 2020 at 06:09:23PM +0300, Andy Shevchenko wrote: > On Mon, Jun 1, 2020 at 5:29 PM Johan Hovold wrote: > > On Mon, Jun 01, 2020 at 05:08:40PM +0300, Andy Shevchenko wrote: > > > On Mon, Jun 1, 2020 at 5:01 PM Johan Hovold wrote: > > > > On Mon, Jun 01, 2020 at 04:51:01PM +0300, And

Re: [PATCH] workqueue: ensure all flush_work() completed when being destoryed

2020-06-01 Thread Tejun Heo
Hello, Lai. On Mon, Jun 01, 2020 at 06:08:02AM +, Lai Jiangshan wrote: > +static void flush_no_color(struct workqueue_struct *wq) > +{ ... I'm not too sure about using the colored flushing system for this. Given that the requirements are a lot simpler, I'd prefer keep it separate and dumb rat

Re: [GRUB PATCH RFC 00/18] i386: Intel TXT secure launcher

2020-06-01 Thread Daniel P. Smith
On 5/7/20 7:06 AM, Daniel Kiper wrote: > Hi Łukasz, > > On Tue, May 05, 2020 at 04:38:02PM +0200, Lukasz Hawrylko wrote: >> On Tue, 2020-05-05 at 01:21 +0200, Daniel Kiper wrote: ... >> In OS-MLE table there is a buffer for TPM event log, however I see that >> you are not using it, but instead a

Re: [PATCH] zswap: docs/vm: Fix typo accept_threshold_percent in zswap.rst

2020-06-01 Thread Jonathan Corbet
On Mon, 1 Jun 2020 02:59:11 +0200 Sedat Dilek wrote: > Recently, I switched over from swap-file to zramswap. > > When reading the Documentation/vm/zswap.rst file I fell over this typo. > > The parameter is called accept_threshold_percent not accept_threhsold_percent > in /sys/module/zswap/para

Re: [PATCH] audit: Use struct_size() helper in alloc_chunk

2020-06-01 Thread Paul Moore
On Sun, May 24, 2020 at 4:47 PM Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct audit_chunk

Re: [PATCH] Documentation: fixes to the maintainer-entry-profile template

2020-06-01 Thread Jonathan Corbet
On Tue, 26 May 2020 18:17:13 -0700 Randy Dunlap wrote: > From: Randy Dunlap > > Do some wordsmithing and copy editing on the maintainer-entry-profile > profile (template, guide): > - fix punctuation > - fix some wording > - use "-rc" consistently > > Signed-off-by: Randy Dunlap > Cc: Dan Will

Re: [PATCH v3] arm64: dts: ti: k3-am654-main: Update otap-del-sel values

2020-06-01 Thread Faiz Abbas
Hi, On 19/05/20 1:50 pm, Faiz Abbas wrote: > According to the latest AM65x Data Manual[1], a different output tap > delay value is optimum for a given speed mode. Update these values. > > [1] http://www.ti.com/lit/gpn/am6526 > > Signed-off-by: Faiz Abbas > --- > > v3: Updated values to the lat

Re: [PATCH v11 1/2] dt-bindings: mtd: Add Nand Flash Controller support for Intel LGM SoC

2020-06-01 Thread Rob Herring
On Sat, 30 May 2020 08:51:16 +0800, Ramuthevar,Vadivel MuruganX wrote: > From: Ramuthevar Vadivel Murugan > > Add YAML file for dt-bindings to support NAND Flash Controller > on Intel's Lightning Mountain SoC. > > Signed-off-by: Ramuthevar Vadivel Murugan > > --- > .../devicetree/bindings/mtd

Re: [PATCH V2] dt-bindings: thermal: Convert qoriq to json-schema

2020-06-01 Thread Rob Herring
On Mon, 01 Jun 2020 11:35:20 +0800, Anson Huang wrote: > Convert the qoriq thermal binding to DT schema format using json-schema > > Signed-off-by: Anson Huang > --- > Changes since V1: > - add 'maxItems' for 'fsl,tmu-range' property; > - add 'minItems'/'maxItems' and items descriptio

Re: [RFC PATCH] mm: swap: remove lru drain waiters

2020-06-01 Thread Konstantin Khlebnikov
On 01/06/2020 17.37, Hillf Danton wrote: After updating the lru drain sequence, new comers avoid waiting for the current drainer, because he is flushing works on each online CPU, by trying to lock the mutex; the drainer OTOH tries to do works for those who fail to acquire the lock by checking th

Re: [PATCH 1/2] dt-bindings: power: Convert imx gpc to json-schema

2020-06-01 Thread Rob Herring
On Mon, 01 Jun 2020 16:06:42 +0800, Anson Huang wrote: > Convert the i.MX GPC binding to DT schema format using json-schema > > >From latest reference manual, there is actually ONLY 1 interrupt for > GPC, so the additional GPC interrupt is removed. > > Consumer's example is also removed since it

Re: [PATCH blk-cgroup/for-5.8] blk-cgroup: show global disk stats in root cgroup io.stat

2020-06-01 Thread Tejun Heo
Hello, Boris. On Fri, May 29, 2020 at 04:20:17PM -0700, Boris Burkov wrote: > In order to improve consistency and usability in cgroup stat accounting, > we would like to support the root cgroup's io.stat. > > Since the root cgroup has processes doing io even if the system has no > explicitly crea

Re: [PATCH 2/2] dt-bindings: power: Convert imx gpcv2 to json-schema

2020-06-01 Thread Rob Herring
On Mon, 01 Jun 2020 16:06:43 +0800, Anson Huang wrote: > Convert the i.MX GPCv2 binding to DT schema format using json-schema > > Example is updated based on latest DT file and consumer's example is > removed since it is NOT that useful. > > Signed-off-by: Anson Huang > --- > .../devicetree/bin

Re: [PATCH] dt-bindings: mailbox: Convert imx mu to json-schema

2020-06-01 Thread Rob Herring
On Mon, 01 Jun 2020 18:37:44 +0800, Anson Huang wrote: > Convert the i.MX MU binding to DT schema format using json-schema > > Signed-off-by: Anson Huang > --- > .../devicetree/bindings/mailbox/fsl,mu.txt | 58 -- > .../devicetree/bindings/mailbox/fsl,mu.yaml| 89 > +

[PATCH v5 00/13] perf: support enable and disable commands in stat and record modes

2020-06-01 Thread Alexey Budankov
Changes in v5: - split re-factoring of events handling loops for stat mode into smaller incremental parts v4: https://lore.kernel.org/lkml/653fe5f3-c986-a841-1ed8-0a7d2fa24...@linux.intel.com/ Changes in v4: - made checking of ctlfd state unconditional in record trace streaming loop - introd

[GIT PULL] Documentation for 5.8

2020-06-01 Thread Jonathan Corbet
The following changes since commit d98dbbe0d331b1a6dc1ca0b948c99d58cdba580c: scripts: documentation-file-ref-check: Add line break before exit (2020-04-15 15:13:13 -0600) are available in the Git repository at: git://git.lwn.net/linux.git tags/docs-5.8 for you to fetch changes up to e35b5a

Re: [PATCH] audit: Use struct_size() helper in alloc_chunk

2020-06-01 Thread Gustavo A. R. Silva
On Mon, Jun 01, 2020 at 11:36:09AM -0400, Paul Moore wrote: > > > > Signed-off-by: Gustavo A. R. Silva > > --- > > kernel/audit_tree.c | 4 +--- > > 1 file changed, 1 insertion(+), 3 deletions(-) > > Thanks, this looks reasonable to me, but it came in too late for the > v5.8 merge window (I disl

[GIT PULL] Power management updates for v5.8-rc1

2020-06-01 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-5.8-rc1 with top-most commit a34024d98eeaa78e2cd22017180df778800b83fc Merge branches 'pm-devfreq', 'powercap', 'pm-docs' and 'pm-tools' on top of commit 9cb1fd0efd195590b828b9b865421ad3

Re: [PATCH 05/14] perf tools: Add parse_events_fake interface

2020-06-01 Thread Jiri Olsa
On Mon, Jun 01, 2020 at 12:04:28PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Jun 01, 2020 at 11:08:50AM +0200, Jiri Olsa escreveu: > > On Mon, Jun 01, 2020 at 12:28:31AM -0700, Ian Rogers wrote: > > > On Sun, May 24, 2020 at 3:42 PM Jiri Olsa wrote: > > > > > > > > Adding parse_events_fake

[GIT PULL] ACPI updates for v5.8-rc1

2020-06-01 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-5.8-rc1 with top-most commit 48ccdeddc54771ecdc46fac098bac689e9df24ca Merge branches 'acpi-apei', 'acpi-pmic', 'acpi-video' and 'acpi-dptf' on top of commit 9cb1fd0efd195590b828b9b865

Re: [PATCH 13/14] perf tests: Add parse metric test for ipc metric

2020-06-01 Thread Jiri Olsa
On Mon, Jun 01, 2020 at 12:08:43PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Jun 01, 2020 at 12:55:44AM -0700, Ian Rogers escreveu: > > On Sun, May 24, 2020 at 3:43 PM Jiri Olsa wrote: > > > > > > Adding new test that process metrics code and checks > > > the expected results. Starting with

[PATCH v5 01/13] tools/libperf: introduce static poll file descriptors

2020-06-01 Thread Alexey Budankov
Implement adding of file descriptors to fixed size (currently 1) storage at struct fdarray by the dedicated fdarray__add_stat(). Index returned by fdarray__add_stat() is allocated once and unique thus can safely be used to directly access entry at stat_entries. Append the static descriptors to th

[GIT PULL] PNP update for v5.8-rc1

2020-06-01 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pnp-5.8-rc1 with top-most commit 9361797c7696874a1136442b5ee69c62b0e54738 PNPBIOS: Replace zero-length array with flexible-array on top of commit 2ef96a5bb12be62ef75b5828c0aab838ebb29cb8

[PATCH v5 03/13] perf evlist: implement control command handling functions

2020-06-01 Thread Alexey Budankov
Implement functions of initialization, finalization and processing of control commands coming from control file descriptors. Signed-off-by: Alexey Budankov --- tools/perf/util/evlist.c | 128 +++ tools/perf/util/evlist.h | 17 ++ 2 files changed, 145 in

[PATCH v5 02/13] perf evlist: introduce control file descriptors

2020-06-01 Thread Alexey Budankov
Define and initialize control file descriptors. Signed-off-by: Alexey Budankov --- tools/perf/util/evlist.c | 3 +++ tools/perf/util/evlist.h | 5 + 2 files changed, 8 insertions(+) diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c index 173b4f0e0e6e..47541b5cab46 100644 --

Re: [PATCH v2 6/6] MAINTAINERS: Add maintainers for MIPS core drivers

2020-06-01 Thread Serge Semin
On Mon, Jun 01, 2020 at 06:30:22PM +0300, Andy Shevchenko wrote: > On Mon, Jun 1, 2020 at 6:19 PM Serge Semin > wrote: > > On Mon, Jun 01, 2020 at 04:56:21PM +0300, Andy Shevchenko wrote: > > > On Mon, Jun 1, 2020 at 3:26 PM Serge Semin > > > wrote: > > > > > > > > Add myself as a maintainer of M

[tip:irq/core] BUILD SUCCESS d77aeb5d403d379ff458e04fc07b5b86700270f2

2020-06-01 Thread kbuild test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core branch HEAD: d77aeb5d403d379ff458e04fc07b5b86700270f2 irqchip: Fix "Loongson HyperTransport Vector support" driver build on all non-MIPS platforms elapsed time: 482m configs tested: 93 configs skipped: 5 The fo

[PATCH v5 04/13] perf stat: factor out body of event handling loop for system wide

2020-06-01 Thread Alexey Budankov
Introduce process_timeout() and process_interval() functions that factor out body of event handling loop for attach and system wide monitoring use cases. Signed-off-by: Alexey Budankov --- tools/perf/builtin-stat.c | 28 1 file changed, 20 insertions(+), 8 deletion

[GIT PULL] perf updates for v5.8

2020-06-01 Thread Ingo Molnar
Linus, Please pull the latest perf/core git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-core-2020-06-01 # HEAD: 5cde265384cad739b162cf08afba6da8857778bd perf/x86/rapl: Add AMD Fam17h RAPL support Kernel side changes: - Add AMD Fam17h RAPL support - Int

[PATCH v5 05/13] perf stat: move target check to loop control statement

2020-06-01 Thread Alexey Budankov
Check for target existence in loop control statement jointly with 'stop' indicator based on command line values and external asynchronous 'done' signal. Signed-off-by: Alexey Budankov --- tools/perf/builtin-stat.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/per

[PATCH v5 07/13] perf stat: factor out event handling loop into dispatch_events()

2020-06-01 Thread Alexey Budankov
Consolidate event dispatching loops for launch, attach and system wide monitoring use cases into common dispatch_events() function. If passed pid contains valid pid i.e. doesn't equal to -1 then the function returns pid process exit status in case the process terminates during monitoring. Signed

[PATCH v5 06/13] perf stat: factor out body of event handling loop for launch case

2020-06-01 Thread Alexey Budankov
Factor out body of event handling loop for launch use case reusing process_timeout() and process_interval() functions. Signed-off-by: Alexey Budankov --- tools/perf/builtin-stat.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tools/perf/builtin-stat.c b/tools/perf

Re: [PATCH 05/14] mm: workingset: let cache workingset challenge anon

2020-06-01 Thread Johannes Weiner
On Mon, Jun 01, 2020 at 03:14:24PM +0900, Joonsoo Kim wrote: > 2020년 5월 30일 (토) 오전 12:12, Johannes Weiner 님이 작성: > > > > On Fri, May 29, 2020 at 03:48:00PM +0900, Joonsoo Kim wrote: > > > 2020년 5월 29일 (금) 오전 2:02, Johannes Weiner 님이 작성: > > > > On Thu, May 28, 2020 at 04:16:50PM +0900, Joonsoo Kim

Re: [GIT PULL] EFI changes for v5.8

2020-06-01 Thread Ingo Molnar
* Ard Biesheuvel wrote: > On Mon, 1 Jun 2020 at 15:24, Ingo Molnar wrote: > > > > Linus, > > > > Please pull the latest efi/core git tree from: > > > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > > efi-core-2020-06-01 > > > ># HEAD: e9524fb97ab5b41b85e1d3408f8e513433798

[PATCH v5 08/13] perf stat: extend -D,--delay option with -1 value

2020-06-01 Thread Alexey Budankov
Extend -D,--delay option with -1 value to start monitoring with events disabled to be enabled later by enable command provided via control file descriptor. Signed-off-by: Alexey Budankov --- tools/perf/Documentation/perf-stat.txt | 5 +++-- tools/perf/builtin-stat.c | 18

[PATCH v5 09/13] perf stat: implement control commands handling

2020-06-01 Thread Alexey Budankov
Implement handling of 'enable' and 'disable' control commands coming from control file descriptor. process_evlist() functions checks for events on static fd and makes required operations. If poll event splits initiated timeout interval then the reminder is calculated and waited in the following p

[PATCH v5 10/13] perf stat: introduce --ctl-fd[-ack] options

2020-06-01 Thread Alexey Budankov
Introduce --ctl-fd[-ack] options to pass open file descriptors numbers from command line. Extend perf-stat.txt file with --ctl-fd[-ack] options description. Document possible usage model introduced by --ctl-fd[-ack] options by providing example bash shell script. Signed-off-by: Alexey Budankov

[PATCH v5 11/13] perf record: extend -D,--delay option with -1 value

2020-06-01 Thread Alexey Budankov
Extend -D,--delay option with -1 to start collection with events disabled to be enbled later by enable command provided via control file descriptor. Signed-off-by: Alexey Budankov --- tools/perf/Documentation/perf-record.txt | 5 +++-- tools/perf/builtin-record.c | 12 ---

[PATCH v5 12/13] perf record: implement control commands handling

2020-06-01 Thread Alexey Budankov
Implement handling of 'enable' and 'disable' control commands coming from control file descriptor. Signed-off-by: Alexey Budankov --- tools/perf/builtin-record.c | 16 1 file changed, 16 insertions(+) diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c inde

[PATCH v5 13/13] perf record: introduce --ctl-fd[-ack] options

2020-06-01 Thread Alexey Budankov
Introduce --ctl-fd[-ack] options to pass open file descriptors numbers from command line. Extend perf-record.txt file with --ctl-fd[-ack] options description. Document possible usage model introduced by --ctl-fd[-ack] options by providing example bash shell script. Signed-off-by: Alexey Budankov

Re: [PATCH v2 6/6] MAINTAINERS: Add maintainers for MIPS core drivers

2020-06-01 Thread Andy Shevchenko
On Mon, Jun 1, 2020 at 6:52 PM Serge Semin wrote: > On Mon, Jun 01, 2020 at 06:30:22PM +0300, Andy Shevchenko wrote: > > On Mon, Jun 1, 2020 at 6:19 PM Serge Semin > > wrote: > > > On Mon, Jun 01, 2020 at 04:56:21PM +0300, Andy Shevchenko wrote: > > > > On Mon, Jun 1, 2020 at 3:26 PM Serge Semin

[RFC PATCH 0/2] PM: hibernate: opportunistic memory reclaim

2020-06-01 Thread Andrea Righi
Here is the first attempt to provide an interface that allows user-space tasks to trigger an opportunistic memory reclaim before hibernating a system. Reclaiming memory in advance (e.g., when the system is idle) allows to reduce the size of the hibernation image and significantly speed up the time

[RFC PATCH 1/2] mm: swap: allow partial swapoff with try_to_unuse()

2020-06-01 Thread Andrea Righi
Allow to run try_to_unuse() passing an arbitrary amount of pages also when frontswap is not used. To preserve the default behavior introduce a new function called try_to_unuse_wait() and add a new 'wait' parameter: if 'wait' is false return as soon as "pages_to_unuse" pages are unused, if it is tr

[RFC PATCH 2/2] PM: hibernate: introduce opportunistic memory reclaim

2020-06-01 Thread Andrea Righi
== Overview == When a system is going to be hibernated, the kernel needs to allocate and dump the content of the entire memory to the resume device (swap) by creating a "hibernation image". To make sure this image fits in the available free memory, the kernel can induce an artificial memory press

Re: [PATCH] iommu/amd: Fix event counter availability check

2020-06-01 Thread Alexander Monakov
> Instead of blindly moving the code around to a spot that would just work, > I am trying to understand what might be required here. In this case, > the init_device_table_dma()should not be needed. I suspect it's the IOMMU > invalidate all command that's also needed here. > > I'm also checking wit

Re: [PATCH ghak124 v2] audit: log nftables configuration change events

2020-06-01 Thread Paul Moore
On Thu, May 28, 2020 at 9:44 PM Richard Guy Briggs wrote: > iptables, ip6tables, arptables and ebtables table registration, > replacement and unregistration configuration events are logged for the > native (legacy) iptables setsockopt api, but not for the > nftables netlink api which is used by th

Re: [PATCH v4 04/10] perf stat: factor out event handling loop into a function

2020-06-01 Thread Alexey Budankov
On 01.06.2020 10:38, Alexey Budankov wrote: > > On 31.05.2020 21:19, Jiri Olsa wrote: >> On Mon, May 25, 2020 at 05:19:45PM +0300, Alexey Budankov wrote: >> >> SNIP >> >>> @@ -544,12 +598,10 @@ static enum counter_recovery stat_handle_error(struct >>> evsel *counter) >>> static int __run_perf

[GIT PULL] smp/core changes for v5.8

2020-06-01 Thread Ingo Molnar
Linus, Please pull the latest smp/core git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp-core-2020-06-01 # HEAD: fb7fb84a0c4e8021ddecb157802d58241a3f1a40 cpu/hotplug: Remove __freeze_secondary_cpus() Misc cleanups in the SMP hotplug and cross-call code. Thank

Re: [PATCH 13/14] perf tests: Add parse metric test for ipc metric

2020-06-01 Thread Ian Rogers
On Mon, Jun 1, 2020 at 6:09 AM Jiri Olsa wrote: > > On Mon, Jun 01, 2020 at 12:55:44AM -0700, Ian Rogers wrote: > > On Sun, May 24, 2020 at 3:43 PM Jiri Olsa wrote: > > > > > > Adding new test that process metrics code and checks > > > the expected results. Starting with easy ipc metric. > > > >

[PATCH] iio: improve IIO_CONCENTRATION channel type description

2020-06-01 Thread Tomasz Duszynski
IIO_CONCENTRATION together with INFO_RAW specifier is used for reporting raw concentrations of pollutants. Raw value should be meaningless before being properly scaled. Because of that description shouldn't mention raw value unit whatsoever. Fix this by rephrasing existing description so it follow

Re: [PATCH] pinctrl-single: fix pcs_parse_pinconf() return val

2020-06-01 Thread Tony Lindgren
* Drew Fustini [200531 20:42]: > This patch causes pcs_parse_pinconf() to return an error when no > pinctrl_map is added. The current behavior is to return 0 when > !PCS_HAS_PINCONF or !nconfs. Thus pcs_parse_one_pinctrl_entry() > incorrectly assumes that a map was added and sets num_maps = 2.

[PATCH] mei: me: Add itouch device IDs for SPT / ICP

2020-06-01 Thread Dorian Stoll
These device IDs can be found on Microsoft Surface devices. Signed-off-by: Dorian Stoll --- drivers/misc/mei/hw-me-regs.h | 2 ++ drivers/misc/mei/pci-me.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/misc/mei/hw-me-regs.h b/drivers/misc/mei/hw-me-regs.h index 9392934e3a06.

Re: [PATCH] kgdb: Avoid suspicious RCU usage warning

2020-06-01 Thread Daniel Thompson
On Wed, May 27, 2020 at 05:02:27PM -0700, Doug Anderson wrote: > Hi, > > On Tue, May 19, 2020 at 3:41 AM Daniel Thompson > wrote: > > > > On Thu, May 07, 2020 at 03:53:58PM -0700, Douglas Anderson wrote: > > > At times when I'm using kgdb I see a splat on my console about > > > suspicious RCU usa

Re: [PATCH 3/5] arm: decompressor: define a new zImage tag

2020-06-01 Thread Lukasz Stelmach
It was <2020-06-01 pon 15:55>, when Russell King - ARM Linux admin wrote: > On Mon, Jun 01, 2020 at 04:27:52PM +0200, Łukasz Stelmach wrote: >> Add DCSZ tag which holds dynamic memory (stack, bss, malloc pool) >> requirements of the decompressor code. > > Why do we need to know the stack and BSS si

Re: [PATCHv2] perf stat: Ensure group is defined on top of the same cpu mask

2020-06-01 Thread Ian Rogers
On Mon, Jun 1, 2020 at 1:20 AM Jiri Olsa wrote: > > Jin Yao reported the issue (and posted first versions of this change) > with groups being defined over events with different cpu mask. > > This causes assert aborts in get_group_fd, like: > > # perf stat -M "C2_Pkg_Residency" -a -- sleep 1 >

[GIT PULL] x86/boot updates for v5.8

2020-06-01 Thread Ingo Molnar
Linus, Please pull the latest x86/boot git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-boot-2020-06-01 # HEAD: 5214028dd89e49ba27007c3ee475279e584261f0 x86/boot: Correct relocation destination on old linkers Misc updates: - Add the initrdmem= boot option to

Re: [PATCH 06/14] perf tests: Add another pmu-events tests

2020-06-01 Thread Ian Rogers
On Mon, Jun 1, 2020 at 6:21 AM Jiri Olsa wrote: > > On Mon, Jun 01, 2020 at 12:44:15AM -0700, Ian Rogers wrote: > > SNIP > > > > + memset(&error, 0, sizeof(error)); > > > + ret = parse_events_fake(evlist, id, &error); > > > + if (ret) { > > > + pr_debug("str

Re: [PATCH] vimc: debayer: Add support for ARGB format

2020-06-01 Thread Helen Koike
On 6/1/20 9:37 AM, Laurent Pinchart wrote: > On Mon, Jun 01, 2020 at 05:46:26PM +0530, Kaaira Gupta wrote: >> On Fri, May 29, 2020 at 05:43:57PM +0200, Dafna Hirschfeld wrote: >>> Hi, >>> Thanks for the patch >>> >>> I don't know how real devices handle ARGB formats, >>> I wonder if it should be

[PATCH] bpf: Change kvfree to kfree in generic_map_lookup_batch()

2020-06-01 Thread Denis Efremov
buf_prevkey in generic_map_lookup_batch() is allocated with kmalloc(). It's safe to free it with kfree(). Signed-off-by: Denis Efremov --- kernel/bpf/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/bpf/syscall.c b/kernel/bpf/syscall.c index 4e6dee19a668..10bb

Re: [PATCH 4/5] arm: Add kexec_image_info

2020-06-01 Thread Lukasz Stelmach
It was <2020-06-01 pon 15:56>, when Russell King - ARM Linux admin wrote: > On Mon, Jun 01, 2020 at 04:27:53PM +0200, Łukasz Stelmach wrote: >> Add kexec_image_info to print detailed information about a kexec image. > > Isn't this already visible through kexec debugging? Why do we need > to duplic

Re: [PATCH 4/4] PCI/ASPM: Don't select CONFIG_PCIEASPM by default

2020-06-01 Thread Bjorn Helgaas
On Tue, Apr 14, 2020 at 07:12:44PM -0500, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > PCIe Active State Power Management (ASPM) is optional and there's no need > for it to be selected by default. > > Remove the "default y" for CONFIG_PCIEASPM. > > Signed-off-by: Bjorn Helgaas > Cc: Heiner K

[GIT PULL] x86/build for v5.8

2020-06-01 Thread Ingo Molnar
Linus, Please pull the latest x86/build git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-build-2020-06-01 # HEAD: 38f3e775e9c242f5430a9c08c11be7577f63a41c x86/Kconfig: Update config and kernel doc for MPK feature on AMD Misc dependency fixes, plus a documenta

Re: [PATCH v5 13/13] perf record: introduce --ctl-fd[-ack] options

2020-06-01 Thread Adrian Hunter
On 1/06/20 7:05 pm, Alexey Budankov wrote: > > Introduce --ctl-fd[-ack] options to pass open file descriptors numbers > from command line. Extend perf-record.txt file with --ctl-fd[-ack] > options description. Document possible usage model introduced by > --ctl-fd[-ack] options by providing exampl

RE: [PATCH] mei: me: Add itouch device IDs for SPT / ICP

2020-06-01 Thread Winkler, Tomas
> These device IDs can be found on Microsoft Surface devices. > > Signed-off-by: Dorian Stoll This need to be done differently because of the server platforms conflict. I have patches for that I will post short, though we are not officially supporting those devices under Linux, It will be ha

[GIT PULL] x86/cleanups for v5.8

2020-06-01 Thread Ingo Molnar
Linus, Please pull the latest x86/cleanups git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-cleanups-2020-06-01 # HEAD: 2ca41f555e857ec5beef6063bfa43a17ee76d7ec x86/spinlock: Remove obsolete ticket spinlock macros and types Misc cleanups, with an emphasis on

[ANNOUNCE] Git v2.27.0

2020-06-01 Thread Junio C Hamano
The latest feature release Git v2.27.0 is now available at the usual places. It is comprised of 537 non-merge commits since v2.26.0, contributed by 71 people, 19 of which are new faces. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/ The following public repositories

Re: [RFC 06/16] KVM: Use GUP instead of copy_from/to_user() to access guest memory

2020-06-01 Thread Paolo Bonzini
On 25/05/20 17:17, Kirill A. Shutemov wrote: >> Personally, I would've just added 'struct kvm' pointer to 'struct >> kvm_memory_slot' to be able to extract 'mem_protected' info when >> needed. This will make the patch much smaller. > Okay, can do. > > Other thing I tried is to have per-slot flag t

Re: vimc: Add color descriptions to test image

2020-06-01 Thread Helen Koike
On 6/1/20 10:53 AM, Kaaira Gupta wrote: > Hi! > > Currently there is no method to know if the test image generated by vimc > is correct (except for comparing it with a known 'correct' image). So, I > wanted to investigate about a possibility to add text to each color bar > of the generated patt

Re: [RFC PATCH v4 07/10] vfio/pci: introduce a new irq type VFIO_IRQ_TYPE_REMAP_BAR_REGION

2020-06-01 Thread Alex Williamson
On Mon, 1 Jun 2020 02:57:26 -0400 Yan Zhao wrote: > On Fri, May 29, 2020 at 03:45:47PM -0600, Alex Williamson wrote: > > On Sun, 17 May 2020 22:52:45 -0400 > > Yan Zhao wrote: > > > > > This is a virtual irq type. > > > vendor driver triggers this irq when it wants to notify userspace to > >

[GIT PULL] x86/cpu changes for v5.8

2020-06-01 Thread Ingo Molnar
Linus, Please pull the latest x86/cpu git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-cpu-2020-06-01 # HEAD: 3d81b3d1e55a518837c3d1f722c6d93abe34aa85 x86/cpu: Use RDRAND and RDSEED mnemonics in archrandom.h Misc updates: - Extend the x86 family/model macros

[PATCH] net/mlx5: DR, Fix freeing in dr_create_rc_qp()

2020-06-01 Thread Denis Efremov
Variable "in" in dr_create_rc_qp() is allocated with kvzalloc() and should be freed with kvfree(). Fixes: 297cccebdc5a ("net/mlx5: DR, Expose an internal API to issue RDMA operations") Cc: sta...@vger.kernel.org Signed-off-by: Denis Efremov --- drivers/net/ethernet/mellanox/mlx5/core/steering/d

Re: Stable backport request for linux-4.4.y

2020-06-01 Thread Greg KH
On Sun, May 31, 2020 at 12:29:55PM +0800, chenxb_99...@126.com wrote: > From: Xuebing Chen > > In linux-4.4.y,the provides drm_for_each_plane_mask > macro > and plane_mask is defined as bitmask of plane indices, such as > 1 << drm_plane_index(plane). There is an error setting of plane_mask > i

Re: [PATCH 5/5] arm: kexec_file: load zImage or uImage, initrd and dtb

2020-06-01 Thread Lukasz Stelmach
It was <2020-06-01 pon 16:14>, when Russell King - ARM Linux admin wrote: > On Mon, Jun 01, 2020 at 04:07:45PM +0100, Russell King - ARM Linux admin > wrote: >> On Mon, Jun 01, 2020 at 04:27:54PM +0200, Łukasz Stelmach wrote: >> > diff --git a/arch/arm/kernel/kexec_zimage.c >> > b/arch/arm/kernel

Re: [PATCH] perf: Make perf able to build with latest libbfd

2020-06-01 Thread Greg KH
On Sun, May 31, 2020 at 03:50:25AM +0200, Marek Vasut wrote: > Hi, > > since commit > 0ada120c883d ("perf: Make perf able to build with latest libbfd") > is in master, can it be backported to stable as well? I keep hitting > this with too new binutils on Linux 5.4.y and I have to keep > cherry-pic

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