Re: [PATCH v3 1/3] arm64: wrap and generalise counter read functions

2020-11-05 Thread Mark Rutland
Hi Ionela, On Thu, Nov 05, 2020 at 12:27:00PM +, Ionela Voinescu wrote: > -#ifdef CONFIG_ARM64_AMU_EXTN > +#define COUNTER_READ_STORE(NAME, VAL) \ > +static inline u64 read_##NAME(void) \ > +{ \ > + return VAL; \ > +} \ > +static inline void store_##NAME(void *val) \ > +{ \ > + *(u64 *

Re: [PATCH v3 3/3] arm64: implement CPPC FFH support using AMUs

2020-11-05 Thread Mark Rutland
On Thu, Nov 05, 2020 at 12:27:02PM +, Ionela Voinescu wrote: > If Activity Monitors (AMUs) are present, two of the counters can be used > to implement support for CPPC's (Collaborative Processor Performance > Control) delivered and reference performance monitoring functionality > using FFH (Fun

Re: [PATCH -next v2] ASoC: mediatek: mt8192: Make some symbols static

2020-11-05 Thread Jiaxin Yu
On Thu, 2020-11-05 at 20:28 +0800, Zou Wei wrote: > Fix the following sparse warnings: > > ./mt8192-dai-i2s.c:2040:5: warning: symbol 'mt8192_dai_i2s_get_share' was not > declared. Should it be static? > ./mt8192-dai-i2s.c:2060:5: warning: symbol 'mt8192_dai_i2s_set_priv' was not > declared. Sho

[PATCH] power: reset: Use printk format symbol resolver

2020-11-05 Thread Helge Deller
Instead of looking up a symbol name by hand, use the %ps printk format specifier. Signed-off-by: Helge Deller diff --git a/drivers/power/reset/qnap-poweroff.c b/drivers/power/reset/qnap-poweroff.c index 52b7dc61d870..0ddf7f25f7b8 100644 --- a/drivers/power/reset/qnap-poweroff.c +++ b/drivers/po

Re: [RFC PATCH 0/2] mm: fix OOMs for binding workloads to movable zone only node

2020-11-05 Thread Vlastimil Babka
On 11/5/20 2:19 PM, Michal Hocko wrote: On Thu 05-11-20 14:14:25, Vlastimil Babka wrote: On 11/5/20 1:58 PM, Michal Hocko wrote: > On Thu 05-11-20 13:53:24, Vlastimil Babka wrote: > > On 11/5/20 1:08 PM, Michal Hocko wrote: > > > On Thu 05-11-20 09:40:28, Feng Tang wrote: > > > > > > Could you b

Re: [PATCH v2 net-next 3/3] octeontx2-af: Add devlink health reporters for NIX

2020-11-05 Thread George Cherian
Hi Saeed, Thanks for the review. > -Original Message- > From: Saeed Mahameed > Sent: Thursday, November 5, 2020 10:39 AM > To: George Cherian ; net...@vger.kernel.org; > linux-kernel@vger.kernel.org; Jiri Pirko > Cc: k...@kernel.org; da...@davemloft.net; Sunil Kovvuri Goutham > ; Linu C

Re: [PATCH net-next 0/6] net: ipa: tell GSI the IPA version

2020-11-05 Thread Alex Elder
On 11/4/20 6:31 PM, Jakub Kicinski wrote: Note: the last patch in this series depends on this patch posted for review earlier today: https://lore.kernel.org/netdev/20201102173435.5987-1-el...@linaro.org But in the future please don't post dependent changes like this. The build bots cannot fi

Re: [PATCH v2 4/5] arm64: Add support for SMCCC TRNG entropy source

