Re: [PATCH v8 12/26] arm64: irqflags: Use ICC_PMR_EL1 for interrupt masking

2019-01-08 Thread Marc Zyngier
On 08/01/2019 15:40, Dave Martin wrote: > On Tue, Jan 08, 2019 at 02:07:30PM +, Julien Thierry wrote: >> Instead disabling interrupts by setting the PSR.I bit, use a priority >> higher than the one used for interrupts to mask them via PMR. >> >> When using PMR to disable interrupts, the value

Re: [PATCH v2] btrfs: add a check for sysfs_create_group

2019-01-08 Thread David Sterba
On Tue, Dec 25, 2018 at 11:37:44PM -0600, Kangjie Lu wrote: > In case sysfs_create_group fails, let's check its return value and > issues an error message. It's in a function that's not currently used and the sysfs code needs to be reworked. The return code should be passed to the caller,

Re: [PATCHv5] x86/kdump: bugfix, make the behavior of crashkernel=X consistent with kaslr

2019-01-08 Thread Mike Rapoport
On Tue, Jan 08, 2019 at 05:01:38PM +0800, Baoquan He wrote: > Hi Mike, > > On 01/08/19 at 10:05am, Mike Rapoport wrote: > > I'm not thrilled by duplicating this code (yet again). > > I liked the v3 of this patch [1] more, assuming we allow bottom-up mode to > > allocate [0, kernel_start)

Re: [alsa-devel] [PATCH v1 3/3] ASoC: soc-core: fix platform name vs. of_node assignement

2019-01-08 Thread Jon Hunter
On 08/01/2019 12:03, Jon Hunter wrote: > > On 08/01/2019 10:50, Jon Hunter wrote: >> Hi Kuninori, >> >> On 08/01/2019 02:25, Kuninori Morimoto wrote: >>> >>> Hi Jon >>> I have been looking at this again recently. I see this issue occurring all the time when the sound drivers are built

[PATCH v4] usb: hub: add retry routine after intr URB submit error

2019-01-08 Thread Nicolas Saenz Julienne
The hub sends hot-plug events to the host trough it's interrupt URB. The driver takes care of completing the URB and re-submitting it. Completion errors are handled in the hub_event() work, yet submission errors are ignored, rendering the device unresponsive. All further events are lost. It is

Re: [PATCH 2/3] usb: ehci: fsl: Update register accessing for arm/arm64 platforms

2019-01-08 Thread Greg Kroah-Hartman
On Tue, Jan 08, 2019 at 06:04:26AM +, Ran Wang wrote: > arm/arm64's io.h doesn't define clrbits32() and clrsetbits_be32(), which > causing compile failure on some Layerscape Platforms (such as LS1021A and > LS2012A which also integrates FSL EHCI controller). So use > ioread32be()/iowrite32be()

[tip:perf/urgent] perf test shell: Use a fallback to get the pathname in vfs_getname

2019-01-08 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 03fa483821c0b4db7c2b1453d3332f397d82313f Gitweb: https://git.kernel.org/tip/03fa483821c0b4db7c2b1453d3332f397d82313f Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 Jan 2019 15:10:00 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 4 Jan 2019 15:12:29 -0300

[tip:perf/urgent] perf report: Fix wrong iteration count in --branch-history

2019-01-08 Thread tip-bot for Jin Yao
Commit-ID: a3366db06bb656cef2e03f30f780d93059bcc594 Gitweb: https://git.kernel.org/tip/a3366db06bb656cef2e03f30f780d93059bcc594 Author: Jin Yao AuthorDate: Fri, 4 Jan 2019 14:10:30 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 4 Jan 2019 12:54:49 -0300 perf report: Fix

[tip:perf/urgent] perf python: Make sure the python binding output directory is in place

2019-01-08 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: f712a86c1406abf50b0dcff0500c723e2aca050a Gitweb: https://git.kernel.org/tip/f712a86c1406abf50b0dcff0500c723e2aca050a Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 3 Jan 2019 16:03:46 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 4 Jan 2019 12:55:24 -0300

Re: [PATCH 4/4] usb: musb: Add support for MediaTek musb controller

2019-01-08 Thread Bin Liu
Hi, On Thu, Dec 27, 2018 at 03:34:26PM +0800, min@mediatek.com wrote: > From: Min Guo > > This adds support for MediaTek musb controller in > host, peripheral and otg mode > > Signed-off-by: Min Guo > Signed-off-by: Yonglong Wu > --- > drivers/usb/musb/Kconfig | 8 +- >

[tip:perf/urgent] perf strbuf: Remove redundant va_end() in strbuf_addv()

2019-01-08 Thread tip-bot for Mattias Jacobsson
Commit-ID: 099be748865eece21362aee416c350c0b1ae34df Gitweb: https://git.kernel.org/tip/099be748865eece21362aee416c350c0b1ae34df Author: Mattias Jacobsson <2...@mok.nu> AuthorDate: Sat, 29 Dec 2018 15:17:50 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 4 Jan 2019 12:54:49

Re: [PATCH 3/3] drivers: usb :fsl: Remove USB Errata checking code

2019-01-08 Thread Greg Kroah-Hartman
On Tue, Jan 08, 2019 at 06:04:29AM +, Ran Wang wrote: > From: yinbo.zhu I doubt Yinbo's name has a "." in it :) Can you please fix this up to have the correct name here? > Remove USB errata checking code from driver. Applicability of erratum > is retrieved by reading corresponding property

[tip:perf/urgent] perf annotate: Pass filename to objdump via execl

