Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-08 Thread Qian Cai
On Tue, 2019-10-08 at 15:42 +0200, Petr Mladek wrote: > On Tue 2019-10-08 09:23:52, Qian Cai wrote: > > On Tue, 2019-10-08 at 09:13 -0400, Steven Rostedt wrote: > > > On Tue, 8 Oct 2019 10:15:10 +0200 > > > Petr Mladek wrote: > > > > > > > There are basically three possibilities: > > > > > > > >

Re: [PATCH] device property: Fix the description of struct fwnode_operations

2019-10-08 Thread Andy Shevchenko
On Tue, Oct 08, 2019 at 04:26:06PM +0300, Heikki Krogerus wrote: > Adding description for the device_is_available member which > was missing, and fixing the description of the member > property_read_int_array. Reviewed-by: Andy Shevchenko > > Signed-off-by: Heikki Krogerus > --- > include/lin

Re: [PATCH v2 0/2] extcon: axp288: Move to swnodes

2019-10-08 Thread Heikki Krogerus
On Tue, Oct 08, 2019 at 03:59:23PM +0200, Hans de Goede wrote: > Hi, > > On 08-10-2019 14:25, Heikki Krogerus wrote: > > Hi Hans, > > > > Fixed the compiler warning in this version. No other changes. > > > > The original cover letter: > > > > That AXP288 extcon driver is the last that uses buil

Re: [PATCH] pidfd: show pids for nested pid namespaces in fdinfo

2019-10-08 Thread Michal Hocko
On Tue 08-10-19 15:52:59, Christian Brauner wrote: > On Tue, Oct 08, 2019 at 03:36:37PM +0200, Christian Kellner wrote: > > From: Christian Kellner > > > > The fdinfo file for a process file descriptor already contains the > > pid of the process in the callers namespaces. Additionally, if pid > >

Re: [PATCH v2 0/2] extcon: axp288: Move to swnodes

2019-10-08 Thread Hans de Goede
Hi, On 08-10-2019 14:25, Heikki Krogerus wrote: Hi Hans, Fixed the compiler warning in this version. No other changes. The original cover letter: That AXP288 extcon driver is the last that uses build-in connection description. I'm replacing it with a code that finds the role mux software node

[PATCH] iommu/rockchip: Don't loop until failure to count interrupts

2019-10-08 Thread Enric Balletbo i Serra
As platform_get_irq() now prints an error when the interrupt does not exist, counting interrupts by looping until failure causes the printing of scary messages like: rk_iommu ff924000.iommu: IRQ index 1 not found rk_iommu ff914000.iommu: IRQ index 1 not found rk_iommu ff903f00.iommu: IRQ index

Re: [PATCH v2] mfd: intel-lpss: use devm_ioremap_uc for MMIO

2019-10-08 Thread Andy Shevchenko
On Mon, Oct 07, 2019 at 12:42:31PM -0600, Tuowen Zhao wrote: > Some BIOS erroneously specifies write-combining BAR for intel-lpss-pci > in MTRR. This will cause the system to hang during boot. If possible, > this bug could be corrected with a firmware update. > > This patch adds devm_ioremap_uc as

Re: [PATCH] thermal-generic-adc: Silent error message for EPROBE_DEFER

2019-10-08 Thread Daniel Lezcano
On 08/10/2019 13:45, Jonathan Cameron wrote: > On Mon, 7 Oct 2019 10:07:22 -0700 > Hsin-Yi Wang wrote: > >> On Tue, Sep 10, 2019 at 12:59 AM Hsin-Yi Wang wrote: >>> >>> If devm_iio_channel_get() or devm_thermal_zone_of_sensor_register() >>> fail with EPROBE_DEFER, we shouldn't print an error mes

Re: [PATCH v2 for 5.4 3/4] media: hantro: Fix motion vectors usage condition

2019-10-08 Thread Jonas Karlman
On 2019-10-08 12:26, Tomasz Figa wrote: > On Tue, Oct 8, 2019 at 3:23 PM Jonas Karlman wrote: >> On 2019-10-08 05:29, Tomasz Figa wrote: >>> Hi Jonas, >>> >>> On Tue, Oct 8, 2019 at 3:33 AM Jonas Karlman wrote: On 2019-10-07 19:45, Ezequiel Garcia wrote: > From: Francois Buergisser

Re: [PATCH v2 for 5.4 2/4] media: hantro: Fix H264 max frmsize supported on RK3288

2019-10-08 Thread Tomasz Figa
On Tue, Oct 8, 2019 at 10:35 PM Tomasz Figa wrote: > > On Tue, Oct 8, 2019 at 7:42 PM Tomasz Figa wrote: > > > > On Tue, Oct 8, 2019 at 3:31 PM Jonas Karlman wrote: > > > > > > On 2019-10-08 07:27, Tomasz Figa wrote: > > > > Hi Ezequiel, Jonas, > > > > > > > > On Tue, Oct 8, 2019 at 2:46 AM Ezeq

Re: [PATCH 01/10] perf/core, x86: Add PERF_SAMPLE_LBR_TOS

2019-10-08 Thread Liang, Kan
On 10/8/2019 4:31 AM, Peter Zijlstra wrote: On Mon, Oct 07, 2019 at 10:59:01AM -0700, kan.li...@linux.intel.com wrote: diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 61448c19a132..ee9ef0c4cb08 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h

Re: [PATCH] pidfd: show pids for nested pid namespaces in fdinfo

2019-10-08 Thread Christian Brauner
On Tue, Oct 08, 2019 at 03:36:37PM +0200, Christian Kellner wrote: > From: Christian Kellner > > The fdinfo file for a process file descriptor already contains the > pid of the process in the callers namespaces. Additionally, if pid > namespaces are configured, show the process ids of the process