2020-11-05 Thread Mark Brown
On Thu, Nov 05, 2020 at 12:56:55PM +, Andre Przywara wrote: > static inline bool __must_check arch_get_random_seed_int(unsigned int *v) > { > + struct arm_smccc_res res; > unsigned long val; > - bool ok = arch_get_random_seed_long(&val); > > - *v = val; > - return ok;

Re: [RFC PATCH 0/2] mm: fix OOMs for binding workloads to movable zone only node

2020-11-05 Thread Feng Tang
On Thu, Nov 05, 2020 at 02:12:45PM +0100, Michal Hocko wrote: > On Thu 05-11-20 21:07:10, Feng Tang wrote: > [...] > > My debug traces shows it is, and its gfp_mask is 'GFP_KERNEL' > > Can you provide the full information please? Which node has been > requested. Which cpuset the calling process ru

Re: [PATCH v21 17/19] mm/lru: replace pgdat lru_lock with lruvec lock

2020-11-05 Thread Alex Shi
在 2020/11/5 下午4:55, Alex Shi 写道: > /** > + * lock_page_lruvec - lock and return lruvec for a given page. > + * @page: the page > + * > + * This series functions should be used in either conditions: > + * PageLRU is cleared or unset > + * or page is locked. or page->_refcount is zero. Ops,

Re: [RFC 6/9] staging: dpaa2-switch: add .ndo_start_xmit() callback

2020-11-05 Thread Andrew Lunn
> > Where is the TX confirm which uses this stored pointer. I don't see it > > in this file. > > > > The Tx confirm - dpaa2_switch_tx_conf() - is added in patch 5/9. Not so obvious. Could it be moved here? > > It can be expensive to store pointer like this in buffers used for > > DMA. > > Yes,

Re: [PATCH v7 47/47] PM / devfreq: tegra20: Deprecate in a favor of emc-stat based driver

2020-11-05 Thread Dmitry Osipenko
05.11.2020 05:25, Chanwoo Choi пишет: > Hi Dmitry, > > You need to update the MAINTAINERS file about tegra20-devfreq.c > > 11343 MEMORY FREQUENCY SCALING DRIVERS FOR NVIDIA TEGRA > > 11344 M: Dmitry Osipenko > > 11345 L:

Re: [PATCH v7 36/47] memory: tegra20-emc: Add devfreq support

2020-11-05 Thread Dmitry Osipenko
05.11.2020 05:30, Chanwoo Choi пишет: > On 11/5/20 1:49 AM, Dmitry Osipenko wrote: >> Add devfreq support to the Tegra20 EMC driver. Memory utilization >> statistics will be periodically polled from the memory controller and >> appropriate minimum clock rate will be selected by the devfreq governor

Re: [PATCH] ARM: dts: exynos: Use fixed index for the MMC devices

2020-11-05 Thread Rob Herring
On Thu, Nov 5, 2020 at 5:48 AM Marek Szyprowski wrote: > > Recently introduced asynchronous probe on the MMC devices can shuffle > block IDs in the system. Pin them to values equal to the physical MMC bus > number to ease booting in environments where UUIDs are not practical. How's that going to

Re: [PATCH] pinctrl: core: Add missing #ifdef CONFIG_GPIOLIB

2020-11-05 Thread Linus Walleij
On Wed, Oct 28, 2020 at 11:40 AM He Zhe wrote: > To fix the following build warnings when CONFIG_GPIOLIB=n. > > drivers/pinctrl/core.c:1607:20: warning: unused variable 'chip' > [-Wunused-variable] > 1608 | struct gpio_chip *chip; > |^~~~ > drivers/pinctrl/core.c:1606

Re: [PATCH v2 0/6] ARM: dts: sun8i: v3s: Enable video decoder

2020-11-05 Thread Hans Verkuil
Hi Martin, On 12/09/2020 16:30, Martin Cerveny wrote: > First patch extends cedrus capability to all decoders > because V3s missing MPEG2 decoder. > > Next two patches add system control node (SRAM C1) and > next three patches add support for Cedrus VPU. > > Tested on "Lichee Zero" V3s platform

Re: [PATCH 23/33] docs: ABI: don't escape ReST-incompatible chars from obsolete and removed

2020-11-05 Thread Linus Walleij
On Wed, Oct 28, 2020 at 3:23 PM Mauro Carvalho Chehab wrote: > From: Mauro Carvalho Chehab > > With just a single fix, the contents there can be parsed properly > without the need to escape any ReST incompatible stuff. > > Signed-off-by: Mauro Carvalho Chehab > Signed-off-by: Mauro Carvalho Che

Re: [PATCH v1 00/30] Introduce core voltage scaling for NVIDIA Tegra20/30 SoCs

2020-11-05 Thread Dmitry Osipenko
05.11.2020 04:45, Michał Mirosław пишет: > On Thu, Nov 05, 2020 at 02:43:57AM +0300, Dmitry Osipenko wrote: >> Introduce core voltage scaling for NVIDIA Tegra20/30 SoCs, which reduces >> power consumption and heating of the Tegra chips. Tegra SoC has multiple >> hardware units which belong to a cor

Re: [PATCH] pinctrl: Remove hole in pinctrl_gpio_range

2020-11-05 Thread Linus Walleij
On Wed, Oct 28, 2020 at 3:51 PM Geert Uytterhoeven wrote: > On 64-bit platforms, pointer size and alignment are 64-bit, hence two > 4-byte holes are present before the pins and gc members of the > pinctrl_gpio_range structure. Get rid of these holes by moving the > pins pointer. > > This reduces

Re: [PATCH v3] mfd: tps65910: Correct power-off programming sequence

2020-11-05 Thread Dmitry Osipenko
05.11.2020 04:33, Michał Mirosław пишет: > On Wed, Nov 04, 2020 at 04:44:08PM +0300, Dmitry Osipenko wrote: >> This patch fixes system shutdown on a devices that use TPS65910 as a >> system's power controller. In accordance to the TPS65910 datasheet, the >> PMIC's state-machine transitions into the

Aw: Re: Re: Re: [PATCH] pci: mediatek: fix warning in msi.h

2020-11-05 Thread Frank Wunderlich
Marc's Patch based on thomas' last one also seems to work well for r2, again no warning, PCI and AHCI (connected to pcie bus) working regards Frank

Re: [PATCH] pinctrl: qcom: sm8250: Specify PDC map

2020-11-05 Thread Linus Walleij
On Wed, Oct 28, 2020 at 5:36 AM Bjorn Andersson wrote: > Specify the PDC mapping for SM8250, so that gpio interrupts are > propertly mapped to the wakeup IRQs of the PDC. > > Signed-off-by: Bjorn Andersson Patch applied for next (v5.11). If this is urgent and needs to go into fixes, just provi

Re: [PATCH v2 1/2] pinctrl: qcom: add pinctrl driver for msm8953

2020-11-05 Thread Linus Walleij
On Wed, Oct 7, 2020 at 6:26 PM Vladimir Lypak wrote: > Add inititial pinctrl driver for MSM8953 platform. Compatible SoCs are: > MSM8953, APQ8053, SDM(SDA)450, SDM(SDA)632. > Based off CAF implementation. > > Signed-off-by: Prasad Sodagudi > Signed-off-by: Vladimir Lypak > --- > Changes in V2:

Re: [PATCH 8/8] acpi: fix NONE coordination for domain mapping failure

2020-11-05 Thread Ionela Voinescu
Hi Rafael, On Thursday 05 Nov 2020 at 14:05:55 (+0100), Rafael J. Wysocki wrote: > On Thu, Nov 5, 2020 at 1:57 PM Ionela Voinescu > wrote: > > > > For errors parsing the _PSD domains, a separate domain is returned for > > each CPU in the failed _PSD domain with no coordination (as per previous >

[PATCH 1/2] drm/imx/dcss: fix rotations for Vivante tiled formats

2020-11-05 Thread Laurentiu Palcu
DCSS supports 90/180/270 degree rotations for Vivante tiled and super-tiled formats. Unfortunately, with the current code, they didn't work properly. This simple patch makes the rotations work by fixing the way the scaler is set up for 90/270 degree rotations. In this particular case, the source w

[PATCH 2/2] drm/imx/dcss: fix coccinelle warning

2020-11-05 Thread Laurentiu Palcu
This small patch fixes a warning that I got while running coccinelle: CHECK drivers/gpu/drm/imx/dcss/dcss-plane.c drivers/gpu/drm/imx/dcss/dcss-plane.c:107:21-23: WARNING !A || A && B is equivalent to !A || B Fixes: 9021c317b770 ("drm/imx: Add initial support for DCSS on iMX8MQ") Signed-of

[PATCH 0/2] drm/imx/dcss: a couple of fixes

2020-11-05 Thread Laurentiu Palcu
Hi, This patchset fixes 90/270 rotations for Vivante tiled and super-tiled formats and a Coccinelle warning. Thanks, laurentiu Laurentiu Palcu (2): drm/imx/dcss: fix rotations for Vivante tiled formats drm/imx/dcss: fix coccinelle warning drivers/gpu/drm/imx/dcss/dcss-plane.c | 14

Re: [PATCH v2 4/5] arm64: Add support for SMCCC TRNG entropy source

2020-11-05 Thread Mark Rutland
On Thu, Nov 05, 2020 at 01:41:42PM +, Mark Brown wrote: > On Thu, Nov 05, 2020 at 12:56:55PM +, Andre Przywara wrote: > > > static inline bool __must_check arch_get_random_seed_int(unsigned int *v) > > { > > + struct arm_smccc_res res; > > unsigned long val; > > - bool ok = arch_

Re: [PATCH 4/5] i2c: nomadik: remove unnecessary CONFIG_PM_SLEEP

2020-11-05 Thread Linus Walleij
On Thu, Oct 29, 2020 at 8:47 AM Coiby Xu wrote: > SET_LATE_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. > > Signed-off-by: Coiby Xu I don't know about the state of sleep/pm callback macros, but I assume you know what you're doing. Acked-by: Linus Walleij Yours, Linus Wa

Re: [PATCH RESEND v2 1/3] sched/topology,schedutil: wrap sched domains rebuild

2020-11-05 Thread Ionela Voinescu
Hi Rafael, On Friday 30 Oct 2020 at 16:26:32 (+0100), Rafael J. Wysocki wrote: > On Tue, Oct 27, 2020 at 7:08 PM Ionela Voinescu > wrote: > > > > Add the rebuild_sched_domains_energy() function to wrap the functionality > > that rebuilds the scheduling domains if any of the Energy Aware Scheduli

Re: [PATCH 4/5] cpuidle: governor: Export the needed symbols

2020-11-05 Thread Rafael J. Wysocki
On Thu, Oct 15, 2020 at 4:45 PM Daniel Lezcano wrote: > > In the next patch, the governors will be converted to modules. Export > the symbols of the different functions used by the governors. > > Signed-off-by: Daniel Lezcano > --- > drivers/cpuidle/governor.c | 3 +++ > include/linux/tick.h

Re: [PATCH v2 4/5] arm64: Add support for SMCCC TRNG entropy source

2020-11-05 Thread Ard Biesheuvel
On Thu, 5 Nov 2020 at 15:03, Mark Rutland wrote: > > On Thu, Nov 05, 2020 at 01:41:42PM +, Mark Brown wrote: > > On Thu, Nov 05, 2020 at 12:56:55PM +, Andre Przywara wrote: > > > > > static inline bool __must_check arch_get_random_seed_int(unsigned int *v) > > > { > > > + struct arm_sm

Re: [PATCH] media: v4l2-mem2mem: always call poll_wait() on queues

2020-11-05 Thread Alexandre Courbot
On Thu, Nov 5, 2020 at 10:12 PM Hans Verkuil wrote: > > On 05/11/2020 13:52, Alexandre Courbot wrote: > > On Thu, Nov 5, 2020 at 9:36 PM Hans Verkuil > > wrote: > >> > >> On 05/11/2020 13:21, Alexandre Courbot wrote: > >>> On Tue, Nov 3, 2020 at 6:48 PM Hans Verkuil > >>> wrote: > >

Re: [PATCH -next] irq-chip/gic-v3-its: Fixed an issue where the ITS executes the residual commands in the queue again when the ITS wakes up from sleep mode.

2020-11-05 Thread xuqiang (M)
在 2020/11/5 21:12, Marc Zyngier 写道: Please don't top-post. On 2020-11-05 11:54, xuqiang (M) wrote: The kernel sends three commands in the following sequence: 1.mapd(deviceA, ITT_addr1, valid:1) 2.mapti(deviceA):ITS write ITT_addr1 memory; 3.mapd(deviceA, ITT_addr1, valid:0) and kfree(ITT_a

Re: [PATCH 2/4] arm64: dts: ti: k3-j721e*: Cleanup disabled nodes at SoC dtsi level

2020-11-05 Thread Nishanth Menon
On 09:32-20201105, Peter Ujfalusi wrote: > Nishanth, > > On 05/11/2020 0.43, Nishanth Menon wrote: > > The device tree standard sets the default node behavior when status > > property as enabled. > > It should be: > When the status property is not present under

Re: [PATCH] bus: mhi: core: Remove double locking from mhi_driver_remove()

2020-11-05 Thread Manivannan Sadhasivam
On Thu, Oct 15, 2020 at 11:47:51AM -0700, Bhaumik Bhatt wrote: > There is double acquisition of the pm_lock from mhi_driver_remove() > function. Remove the read_lock_bh/read_unlock_bh calls for pm_lock > taken during a call to mhi_device_put() as the lock is acquired > within the function already.

Re: [PATCH v3 3/3] arm64: implement CPPC FFH support using AMUs

2020-11-05 Thread Ionela Voinescu
Hi Mark, On Thursday 05 Nov 2020 at 13:28:23 (+), Mark Rutland wrote: [..] > > +#ifdef CONFIG_ACPI_CPPC_LIB > > +#include > > As mentioned on patch 1, I think it'd be better to open-code the smp > call functions here, e.g. > > static void cpu_read_corecnt(void *val) > { > *(u64 *)val

[PATCH 1/2] dt-bindings: misc: convert fsl,dpaa2-console from txt to YAML

2020-11-05 Thread Laurentiu Tudor
From: Ionut-robert Aron Convert fsl,dpaa2-console to YAML in order to automate the verification process of dts files. Signed-off-by: Ionut-robert Aron Signed-off-by: Laurentiu Tudor --- .../bindings/misc/fsl,dpaa2-console.txt | 11 - .../bindings/misc/fsl,dpaa2-console.yaml

[PATCH 2/2] dt-bindings: misc: convert fsl,qoriq-mc from txt to YAML

2020-11-05 Thread Laurentiu Tudor
From: Ionut-robert Aron Convert fsl,qoriq-mc to YAML in order to automate the verification process of dts files. In addition, update MAINTAINERS accordingly and, while at it, add some missing files. Signed-off-by: Ionut-robert Aron [laurentiu.tu...@nxp.com: update MINTAINERS, updates & fixes in

Re: [PATCH] bus: mhi: core: fix potential operator-precedence with BHI macros

2020-11-05 Thread Manivannan Sadhasivam
On Tue, Oct 20, 2020 at 02:29:45PM -0600, Jeffrey Hugo wrote: > The BHI_MSMHWID and BHI_OEMPKHASH macros take a value 'n' which is > a BHI register index. If 'n' is an expression rather than a simple > value, there can be an operator precedence issue which can result > in the incorrect calculation

Re: [PATCH v8 30/43] arm64: kasan: Allow enabling in-kernel MTE

2020-11-05 Thread Vincenzo Frascino
On 11/5/20 12:14 PM, Andrey Konovalov wrote: > On Thu, Nov 5, 2020 at 12:39 PM Vincenzo Frascino > wrote: >> >> On 11/5/20 11:35 AM, Andrey Konovalov wrote: >>> This will work. Any preference on the name of this function? >>> >> >> I called it in my current iteration mte_enable(), and calling i

Re: [PATCH 1/5] cpuidle: Remove pointless stub

2020-11-05 Thread Rafael J. Wysocki
On Fri, Oct 16, 2020 at 10:31 PM Daniel Lezcano wrote: > > > Hi Rafael, > > On 16/10/2020 17:24, Rafael J. Wysocki wrote: > > On Thu, Oct 15, 2020 at 4:44 PM Daniel Lezcano > > wrote: > >> > >> The cpuidle.h header is declaring functions with an empty stub when > >> cpuidle is not enabled. Howeve

Re: [PATCH v2 2/2] pinctrl: qcom: Add SDX55 pincontrol driver

2020-11-05 Thread Linus Walleij
On Tue, Nov 3, 2020 at 6:58 AM Vinod Koul wrote: > From: Jeevan Shriram > > Add initial Qualcomm SDX55 pinctrl driver to support pin configuration > with pinctrl framewor for SDX55 SoC. > > Signed-off-by: Jeevan Shriram > [ported from downstream and tidy up] > Signed-off-by: Vinod Koul The v2

Re: [PATCH 08/14] media: sunxi: Add support for the A31 MIPI CSI-2 controller

2020-11-05 Thread Helen Koike
On 11/4/20 3:45 PM, Maxime Ripard wrote: > On Wed, Nov 04, 2020 at 01:38:08PM -0300, Helen Koike wrote: >> >> >> On 11/4/20 8:17 AM, Paul Kocialkowski wrote: >>> Hi, >>> >>> On Mon 02 Nov 20, 10:21, Maxime Ripard wrote: On Fri, Oct 30, 2020 at 07:45:18PM -0300, Helen Koike wrote: > On 1

Re: [PATCH 0/2] tty: Remove obsolete drivers

2020-11-05 Thread Christophe Leroy
Hi, Le 05/11/2020 à 13:33, Lee Jones a écrit : As per the vendor's request. Is the vendor in copy of the patch ? What about the other synclink adapters, namely the synclink_gt ? And the synclink_cs in the drivers/char/pcmcia/ ? Christophe Lee Jones (2): tty: Remove redundant synclink

Re: [PATCH][next] hwmon: corsair-psu: fix unintentional sign extension issue

2020-11-05 Thread Guenter Roeck
On Thu, Nov 05, 2020 at 01:32:33PM +0100, Wilken Gottwalt wrote: > On Thu, 5 Nov 2020 11:50:19 + > Colin King wrote: > > > From: Colin Ian King > > > > The shifting of the u8 integer data[3] by 24 bits to the left will > > be promoted to a 32 bit signed int and then sign-extended to a > >

Re: [PATCH v5 1/2] pinctrl: qcom: Allow pinctrl-msm code to be loadable as a module

2020-11-05 Thread Linus Walleij
On Sat, Oct 31, 2020 at 1:38 AM John Stultz wrote: > Tweaks to allow pinctrl-msm code to be loadable as a module. > > This is needed in order to support having the qcom-scm driver, > which pinctrl-msm calls into, configured as a module. > > This requires that we tweak Kconfigs selecting PINCTRL_M

Re: [PATCH] x86/gpu: add JSL stolen memory support

2020-11-05 Thread Bjorn Helgaas
On Thu, Nov 05, 2020 at 11:46:06AM +0200, Joonas Lahtinen wrote: > Quoting Bjorn Helgaas (2020-11-04 19:35:56) > > [+cc Jani, Joonas, Rodrigo, David, Daniel] > > > > On Wed, Nov 04, 2020 at 05:35:06PM +0530, Tejas Upadhyay wrote: > > > JSL re-uses the same stolen memory as ICL and EHL. > > > > >

Re: [PATCH v1 17/30] mmc: sdhci-tegra: Support OPP and core voltage scaling

2020-11-05 Thread Dmitry Osipenko
05.11.2020 12:58, Viresh Kumar пишет: >> +static void sdhci_tegra_deinit_opp_table(void *data) >> +{ >> + struct device *dev = data; >> + struct opp_table *opp_table; >> + >> + opp_table = dev_pm_opp_get_opp_table(dev); > So you need to get an OPP table to put one :) > You need to

[PATCH] bcache: make writeback_cutoff and writeback_cutoff_sync writeable

2020-11-05 Thread Dongdong Tao
From: dongdong tao commit 9aaf51654672 ("bcache: make cutoff_writeback and cutoff_writeback_sync tunable") intend to make these two option configurable by user, but these two are still read-only. Signed-off-by: dongdong tao --- drivers/md/bcache/sysfs.c | 6 -- 1 file changed, 4 insertions

Re: [PATCH 0/2] pinctrl: ingenic: Cleanup & add lcd-8bit group

2020-11-05 Thread Zhou Yanjie
Hello, On 2020/11/1 下午5:01, Paul Cercueil wrote: Hi Linus, A cleanup patch to get rid of a lot of const data, and a patch to add the lcd-8bit group for JZ4770 SoCs. Based on your latest for-next branch, since there are already some commits on pinctrl-ingenic.c there that aren't on v5.10-rc1.

[GIT PULL] Power management fixes for v5.10-rc3

2020-11-05 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-5.10-rc3 with top-most commit 8c14577df4cd5c6d8b799bdfb3a0e94923f17d50 Merge branches 'pm-cpufreq', 'pm-cpuidle', 'pm-opp' and 'powercap' on top of commit 3cea11cd5e3b00d91caf0b47301940

Re: [PATCH v7 0/3] Adding support for Microchip/Microsemi serial GPIO controller

2020-11-05 Thread Linus Walleij
On Thu, Oct 29, 2020 at 2:40 PM Lars Povlsen wrote: > The series add support for the serial GPIO controller used by > Microchip Sparx5, as well as (MSCC) ocelot/jaguar2 SoCs. v7 is starting to look really appetizing. The kernel bot is complaining a bit so please fix that and follow up on Andy's

Build error with 5.9.5 in sound/soc/sof/intel/hda-codec.c (was: [PATCH AUTOSEL 5.9 039/147] ASoC: SOF: fix a runtime pm issue in SOF when HDMI codec doesn't work)

2020-11-05 Thread Thorsten Leemhuis
Lo! I just tried to compile 5.9.5 and ran into a build error with below patch. I only did a quick look (I have to leave the keyboard soon), but seems the patch quoted below that was added to 5.9.5 depends on 11ec0edc6408 (git.kernel.org/linus/11ec0edc6408) which wasn't backported. The build er

Re: [Regression]: Commit 74d905d2 breaks the touchpad and touchscreen of Google Chromebook "samus"

2020-11-05 Thread Andre Muller
On 05/11/2020 14.25, Wang, Jiada wrote: Hi Andre Thanks for your report, could you also please post the log when with this commit reverted? Thanks, Jiada Shure! The full dmesg with the revert is attached. The atmel_mxt bits are: [0.195879] atmel_mxt_ts i2c-ATML:01: Family: 164 Varia

Re: [PATCH] bcache: make writeback_cutoff and writeback_cutoff_sync writeable

2020-11-05 Thread Coly Li
On 2020/11/5 22:19, Dongdong Tao wrote: > From: dongdong tao > > commit 9aaf51654672 ("bcache: make cutoff_writeback and > cutoff_writeback_sync tunable") intend to make these two option > configurable by user, but these two are still read-only. > > Signed-off-by: dongdong tao > --- > drivers/

Re: [v3 4/4] spi: aspeed: Add ASPEED FMC/SPI memory controller driver

2020-11-05 Thread Cédric Le Goater
Hello Chin-Ting, Thanks for this driver. It's much cleaner than the previous and we should try adding support for the AST2500 SoC also. I guess we can keep the old driver for the AST2400 which has a different register layout. On the patchset, I think we should split this patch in three : - b

Re: [PATCH -next] irq-chip/gic-v3-its: Fixed an issue where the ITS executes the residual commands in the queue again when the ITS wakes up from sleep mode.

2020-11-05 Thread Marc Zyngier
On 2020-11-05 14:06, xuqiang (M) wrote: 在 2020/11/5 21:12, Marc Zyngier 写道: Please don't top-post. On 2020-11-05 11:54, xuqiang (M) wrote: The kernel sends three commands in the following sequence: 1.mapd(deviceA, ITT_addr1, valid:1) 2.mapti(deviceA):ITS write ITT_addr1 memory; 3.mapd(devic

Re: [PATCH -next v3 1/2] watchdog: Fix potential dereferencing of null pointer

2020-11-05 Thread Guenter Roeck
On Thu, Nov 05, 2020 at 12:38:47PM +, Wang Wensheng wrote: > A reboot notifier, which stops the WDT by calling the stop hook without > any check, would be registered when we set WDOG_STOP_ON_REBOOT flag. > > Howerer we allow the WDT driver to omit the stop hook since commit > "d0684c8a93549" (

Re: [PATCH v3 0/3] CPUFreq: Add support for cpu performance dependencies

2020-11-05 Thread Vincent Guittot
On Wed, 4 Nov 2020 at 19:02, Nicola Mazzucato wrote: > > Hi Viresh, thanks for looking into this. > > On 11/3/20 10:18 AM, Viresh Kumar wrote: > > On 02-11-20, 12:01, Nicola Mazzucato wrote: > >> Hi All, > >> > >> In this V3 posting I have replaced the new dt-binding with minor changes/ > >> impro

Re: [PATCH v9 5/7] rcu/segcblist: Remove useless rcupdate.h include

2020-11-05 Thread Paul E. McKenney
On Wed, Nov 04, 2020 at 07:48:23PM -0800, Paul E. McKenney wrote: > On Tue, Nov 03, 2020 at 09:26:01AM -0500, Joel Fernandes (Google) wrote: > > Signed-off-by: Joel Fernandes (Google) > > This one looks fine, but depends on the earlier "rcu/segcblist: Add > counters to segcblist datastructure" pa

Re: [PATCH v2 4/5] arm64: Add support for SMCCC TRNG entropy source

2020-11-05 Thread Mark Rutland
On Thu, Nov 05, 2020 at 03:04:57PM +0100, Ard Biesheuvel wrote: > On Thu, 5 Nov 2020 at 15:03, Mark Rutland wrote: > > On Thu, Nov 05, 2020 at 01:41:42PM +, Mark Brown wrote: > > > On Thu, Nov 05, 2020 at 12:56:55PM +, Andre Przywara wrote: > > That said, I'm not sure it's great to plumb

[PATCH] iio: adc: stm32-adc: dma transfers cleanup

2020-11-05 Thread Olivier Moysan
- Remove processing related to DMA in irq handler as this data transfer is managed directly in DMA callback. - Update comment in stm32_adc_set_watermark() function. Signed-off-by: Olivier Moysan --- drivers/iio/adc/stm32-adc.c | 29 ++--- 1 file changed, 6 insertions(+),

Re: [PATCH v2 4/5] arm64: Add support for SMCCC TRNG entropy source

2020-11-05 Thread Mark Brown
On Thu, Nov 05, 2020 at 02:03:22PM +, Mark Rutland wrote: > On Thu, Nov 05, 2020 at 01:41:42PM +, Mark Brown wrote: > > It isn't obvious to me why we don't fall through to trying the SMCCC > > TRNG here if for some reason the v8.5-RNG didn't give us something. > > Definitely an obscure pos

Re: [PATCH v4 1/2] kunit: Support for Parameterized Testing

2020-11-05 Thread Arpitha Raghunandan
On 05/11/20 2:00 pm, Marco Elver wrote: > On Thu, 5 Nov 2020 at 08:32, Arpitha Raghunandan <98.a...@gmail.com> wrote: >> >> On 28/10/20 12:51 am, Marco Elver wrote: >>> On Tue, 27 Oct 2020 at 18:47, Arpitha Raghunandan <98.a...@gmail.com> wrote: Implementation of support for parameterized

Re: v5.8+ powersave governor breakage?

2020-11-05 Thread Rafael J. Wysocki
On Monday, November 2, 2020 7:18:41 AM CET Mike Galbraith wrote: > On Sun, 2020-11-01 at 17:23 +0100, Mike Galbraith wrote: > > Greetings, > > > > As you can see in the data below, my i4790 box used to default to the > > powersave governor despite CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y, and > > dis

Re: [PATCH v5 2/7] IMA: update process_buffer_measurement to measure buffer hash

2020-11-05 Thread Mimi Zohar
Hi Tushar, Please don't include the filename in the Subject line[1]. The Subject line should be a summary phrase describing the patch. In this case, it is adding support for measuring the buffer data hash. On Sun, 2020-11-01 at 14:26 -0800, Tushar Sugandhi wrote: > process_buffer_measurement(

Re: [PATCH 0/2] tty: Remove obsolete drivers

2020-11-05 Thread Andrew Lunn
On Thu, Nov 05, 2020 at 12:33:55PM +, Lee Jones wrote: > As per the vendor's request. > > Lee Jones (2): > tty: Remove redundant synclink driver > tty: Remove redundant synclinkmp driver Hi Lee What exactly do you mean by redundant? That some other driver can be used? Or that nobody uses

Re: [PATCH v2 4/5] arm64: Add support for SMCCC TRNG entropy source

2020-11-05 Thread André Przywara
On 05/11/2020 14:03, Mark Rutland wrote: > On Thu, Nov 05, 2020 at 01:41:42PM +, Mark Brown wrote: >> On Thu, Nov 05, 2020 at 12:56:55PM +, Andre Przywara wrote: >> >>> static inline bool __must_check arch_get_random_seed_int(unsigned int *v) >>> { >>> + struct arm_smccc_res res; >>>

Re: [PATCH 0/2] tty: Remove obsolete drivers

2020-11-05 Thread Lee Jones
On Thu, 05 Nov 2020, Christophe Leroy wrote: > Hi, > > Le 05/11/2020 à 13:33, Lee Jones a écrit : > > As per the vendor's request. > > Is the vendor in copy of the patch ? Not directly. Only interested parties as indicated by `get_maintainer.pl` were included. My assumption is that he'd pick

Re: [PATCH v2 4/5] arm64: Add support for SMCCC TRNG entropy source

2020-11-05 Thread Ard Biesheuvel
On Thu, 5 Nov 2020 at 15:30, Mark Rutland wrote: > > On Thu, Nov 05, 2020 at 03:04:57PM +0100, Ard Biesheuvel wrote: > > On Thu, 5 Nov 2020 at 15:03, Mark Rutland wrote: > > > On Thu, Nov 05, 2020 at 01:41:42PM +, Mark Brown wrote: > > > > On Thu, Nov 05, 2020 at 12:56:55PM +, Andre Przyw

Re: [PATCH 5.9 080/391] ASoC: SOF: fix a runtime pm issue in SOF when HDMI codec doesnt work

2020-11-05 Thread Sasha Levin
On Thu, Nov 05, 2020 at 02:23:35PM +0100, Paul Bolle wrote: Greg Kroah-Hartman schreef op di 03-11-2020 om 21:32 [+0100]: From: Rander Wang [ Upstream commit 6c63c954e1c52f1262f986f36d95f557c6f8fa94 ] When hda_codec_probe() doesn't initialize audio component, we disable the codec and keep goi

Re: [PATCH] bcache: make writeback_cutoff and writeback_cutoff_sync writeable

2020-11-05 Thread 陶冬冬
Ah, I missed the second part, only saw the first paragraph. But I kind of hope it can be configurable :) Anyway, thanks for the clarification. Coly Li 于2020年11月5日周四 下午10:23写道: > > On 2020/11/5 22:19, Dongdong Tao wrote: > > From: dongdong tao > > > > commit 9aaf51654672 ("bcache: make cutoff_wri

drivers/i2c/busses/i2c-mlxbf.c:1927:3: error: implicit declaration of function 'i2c_slave_event'

2020-11-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4ef8451b332662d004df269d4cdeb7d9f31419b5 commit: b5b5b32081cd206baa6e58cca7f112d9723785d6 i2c: mlxbf: I2C SMBus driver for Mellanox BlueField SoC date: 6 weeks ago config: arm64-randconfig-r011-20201105

Re: [PATCH] gpiolib: fix sysfs when cdev is not selected

2020-11-05 Thread Bartosz Golaszewski
On Thu, Nov 5, 2020 at 11:41 AM Kent Gibson wrote: > > In gpiochip_setup_dev() the call to gpiolib_cdev_register() indirectly > calls device_add(). This is still required for the sysfs even when > CONFIG_GPIO_CDEV is not selected in the build. > > Replace the stubbed functions in gpiolib-cdev.h w

[PATCH] net: macb: fix NULL dereference due to no pcs_config method

2020-11-05 Thread Parshuram Thombare
This patch fixes NULL pointer dereference due to NULL pcs_config in pcs_ops. Fixes: e4e143e26ce8 ("net: macb: add support for high speed interface") Reported-by: Nicolas Ferre Link: https://lkml.org/lkml/2020/11/4/482 Signed-off-by: Parshuram Thombare --- drivers/net/ethernet/cadence/macb_main.

Re: [PATCH v8 1/4] powerpc: Refactor kexec functions to move arch independent code to drivers/of

2020-11-05 Thread Rob Herring
On Wed, Nov 4, 2020 at 6:46 PM Lakshmi Ramasubramanian wrote: > > On 11/4/20 2:28 PM, Rob Herring wrote: > > Hi Rob, > > Thanks for reviewing the patch. > > > On Fri, Oct 30, 2020 at 10:44:26AM -0700, Lakshmi Ramasubramanian wrote: > >> The functions remove_ima_buffer() and delete_fdt_mem_rsv() th

Re: [PATCH v2 4/5] arm64: Add support for SMCCC TRNG entropy source

2020-11-05 Thread Mark Rutland
On Thu, Nov 05, 2020 at 02:29:49PM +, Mark Brown wrote: > On Thu, Nov 05, 2020 at 02:03:22PM +, Mark Rutland wrote: > > On Thu, Nov 05, 2020 at 01:41:42PM +, Mark Brown wrote: > > > > It isn't obvious to me why we don't fall through to trying the SMCCC > > > TRNG here if for some reaso

Re: [PATCH v1 2/2] Input: ads7846: convert to one message

2020-11-05 Thread Oleksij Rempel
Hello all, This patch will need some more work. Currently, it is ignoring ti,settle-delay-usec property, which should be fixed in the next version. Regards, Oleksij On Wed, Nov 04, 2020 at 04:35:28PM +0100, Oleksij Rempel wrote: > Convert multiple full duplex transfers in to a single transfer. >

Re: [PATCH v5] mtd: spinand: micron: add support for MT29F2G01AAAED

2020-11-05 Thread Boris Brezillon
On Tue, 3 Nov 2020 23:18:54 +0800 Thirumalesha N wrote: > Hi Boris, > > On Tue, Nov 3, 2020 at 11:03 PM Boris Brezillon < > boris.brezil...@collabora.com> wrote: > > > On Tue, 3 Nov 2020 22:59:01 +0800 > > Thirumalesha Narasimhappa wrote: > > > > > The MT29F2G01AAAED is a single die, 2Gb

[PATCH v1 1/4] dt-bindings: phy: Add sparx5-serdes bindings

2020-11-05 Thread Steen Hegelund
Document the Sparx5 ethernet serdes phy driver bindings. Signed-off-by: Lars Povlsen Signed-off-by: Steen Hegelund --- .../bindings/phy/microchip,sparx5-serdes.yaml | 283 ++ 1 file changed, 283 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/microchip,s

Re: [PATCH v3 23/56] PCI: fix kernel-doc markups

2020-11-05 Thread Bjorn Helgaas
On Fri, Oct 23, 2020 at 06:33:10PM +0200, Mauro Carvalho Chehab wrote: > Some identifiers have different names between their prototypes > and the kernel-doc markup. > > Signed-off-by: Mauro Carvalho Chehab Applied to pci/misc for v5.11, thanks! > --- > drivers/pci/p2pdma.c | 10 +-

[PATCH v1 4/4] arm64: dts: sparx5: Add Sparx5 serdes driver node

2020-11-05 Thread Steen Hegelund
Add Sparx5 serdes driver node, and enable it generally for all reference boards. Signed-off-by: Lars Povlsen Signed-off-by: Steen Hegelund --- arch/arm64/boot/dts/microchip/sparx5.dtsi | 195 ++ 1 file changed, 195 insertions(+) diff --git a/arch/arm64/boot/dts/microchip/sp

[PATCH v1 2/4] phy: Add ethernet serdes configuration option

2020-11-05 Thread Steen Hegelund
Provide a new ethernet phy configuration structure, that allow PHYs used for ethernet to be configured with speed, media type and clock information. Signed-off-by: Lars Povlsen Signed-off-by: Steen Hegelund --- include/linux/phy/phy-ethernet-serdes.h | 49 + include/linu

[PATCH v1 0/4] Adding the Sparx5 Serdes driver

2020-11-05 Thread Steen Hegelund
Adding the Sparx5 Serdes driver This series of patches provides the serdes driver for the Microchip Sparx5 ethernet switch. The serdes driver supports the 10G and 25G serdes instances available in the Sparx5. The Sparx5 serdes support several interface modes with several speeds and also allows t

Re: [PATCH v2 4/5] arm64: Add support for SMCCC TRNG entropy source

2020-11-05 Thread Mark Rutland
On Thu, Nov 05, 2020 at 03:34:01PM +0100, Ard Biesheuvel wrote: > On Thu, 5 Nov 2020 at 15:30, Mark Rutland wrote: > > On Thu, Nov 05, 2020 at 03:04:57PM +0100, Ard Biesheuvel wrote: > > > On Thu, 5 Nov 2020 at 15:03, Mark Rutland wrote: > > > > > > That said, I'm not sure it's great to plumb thi

Re: [PATCH 8/8] acpi: fix NONE coordination for domain mapping failure

2020-11-05 Thread Rafael J. Wysocki
On Thursday, November 5, 2020 3:02:02 PM CET Ionela Voinescu wrote: > Hi Rafael, > > On Thursday 05 Nov 2020 at 14:05:55 (+0100), Rafael J. Wysocki wrote: > > On Thu, Nov 5, 2020 at 1:57 PM Ionela Voinescu > > wrote: > > > > > > For errors parsing the _PSD domains, a separate domain is returned

[PATCH bpf-next v4 7/9] bpf: Update selftests for local_storage to use vmlinux.h

2020-11-05 Thread KP Singh
From: KP Singh With the fixing of BTF pruning of embedded types being fixed, the test can be simplified to use vmlinux.h Acked-by: Song Liu Signed-off-by: KP Singh --- .../selftests/bpf/progs/local_storage.c | 20 +-- 1 file changed, 1 insertion(+), 19 deletions(-) diff

[PATCH bpf-next v4 0/9] Implement task_local_storage

2020-11-05 Thread KP Singh
From: KP Singh # v3 -> v4 - Move the patch that exposes spin lock helpers to LSM programs as the first patch as some of the changes in the implementation are actually for spin locks. - Clarify the comment in the bpf_task_storage_{get, delete} helper as discussed with Martin. - Added Martin

[PATCH bpf-next v4 3/9] libbpf: Add support for task local storage

2020-11-05 Thread KP Singh
From: KP Singh Updates the bpf_probe_map_type API to also support BPF_MAP_TYPE_TASK_STORAGE similar to other local storage maps. Acked-by: Martin KaFai Lau Signed-off-by: KP Singh --- tools/lib/bpf/libbpf_probes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/lib/bpf/libbpf_probes

Re: [RFC 2/2] perf/core: Invoke pmu::sched_task callback for per-cpu events

2020-11-05 Thread Liang, Kan
On 11/2/2020 9:52 AM, Namhyung Kim wrote: The commit 44fae179ce73 ("perf/core: Pull pmu::sched_task() into perf_event_context_sched_out()") moved the pmu::sched_task callback to be called for task event context. But it missed to call it for per-cpu events to flush PMU internal buffers (i.e. f

Re: [RFC 1/2] perf/core: Enable sched_task callbacks if PMU has it

2020-11-05 Thread Liang, Kan
On 11/2/2020 9:52 AM, Namhyung Kim wrote: If an event associated with a PMU which has a sched_task callback, it should be called regardless of cpu/task context. For example, I don't think it's necessary. We should call it when we have to. Otherwise, it just waste cycles. Shouldn't the pa

[PATCH bpf-next v4 9/9] bpf: Exercise syscall operations for inode and sk storage

2020-11-05 Thread KP Singh
From: KP Singh Use the check_syscall_operations added for task_local_storage to exercise syscall operations for other local storage maps: * Check the absence of an element for the given fd. * Create a new element, retrieve and compare its value. * Delete the element and check again for absence.

Re: [PATCH 5.9 080/391] ASoC: SOF: fix a runtime pm issue in SOF when HDMI codec doesnt work

2020-11-05 Thread Pierre-Louis Bossart
On 11/5/20 8:35 AM, Sasha Levin wrote: On Thu, Nov 05, 2020 at 02:23:35PM +0100, Paul Bolle wrote: Greg Kroah-Hartman schreef op di 03-11-2020 om 21:32 [+0100]: From: Rander Wang [ Upstream commit 6c63c954e1c52f1262f986f36d95f557c6f8fa94 ] When hda_codec_probe() doesn't initialize audio c

Re: [PATCH v2 4/5] arm64: Add support for SMCCC TRNG entropy source

2020-11-05 Thread Marc Zyngier
On 2020-11-05 14:34, Ard Biesheuvel wrote: On Thu, 5 Nov 2020 at 15:30, Mark Rutland wrote: On Thu, Nov 05, 2020 at 03:04:57PM +0100, Ard Biesheuvel wrote: > On Thu, 5 Nov 2020 at 15:03, Mark Rutland wrote: > > On Thu, Nov 05, 2020 at 01:41:42PM +, Mark Brown wrote: > > > On Thu, Nov 05,

[PATCH bpf-next v4 8/9] bpf: Add tests for task_local_storage

2020-11-05 Thread KP Singh
From: KP Singh The test exercises the syscall based map operations by creating a pidfd for the current process. For verifying kernel / LSM functionality, the test implements a simple MAC policy which denies an executable from unlinking itself. The LSM program bprm_committed_creds sets a task_loc

[PATCH bpf-next v4 5/9] bpf: Implement get_current_task_btf and RET_PTR_TO_BTF_ID

2020-11-05 Thread KP Singh
From: KP Singh The currently available bpf_get_current_task returns an unsigned integer which can be used along with BPF_CORE_READ to read data from the task_struct but still cannot be used as an input argument to a helper that accepts an ARG_PTR_TO_BTF_ID of type task_struct. In order to implem

[PATCH bpf-next v4 1/9] bpf: Allow LSM programs to use bpf spin locks

2020-11-05 Thread KP Singh
From: KP Singh Usage of spin locks was not allowed for tracing programs due to insufficient preemption checks. The verifier does not currently prevent LSM programs from using spin locks, but the helpers are not exposed via bpf_lsm_func_proto. Based on the discussion in [1], non-sleepable LSM pro

[PATCH bpf-next v4 2/9] bpf: Implement task local storage

2020-11-05 Thread KP Singh
From: KP Singh Similar to bpf_local_storage for sockets and inodes add local storage for task_struct. The life-cycle of storage is managed with the life-cycle of the task_struct. i.e. the storage is destroyed along with the owning task with a callback to the bpf_task_storage_free from the task_

Re: [PATCH v8 -tip 17/26] sched: Split the cookie and setup per-task cookie on fork

2020-11-05 Thread Joel Fernandes
On Wed, Nov 04, 2020 at 05:30:24PM -0500, chris hyser wrote: [..] > + wr.cookies[0] = cookie; > > + } else > > + /* > > +* t1 joining t2 > > +* CASE 1: > > +* before 0 0 > > +* afternew coo

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