2019-01-08 Thread tip-bot for Ivan Krylov
Commit-ID: 442b4eb3af44906fcbb526d98c314b27f8c9acf3 Gitweb: https://git.kernel.org/tip/442b4eb3af44906fcbb526d98c314b27f8c9acf3 Author: Ivan Krylov AuthorDate: Sun, 14 Oct 2018 11:18:03 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 4 Jan 2019 12:54:49 -0300 perf annotate:

[tip:perf/urgent] tools headers x86: Sync asm/cpufeatures.h copy with the kernel sources

2019-01-08 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 86c22ab7227f59169f64275875c97ef495668b77 Gitweb: https://git.kernel.org/tip/86c22ab7227f59169f64275875c97ef495668b77 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 Jan 2019 12:13:34 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 4 Jan 2019 12:54:49 -0300

[tip:perf/urgent] tools headers uapi: Sync copy of asm-generic/unistd.h with the kernel sources

2019-01-08 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8c91fd605e1a66050c9c4dbc3e159a08e8c5f7d4 Gitweb: https://git.kernel.org/tip/8c91fd605e1a66050c9c4dbc3e159a08e8c5f7d4 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 Jan 2019 12:08:31 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 4 Jan 2019 12:54:49 -0300

[tip:perf/urgent] tools headers uapi: Sync linux/kvm.h with the kernel sources

2019-01-08 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 558517c52c87da91a963708fe589044172470653 Gitweb: https://git.kernel.org/tip/558517c52c87da91a963708fe589044172470653 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 Jan 2019 11:45:03 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 4 Jan 2019 12:54:49 -0300

Re: [PATCH v4] USB: Don't enable LPM if it's already enabled

2019-01-08 Thread Greg KH
On Mon, Dec 03, 2018 at 06:26:43PM +0800, Kai-Heng Feng wrote: > USB Bluetooth controller QCA ROME (0cf3:e007) sometimes stops working > after S3: > [ 165.110742] Bluetooth: hci0: using NVM file: qca/nvm_usb_0302.bin > [ 168.432065] Bluetooth: hci0: Failed to send body at 4 of 1953 (-110) > >

[tip:perf/urgent] tools headers uapi: Sync linux/in.h copy from the kernel sources

2019-01-08 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4001b6a080aaca9a13ea07ae8972b82fdbd9ea6b Gitweb: https://git.kernel.org/tip/4001b6a080aaca9a13ea07ae8972b82fdbd9ea6b Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 Jan 2019 11:41:42 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 4 Jan 2019 12:54:49 -0300

[tip:perf/urgent] tools headers uapi: Update i915_drm.h

2019-01-08 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8858ecb5a28d871b79aa5b4eed45414b553a5b6e Gitweb: https://git.kernel.org/tip/8858ecb5a28d871b79aa5b4eed45414b553a5b6e Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 4 Jan 2019 11:36:10 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 4 Jan 2019 12:54:49 -0300

[PATCH] xhci: Use struct_size() in kzalloc()