[PATCH] devfreq: exynos-bus: workaround dev_pm_opp_set_rate() errors on Exynos5422/5800 SoCs

2019-10-08 Thread k . konieczny
Commit 4294a779bd8d ("PM / devfreq: exynos-bus: Convert to use dev_pm_opp_set_rate()") introduced errors: exynos-bus: new bus device registered: soc:bus_wcore ( 84000 KHz ~ 40 KHz) exynos-bus: new bus device registered: soc:bus_noc ( 67000 KHz ~ 10 KHz) exynos-bus: new bus device registered

Re: Lay common foundation to make PVR/SGX work without hacks on OMAP34xx, OMAP36xx, AM335x and potentially OMAP4, OMAP5

2019-10-08 Thread Tony Lindgren
* Tero Kristo [191008 08:01]: > On 07/10/2019 22:24, H. Nikolaus Schaller wrote: > > Hi Tero, > > > > > Am 07.10.2019 um 21:18 schrieb Tero Kristo : > > > > > > On 07/10/2019 18:52, Tony Lindgren wrote: > > > > Hi, > > > > * H. Nikolaus Schaller [191005 16:59]: > > > > Please try with Tero's cu

Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-08 Thread Michal Hocko
On Tue 08-10-19 15:42:56, Petr Mladek wrote: [...] > I am not -mm maintainer so I could not guarantee that a patch > using printk_deferred() will get accepted. But it will have much > bigger chance than the original patch. I am not going to ack any such patch until it is clear what is the actual p

Re: [PATCH v1 2/2] mmc: sdhci-of-arasan: Add Support for Intel LGM SDXC

2019-10-08 Thread Adrian Hunter
On 3/10/19 7:00 AM, Ramuthevar,Vadivel MuruganX wrote: > From: Ramuthevar Vadivel Murugan > > The current arasan sdhci PHY configuration isn't compatible > with the PHY on Intel's LGM(Lightning Mountain) SoC devices. > > Therefore, add a new compatible, to adapt the Intel's LGM > SDXC PHY with a

Re: [PATCH 0/2] media: meson: vdec: Add compliant H264 support

2019-10-08 Thread Hans Verkuil
On 10/8/19 3:40 PM, Maxime Jourdan wrote: > On 07/10/2019 18:39, Hans Verkuil wrote: >> On 10/7/19 6:24 PM, Maxime Jourdan wrote: >>> On 07/10/2019 17:12, Hans Verkuil wrote: On 10/7/19 4:59 PM, Maxime Jourdan wrote: > Hello, > > This patch series aims to bring H.264 support as wel

Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-08 Thread Petr Mladek
On Tue 2019-10-08 09:23:52, Qian Cai wrote: > On Tue, 2019-10-08 at 09:13 -0400, Steven Rostedt wrote: > > On Tue, 8 Oct 2019 10:15:10 +0200 > > Petr Mladek wrote: > > > > > There are basically three possibilities: > > > > > > 1. Do crazy exercises with locks all around the kernel to > > >av

Re: [PATCH] reset: hi6220: Add support for AO reset controller

2019-10-08 Thread Philipp Zabel
Hi John, Peter, On Tue, 2019-10-01 at 18:21 +, John Stultz wrote: > From: Peter Griffin > > This is required to bring Mali450 gpu out of reset. Do you know whether this is actually a module reset going to the GPU, or if this is somehow part of the clock and power gating machinery? There's a

[PATCH -next] mm/z3fold: fix -Wunused-but-set-variable warnings

2019-10-08 Thread Qian Cai
The linux-next commit "mm/z3fold.c: add inter-page compaction" [1] introduced a few GCC compilation warnings. mm/z3fold.c: In function 'compact_single_buddy': mm/z3fold.c:693:16: warning: variable 'newpage' set but not used [-Wunused-but-set-variable] struct page *newpage; ^

Re: [PATCH 0/2] media: meson: vdec: Add compliant H264 support

2019-10-08 Thread Maxime Jourdan
On 07/10/2019 18:39, Hans Verkuil wrote: On 10/7/19 6:24 PM, Maxime Jourdan wrote: On 07/10/2019 17:12, Hans Verkuil wrote: On 10/7/19 4:59 PM, Maxime Jourdan wrote: Hello, This patch series aims to bring H.264 support as well as compliance update to the amlogic stateful video decoder driver.

Re: [PATCH 4.19 033/106] drm/amd/display: support spdif

2019-10-08 Thread Pavel Machek
Hi! > [ Upstream commit b5a41620bb88efb9fb31a4fa5e652e3d5bead7d4 ] > > [Description] > port spdif fix to staging: > spdif hardwired to afmt inst 1. > spdif func pointer > spdif resource allocation (reserve last audio endpoint for spdif only) I'm sorry, but I don't understand this changelog. C

[PATCH] pidfd: show pids for nested pid namespaces in fdinfo

2019-10-08 Thread Christian Kellner
From: Christian Kellner The fdinfo file for a process file descriptor already contains the pid of the process in the callers namespaces. Additionally, if pid namespaces are configured, show the process ids of the process in all nested namespaces in the same format as in the procfs status file, i.

Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-08 Thread Michal Hocko
On Tue 08-10-19 09:06:29, Qian Cai wrote: > On Tue, 2019-10-08 at 14:39 +0200, Michal Hocko wrote: > > On Tue 08-10-19 08:00:43, Qian Cai wrote: > > > > > > > > > > On Oct 8, 2019, at 6:39 AM, Michal Hocko wrote: > > > > > > > > Have you actually triggered any real deadlock? With a zone->lock i

