Re: [PATCH] perf trace: Fix segmentation fault when access syscall info

2019-08-09 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 09, 2019 at 06:47:52PM +0800, Leo Yan escreveu: > 'perf trace' reports the segmentation fault as below on Arm64: > > # perf trace -e string -e augmented_raw_syscalls.c > LLVM: dumping tools/perf/examples/bpf/augmented_raw_syscalls.o > perf: Segmentation fault > Obtained 12

Re: [PATCH v8 19/21] soc/tegra: pmc: Configure deep sleep control settings

2019-08-09 Thread Dmitry Osipenko
09.08.2019 2:46, Sowjanya Komatineni пишет: > Tegra210 and prior Tegra chips have deep sleep entry and wakeup related > timings which are platform specific that should be configured before > entering into deep sleep. > > Below are the timing specific configurations for deep sleep entry and >

Re: [PATCH] fix odd_ptr_err.cocci warnings

2019-08-09 Thread Julia Lawall
On Fri, 9 Aug 2019, Peter Ujfalusi wrote: > > > On 09/08/2019 15.31, Mark Brown wrote: > > On Fri, Aug 09, 2019 at 12:30:46PM +0200, Julia Lawall wrote: > > > >> tree: https://github.com/omap-audio/linux-audio peter/ti-linux-4.19.y/wip > >> head: 62c9c1442c8f61ca93e62e1a9d8318be0abd9d9a >

Re: [PATCH] Add optional chip erase functionality to AT25 EEPROM driver.