2019-01-08 Thread Gustavo A. R. Silva
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 foo { int stuff; void *entry[]; }; instance = kzalloc(sizeof(struct

Re: [PATCH] nvme-core: don't initlialize ctrl->cntlid twice

2019-01-08 Thread Keith Busch
On Mon, Jan 07, 2019 at 07:08:49PM -0800, Andrey Smirnov wrote: > ctrl->cntlid will already be initialized from id->cntlid for > non-NVME_F_FABRICS controllers few lines below. For NVME_F_FABRICS > controllers this field should already be initialized, otherwise the > check > > if

[tip:perf/urgent] tools thermal tmon: Use -O3 instead of -O1 if available

2019-01-08 Thread tip-bot for Jiri Olsa
Commit-ID: 302df34c4e64b9e83ee31cbf508b38b62b428bd6 Gitweb: https://git.kernel.org/tip/302df34c4e64b9e83ee31cbf508b38b62b428bd6 Author: Jiri Olsa AuthorDate: Thu, 3 Jan 2019 17:13:49 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 4 Jan 2019 12:54:49 -0300 tools thermal

Re: Linux 5.0-rc1 (test results)

2019-01-08 Thread Michal Hocko
On Tue 08-01-19 17:51:07, Guo Ren wrote: [...] > static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm) > { > pte_t *pte; > unsigned long i; > > pte = (pte_t *) __get_free_page(GFP_KERNEL | __GFP_RETRY_MAYFAIL); >

Re: [PATCH v8 12/26] arm64: irqflags: Use ICC_PMR_EL1 for interrupt masking

2019-01-08 Thread Dave Martin
On Tue, Jan 08, 2019 at 02:07:30PM +, Julien Thierry wrote: > Instead disabling interrupts by setting the PSR.I bit, use a priority > higher than the one used for interrupts to mask them via PMR. > > When using PMR to disable interrupts, the value of PMR will be used > instead of PSR.[DAIF]

[tip:perf/urgent] tools iio: Override CFLAGS assignments

2019-01-08 Thread tip-bot for Jiri Olsa
Commit-ID: 536cdb684d2d5139708d290b9dc124b1420886c1 Gitweb: https://git.kernel.org/tip/536cdb684d2d5139708d290b9dc124b1420886c1 Author: Jiri Olsa AuthorDate: Thu, 3 Jan 2019 17:13:50 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 4 Jan 2019 12:54:49 -0300 tools iio:

Re: Future of dosfstools project (FAT)

2019-01-08 Thread Richard Weinberger
Am Dienstag, 8. Januar 2019, 16:32:55 CET schrieb Andy Shevchenko: > On Fri, Dec 28, 2018 at 12:18 AM Pali Rohár wrote: > > On Monday 17 December 2018 10:50:04 Pali Rohár wrote: > > > On Wednesday 12 December 2018 14:57:36 Pali Rohár wrote: > > > > Thanks for review of #94! As next you can take

[tip:perf/urgent] tools beauty: Make the prctl option table generator catch all PR_ options

2019-01-08 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 805e4c8b61bd62f6d3f416c915cb9bb423835fee Gitweb: https://git.kernel.org/tip/805e4c8b61bd62f6d3f416c915cb9bb423835fee Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 3 Jan 2019 14:59:11 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 3 Jan 2019 15:16:04 -0300

Re: [PATCH] mfd: syscon: Fix syscon name for device tree

2019-01-08 Thread Tony Lindgren
* JeffyChen [190108 03:17]: > Hi Tony, > > On 01/08/2019 08:15 AM, Tony Lindgren wrote: > > * Tony Lindgren [190108 00:06]: > > > I'm now seeing the following error on omap5 during boot: > > > > > > (NULL device *): Failed to create dummy-scm_conf@0 debugfs directory > This log means failed to

[tip:perf/urgent] tools headers uapi: Sync prctl.h with the kernel sources

2019-01-08 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 3d32c4531958c433a6ee087f31891cb02d6b68d9 Gitweb: https://git.kernel.org/tip/3d32c4531958c433a6ee087f31891cb02d6b68d9 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 3 Jan 2019 14:56:20 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 3 Jan 2019 14:56:20 -0300

[PATCH] drm: Require PCI for selecting VGA_ARB.

2019-01-08 Thread Maarten Lankhorst
Op 08-01-2019 om 16:07 schreef Paul Menzel: > Dear Linux folks, > > > Building Linux 5.0-rc1 fails with the errors below. Please find the > configuration file attached. > > ``` > $ make -j120 > […] > drivers/gpu/vga/vgaarb.c: In function ‘__vga_tryget’: > drivers/gpu/vga/vgaarb.c:286:14: error:

[tip:perf/urgent] tools headers x86: Sync disabled-features.h

2019-01-08 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 94f45df8aaa35471ab3fc802c2cf1b75c8107500 Gitweb: https://git.kernel.org/tip/94f45df8aaa35471ab3fc802c2cf1b75c8107500 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 3 Jan 2019 13:53:59 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 3 Jan 2019 13:53:59 -0300

[tip:perf/urgent] perf stat: Fix endless wait for child process

2019-01-08 Thread tip-bot for Jin Yao
Commit-ID: 8a99255a50c0b4c2a449b96fd8d45fcc8d72c701 Gitweb: https://git.kernel.org/tip/8a99255a50c0b4c2a449b96fd8d45fcc8d72c701 Author: Jin Yao AuthorDate: Thu, 3 Jan 2019 15:40:45 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 3 Jan 2019 12:12:18 -0300 perf stat: Fix

[PATCH] misc: enclosure: Use struct_size() in kzalloc()

2019-01-08 Thread Gustavo A. R. Silva
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 foo { int stuff; void *entry[]; }; instance = kzalloc(sizeof(struct

Re: [PATCH] arch: unexport asm/shmparam.h for all architectures

2019-01-08 Thread Masahiro Yamada
Hi Stafford, On Tue, Jan 8, 2019 at 8:12 PM Stafford Horne wrote: > > What is this patch based on? I tried to apply it to 5.0-rc1 and am having an > issue with applying the arch/openrisc/include/uapi/asm/Kbuild part. Based on Linus' latest tree. (commit 3bd6e94be) v5.0-rc1 is NOT the

Re: [alsa-devel] [PATCH v1 3/3] ASoC: soc-core: fix platform name vs. of_node assignement

2019-01-08 Thread Mark Brown
On Tue, Dec 18, 2018 at 06:40:40PM +0100, Matthias Reichl wrote: > On Sun, Oct 21, 2018 at 12:23:01PM +0100, Mark Brown wrote: > > On Fri, Oct 19, 2018 at 11:22:46AM +0100, Jon Hunter wrote: > > Indeed, this is a bit of a mess. We probably shouldn't be modifying the > > data that the drivers

Re: Future of dosfstools project (FAT)

2019-01-08 Thread Andy Shevchenko
On Fri, Dec 28, 2018 at 12:18 AM Pali Rohár wrote: > On Monday 17 December 2018 10:50:04 Pali Rohár wrote: > > On Wednesday 12 December 2018 14:57:36 Pali Rohár wrote: > > Thanks for review of #94! As next you can take #92 from list. > > Andreas, can you look at next pull requests? Looking from

Re: [GIT PULL 00/16] perf/core improvements and fixes

2019-01-08 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > Best regards, > > - Arnaldo > > Test results at the end of this message, as usual. > > The following changes since commit 2573be22e5b6f24a0cabc97715c808c47e29eaaf: > > Merge tag

Re: [PATCH v4 5/6] usb: musb: gadget: implement optional explicit status stage

2019-01-08 Thread Alan Stern
On Tue, 8 Jan 2019, Paul Elder wrote: > On Sun, Jan 06, 2019 at 03:03:09PM -0500, Alan Stern wrote: > > On Sun, 6 Jan 2019, Paul Elder wrote: > > > > > Implement the mechanism for optional explicit status stage for the MUSB > > > driver. This allows a function driver to specify what to reply for

[PATCH] Input: tca6416-keypad: use struct_size() in kzalloc()

2019-01-08 Thread Gustavo A. R. Silva
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 foo { int stuff; void *entry[]; }; instance = kzalloc(sizeof(struct

Re: [PATCH v6 1/2] drm/amd: validate user pitch alignment

2019-01-08 Thread Michel Dänzer
On 2019-01-07 11:51 p.m., Yu Zhao wrote: > Userspace may request pitch alignment that is not supported by GPU. > Some requests 32, but GPU ignores it and uses default 64 when cpp is > 4. If GEM object is allocated based on the smaller alignment, GPU > DMA will go out of bound. > > Cc:

Re: [PATCH v2 1/2] dt-bindings: remoteproc: qcom: Add firmware bindings for Q6V5

2019-01-08 Thread Rob Herring
On Fri, Jan 4, 2019 at 7:54 PM Brian Norris wrote: > > Hi again, > > On Thu, Jan 03, 2019 at 04:11:58PM -0800, Brian Norris wrote: > > On Thu, Jan 03, 2019 at 04:01:45PM -0800, Bjorn Andersson wrote: > > > I share your concern about this, but I came to suggest this as the > > > driver cares about

[PATCH] USB: core: urb: Use struct_size() in kmalloc()

2019-01-08 Thread Gustavo A. R. Silva
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 foo { int stuff; void *entry[]; }; instance = kmalloc(sizeof(struct

Re: [PATCH v5 13/15] KVM: s390: add function process_gib_alert_list()

2019-01-08 Thread Michael Mueller
On 08.01.19 13:59, Halil Pasic wrote: On Wed, 19 Dec 2018 20:17:54 +0100 Michael Mueller wrote: This function processes the Gib Alert List (GAL). It is required to run when either a gib alert interruption has been received or a gisa that is in the alert list is cleared or dropped. The GAL

Re: [PATCH v8 15/26] arm64: alternative: Apply alternatives early in boot process

2019-01-08 Thread Julien Thierry
Hi Suzuki, On 08/01/2019 14:51, Suzuki K Poulose wrote: > Hi Julien, > > On 08/01/2019 14:07, Julien Thierry wrote: >> From: Daniel Thompson >> >> Currently alternatives are applied very late in the boot process (and >> a long time after we enable scheduling). Some alternative sequences, >>

Re: [RFC PATCH 1/1] KEYS, integrity: Link .platform keyring to .secondary_trusted_keys

2019-01-08 Thread Mimi Zohar
[Cc'ing the LSM and integrity mailing lists] Repeating my comment on PATCH 0/1 here with the expanded set of mailing lists. The builtin and secondary keyrings have a signature change of trust rooted in the signed kernel image.  Adding the pre-boot keys to the secondary keyring breaks that

Re: [PATCH 1/1] epoll: remove wrong assert that ep_poll_callback is always called with irqs off

2019-01-08 Thread Davidlohr Bueso
On 2019-01-08 04:42, Roman Penyaev wrote: What we can do: a) disable irqs if we are not in interrupt. b) revert the patch completely. David, is it really crucial in terms of performance to avoid double local_irq_save() on Xen on this ep_poll_callback() hot path? Note that such optimizations

[PATCH v2] scsi: sd: Make protection lookup tables static and relocate functions

2019-01-08 Thread John Garry
Currently the protection lookup tables in sd_prot_flag_mask() and sd_prot_op() are declared as non-static. As such, they will be rebuilt for each respective function call. Optimise by making them static. This saves ~100B object code for sd.c: Before: textdata bss dec hex

[PATCH] powerpc/ipic: drop unused functions

2019-01-08 Thread Christophe Leroy
ipic_set_highest_priority(), ipic_enable_mcp() and ipic_disable_mcp() are unused. This patch drops them. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/ipic.h | 3 --- arch/powerpc/sysdev/ipic.c | 35 --- 2 files changed, 38 deletions(-) diff

5.0-rc1 fails to build with vga/vgaarb.c:286:14: error: ‘PCI_VGA_STATE_CHANGE_DECODES’ undeclared

2019-01-08 Thread Paul Menzel
Dear Linux folks, Building Linux 5.0-rc1 fails with the errors below. Please find the configuration file attached. ``` $ make -j120 […] drivers/gpu/vga/vgaarb.c: In function ‘__vga_tryget’: drivers/gpu/vga/vgaarb.c:286:14: error: ‘PCI_VGA_STATE_CHANGE_DECODES’ undeclared (first use in this

Re: [PATCH v2] memcg: localize memcg_kmem_enabled() check

2019-01-08 Thread Michal Hocko
On Thu 03-01-19 08:12:03, Shakeel Butt wrote: > Move the memcg_kmem_enabled() checks into memcg kmem charge/uncharge > functions, so, the users don't have to explicitly check that condition. > This is purely code cleanup patch without any functional change. Only > the order of checks in

Re: Interrupt storm from pinctrl-amd on Acer AN515-42

2019-01-08 Thread Thomas Gleixner
On Fri, 28 Dec 2018, Linus Walleij wrote: > On Fri, Dec 28, 2018 at 12:02 AM Leonard Crestez wrote: > > > Digging a little deeper it seems the touchpad interrupt is active on > > boot and since it's configured as "level" and no touchpad driver is > > available yet there does not seem to be any

Re: [PATCH v2] platform/chrome: Add cros_ec_readmem() helpers for I2C/SPI based ECs

2019-01-08 Thread Enric Balletbo i Serra
Hi, On 8/1/19 15:34, Guenter Roeck wrote: > On Tue, Jan 8, 2019 at 6:28 AM Enric Balletbo i Serra > wrote: >> >> Hi Moritz, >> >> Many thanks for the patch,I've one concern on this, and I'd be also >> interested >> on Benson and Guenter opinion ... >> >> On 8/1/19 4:56, Moritz Fischer wrote:

Re: [PATCH v2] ARM: dts: imx: Add Y Soft IOTA Draco, Hydra and Ursa boards

2019-01-08 Thread Vokáč Michal
On 8.1.2019 15:56, Rob Herring wrote: > On Tue, Jan 8, 2019 at 5:43 AM Vokáč Michal wrote: >> >> On 29.12.2018 00:25, Rob Herring wrote: >>> On Tue, Dec 18, 2018 at 02:42:11PM +, Vokáč Michal wrote: These are i.MX6S/DL based SBCs embedded in various Y Soft products. All share the

Re: [PATCH] memcg: schedule high reclaim for remote memcgs on high_work

2019-01-08 Thread Michal Hocko
On Wed 02-01-19 17:56:38, Shakeel Butt wrote: > If a memcg is over high limit, memory reclaim is scheduled to run on > return-to-userland. However it is assumed that the memcg is the current > process's memcg. With remote memcg charging for kmem or swapping in a > page charged to remote memcg,

Re: [PATCH v2] ARM: dts: imx: Add Y Soft IOTA Draco, Hydra and Ursa boards

2019-01-08 Thread Rob Herring
On Tue, Jan 8, 2019 at 5:43 AM Vokáč Michal wrote: > > On 29.12.2018 00:25, Rob Herring wrote: > > On Tue, Dec 18, 2018 at 02:42:11PM +, Vokáč Michal wrote: > >> These are i.MX6S/DL based SBCs embedded in various Y Soft products. > >> All share the same board design but have slightly

Re: [RFC][PATCH v2 00/21] PMEM NUMA node and hotness accounting/migration

2019-01-08 Thread Michal Hocko
On Wed 02-01-19 10:12:04, Dave Hansen wrote: > On 12/28/18 12:41 AM, Michal Hocko wrote: > >> > >> It can be done in kernel page reclaim path, near the anonymous page > >> swap out point. Instead of swapping out, we now have the option to > >> migrate cold pages to PMEM NUMA nodes. > > OK, this

Re: [PATCH v2] ARM: dts: imx: Add Y Soft IOTA Draco, Hydra and Ursa boards

2019-01-08 Thread Rob Herring
On Tue, Jan 8, 2019 at 8:25 AM Vokáč Michal wrote: > > On 8.1.2019 12:43, Vokáč Michal wrote: > > On 29.12.2018 00:25, Rob Herring wrote: > >> On Tue, Dec 18, 2018 at 02:42:11PM +, Vokáč Michal wrote: > [...] > >>> + { > >>> + clock-frequency = <10>; > >>> + pinctrl-names = "default";

Re: [RFC][PATCH v2 00/21] PMEM NUMA node and hotness accounting/migration

2019-01-08 Thread Michal Hocko
On Wed 02-01-19 12:21:10, Jonathan Cameron wrote: [...] > So ideally I'd love this set to head in a direction that helps me tick off > at least some of the above usecases and hopefully have some visibility on > how to address the others moving forwards, Is it sufficient to have such a memory

Re: [PATCH] mm: memcontrol: use struct_size() in kmalloc()

2019-01-08 Thread Michal Hocko
Cc Andrew (original patch is here http://lkml.kernel.org/r/20190104183726.GA6374@embeddedor) On Fri 04-01-19 12:37:26, 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 >

Re: [PATCH v8 15/26] arm64: alternative: Apply alternatives early in boot process

2019-01-08 Thread Suzuki K Poulose
Hi Julien, On 08/01/2019 14:07, Julien Thierry wrote: From: Daniel Thompson Currently alternatives are applied very late in the boot process (and a long time after we enable scheduling). Some alternative sequences, such as those that alter the way CPU context is stored, must be applied much

[PATCH v3 1/4] drm/vc4: Wait for display list synchronization when completing commit

2019-01-08 Thread Paul Kocialkowski
During an atomic commit, the HVS is configured with a display list for the channel matching the associated CRTC. The Pixel Valve (CRTC) and encoder are also configured for the new setup at that time. While the Pixel Valve and encoder are reconfigured synchronously, the HVS is only reconfigured

[PATCH v3 3/4] drm/vc4: Add a load tracker to prevent HVS underflow errors

2019-01-08 Thread Paul Kocialkowski
From: Boris Brezillon The HVS block is supposed to fill the pixelvalve FIFOs fast enough to meet the requested framerate. The problem is, the HVS and memory bus bandwidths are limited, and if we don't take these limitations into account we might end up with HVS underflow errors. This patch is

[PATCH v3 2/4] drm/vc4: Report underrun errors

2019-01-08 Thread Paul Kocialkowski
From: Boris Brezillon The DRM framework provides a generic way to report underrun errors. Let's implement the necessary hooks to support it in the VC4 driver. Signed-off-by: Boris Brezillon --- Changes in v3: - Generic underrun report function has been dropped, adjust the code accordingly

[PATCH v3 0/4] drm/vc4: Add a load tracker

2019-01-08 Thread Paul Kocialkowski
Hi, Here is a third iteration of the VC4 load tracking series, which was initially developed by Boris Brezillon and that I have now taken over. This new version aggregates a standalone patch adding a debugfs entry, which was updated since its last revision. A new preliminary patch is also

[PATCH v3 4/4] drm/vc4: Add a debugfs entry to disable/enable the load tracker

2019-01-08 Thread Paul Kocialkowski
In order to test whether the load tracker is working as expected, we need the ability to compare the commit result with the underrun indication. With the load tracker always enabled, commits that are expected to trigger an underrun are always rejected, so userspace cannot get the actual underrun

Re: [PATCH 4/7] dt-bindings: sdm845-pinctrl: add wakeup interrupt parent for GPIO

2019-01-08 Thread Rob Herring
On Mon, Jan 7, 2019 at 12:51 PM Lina Iyer wrote: > > On Fri, Dec 28 2018 at 17:07 -0700, Rob Herring wrote: > >On Wed, Dec 19, 2018 at 03:11:02PM -0700, Lina Iyer wrote: > >> SDM845 SoC has an always-on interrupt controller (PDC) with select GPIO > >> routed to the PDC as interrupts that can be

Re: [PATCH V7 2/2] iio: accell: mma8452: add vdd/vddio regulator operation support

2019-01-08 Thread Anson Huang
Hi, Martin From Anson's iPhone 6 > 在 2019年1月8日,19:41,Martin Kepplinger 写道: > >> On 08.01.19 10:14, Anson Huang wrote: >> The accelerometer's power supply could be controllable on some >> platforms, such as i.MX6Q-SABRESD board, the mma8451's power supplies >> are controlled by a GPIO fixed

Re: [PATCH v4 05/13] arm: perf: conditionally use PERF_PMU_CAP_NO_EXCLUDE

2019-01-08 Thread Peter Zijlstra
On Tue, Jan 08, 2019 at 01:13:57PM +, Andrew Murray wrote: > On Tue, Jan 08, 2019 at 02:10:31PM +0100, Peter Zijlstra wrote: > > On Tue, Jan 08, 2019 at 01:07:41PM +, Andrew Murray wrote: > > > > > Yes I found lots of examples like this across the tree whilst doing this > > > work.

Re: [PATCH 3/2] memcg: Facilitate termination of memcg OOM victims.

2019-01-08 Thread Michal Hocko
On Tue 08-01-19 23:21:23, Tetsuo Handa wrote: > From: Tetsuo Handa > > If memcg OOM events in different domains are pending, already OOM-killed > threads needlessly wait for pending memcg OOM events in different domains. > An out_of_memory() call is slow because it involves printk(). With slow >

[PATCH] mailbox: tegra-hsp: mark PM functions as __maybe_unused

2019-01-08 Thread Anders Roxell
Without CONFIG_PM_SLEEP, we get annoying warnings about unused functions: drivers/mailbox/tegra-hsp.c:782:12: warning: ‘tegra_hsp_resume’ defined but not used [-Wunused-function] static int tegra_hsp_resume(struct device *dev) ^~~~ Mark them as __maybe_unused to shut up

Re: [PATCH] powerpc/irq: drop arch_early_irq_init()

2019-01-08 Thread Thomas Gleixner
On Tue, 8 Jan 2019, Christophe Leroy wrote: > Oops, forgot to actually copy Thomas. > > Le 08/01/2019 à 12:37, Christophe Leroy a écrit : > > arch_early_irq_init() does nothing different than > > the weak arch_early_irq_init() in kernel/softirq.c > > > > Fixes: 089fb442f301 ("powerpc: Use

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2019-01-08 Thread Michal Hocko
On Thu 20-12-18 10:19:34, Michal Hocko wrote: > On Thu 20-12-18 15:19:39, Pingfan Liu wrote: > > Hi Michal, > > > > WIth this patch applied on the old one, I got the following message. > > Please get it from attachment. > [...] > > [0.409637] NUMA: Node 1 [mem 0x-0x0009] + [mem >

Re: [PATCH v12 01/10] powerpc/irq: use memblock functions returning virtual address

2019-01-08 Thread Mike Rapoport
Hi, On Tue, Jan 08, 2019 at 01:43:09PM +, Christophe Leroy wrote: > Since only the virtual address of allocated blocks is used, > lets use functions returning directly virtual address. > > Those functions have the advantage of also zeroing the block. > > Suggested-by: Mike Rapoport >

Re: [PATCH v2] platform/chrome: Add cros_ec_readmem() helpers for I2C/SPI based ECs

2019-01-08 Thread Guenter Roeck
On Tue, Jan 8, 2019 at 6:28 AM Enric Balletbo i Serra wrote: > > Hi Moritz, > > Many thanks for the patch,I've one concern on this, and I'd be also interested > on Benson and Guenter opinion ... > > On 8/1/19 4:56, Moritz Fischer wrote: > > From: Moritz Fischer > > > > Add cros_ec_readmem()

Re: [PATCH] hv_balloon: avoid touching uninitialized struct page during tail onlining

2019-01-08 Thread Vitaly Kuznetsov
Dan Carpenter writes: > On Mon, Jan 07, 2019 at 07:38:20PM +0100, Vitaly Kuznetsov wrote: >> (I remember Greg disliked when people were tagging patches for stable@ >> themselves, he prefered maintainers deciding if the particular commit >> deserves stable@ or not - but as you have a tree now we

Re: [RFC PATCH 0/1] KEYS, integrity: Link .platform keyring to .secondary_trusted_keys

2019-01-08 Thread Mimi Zohar
On Tue, 2019-01-08 at 16:12 +0800, Kairui Song wrote: > Hi, as the subject, this is a patch that links the new introduced > .platform keyring into .secondary_trusted_keys keyring. This is > mainly for the kexec_file_load, make kexec_file_load be able to verify > the kernel image agains keys

Re: [PATCH 2/3] cross-tree: phase out dma_zalloc_coherent() on headers

2019-01-08 Thread Julia Lawall
On Tue, 8 Jan 2019, Christoph Hellwig wrote: > From: Luis Chamberlain > > The last few stragglers coccinelle doesn't pick up are on driver > specific header files. Phase those out as well as dma_alloc_coherent() > zeroes out the memory as well now too. You can use the --include-headers

Re: [PATCH 3/3] dma-mapping: remove dma_zalloc_coherent()

2019-01-08 Thread Julia Lawall
On Tue, 8 Jan 2019, Christoph Hellwig wrote: > From: Luis Chamberlain > > dma_zalloc_coherent() is no longer needed as it has no users because > dma_alloc_coherent() already zeroes out memory for us. > > The Coccinelle grammar rule that used to check for dma_alloc_coherent() > + memset() is

Re: [PATCH v2] platform/chrome: Add cros_ec_readmem() helpers for I2C/SPI based ECs

2019-01-08 Thread Enric Balletbo i Serra
Hi Moritz, Many thanks for the patch,I've one concern on this, and I'd be also interested on Benson and Guenter opinion ... On 8/1/19 4:56, Moritz Fischer wrote: > From: Moritz Fischer > > Add cros_ec_readmem() based helpers for I2C/SPI based ECs. > Unlike the LPC based ECs the I2C/SPI based

Re: [PATCH v5 13/15] KVM: s390: add function process_gib_alert_list()

2019-01-08 Thread Halil Pasic
On Mon, 7 Jan 2019 20:18:03 +0100 Michael Mueller wrote: > > > On 03.01.19 15:43, Pierre Morel wrote: > > On 19/12/2018 20:17, Michael Mueller wrote: > >> This function processes the Gib Alert List (GAL). It is required > >> to run when either a gib alert interruption has been received or > >>

Re: general protection fault in spk_ttyio_ldisc_close

2019-01-08 Thread Samuel Thibault
Greg KH, le mar. 08 janv. 2019 15:25:07 +0100, a ecrit: > On Tue, Jan 08, 2019 at 09:15:02AM -0500, Kyungtae Kim wrote: > > On Tue, Jan 8, 2019 at 8:50 AM Greg KH wrote: > > > > > > On Tue, Jan 08, 2019 at 08:37:37AM -0500, Kyungtae Kim wrote: > > > > We report a bug in linux-4.20: "general

Re: [PATCH v2] ARM: dts: imx: Add Y Soft IOTA Draco, Hydra and Ursa boards

2019-01-08 Thread Vokáč Michal
On 8.1.2019 12:43, Vokáč Michal wrote: > On 29.12.2018 00:25, Rob Herring wrote: >> On Tue, Dec 18, 2018 at 02:42:11PM +, Vokáč Michal wrote: [...] >>> + { >>> + clock-frequency = <10>; >>> + pinctrl-names = "default"; >>> + pinctrl-0 = <_i2c3>; >>> + status = "disabled"; >>> + >>>

Re: general protection fault in spk_ttyio_ldisc_close

2019-01-08 Thread Greg KH
On Tue, Jan 08, 2019 at 09:15:02AM -0500, Kyungtae Kim wrote: > On Tue, Jan 8, 2019 at 8:50 AM Greg KH wrote: > > > > On Tue, Jan 08, 2019 at 08:37:37AM -0500, Kyungtae Kim wrote: > > > We report a bug in linux-4.20: "general protection fault in > > > spk_ttyio_ldisc_close" > > > > > > kernel

Re: [PATCH v5 10/15] KVM: s390: add functions to (un)register GISC with GISA

2019-01-08 Thread Halil Pasic
On Tue, 8 Jan 2019 14:41:35 +0100 Cornelia Huck wrote: > On Tue, 8 Jan 2019 14:36:13 +0100 > Halil Pasic wrote: > > > On Tue, 8 Jan 2019 11:34:44 +0100 > > Cornelia Huck wrote: > > > > > > >> > > > > >>> + spin_unlock(>arch.iam_ref_lock); > > > > >>> + > > > > >>> + return

Re: [PATCH v2] kobject: add kernel/uevent_features sysfs file

2019-01-08 Thread Greg KH
On Wed, Jan 02, 2019 at 10:59:53AM +0100, Peter Rajnoha wrote: > On 12/19/18 10:24 AM, Greg KH wrote: > > On Fri, Dec 07, 2018 at 01:28:52PM +0100, Peter Rajnoha wrote: > >> On 12/7/18 1:01 PM, Greg KH wrote: > >>> On Fri, Dec 07, 2018 at 12:46:07PM +0100, Peter Rajnoha wrote: > This patch

Re: [PATCH v4 1/6] powerpc: prefer memblock APIs returning virtual address

2019-01-08 Thread Mike Rapoport
Hi, On Tue, Jan 08, 2019 at 11:02:24AM +0100, Christophe Leroy wrote: > > Le 31/12/2018 à 10:29, Mike Rapoport a écrit : > >There are a several places that allocate memory using memblock APIs that > >return a physical address, convert the returned address to the virtual > >address and frequently

[PATCH 3/2] memcg: Facilitate termination of memcg OOM victims.

2019-01-08 Thread Tetsuo Handa
From: Tetsuo Handa If memcg OOM events in different domains are pending, already OOM-killed threads needlessly wait for pending memcg OOM events in different domains. An out_of_memory() call is slow because it involves printk(). With slow serial consoles, out_of_memory() might take more than a

Re: [PATCH] dio: Fix buffer overflow in case of unknown board

2019-01-08 Thread Andreas Schwab
On Jan 08 2019, Geert Uytterhoeven wrote: > @@ -90,7 +90,7 @@ static struct dioname names[] = > #undef DIOFBNAME > > static const char *unknowndioname > -= "unknown DIO board -- please email > !"; > + = "unknown DIO board, please email linux-m...@lists.linux-m68k.org"; This

RE: [PATCH 2/2] drm/msm/gpu: fix building without debugfs

2019-01-08 Thread Ioana Ciornei
> Subject: [PATCH 2/2] drm/msm/gpu: fix building without debugfs > > When debugfs is disabled, but coredump is turned on, the adreno driver fails > to > build: > > drivers/gpu/drm/msm/adreno/a3xx_gpu.c:460:4: error: 'struct msm_gpu_funcs' > has no member named 'show' >.show = adreno_show,

Re: [PATCH] ARM: irq: Add IRQ_SET_MASK_OK_DONE handling in migrate_one_irq()

2019-01-08 Thread Marc Zyngier
Hi Dietmar, On 08/01/2019 13:58, Dietmar Eggemann wrote: > Arm TC2 (multi_v7_defconfig plus CONFIG_ARM_BIG_LITTLE_CPUFREQ=y and > CONFIG_ARM_VEXPRESS_SPC_CPUFREQ=y) fails hotplug stress tests. > > This issue was tracked down to a missing copy of the new affinity > cpumask of the vexpress-spc

Re: general protection fault in spk_ttyio_ldisc_close

2019-01-08 Thread Kyungtae Kim
On Tue, Jan 8, 2019 at 8:50 AM Greg KH wrote: > > On Tue, Jan 08, 2019 at 08:37:37AM -0500, Kyungtae Kim wrote: > > We report a bug in linux-4.20: "general protection fault in > > spk_ttyio_ldisc_close" > > > > kernel config: https://kt0755.github.io/etc/config_v4.20_stable > > repro:

Re: [PATCH] xfs: correct statx's result_mask value

2019-01-08 Thread Eric Sandeen
On 1/7/19 11:15 PM, Su Yanjun wrote: > > > On 1/8/2019 1:07 PM, Darrick J. Wong wrote: >> On Tue, Jan 08, 2019 at 12:58:43PM +0800, Su Yanjun >> wrote: >>> >>> On 1/8/2019 2:04 AM, Eric Sandeen wrote: On 1/7/19 11:52 AM, Darrick J. Wong wrote: > On Mon, Jan 07, 2019 at 04:53:10AM

Very urgent AREAS OF INVESTMENT

2019-01-08 Thread John Cavedo
Sir/madam,My name is John cavedo,I seek for investment plan in your country,we may be of value to each other.Get back to me for more details on below email(attorney.cav...@gmail.com)

[PATCH v8 02/26] arm64: Remove unused daif related functions/macros

2019-01-08 Thread Julien Thierry
There are some helpers to modify PSR.[DAIF] bits that are not referenced anywhere. The less these bits are available outside of local_irq_* functions the better. Get rid of those unused helpers. Signed-off-by: Julien Thierry Reviewed-by: Mark Rutland Acked-by: Catalin Marinas Cc: Catalin

[PATCH v8 03/26] arm64: cpufeature: Set SYSREG_GIC_CPUIF as a boot system feature

2019-01-08 Thread Julien Thierry
It is not supported to have some CPUs using GICv3 sysreg CPU interface while some others do not. Once ICC_SRE_EL1.SRE is set on a CPU, the bit cannot be cleared. Since matching this feature require setting ICC_SRE_EL1.SRE, it cannot be turned off if found on a CPU. Set the feature as

[PATCH v8 05/26] arm/arm64: gic-v3: Add PMR and RPR accessors

2019-01-08 Thread Julien Thierry
Add helper functions to access system registers related to interrupt priorities: PMR and RPR. Signed-off-by: Julien Thierry Reviewed-by: Mark Rutland Acked-by: Catalin Marinas Cc: Russell King Cc: Catalin Marinas Cc: Will Deacon Cc: Marc Zyngier --- arch/arm/include/asm/arch_gicv3.h |

[PATCH v8 08/26] arm64: Make PMR part of task context

2019-01-08 Thread Julien Thierry
In order to replace PSR.I interrupt disabling/enabling with ICC_PMR_EL1 interrupt masking, ICC_PMR_EL1 needs to be saved/restored when taking/returning from an exception. This mimics the way hardware saves and restores PSR.I bit in spsr_el1 for exceptions and ERET. Add PMR to the registers to

[PATCH v8 13/26] arm64: daifflags: Include PMR in daifflags restore operations

2019-01-08 Thread Julien Thierry
The addition of PMR should not bypass the semantics of daifflags. When DA_F are set, I bit is also set as no interrupts (even of higher priority) is allowed. When DA_F are cleared, I bit is cleared and interrupt enabling/disabling goes through ICC_PMR_EL1. Signed-off-by: Julien Thierry Cc:

[PATCH v8 14/26] arm64: alternative: Allow alternative status checking per cpufeature

2019-01-08 Thread Julien Thierry
In preparation for the application of alternatives at different points during the boot process, provide the possibility to check whether alternatives for a feature of interest was already applied instead of having a global boolean for all alternatives. Make VHE enablement code check for the VHE

Re: [PATCH] Raise the minimum required gcc version to 4.6

2019-01-08 Thread Geert Uytterhoeven
On Sat, Dec 29, 2018 at 3:25 PM Geert Uytterhoeven wrote: > On Fri, Aug 24, 2018 at 12:00 AM Joe Perches wrote: > > On Thu, 2018-08-23 at 23:52 +0200, Geert Uytterhoeven wrote: > > > Reverted locally (incl. the follow-up), applied Andrew's fix, detected new > > > warnings in v4.18+, and sent

<    6   7   8   9   10   11   12   13   14   15   >