Hello

2019-10-08 Thread Shayma
Hallo liebe Hoffnung, Sie haben meine Nachricht erhalten, bitte Ich brauche eine sofortige Antwort danke michelle

Re: [PATCH v2 for 5.4 2/4] media: hantro: Fix H264 max frmsize supported on RK3288

2019-10-08 Thread Tomasz Figa
On Tue, Oct 8, 2019 at 7:42 PM Tomasz Figa wrote: > > On Tue, Oct 8, 2019 at 3:31 PM Jonas Karlman wrote: > > > > On 2019-10-08 07:27, Tomasz Figa wrote: > > > Hi Ezequiel, Jonas, > > > > > > On Tue, Oct 8, 2019 at 2:46 AM Ezequiel Garcia > > > wrote: > > >> From: Jonas Karlman > > >> > > >> T

Re: [PATCH v22 07/24] x86/sgx: Add wrappers for ENCLS leaf functions

2019-10-08 Thread Sean Christopherson
On Tue, Oct 08, 2019 at 09:18:45AM +0200, Borislav Petkov wrote: > On Mon, Oct 07, 2019 at 09:04:05PM -0700, Sean Christopherson wrote: > > > BIT(30) > > > > This is intentionally open coded so that it can be stringified in asm. > > It stringifies just fine with the BIT() macro too: > > # 187 "a

Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-08 Thread Steven Rostedt
On Tue, 08 Oct 2019 09:23:52 -0400 Qian Cai wrote: > I feel like that is what I trying to do, but there seems a lot of resistances > with that approach where pragmatism met with perfectionism. It's the way it came across. It sounded as if you were proposing "the solution". I'm coming out and exp

Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-08 Thread Qian Cai
On Tue, 2019-10-08 at 15:08 +0200, Petr Mladek wrote: > On Mon 2019-10-07 10:59:10, Qian Cai wrote: > > It is almost impossible to eliminate all the indirect call chains from > > console_sem/console_owner_lock to zone->lock because it is too normal that > > something later needs to allocate some me

Re: [PATCH v22 09/24] x86/sgx: Add functions to allocate and free EPC pages

2019-10-08 Thread Sean Christopherson
On Tue, Oct 08, 2019 at 11:09:31AM +0200, Borislav Petkov wrote: > On Mon, Oct 07, 2019 at 07:50:11AM -0700, Sean Christopherson wrote: > > The caller is responsible for ensuring EREMOVE can be safely executed, > > e.g. by holding the enclave's lock. > > lockdep_assert_held() here maybe? There ar

Re: [PATCH v4 3/4] vfio: zpci: defining the VFIO headers

2019-10-08 Thread Cornelia Huck
On Fri, 20 Sep 2019 11:14:28 -0400 Matthew Rosato wrote: > On 9/20/19 10:02 AM, Cornelia Huck wrote: > > On Thu, 19 Sep 2019 16:55:57 -0400 > > Matthew Rosato wrote: > > > >> On 9/19/19 11:20 AM, Cornelia Huck wrote: > >>> On Fri, 6 Sep 2019 20:13:50 -0400 > >>> Matthew Rosato wrote: > >>

Re: [PATCH] staging: fieldbus: make use of devm_platform_ioremap_resource

2019-10-08 Thread Sven Van Asbroeck
On Tue, Oct 8, 2019 at 2:11 AM hariprasad Kelam wrote: > > From: Hariprasad Kelam > > fix below issues reported by coccicheck > drivers/staging//fieldbus/anybuss/arcx-anybus.c:135:1-5: WARNING: Use > devm_platform_ioremap_resource for base > drivers/staging//fieldbus/anybuss/arcx-anybus.c:248:1-1

[PATCH] device property: Fix the description of struct fwnode_operations

2019-10-08 Thread Heikki Krogerus
Adding description for the device_is_available member which was missing, and fixing the description of the member property_read_int_array. Signed-off-by: Heikki Krogerus --- include/linux/fwnode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/fwnode.h b/

Re: [PATCH] regulator: core: Skip balancing of the enabled regulators in regulator_enable()

2019-10-08 Thread Bartlomiej Zolnierkiewicz
On 10/8/19 2:47 PM, Mark Brown wrote: > On Tue, Oct 08, 2019 at 02:38:55PM +0200, Marek Szyprowski wrote: > >> Then if I get it right, the issue is caused by the commit 7f93ff73f7c8 >> ("opp: core: add regulators enable and disable"). I've checked and >> indeed reverting it fixes Peach Pi to b

Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-08 Thread Qian Cai
On Tue, 2019-10-08 at 09:13 -0400, Steven Rostedt wrote: > On Tue, 8 Oct 2019 10:15:10 +0200 > Petr Mladek wrote: > > > There are basically three possibilities: > > > > 1. Do crazy exercises with locks all around the kernel to > >avoid the deadlocks. It is usually not worth it. And > >it

Re: [PATCH] staging: vchiq: don't leak kernel address

2019-10-08 Thread Dan Carpenter
The subject doesn't match the patch. It should just be "remove useless printk". regards, dan carpenter

[PATCH RFC] kconfig: add hvconfig for Linux on Hyper-V

2019-10-08 Thread Wei Liu
From: Wei Liu Add an config file snippet which enalbes additional options useful for running the kernel in a Hyper-V guest. The expected use case is a user provides an existing config file then executes `make hvconfig`. It will merge those options with the provided config file. Based on similar

Re: [PATCH] Convert filldir[64]() from __put_user() to unsafe_put_user()