2019-08-09 Thread Joe Burmeister
Hi Greg, On 09/08/2019 14:00, Greg Kroah-Hartman wrote: On Fri, Aug 09, 2019 at 01:53:55PM +0100, Joe Burmeister wrote: +static void _eeprom_at25_store_erase_locked(struct at25_data *at25) +{ + unsigned long timeout, retries; + int sr, status; +

Re: [PATCH v2 02/24] EDAC, ghes: Fix grain calculation

2019-08-09 Thread Borislav Petkov
On Mon, Jun 24, 2019 at 03:08:57PM +, Robert Richter wrote: > The conversion from the physical address mask to a grain (defined as > granularity in bytes) is broken: > > e->grain = ~(mem_err->physical_addr_mask & ~PAGE_MASK); > > E.g., a physical address mask of ~0xfff should give a

Re: [PATCH] fix odd_ptr_err.cocci warnings

2019-08-09 Thread Peter Ujfalusi
On 09/08/2019 15.31, Mark Brown wrote: > On Fri, Aug 09, 2019 at 12:30:46PM +0200, Julia Lawall wrote: > >> tree: https://github.com/omap-audio/linux-audio peter/ti-linux-4.19.y/wip >> head: 62c9c1442c8f61ca93e62e1a9d8318be0abd9d9a >> commit: 62c9c1442c8f61ca93e62e1a9d8318be0abd9d9a

Re: [PATCH v8 18/21] soc/tegra: pmc: Configure core power request polarity

2019-08-09 Thread Dmitry Osipenko
09.08.2019 2:46, Sowjanya Komatineni пишет: > This patch configures polarity of the core power request signal > in PMC control register based on the device tree property. > > PMC asserts and de-asserts power request signal based on it polarity > when it need to power-up and power-down the core

Re: [PATCH] udf: reduce leakage of blocks related to named streams

2019-08-09 Thread Jan Kara
On Wed 07-08-19 08:32:58, Steven J. Magnani wrote: > From: Steve Magnani > > Windows is capable of creating UDF files having named streams. > One example is the "Zone.Identifier" stream attached automatically > to files downloaded from a network. See: >

Re: [PATCH v2 15/24] EDAC, ghes: Extract numa node information for each dimm

2019-08-09 Thread Robert Richter
Hi James, On 02.08.19 18:05:07, James Morse wrote: > On 24/06/2019 16:09, Robert Richter wrote: > > In a later patch we want to have one mc device per node. This patch > > extracts the numa node information for each dimm. This is done by > > collecting the physical address ranges from the DMI

Re: [PATCH v2 0/4] clk: meson: g12a: add support for DVFS

2019-08-09 Thread Jerome Brunet
On Thu 08 Aug 2019 at 14:18, Kevin Hilman wrote: > Neil Armstrong writes: > >> The G12A/G12B Socs embeds a specific clock tree for each CPU cluster : >> cpu_clk / cpub_clk >> | \- cpu_clk_dyn >> | | \- cpu_clk_premux0 >> | ||- cpu_clk_postmux0 >> | |||-

Re: [PATCH] Add optional chip erase functionality to AT25 EEPROM driver.

2019-08-09 Thread Greg Kroah-Hartman
On Fri, Aug 09, 2019 at 01:53:55PM +0100, Joe Burmeister wrote: > +static void _eeprom_at25_store_erase_locked(struct at25_data *at25) > +{ > + unsigned long timeout, retries; > + int sr, status; > + u8 cp; > + > + cp = AT25_WREN; > + status =

Re: [PATCH] x86/apic: Handle missing global clockevent gracefully

2019-08-09 Thread Jiri Slaby
On 09. 08. 19, 14:54, Thomas Gleixner wrote: > Some newer machines do not advertise legacy timers. The kernel can handle > that situation if the TSC and the CPU frequency are enumerated by CPUID or > MSRs and the CPU supports TSC deadline timer. If the CPU does not support > TSC deadline timer the

[PATCH v1 3/4] mm/memory_hotplug: Simplify online_pages_range()

2019-08-09 Thread David Hildenbrand
move_pfn_range_to_zone() will set all pages to PG_reserved via memmap_init_zone(). The only way a page could no longer be reserved would be if a MEM_GOING_ONLINE notifier would clear PG_reserved - which is not done (the online_page callback is used for that purpose by e.g., Hyper-V instead).

[PATCH v1 0/4] mm/memory_hotplug: online_pages() cleanups

2019-08-09 Thread David Hildenbrand
Some cleanups (+ one fix for a special case) in the context of online_pages(). Hope I am not missing something obvious. Did a sanity test with DIMMs only. David Hildenbrand (4): resource: Use PFN_UP / PFN_DOWN in walk_system_ram_range() mm/memory_hotplug: Handle unaligned start and nr_pages

[PATCH v1 4/4] mm/memory_hotplug: online_pages cannot be 0 in online_pages()

2019-08-09 Thread David Hildenbrand
walk_system_ram_range() will fail with -EINVAL in case online_pages_range() was never called (== no resource applicable in the range). Otherwise, we will always call online_pages_range() with nr_pages > 0 and, therefore, have online_pages > 0. Remove that special handling. Cc: Andrew Morton Cc:

[PATCH v1 2/4] mm/memory_hotplug: Handle unaligned start and nr_pages in online_pages_blocks()

2019-08-09 Thread David Hildenbrand
Take care of nr_pages not being a power of two and start not being properly aligned. Essentially, what walk_system_ram_range() could provide to us. get_order() will round-up in case it's not a power of two. This should only apply to memory blocks that contain strange memory resources (especially

[PATCH v1 1/4] resource: Use PFN_UP / PFN_DOWN in walk_system_ram_range()

2019-08-09 Thread David Hildenbrand
This makes it clearer that we will never call func() with duplicate PFNs in case we have multiple sub-page memory resources. All unaligned parts of PFNs are completely discarded. Cc: Dan Williams Cc: Borislav Petkov Cc: Andrew Morton Cc: Bjorn Helgaas Cc: Ingo Molnar Cc: Dave Hansen Cc:

Re: [PATCH] staging: wusbcore: Fix build error without CONFIG_USB

2019-08-09 Thread Greg KH
On Fri, Aug 09, 2019 at 06:21:50PM +0800, YueHaibing wrote: > USB_WUSB should depends on CONFIG_USB, otherwise building fails > > drivers/staging/wusbcore/wusbhc.o: In function `wusbhc_giveback_urb': > wusbhc.c:(.text+0xa28): undefined reference to `usb_hcd_giveback_urb' > > Reported-by: Hulk

Re: [PATCH] fanotify, inotify, dnotify, security: add security hook for fs notifications

2019-08-09 Thread Paul Moore
On Fri, Aug 9, 2019 at 5:06 AM Amir Goldstein wrote: > On Thu, Aug 8, 2019 at 9:33 PM Paul Moore wrote: > > On Wed, Jul 31, 2019 at 11:35 AM Aaron Goidel wrote: > > > As of now, setting watches on filesystem objects has, at most, applied a > > > check for read access to the inode, and in the

Re: [PATCH v2] ASoC: SOF: Intel: Add missing include file hdac_hda.h

2019-08-09 Thread Takashi Iwai
On Fri, 09 Aug 2019 14:53:55 +0200, Takashi Iwai wrote: > > On Fri, 09 Aug 2019 13:01:00 +0200, > YueHaibing wrote: > > > > Building with SND_SOC_SOF_HDA_AUDIO_CODEC fails: > > > > sound/soc/sof/intel/hda-bus.c: In function sof_hda_bus_init: > > sound/soc/sof/intel/hda-bus.c:16:25: error:

[PATCH] x86/apic: Handle missing global clockevent gracefully

2019-08-09 Thread Thomas Gleixner
Some newer machines do not advertise legacy timers. The kernel can handle that situation if the TSC and the CPU frequency are enumerated by CPUID or MSRs and the CPU supports TSC deadline timer. If the CPU does not support TSC deadline timer the local APIC timer frequency has to be known as well.

[PATCH] Add optional chip erase functionality to AT25 EEPROM driver.

2019-08-09 Thread Joe Burmeister
Many, though not all, AT25s have an instruction for chip erase. If there is one in the datasheet, it can be added to device tree. Erase can then be done in userspace via the sysfs API with a new "erase" device attribute. This matches the eeprom_93xx46 driver's "erase". Signed-off-by: Joe

Re: 5.3-rc3: Frozen graphics with kcompactd migrating i915 pages

2019-08-09 Thread Chris Wilson
Quoting Martin Wilck (2019-08-09 13:41:42) > This happened to me today, running kernel 5.3.0-rc3-1.g571863b-default > (5.3-rc3 with just a few patches on top), after starting a KVM virtual > machine. The X screen was frozen. Remote login via ssh was still > possible, thus I was able to retrieve

Re: [PATCH v2] ASoC: SOF: Intel: Add missing include file hdac_hda.h

2019-08-09 Thread Takashi Iwai
On Fri, 09 Aug 2019 13:01:00 +0200, YueHaibing wrote: > > Building with SND_SOC_SOF_HDA_AUDIO_CODEC fails: > > sound/soc/sof/intel/hda-bus.c: In function sof_hda_bus_init: > sound/soc/sof/intel/hda-bus.c:16:25: error: implicit declaration of function > snd_soc_hdac_hda_get_ops; did you mean

general protection fault in tls_write_space

2019-08-09 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:ecb095bf Merge tag 'hwmon-for-v5.3-rc4' of git://git.kerne.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=11cbde8c60 kernel config: https://syzkaller.appspot.com/x/.config?x=a4c9e9f08e9e8960

Re: [PATCH v8 05/21] clk: tegra: pll: Save and restore pll context

2019-08-09 Thread Dmitry Osipenko
09.08.2019 2:46, Sowjanya Komatineni пишет: > This patch implements save and restore of PLL context. > > During system suspend, core power goes off and looses the settings > of the Tegra CAR controller registers. > > So during suspend entry pll context is stored and on resume it is > restored

[RFC PATCH] mm: drop mark_page_access from the unmap path

2019-08-09 Thread Michal Hocko
On Tue 06-08-19 19:55:09, Minchan Kim wrote: > On Wed, Jul 31, 2019 at 09:21:01AM +0200, Michal Hocko wrote: > > On Wed 31-07-19 14:44:47, Minchan Kim wrote: [...] > > > As Nick mentioned in the description, without mark_page_accessed in > > > zapping part, repeated mmap + touch + munmap never

[PATCH] clocksource: Add driver for the Ingenic JZ47xx OST

2019-08-09 Thread Paul Cercueil
From: Maarten ter Huurne OST is the OS Timer, a 64-bit timer/counter with buffered reading. SoCs before the JZ4770 had (if any) a 32-bit OST; the JZ4770 and JZ4780 have a 64-bit OST. This driver will register both a clocksource and a sched_clock to the system. Signed-off-by: Maarten ter

Re: [PATCH v3 1/3] kasan: support backing vmalloc space with real shadow memory

2019-08-09 Thread Mark Rutland
On Thu, Aug 08, 2019 at 02:50:37PM +0100, Mark Rutland wrote: > From looking at this for a while, there are a few more things we should > sort out: > * We can use the split pmd locks (used by both x86 and arm64) to > minimize contention on the init_mm ptl. As apply_to_page_range() > doesn't

Re: [PATCH] powerpc/mm: Use refcount_t for refcount

2019-08-09 Thread Michael Ellerman
Chuhong Yuan writes: > Reference counters are preferred to use refcount_t instead of > atomic_t. > This is because the implementation of refcount_t can prevent > overflows and detect possible use-after-free. > So convert atomic_t ref counters to refcount_t. > > Signed-off-by: Chuhong Yuan

Applied "regulator: qcom-rpmh: Sort the compatibles" to the regulator tree

2019-08-09 Thread Mark Brown
The patch regulator: qcom-rpmh: Sort the compatibles has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH v2 00/15] net: phy: adin: add support for Analog Devices PHYs

2019-08-09 Thread Ardelean, Alexandru
On Thu, 2019-08-08 at 11:24 -0700, David Miller wrote: > [External] > > From: Alexandru Ardelean > Date: Thu, 8 Aug 2019 15:30:11 +0300 > > > This changeset adds support for Analog Devices Industrial Ethernet PHYs. > > Particularly the PHYs this driver adds support for: > > * ADIN1200 -

Re: [PATCH v1 4/6] perf: Allow using AUX data in perf samples

2019-08-09 Thread Alexander Shishkin
Peter Zijlstra writes: > On Tue, Jun 19, 2018 at 01:47:25PM +0300, Alexander Shishkin wrote: >> Right, the SW stuff may then race with event_function_call() stuff. Hmm. >> For the HW stuff, I'm hoping that some kind of a sleight of hand may >> suffice. Let me think some more. > > I currently

Applied "ASoC: mt6351: remove unused variable 'mt_lineout_control'" to the asoc tree

2019-08-09 Thread Mark Brown
The patch ASoC: mt6351: remove unused variable 'mt_lineout_control' has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Applied "regulator: qcom-rpmh: Update PMIC modes for PMIC5" to the regulator tree

2019-08-09 Thread Mark Brown
The patch regulator: qcom-rpmh: Update PMIC modes for PMIC5 has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Applied "regulator: qcom-rpmh: Fix pmic5_bob voltage count" to the regulator tree

2019-08-09 Thread Mark Brown
The patch regulator: qcom-rpmh: Fix pmic5_bob voltage count has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Applied "regulator: dt-bindings: Sort the compatibles and nodes" to the regulator tree

2019-08-09 Thread Mark Brown
The patch regulator: dt-bindings: Sort the compatibles and nodes has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Applied "ASoC: ml26124: remove unused variable 'ngth'" to the asoc tree

2019-08-09 Thread Mark Brown
The patch ASoC: ml26124: remove unused variable 'ngth' has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Re: [PATCH] fix odd_ptr_err.cocci warnings

2019-08-09 Thread Mark Brown
On Fri, Aug 09, 2019 at 12:30:46PM +0200, Julia Lawall wrote: > tree: https://github.com/omap-audio/linux-audio peter/ti-linux-4.19.y/wip > head: 62c9c1442c8f61ca93e62e1a9d8318be0abd9d9a > commit: 62c9c1442c8f61ca93e62e1a9d8318be0abd9d9a [34/34] j721e new machine > driver wip > :: branch

Applied "ASoC: SOF: Intel: Add missing include file hdac_hda.h" to the asoc tree

2019-08-09 Thread Mark Brown
The patch ASoC: SOF: Intel: Add missing include file hdac_hda.h has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

[PATCH 6/7] pwm: jz4740: Make PWM start with the active part

2019-08-09 Thread Paul Cercueil
The PWM will always start with the inactive part. To counter that, when PWM is enabled we switch the configured polarity, and use 'period - duty + 1' as the real duty. Signed-off-by: Paul Cercueil --- drivers/pwm/pwm-jz4740.c | 22 +- 1 file changed, 13 insertions(+), 9

[PATCH 7/7] pwm: jz4740: document known limitations

2019-08-09 Thread Paul Cercueil
From: Uwe Kleine-König The jz4740 PMW implementation doesn't fulfill the (up to now insufficiently documented) requirements of the PWM API. At least document them in the driver. Signed-off-by: Uwe Kleine-König Signed-off-by: Paul Cercueil --- drivers/pwm/pwm-jz4740.c | 4 1 file

[PATCH 3/7] pwm: jz4740: Drop dependency on MACH_INGENIC

2019-08-09 Thread Paul Cercueil
Depending on MACH_INGENIC prevent us from creating a generic kernel that works on more than one MIPS board. Instead, we just depend on MIPS being set. Signed-off-by: Paul Cercueil --- drivers/pwm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/Kconfig

[PATCH 5/7] pwm: jz4740: Allow selection of PWM channels 0 and 1

2019-08-09 Thread Paul Cercueil
The TCU channels 0 and 1 were previously reserved for system tasks, and thus unavailable for PWM. Signed-off-by: Paul Cercueil Tested-by: Mathieu Malaterre Tested-by: Artur Rojek --- drivers/pwm/pwm-jz4740.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff

[PATCH 2/7] pwm: jz4740: Use clocks from TCU driver

2019-08-09 Thread Paul Cercueil
The ingenic-timer "TCU" driver provides us with clocks, that can be (un)gated, reparented or reclocked from devicetree, instead of having these settings hardcoded in this driver. While this driver is devicetree-compatible, it is never (as of now) probed from devicetree, so this change does not

[PATCH 4/7] pwm: jz4740: Improve algorithm of clock calculation

2019-08-09 Thread Paul Cercueil
The previous algorithm hardcoded details about how the TCU clocks work. The new algorithm will use clk_round_rate to find the perfect clock rate for the PWM channel. Signed-off-by: Paul Cercueil Tested-by: Mathieu Malaterre Tested-by: Artur Rojek --- drivers/pwm/pwm-jz4740.c | 60

[PATCH 1/7] pwm: jz4740: Obtain regmap from parent node

2019-08-09 Thread Paul Cercueil
The TCU registers are shared between a handful of drivers, accessing them through the same regmap. While this driver is devicetree-compatible, it is never (as of now) probed from devicetree, so this change does not introduce a ABI problem with current devicetree files. Signed-off-by: Paul

[PATCH 0/7] pwm: jz4740: Driver update

2019-08-09 Thread Paul Cercueil
Hi, Patches 1-5 come from a bigger patchset that was cut in smaller pieces for easier integration to mainline. (The patchset was https://lkml.org/lkml/2019/3/27/1837) These patches are the exact same as the ones found in the patchset shown above, with the exception of patch [1/7] which now uses

Re: [PATCH v8 11/21] clk: tegra: clk-dfll: Add suspend and resume support

2019-08-09 Thread Dmitry Osipenko
09.08.2019 2:46, Sowjanya Komatineni пишет: > This patch implements DFLL suspend and resume operation. > > During system suspend entry, CPU clock will switch CPU to safe > clock source of PLLP and disables DFLL clock output. > > DFLL driver suspend confirms DFLL disable state and errors out on >

Re: [PATCH v3 5/7] mfd: ioc3: Add driver for SGI IOC3 chip

2019-08-09 Thread Alexandre Belloni
On 29/07/2019 20:45:57+0200, Thomas Bogendoerfer wrote: > On Thu, 25 Jul 2019 12:47:16 +0100 > Lee Jones wrote: > > > On Thu, 13 Jun 2019, Thomas Bogendoerfer wrote: > > > +/* > > > + * On IP30 the RTC (a DS1687) is behind the IOC3 on the generic > > > + * ByteBus regions. We have to write the

Re: [PATCH v8 08/21] clk: tegra: periph: Add restore_context support

2019-08-09 Thread Dmitry Osipenko
09.08.2019 14:55, Dmitry Osipenko пишет: > 09.08.2019 2:46, Sowjanya Komatineni пишет: >> This patch implements restore_context support for clk-periph and >> clk-sdmmc-mux clock operations to restore clock parent and rates >> on system resume. >> >> During system suspend, core power goes off and

Re: [PATCH 07/19] irqchip/mmp: mask off interrupts from other cores

2019-08-09 Thread Marc Zyngier
On 09/08/2019 10:31, Lubomir Rintel wrote: > From: Andres Salomon > > On mmp3, there's an extra set of ICU registers (ICU2) that handle > interrupts on the extra cores. When masking off interrupts on MP1, > these should be masked as well. > > We add a new interrupt controller via device tree

Re: [PATCH v8 10/21] clk: tegra: clk-super: Add restore-context support

2019-08-09 Thread Dmitry Osipenko
09.08.2019 2:46, Sowjanya Komatineni пишет: > This patch implements restore_context for clk_super_mux and clk_super. > > During system supend, core power goes off the and context of Tegra > CAR registers is lost. > > So on system resume, context of super clock registers are restored > to have

Re: [RFC][PATCH 12/13] sched/deadline: Introduce deadline servers

2019-08-09 Thread Juri Lelli
On 09/08/19 11:17, Dietmar Eggemann wrote: > On 7/26/19 4:54 PM, Peter Zijlstra wrote: > > [...] > > > +void dl_server_init(struct sched_dl_entity *dl_se, struct rq *rq, > > + dl_server_has_tasks_f has_tasks, > > + dl_server_pick_f pick) > > +{ > > +

Re: [PATCH v3 8/8] ACPI: PM: s2idle: Execute LPS0 _DSM functions with suspended devices

2019-08-09 Thread Rafael J. Wysocki
.restore_early = acpi_s2idle_restore_early, > > .restore = acpi_s2idle_restore, > > .end = acpi_s2idle_end, > > }; > > Index: linux-pm/kernel/power/suspend.c > > === > > --- linux-pm.orig

Re: REUSE/SPDX: Invalid LicenseRef in Linux sources

2019-08-09 Thread Carmen Bianca Bakker
Je ven, 2019-08-09 je 11:30 +0200, Charlemagne Lasse skribis: > When I run the reuse lint tool on the current linux sources, I get > following error > > reuse.project - WARNING - Could not resolve SPDX identifier of > LICENSES/deprecated/GPL-1.0, resolving to LicenseRef-Unknown0 > reuse.project -

[PATCH v3 1/3] interconnect: Add support for path tags

2019-08-09 Thread Georgi Djakov
Consumers may have use cases with different bandwidth requirements based on the system or driver state. The consumer driver can append a specific tag to the path and pass this information to the interconnect platform driver to do the aggregation based on this state. Introduce icc_set_tag()

[PATCH v3 2/3] interconnect: Add pre_aggregate() callback

2019-08-09 Thread Georgi Djakov
Introduce an optional callback in interconnect provider drivers. It can be used for implementing actions, that need to be executed before the actual aggregation of the bandwidth requests has started. The benefit of this for now is that it will significantly simplify the code in provider drivers.

[PATCH v3 3/3] interconnect: qcom: Add tagging and wake/sleep support for sdm845

2019-08-09 Thread Georgi Djakov
From: David Dai Add support for wake and sleep commands by using a tag to indicate whether or not the aggregate and set requests fall into execution state specific bucket. Signed-off-by: David Dai Signed-off-by: Georgi Djakov --- drivers/interconnect/qcom/sdm845.c | 134

[PATCH v3 0/3] interconnect: Add path tagging support

2019-08-09 Thread Georgi Djakov
SoCs that have multiple coexisting CPUs and DSPs, may have shared interconnect buses between them. In such cases, each CPU/DSP may have different bandwidth needs, depending on whether it is active or sleeping. This means that we have to keep different bandwidth configurations for the CPU

Re: [PATCH 05/19] irqchip/mmp: do not use of_address_to_resource() to get mux regs

2019-08-09 Thread Marc Zyngier
On 09/08/2019 10:31, Lubomir Rintel wrote: > The "regs" property of the "mrvl,mmp2-mux-intc" devices are silly. They > are offsets from intc's base, not addresses on the parent bus. At this > point it probably can't be fixed. > > On an OLPC XO-1.75 machine, the muxes are children of the intc, not

Re: [PATCH v8 09/21] clk: tegra: clk-super: Fix to enable PLLP branches to CPU

2019-08-09 Thread Dmitry Osipenko
09.08.2019 2:46, Sowjanya Komatineni пишет: > This patch has a fix to enable PLLP branches to CPU before changing > the CPU cluster clock source to PLLP for Gen5 Super clock and > disables PLLP branches to CPU when not in use. > > During system suspend entry and exit, CPU source will be switched

Re: [PATCH v8 09/14] media: rkisp1: add rockchip isp1 core driver

2019-08-09 Thread Sakari Ailus
Hi Helen, On Thu, Aug 08, 2019 at 06:59:47PM -0300, Helen Koike wrote: > Hi Sakari, > > Thanks for your review, just some comments/questions below: > > On 8/7/19 12:27 PM, Sakari Ailus wrote: > > Hi Helen, > > > > On Tue, Jul 30, 2019 at 03:42:51PM -0300, Helen Koike wrote: > >> From: Jacob

Re: [PATCH v2 15/15] dt-bindings: net: add bindings for ADIN PHY driver

2019-08-09 Thread Ardelean, Alexandru
On Thu, 2019-08-08 at 17:03 -0600, Rob Herring wrote: > [External] > > On Thu, Aug 8, 2019 at 6:31 AM Alexandru Ardelean > wrote: > > This change adds bindings for the Analog Devices ADIN PHY driver, detailing > > all the properties implemented by the driver. > > > > Signed-off-by: Alexandru

Re: [PATCH v2 13/15] net: phy: adin: configure downshift on config_init

2019-08-09 Thread Ardelean, Alexandru
On Thu, 2019-08-08 at 22:39 +0200, Andrew Lunn wrote: > [External] > > On Thu, Aug 08, 2019 at 09:38:40PM +0200, Heiner Kallweit wrote: > > On 08.08.2019 14:30, Alexandru Ardelean wrote: > > > Down-speed auto-negotiation may not always be enabled, in which case the > > > PHY won't down-shift to

Re: [PATCH v2 05/15] net: phy: adin: add {write,read}_mmd hooks

2019-08-09 Thread Ardelean, Alexandru
On Thu, 2019-08-08 at 17:35 +0200, Andrew Lunn wrote: > [External] > > On Thu, Aug 08, 2019 at 03:30:16PM +0300, Alexandru Ardelean wrote: > > Both ADIN1200 & ADIN1300 support Clause 45 access. > > The Extended Management Interface (EMI) registers are accessible via both > > Clause 45 (at

Re: [PATCH 07/22] ARM: omap1: move perseus spi pinconf to board file

2019-08-09 Thread Mark Brown
On Fri, Aug 09, 2019 at 01:29:13PM +0200, Arnd Bergmann wrote: > On Fri, Aug 9, 2019 at 12:24 AM Mark Brown wrote: > > On Thu, Aug 08, 2019 at 11:22:16PM +0200, Arnd Bergmann wrote: > > > The driver has always had a FIXME about this, and it seems > > > like this trivial code move avoids a mach

Re: [PATCH v3 8/8] ACPI: PM: s2idle: Execute LPS0 _DSM functions with suspended devices

2019-08-09 Thread Marek Szyprowski
e > > static int platform_suspend_prepare_noirq(suspend_state_t state) > { > - return state != PM_SUSPEND_TO_IDLE && suspend_ops->prepare_late ? > - suspend_ops->prepare_late() : 0; > + if (state == PM_SUSPEND_TO_IDLE) { > +

[PATCH 1/3] watchdog: jz4740: Use WDT clock provided by TCU driver

2019-08-09 Thread Paul Cercueil
Instead of requesting the "ext" clock and handling the watchdog clock divider and gating in the watchdog driver, we now request and use the "wdt" clock that is supplied by the ingenic-timer "TCU" driver. The major benefit is that the watchdog's clock rate and parent can now be specified from

[PATCH 3/3] watchdog: jz4740: Drop dependency on MACH_JZ47xx

2019-08-09 Thread Paul Cercueil
Depending on MACH_JZ47xx prevent us from creating a generic kernel that works on more than one MIPS board. Instead, we just depend on MIPS being set. Signed-off-by: Paul Cercueil Reviewed-by: Guenter Roeck --- drivers/watchdog/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v2 02/15] net: phy: adin: hook genphy_read_abilities() to get_features

2019-08-09 Thread Ardelean, Alexandru
On Thu, 2019-08-08 at 21:32 +0200, Heiner Kallweit wrote: > [External] > > On 08.08.2019 17:24, Andrew Lunn wrote: > > On Thu, Aug 08, 2019 at 03:30:13PM +0300, Alexandru Ardelean wrote: > > > The ADIN PHYs can operate with Clause 45, however they are not typical for > > > how phylib considers

[PATCH 2/3] watchdog: jz4740: Use regmap provided by TCU driver

2019-08-09 Thread Paul Cercueil
Since we broke the ABI by changing the clock, the driver was also updated to use the regmap provided by the TCU driver. Signed-off-by: Paul Cercueil Reviewed-by: Guenter Roeck Tested-by: Mathieu Malaterre Tested-by: Artur Rojek --- drivers/watchdog/Kconfig | 1 +

[PATCH 0/3] watchdog: jz4740: Driver update

2019-08-09 Thread Paul Cercueil
Hi, This patchset comes from a bigger patchset that was cut in smaller pieces for easier integration to mainline. (The patchset was https://lkml.org/lkml/2019/3/27/1837) The reviews were kept since the code mostly didn't change. The exception is the use of device_node_to_regmap() in patch 2/3.

Re: [PATCH v8 08/21] clk: tegra: periph: Add restore_context support

2019-08-09 Thread Dmitry Osipenko
09.08.2019 2:46, Sowjanya Komatineni пишет: > This patch implements restore_context support for clk-periph and > clk-sdmmc-mux clock operations to restore clock parent and rates > on system resume. > > During system suspend, core power goes off and looses the context > of the Tegra clock

Re: [PATCH v3 1/3] kasan: support backing vmalloc space with real shadow memory

2019-08-09 Thread Vasily Gorbik
On Wed, Jul 31, 2019 at 05:15:48PM +1000, Daniel Axtens wrote: > Hook into vmalloc and vmap, and dynamically allocate real shadow > memory to back the mappings. > > Most mappings in vmalloc space are small, requiring less than a full > page of shadow space. Allocating a full shadow page per

Re: [PATCH v8 07/21] clk: Add API to get index of the clock parent

2019-08-09 Thread Dmitry Osipenko
09.08.2019 2:46, Sowjanya Komatineni пишет: > This patch adds an API clk_hw_get_parent_index to get index of the > clock parent to use during the clock restore operations on system > resume. > > Signed-off-by: Sowjanya Komatineni > --- > drivers/clk/clk.c| 17 + >

Re: [PATCH v5 2/3] mtd: spi-nor: Move m25p80 code in spi-nor.c

2019-08-09 Thread Vignesh Raghavendra
Hi Tomer, On 08/08/19 3:35 PM, Tomer Maimon wrote: > > Hi Vignesh, > > Thanks for working on the spi-nor patches. > > I have tested your latest patches with NPCM FIU driver on two different > Flashes: > > 1.  Winbond w25q256 - 32MB > 2.  Macronix mx25l3205d- 4MB > > Sorry I going to a

[PATCH] x86/fixmap: update stale comments

2019-08-09 Thread Cao jin
Signed-off-by: Cao jin --- arch/x86/include/asm/fixmap.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/include/asm/fixmap.h b/arch/x86/include/asm/fixmap.h index 9da8cccdf3fb..0c47aa82e2e2 100644 --- a/arch/x86/include/asm/fixmap.h +++

Re: [RFC V2 0/1] mm/debug: Add tests for architecture exported page table helpers

2019-08-09 Thread Mark Rutland
On Fri, Aug 09, 2019 at 03:16:33AM -0700, Matthew Wilcox wrote: > On Fri, Aug 09, 2019 at 01:03:17PM +0530, Anshuman Khandual wrote: > > Should alloc_gigantic_page() be made available as an interface for general > > use in the kernel. The test module here uses very similar implementation > > from

Re: [PATCH net-next v2 0/9] net: macsec: initial support for hardware offloading

2019-08-09 Thread Antoine Tenart
Hi Allan, On Fri, Aug 09, 2019 at 01:23:47PM +0200, Allan W. Nielsen wrote: > > I have done a first read through of your patch and it looks good to me. > > The only thing which confused me is all the references to Ocelot. > > As far as I can see, this is a driver for the vsc8584 PHY in the

Re: [PATCH v8 02/21] pinctrl: tegra: Add write barrier after all pinctrl register writes

2019-08-09 Thread Dmitry Osipenko
09.08.2019 2:46, Sowjanya Komatineni пишет: > This patch adds write barrier after all pinctrl register writes > during resume to make sure all pinctrl changes are complete. > > Signed-off-by: Sowjanya Komatineni > --- > drivers/pinctrl/tegra/pinctrl-tegra.c | 2 ++ > 1 file changed, 2

Re: [PATCH v8 01/21] pinctrl: tegra: Fix write barrier placement in pmx_writel

2019-08-09 Thread Dmitry Osipenko
09.08.2019 2:46, Sowjanya Komatineni пишет: > pmx_writel uses writel which inserts write barrier before the > register write rather. > > This patch has fix to replace writel with writel_relaxed followed > by a write barrier to ensure write operation before the barrier > is completed for

Re: [PATCH v7 2/4] mtd: spi-nor: fix nor->addr_width for is25wp256

2019-08-09 Thread Vignesh Raghavendra
On 03/07/19 12:09 AM, Sagar Shrikant Kadam wrote: > Use the post bfpt fixup hook for the is25wp256 device as done for > is25lp256 device to overwrite the address width advertised by BFPT. > > For instance the standard devices eg: IS25WP256D-JMLE where J stands > for "standard" does not support

Re: [PATCH 09/22] fbdev: omap: avoid using mach/*.h files

2019-08-09 Thread Bartlomiej Zolnierkiewicz
On 8/8/19 11:22 PM, Arnd Bergmann wrote: > All the headers we actually need are now in include/linux/soc, > so use those versions instead and allow compile-testing on > other architectures. > > Signed-off-by: Arnd Bergmann For fbdev part: Acked-by: Bartlomiej Zolnierkiewicz Best regards,

[GIT PULL for v5.3-rc4] media fixes

2019-08-09 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media media/v5.3-3 For a fix at the vivid CEC support. - Last attempt failed due to a mix of factors related to using a different machine for the pull request. Sorry for that. Thanks, Mauro --- The

Re: [PATCH v7 1/4] mtd: spi-nor: add support for is25wp256

2019-08-09 Thread Vignesh Raghavendra
On 03/07/19 12:09 AM, Sagar Shrikant Kadam wrote: > Update spi_nor_id table for is25wp256 (32MB) device from ISSI, > present on HiFive Unleashed dev board (Rev: A00). > > Set method to enable quad mode for ISSI device in flash parameters > table. > > Based on code originally written by Wesley

Re: [PATCH v8 05/21] clk: tegra: pll: Save and restore pll context

2019-08-09 Thread Dmitry Osipenko
09.08.2019 2:46, Sowjanya Komatineni пишет: > This patch implements save and restore of PLL context. > > During system suspend, core power goes off and looses the settings > of the Tegra CAR controller registers. > > So during suspend entry pll context is stored and on resume it is > restored

Re: Explicitly marking initializer overrides (was "Re: [PATCH] arm64/cache: silence -Woverride-init warnings")

2019-08-09 Thread Robin Murphy
On 09/08/2019 09:32, Mark Rutland wrote: On Thu, Aug 08, 2019 at 10:09:16AM -0700, Nathan Chancellor wrote: On Thu, Aug 08, 2019 at 11:38:08AM +0100, Mark Rutland wrote: On Wed, Aug 07, 2019 at 11:29:16PM -0400, Qian Cai wrote: The commit 155433cb365e ("arm64: cache: Remove support for

Re: [PATCH v4 6/8] sched: Replace strncmp with str_has_prefix

2019-08-09 Thread Valentin Schneider
On 09/08/2019 08:10, Chuhong Yuan wrote: > strncmp(str, const, len) is error-prone because len > is easy to have typo. > The example is the hard-coded len has counting error > or sizeof(const) forgets - 1. > So we prefer using newly introduced str_has_prefix() > to substitute such strncmp to make

Re: [PATCH 07/22] ARM: omap1: move perseus spi pinconf to board file

2019-08-09 Thread Arnd Bergmann
On Fri, Aug 9, 2019 at 12:24 AM Mark Brown wrote: > > On Thu, Aug 08, 2019 at 11:22:16PM +0200, Arnd Bergmann wrote: > > The driver has always had a FIXME about this, and it seems > > like this trivial code move avoids a mach header inclusion, > > so just do it. > > This appears to be part of a

[PATCH] ARM: dts: imx7d: cl-som-imx7: add compatible for phy

2019-08-09 Thread André Draszik
While not strictly needed as "ethernet-phy-ieee802.3-c22" is assumed by default if not given explicitly, having the compatible string here makes it more clear what this is and which driver handles this - an Ethernet phy attached to mdio, handled by of_mdio.c Signed-off-by: André Draszik CC: Ilya

Re: [PATCH v7 4/4] mtd: spi-nor: add locking support for is25wp256 device

2019-08-09 Thread Vignesh Raghavendra
Hi Sagar, On 03/07/19 12:09 AM, Sagar Shrikant Kadam wrote: [...]> +static int issi_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) > +{ > + int status_old, status_new, blk_prot; > + u8 mask; > + u8 shift; > + u8 pow, ret, func_reg; > + bool use_top; > + loff_t

Re: [RFC PATCH] hugetlbfs: Add hugetlb_cgroup reservation limits

2019-08-09 Thread Michal Koutný
(+CC cgro...@vger.kernel.org) On Thu, Aug 08, 2019 at 12:40:02PM -0700, Mina Almasry wrote: > We have developers interested in using hugetlb_cgroups, and they have > expressed > dissatisfaction regarding this behavior. I assume you still want to enforce a limit on a particular group and the

Re: [PATCH] fs/ceph: use release_pages() directly

2019-08-09 Thread Jeff Layton
On Thu, 2019-08-08 at 20:56 -0700, john.hubb...@gmail.com wrote: > From: John Hubbard > > release_pages() has been available to modules since Oct, 2010, > when commit 0be8557bcd34 ("fuse: use release_pages()") added > EXPORT_SYMBOL(release_pages). However, this ceph code was still > using a

Re: [PATCH 13/22] input: omap: void using mach/*.h headers

2019-08-09 Thread Arnd Bergmann
On Fri, Aug 9, 2019 at 1:39 AM Sebastian Reichel wrote: > On Thu, Aug 08, 2019 at 03:19:50PM -0700, Dmitry Torokhov wrote: > > On Thu, Aug 08, 2019 at 11:46:45PM +0200, Arnd Bergmann wrote: > > > On Thu, Aug 8, 2019 at 11:43 PM Dmitry Torokhov wrote: > > > > On Thu, Aug 08, 2019 at 11:22:22PM

Re: [PATCH net-next v2 0/9] net: macsec: initial support for hardware offloading

2019-08-09 Thread Allan W. Nielsen
Hi Antoine, I have done a first read through of your patch and it looks good to me. The only thing which confused me is all the references to Ocelot. As far as I can see, this is a driver for the vsc8584 PHY in the Viper family. The Ocelot confusion is properly because you are developing it on

[PATCH v2] net: phy: at803x: stop switching phy delay config needlessly

2019-08-09 Thread André Draszik
This driver does a funny dance disabling and re-enabling RX and/or TX delays. In any of the RGMII-ID modes, it first disables the delays, just to re-enable them again right away. This looks like a needless exercise. Just enable the respective delays when in any of the relevant 'id' modes, and

Re: [PATCH] net: phy: at803x: stop switching phy delay config needlessly

2019-08-09 Thread André Draszik
Hi, On Fri, 2019-08-09 at 14:09 +0300, Vladimir Oltean wrote: > Hi Andre, > > On Fri, 9 Aug 2019 at 13:00, André Draszik wrote: > > Hi Vladimir, > > > > On Fri, 2019-08-09 at 12:43 +0300, Vladimir Oltean wrote: > > > Hi Andre, > > > > > > On Fri, 9 Aug 2019 at 03:58, André Draszik wrote: > >

Re: [RFC PATCH v4 9/9] printk: use a new ringbuffer implementation

2019-08-09 Thread Thomas Gleixner
On Thu, 8 Aug 2019, Linus Torvalds wrote: > On Thu, Aug 8, 2019 at 5:48 PM Steven Rostedt wrote: > > > > I've never tried, but are you saying that even with the "10 second > > hold" the laptop's DRAM may still have old data that is accessible? > > The power doesn't go off when you *start* the

Re: [PATCH] net: phy: at803x: stop switching phy delay config needlessly

2019-08-09 Thread Vladimir Oltean
Hi Andre, On Fri, 9 Aug 2019 at 13:00, André Draszik wrote: > > Hi Vladimir, > > On Fri, 2019-08-09 at 12:43 +0300, Vladimir Oltean wrote: > > Hi Andre, > > > > On Fri, 9 Aug 2019 at 03:58, André Draszik wrote: > > > This driver does a funny dance disabling and re-enabling > > > RX and/or TX

<    2   3   4   5   6   7   8   9   10   >