2019-10-08 Thread Greg KH
On Tue, Oct 08, 2019 at 05:57:12AM +0100, Al Viro wrote: > > OK... BTW, do you agree that the use of access_ok() in > drivers/tty/n_hdlc.c:n_hdlc_tty_read() is wrong? It's used as an early > cutoff, so we don't bother waiting if user has passed an obviously bogus > address. copy_to_user()

Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-08 Thread Steven Rostedt
On Tue, 8 Oct 2019 10:15:10 +0200 Petr Mladek wrote: > There are basically three possibilities: > > 1. Do crazy exercises with locks all around the kernel to >avoid the deadlocks. It is usually not worth it. And >it is a "whack a mole" approach. > > 2. Use printk_deferred() in problemat

Re: [PATCH] rcu: Avoid to modify mask_ofl_ipi in sync_rcu_exp_select_node_cpus()

2019-10-08 Thread Paul E. McKenney
On Tue, Oct 08, 2019 at 01:01:40PM +0800, Boqun Feng wrote: > "mask_ofl_ipi" is used for iterate CPUs which IPIs are needed to send > to, however in the IPI sending loop, "mask_ofl_ipi" along with another > variable "mask_ofl_test" might also get modified to record which CPU's > quiesent state can

Re: [PATCH v2 3/4] module: Properly propagate MODULE_STATE_COMING failure

2019-10-08 Thread Miroslav Benes
On Mon, 7 Oct 2019, Peter Zijlstra wrote: > Now that notifiers got unbroken; use the proper interface to handle > notifier errors and propagate them. > > There were already MODULE_STATE_COMING notifiers that failed; notably: > > - jump_label_module_notifier() > - tracepoint_module_notify() >

Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-08 Thread Petr Mladek
On Mon 2019-10-07 10:59:10, Qian Cai wrote: > It is almost impossible to eliminate all the indirect call chains from > console_sem/console_owner_lock to zone->lock because it is too normal that > something later needs to allocate some memory dynamically, so as long as it > directly call printk() wi

Re: [PATCH v2 2/3] pinctrl: meson-a1: add pinctrl driver for Meson A1 Soc

2019-10-08 Thread Neil Armstrong
Hi, On 08/10/2019 13:09, Qianggui Song wrote: > Add pinctrl driver for Meson A1 Soc which share the same register layout of > pinmux with previous Meson-G12A, however there is difference for gpio > and pin config register in A1.The main difference is that registers before A1 > are grouped by funct

Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-08 Thread Qian Cai
On Tue, 2019-10-08 at 14:39 +0200, Michal Hocko wrote: > On Tue 08-10-19 08:00:43, Qian Cai wrote: > > > > > > > On Oct 8, 2019, at 6:39 AM, Michal Hocko wrote: > > > > > > Have you actually triggered any real deadlock? With a zone->lock in > > > place it would be pretty clear with hard lockups

Maybe a bug in kernel/irq/chip.c unmask_irq(), device IRQ masked unexpectedly. (re-formated the mail body, sorry)

2019-10-08 Thread Yi Zheng
Hi, I found something wrong on my AM3352 SoC machine, the GPIO triggered IRQ is masked unexpectedly. That bug cause the devices using that GPIO-IRQ can not work. Even the latest kernel version (v5.4-rc2-20-geda57a0e4299)! After a long time hacking, I guess the bug is in kerne

Re: [PATCH v2] platform/x86: peaq-wmi: switch to using polled mode of input devices

2019-10-08 Thread Hans de Goede
Hi, On 01-10-2019 20:58, Dmitry Torokhov wrote: We have added polled mode to the normal input devices with the intent of retiring input_polled_dev. This converts peaq-wmi driver to use the polling mode of standard input devices and removes dependency on INPUT_POLLDEV. Because the new polling co

Re: [PATCH v3 04/10] sched/fair: rework load_balance

2019-10-08 Thread Peter Zijlstra
On Wed, Oct 02, 2019 at 11:21:20AM +0200, Dietmar Eggemann wrote: > I thought we should always order local variable declarations from > longest to shortest line but can't find this rule in coding-style.rst > either. You're right though, that is generally encouraged. From last years (2018) KS ther

[PATCH] binder: prevent UAF read in print_binder_transaction_log_entry()

2019-10-08 Thread Christian Brauner
When a binder transaction is initiated on a binder device coming from a binderfs instance, a pointer to the name of the binder device is stashed in the binder_transaction_log_entry's context_name member. Later on it is used to print the name in print_binder_transaction_log_entry(). By the time prin

Re: [PATCH 1/2] Drivers: hv: vmbus: Introduce table of VMBus protocol versions

2019-10-08 Thread Vitaly Kuznetsov
Andrea Parri writes: >> > @@ -244,21 +234,18 @@ int vmbus_connect(void) >> > * version. >> > */ >> > >> > - version = VERSION_CURRENT; >> > + for (i = 0; ; i++) { >> > + version = vmbus_versions[i]; >> > + if (version == VERSION_INVAL) >> > + goto cl

Re: [PATCH] checkpatch: use patch subject when reading from stdin

2019-10-08 Thread Geert Uytterhoeven
Hi Joe, On Tue, Oct 8, 2019 at 2:50 PM Joe Perches wrote: > On Tue, 2019-10-08 at 11:40 +0200, Geert Uytterhoeven wrote: > > When reading a patch file from standard input, checkpatch calls it "Your > > patch", and reports its state as: > > > > Your patch has style problems, please review. > >

RE: [PATCH v10 3/3] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-10-08 Thread Justin He (Arm Technology China)
Hi Will > -Original Message- > From: Will Deacon > Sent: 2019年10月8日 20:40 > To: Justin He (Arm Technology China) > Cc: Catalin Marinas ; Mark Rutland > ; James Morse ; Marc > Zyngier ; Matthew Wilcox ; Kirill A. > Shutemov ; linux-arm- > ker...@lists.infradead.org; linux-kernel@vger.kern

Re: ptrace/strace and freezer oddities and v5.2+ kernels

2019-10-08 Thread Bruce Ashfield
On Tue, Oct 8, 2019 at 8:36 AM Oleg Nesterov wrote: > > On 10/08, Bruce Ashfield wrote: > > > > So I've been looking through the config delta's and late last night, I was > > able to move the runtime back to a failed 4 minute state by adding the > > CONFIG_PREEMPT settings that we have by default

Re: [PATCH] usb:cdns3: Fix for CV CH9 running with g_zero driver.

2019-10-08 Thread Felipe Balbi
Hi, Peter Chen writes: > On 19-10-07 07:39:11, Pawel Laszczak wrote: >> Patch fixes issue with Halt Endnpoint Test observed > > %s/Endnpoint/Endpoint > >> >> during using g_zero >> driver as DUT. Bug occurred only on some testing board. > > g_zero is legacy, please use configfs function source_s

[PATCH v2] PCI/MSI: Enable PCI_MSI_IRQ_DOMAIN support for Microblaze

2019-10-08 Thread Michal Simek
From: Kuldeep Dave Add Microblaze as an arch that supports PCI_MSI_IRQ_DOMAIN and add generation of msi.h in the Microblaze arch. The same change has been done by commit 251a44888183 ("riscv: include generic support for MSI irqdomains") and by commit 2a9af0273c1c ("PCI/MSI: Enable PCI_MSI_IRQ_DO

Re: [PATCH v2] arm64: dts: marvell: add ESPRESSObin variants

2019-10-08 Thread Gregory CLEMENT
> Hi Tomasz Maciej Nowak, > >> This commit adds dts for different variants of ESPRESSObin board: >> >> ESPRESSObin with soldered eMMC, >> >> ESPRESSObin V7, compared to prior versions some passive elements changed >> and ethernet ports labels positions have been reversed, >> >> ESPRESSObin V7 with

Re: [PATCH v6 00/10] s390: vfio-ap: dynamic configuration support

2019-10-08 Thread Pierre Morel
On 10/8/19 12:48 PM, Halil Pasic wrote: On Fri, 13 Sep 2019 17:26:48 -0400 Tony Krowiak wrote: The current design for AP pass-through does not support making dynamic changes to the AP matrix of a running guest resulting in three deficiencies this patch series is intended to mitigate: 1. Ada

Re: mount on tmpfs failing to parse context option

2019-10-08 Thread Karel Zak
On Tue, Oct 08, 2019 at 08:38:18PM +0800, Ian Kent wrote: > > That's because the options in shmem_parse_options() are > > "size=4G,nr_inodes=0", which indeed looks like an attempt to > > retroactively limit size; but the user never asked "size=4G" there. > > I believe that's mount(8) doing that. >

Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-08 Thread Christian Borntraeger
Adding Peter Oberparleiter. Peter, can you have a look? On 08.10.19 10:27, Michal Hocko wrote: > On Tue 08-10-19 09:43:57, Petr Mladek wrote: >> On Mon 2019-10-07 16:49:37, Michal Hocko wrote: >>> [Cc s390 maintainers - the lockdep is >>> http://lkml.kernel.org/r/1570228005-24979-1-git-send-email

Re: [PATCH v2] arm64: dts: marvell: add ESPRESSObin variants

2019-10-08 Thread Gregory CLEMENT
Hi Tomasz Maciej Nowak, > This commit adds dts for different variants of ESPRESSObin board: > > ESPRESSObin with soldered eMMC, > > ESPRESSObin V7, compared to prior versions some passive elements changed > and ethernet ports labels positions have been reversed, > > ESPRESSObin V7 with soldered eM

Re: [PATCH] PCI/MSI: Enable PCI_MSI_IRQ_DOMAIN support for Microblaze

2019-10-08 Thread Michal Simek
On 08. 10. 19 14:47, Bjorn Helgaas wrote: > On Tue, Oct 08, 2019 at 12:39:22PM +0200, Michal Simek wrote: >> From: Kuldeep Dave >> >> Add Microblaze as an arch that supports PCI_MSI_IRQ_DOMAIN. >> Enabling msi.h generation is done by separate patch. >> >> Similar change was done by commit 2a9af027

Re: mount on tmpfs failing to parse context option

2019-10-08 Thread Ian Kent
On Tue, 2019-10-08 at 20:38 +0800, Ian Kent wrote: > On Mon, 2019-10-07 at 17:50 -0700, Hugh Dickins wrote: > > On Mon, 7 Oct 2019, Laura Abbott wrote: > > > On 9/30/19 12:07 PM, Laura Abbott wrote: > > > > Hi, > > > > > > > > Fedora got a bug report > > https://bugzilla.redhat.com/show_bug.cgi?i

Re: [PATCH 1/3] regulator: core: fix boot-on regulators use_count usage

2019-10-08 Thread Mark Brown
On Tue, Oct 08, 2019 at 08:03:11AM +0200, Marco Felsch wrote: > On 19-10-07 19:29, Mark Brown wrote: > > On Mon, Oct 07, 2019 at 11:34:29AM +0200, Marco Felsch wrote: > > > Sorry that won't fix my problem. If I drop the regulator-boot-on state > > > the fixed-regulator will disable this regulator

Re: [PATCH 4.19 001/106] tpm: use tpm_try_get_ops() in tpm-sysfs.c.

2019-10-08 Thread Pavel Machek
On Sun 2019-10-06 19:20:07, Greg Kroah-Hartman wrote: > From: Jarkko Sakkinen > > commit 2677ca98ae377517930c183248221f69f771c921 upstream > > Use tpm_try_get_ops() in tpm-sysfs.c so that we can consider moving > other decorations (locking, localities, power management for example) > inside it.

Re: [PATCH] checkpatch: use patch subject when reading from stdin

2019-10-08 Thread Joe Perches
On Tue, 2019-10-08 at 11:40 +0200, Geert Uytterhoeven wrote: > When reading a patch file from standard input, checkpatch calls it "Your > patch", and reports its state as: > > Your patch has style problems, please review. > > or: > > Your patch has no obvious style problems and is ready

Re: ehci-pci breakage with dma-mapping changes in 5.4-rc2

2019-10-08 Thread Christoph Hellwig
On Tue, Oct 08, 2019 at 07:51:03AM -0400, Arvind Sankar wrote: > What I mean is, do there exist devices (which would necessarily support > 64-bit DMA) that want to DMA using bigger than 4Gb buffers. Eg a GPU > accelerator card with 16Gb of RAM on-board that wants to map 6Gb for DMA > in one go, or

Maybe a bug in kernel/irq/chip.c unmask_irq(), device irq is masked unexpectedly.

2019-10-08 Thread Yi Zheng
Hi, I found something wrong on my AM3352 SoC machine, the GPIO triggered IRQ is masked unexpectedly. That bug cause the devices using that GPIO-IRQ can not work. Even the latest kernel version (v5.4-rc2-20-geda57a0e4299)! After a long time hacking, I guess the bug is in kerne

Re: [PATCH] regulator: core: Skip balancing of the enabled regulators in regulator_enable()

2019-10-08 Thread Mark Brown
On Tue, Oct 08, 2019 at 02:38:55PM +0200, Marek Szyprowski wrote: > Then if I get it right, the issue is caused by the commit 7f93ff73f7c8 > ("opp: core: add regulators enable and disable"). I've checked and > indeed reverting it fixes Peach Pi to boot properly. The question is if > this is des

Re: [PATCH] PCI/MSI: Enable PCI_MSI_IRQ_DOMAIN support for Microblaze

2019-10-08 Thread Bjorn Helgaas
On Tue, Oct 08, 2019 at 12:39:22PM +0200, Michal Simek wrote: > From: Kuldeep Dave > > Add Microblaze as an arch that supports PCI_MSI_IRQ_DOMAIN. > Enabling msi.h generation is done by separate patch. > > Similar change was done by commit 2a9af0273c1c > ("PCI/MSI: Enable PCI_MSI_IRQ_DOMAIN supp

Re: linux-next: build failure after merge of the staging tree

2019-10-08 Thread Greg KH
On Tue, Oct 08, 2019 at 01:49:07PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the staging tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > In file included from include/linux/byteorder/big_endian.h:5, > from arch/powerpc/include/uapi/a

Re: [PATCH 1/2] dt-bindings: clock: Add AST2600 RMII RCLK gate definitions

2019-10-08 Thread Joel Stanley
On Tue, 8 Oct 2019 at 11:34, Andrew Jeffery wrote: > > The AST2600 has an explicit gate for the RMII RCLK for each of the four > MACs. > > Signed-off-by: Andrew Jeffery > --- > include/dt-bindings/clock/ast2600-clock.h | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/include/dt-bind

Re: [PATCH 1/2] Drivers: hv: vmbus: Introduce table of VMBus protocol versions

2019-10-08 Thread Andrea Parri
> IIUC, you're suggesting that I do: > > for (i = 0; i < ARRAY_SIZE(vmbus_versions); i++) { > version = vmbus_versions[i]; > > ret = vmbus_negotiate_version(msginfo, version); > if (ret == -ETIMEDOUT) > goto cleanup; > >

Re: [PATCH 3/3] net: ftgmac100: Ungate RCLK for RMII on ASPEED MACs

2019-10-08 Thread Joel Stanley
On Tue, 8 Oct 2019 at 11:50, Andrew Jeffery wrote: > > The 50MHz RCLK has to be enabled before the RMII interface will function. > > Signed-off-by: Andrew Jeffery > --- > drivers/net/ethernet/faraday/ftgmac100.c | 35 +++- > 1 file changed, 28 insertions(+), 7 deletions(-) >

Re: [PATCH 1/2] Drivers: hv: vmbus: Introduce table of VMBus protocol versions

2019-10-08 Thread Andrea Parri
On Mon, Oct 07, 2019 at 05:25:18PM +, Dexuan Cui wrote: > > From: linux-hyperv-ow...@vger.kernel.org > > On Behalf Of Andrea Parri > > Sent: Monday, October 7, 2019 9:31 AM > > > > +/* > > + * Table of VMBus versions listed from newest to oldest; the table > > + * must terminate with VERS

Re: [PATCH 2/3] dt-bindings: net: ftgmac100: Describe clock properties

2019-10-08 Thread Joel Stanley
On Tue, 8 Oct 2019 at 11:50, Andrew Jeffery wrote: > > Critically, the AST2600 requires ungating the RMII RCLK if e.g. NCSI is > in use. > > Signed-off-by: Andrew Jeffery > --- > Documentation/devicetree/bindings/net/ftgmac100.txt | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/Do

Re: [PATCH 1/2] Drivers: hv: vmbus: Introduce table of VMBus protocol versions

2019-10-08 Thread Andrea Parri
> > @@ -244,21 +234,18 @@ int vmbus_connect(void) > > * version. > > */ > > > > - version = VERSION_CURRENT; > > + for (i = 0; ; i++) { > > + version = vmbus_versions[i]; > > + if (version == VERSION_INVAL) > > + goto cleanup; > > If you use e.

Re: [PATCH 1/3] dt-bindings: net: ftgmac100: Document AST2600 compatible

2019-10-08 Thread Joel Stanley
On Tue, 8 Oct 2019 at 11:50, Andrew Jeffery wrote: > > The AST2600 contains an FTGMAC100-compatible MAC, although it no-longer > contains an MDIO controller. > > Signed-off-by: Andrew Jeffery Acked-by: Joel Stanley > --- > Documentation/devicetree/bindings/net/ftgmac100.txt | 1 + > 1 file ch

Re: [PATCH 2/2] clk: ast2600: Add RMII RCLK gates for all four MACs

2019-10-08 Thread Joel Stanley
On Tue, 8 Oct 2019 at 11:35, Andrew Jeffery wrote: > > RCLK is a fixed 50MHz clock derived from HPLL/HCLK that is described by a > single gate for each MAC. > > Signed-off-by: Andrew Jeffery We could have mac12rclk and mac34rclk described in the device tree, as was mentioned in previous reviews

Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

2019-10-08 Thread Michal Hocko
On Tue 08-10-19 08:00:43, Qian Cai wrote: > > > > On Oct 8, 2019, at 6:39 AM, Michal Hocko wrote: > > > > Have you actually triggered any real deadlock? With a zone->lock in > > place it would be pretty clear with hard lockups detected. > > Yes, I did trigger here and there, and those lockdep

Re: [PATCH v10 3/3] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-10-08 Thread Will Deacon
On Tue, Oct 08, 2019 at 02:19:05AM +, Justin He (Arm Technology China) wrote: > > -Original Message- > > From: Will Deacon > > Sent: 2019年10月1日 20:54 > > To: Justin He (Arm Technology China) > > Cc: Catalin Marinas ; Mark Rutland > > ; James Morse ; Marc > > Zyngier ; Matthew Wilcox

Re: [PATCH] regulator: core: Skip balancing of the enabled regulators in regulator_enable()

2019-10-08 Thread Marek Szyprowski
Hi Mark, On 08.10.2019 14:06, Mark Brown wrote: > On Tue, Oct 08, 2019 at 02:01:15PM +0200, Marek Szyprowski wrote: >> On 08.10.2019 13:50, Mark Brown wrote: >>> This then means that for users that might legitimately enable and >>> disable regulators that need to be constrained are forced to chang

Re: [PATCH] staging: media: sunxi: make use of devm_platform_ioremap_resource

2019-10-08 Thread Greg Kroah-Hartman
On Tue, Oct 08, 2019 at 12:29:34PM +0530, haripra...@osuosl.org wrote: > From: Hariprasad Kelam > > fix below issue reported by coccicheck > drivers/staging//media/sunxi/cedrus/cedrus_hw.c:229:1-10: WARNING: Use > devm_platform_ioremap_resource for dev -> base > > Signed-off-by: Hariprasad Kelam

Re: [PATCH] rtl8723bs: core: Remove code valid only for 5GHZ

2019-10-08 Thread Greg Kroah-Hartman
On Sun, Sep 29, 2019 at 07:24:57PM +0530, haripra...@osuosl.org wrote: > From: Hariprasad Kelam > > As per TODO ,remove code valid only for 5 GHz(channel > 14). > > Signed-off-by: Hariprasad Kelam > --- > drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 19 ++- > 1 file changed

Re: mount on tmpfs failing to parse context option

2019-10-08 Thread Ian Kent
On Mon, 2019-10-07 at 17:50 -0700, Hugh Dickins wrote: > On Mon, 7 Oct 2019, Laura Abbott wrote: > > On 9/30/19 12:07 PM, Laura Abbott wrote: > > > Hi, > > > > > > Fedora got a bug report > https://bugzilla.redhat.com/show_bug.cgi?id=1757104 > > > of a failure to parse options with the context mo

Re: [PATCH 1/2] dt-bindings: clock: Add AST2500 RMII RCLK definitions

2019-10-08 Thread Joel Stanley
On Tue, 8 Oct 2019 at 11:34, Andrew Jeffery wrote: > > The AST2500 has an explicit gate for the RMII RCLK for each of the two > MACs. > > Signed-off-by: Andrew Jeffery > --- > include/dt-bindings/clock/aspeed-clock.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/dt-bindings/

[PATCH v4 2/2] perf: add support for logging debug messages to file

2019-10-08 Thread Changbin Du
When in TUI mode, it is impossible to show all the debug messages to console. This make it hard to debug perf issues using debug messages. This patch adds support for logging debug messages to file to resolve this problem. The usage is: perf -debug verbose=2,file=~/perf.log COMMAND Signed-off-by:

[PATCH v4 1/2] perf: support multiple debug options separated by ','

2019-10-08 Thread Changbin Du
This patch adds support for multiple debug options separated by ',' and non-int values. --debug verbose=2,stderr Signed-off-by: Changbin Du --- tools/perf/Documentation/perf.txt | 10 ++-- tools/perf/util/debug.c | 86 --- 2 files changed, 50 inserti

Re: ptrace/strace and freezer oddities and v5.2+ kernels

2019-10-08 Thread Oleg Nesterov
On 10/08, Bruce Ashfield wrote: > > So I've been looking through the config delta's and late last night, I was > able to move the runtime back to a failed 4 minute state by adding the > CONFIG_PREEMPT settings that we have by default in our reference > kernel. Aha... Can you try the patch below?

[PATCH v4 0/2] perf: add support for logging debug messages to file

2019-10-08 Thread Changbin Du
When in TUI mode, it is impossible to show all the debug messages to console. This make it hard to debug perf issues using debug messages. This patch adds support for logging debug messages to file to resolve this problem. v4: o fix another segfault. v3: o fix a segfault issue. v2: o specifi

[PATCH 2/2] mmc: sdhci-of-at91: add DT property to enable calibration on full reset

2019-10-08 Thread Nicolas Ferre
Add a property to keep the analog calibration cell powered. This feature is specific to the Microchip SDHCI IP and outside of the standard SDHCI register map. By always keeping it on, after a full reset sequence, we make sure that this feature is activated and not disabled. We expose a hardware p

[PATCH 1/2] dt-bindings: sdhci-of-at91: add the microchip,sdcal-inverted property

2019-10-08 Thread Nicolas Ferre
Add the specific microchip,sdcal-inverted property to at91 sdhci device binding. This optional property describes how the SoC SDCAL pin is connected. It could be handled at SiP, SoM or board level. This property read by at91 sdhci driver will allow to put in place a software workaround that would

dma coherent memory user-space maps

2019-10-08 Thread VMware
Hi, Christoph, Following our previous discussion I wonder if something along the lines of the following could work / be acceptible typedef unsigned long dma_pfn_t /* Opaque pfn type. Arch dependent. This could if needed be a struct with a pointer and an offset */ /* Similar to vmf_insert_mi

[PATCH] staging: vchiq: don't leak kernel address

2019-10-08 Thread Matteo Croce
Since commit ad67b74d2469d9b8 ("printk: hash addresses printed with %p"), an obfuscated kernel pointer is printed at boot: vchiq: vchiq_init_state: slot_zero = (ptrval) Remove the the print completely, as it's useless without the address. Signed-off-by: Matteo Croce --- drivers/sta

Re: [PATCH v3 0/2] perf: add support for logging debug messages to file

2019-10-08 Thread Changbin Du
On Mon, Oct 07, 2019 at 01:26:24PM +0200, Jiri Olsa wrote: > On Fri, Oct 04, 2019 at 10:39:52AM +0800, Changbin Du wrote: > > When in TUI mode, it is impossible to show all the debug messages to > > console. This make it hard to debug perf issues using debug messages. > > This patch adds support fo

Re: [PATCH v3] perf tools: avoid sample_reg_masks being const + weak

2019-10-08 Thread Jiri Olsa
On Mon, Sep 30, 2019 at 05:36:23PM -0700, Ian Rogers wrote: > Being const + weak breaks with some compilers that constant-propagate > from the weak symbol. This behavior is outside of the specification, but > in LLVM is chosen to match GCC's behavior. > > LLVM's implementation was set in this patc

Re: [PATCH 1/2] dt-bindings: iio: light: Add binding for ADUX1020

2019-10-08 Thread Jonathan Cameron
On Mon, 7 Oct 2019 13:21:50 + "Ardelean, Alexandru" wrote: > On Mon, 2019-10-07 at 18:10 +0530, Manivannan Sadhasivam wrote: > > [External] > > > > Hi Ardelean, > > > > On 7 October 2019 3:51:16 PM IST, "Ardelean, Alexandru" < > > alexandru.ardel...@analog.com> wrote: > > > On Mon, 2019-

Re: [PATCH v2 2/2] iio: light: Add support for ADUX1020 sensor

2019-10-08 Thread Jonathan Cameron
On Mon, 7 Oct 2019 21:09:17 +0530 Manivannan Sadhasivam wrote: > Add initial support for Analog Devices ADUX1020 Photometric sensor. > Only proximity mode has been enabled for now. > > Signed-off-by: Manivannan Sadhasivam Hi Manivannan, Various minor comments inline. Thanks, Jonathan > ---

Re: [PATCH v8 6/6] PCI: Fix bug resulting in double hpmemsize being assigned to MMIO window

2019-10-08 Thread mika.westerb...@linux.intel.com
On Fri, Jul 26, 2019 at 12:55:03PM +, Nicholas Johnson wrote: > Background > == I don't think the above are needed. > Currently, the kernel can sometimes assign the MMIO_PREF window > additional size into the MMIO window,

[PATCH v2 0/2] extcon: axp288: Move to swnodes

2019-10-08 Thread Heikki Krogerus
Hi Hans, Fixed the compiler warning in this version. No other changes. The original cover letter: That AXP288 extcon driver is the last that uses build-in connection description. I'm replacing it with a code that finds the role mux software node instead. I'm proposing also here a little helper

[PATCH v2 2/2] extcon: axp288: Remove the build-in connection description

2019-10-08 Thread Heikki Krogerus
Getting handle to the USB role switch by first finding its software fwnode. Signed-off-by: Heikki Krogerus --- drivers/extcon/extcon-axp288.c | 38 -- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/drivers/extcon/extcon-axp288.c b/drivers/extcon/e

[PATCH v2 1/2] usb: roles: Add usb_role_switch_find_by_fwnode()

2019-10-08 Thread Heikki Krogerus
Simple wrapper function that searches USB role switches with class_find_device_by_fwnode(). Signed-off-by: Heikki Krogerus --- drivers/usb/roles/class.c | 21 + include/linux/usb/role.h | 3 +++ 2 files changed, 24 insertions(+) diff --git a/drivers/usb/roles/class.c b/dri

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