Re: [PATCH] base: power: runtime.c: Remove a unnecessary space

2021-04-18 Thread Joe Perches
On Sun, 2021-04-18 at 06:08 +, Sebastian Fricke wrote: > Remove a redundant space to improve the quality of the comment. I think this patch is not useful. It's not redundant. Two spaces after a period is commonly used to separate sentences. It's especially common when used with fixed pitch f

[PATCH] scsi: ufs: Check for bkops in runtime suspend

2021-04-18 Thread Avri Altman
The UFS driver allowed BKOPS and WB Flush operations to be completed on Runtime suspend. Adding the DeepSleep support, this is no longer true: the driver will ignore BKOPS and WB Flush states, and force a link state transition to UIC_LINK_OFF_STATE. Do not ignore BKOPS and WB Flush on runtme suspe

[PATCH] powerpc/papr_scm: trivial: fix typo in a comment

2021-04-18 Thread Kajol Jain
There is a spelling mistake "byes" -> "bytes" in a comment of function drc_pmem_query_stats(). Fix that typo. Signed-off-by: Kajol Jain --- arch/powerpc/platforms/pseries/papr_scm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/pseries/papr_scm.c b/a

Fair Pay Language

2021-04-18 Thread Ywe Cærlyn
The Quran recommends a good language. On is well suited for Norwegian translation. And Alla' (in cursive mode latin) is well suited for English translation. This should be a final conclusion on fair pay philosophy in n*X space. My channel is here: https://www.youtube.com/channel/UCtneL5MyJSUR

Re: [PATCH] brcmsmac: fix shift on 4 bit masked value

2021-04-18 Thread Joe Perches
On Sun, 2021-04-18 at 06:10 +, Kalle Valo wrote: > Colin King wrote: > > > From: Colin Ian King > > > > The calculation of offtune_val seems incorrect, the u16 value in > > pi->tx_rx_cal_radio_saveregs[2] is being masked with 0xf0 and then > > shifted 8 places right so that always ends up a

[PATCH 1/1] lib: scatterlist: Fix SGL length in sg_split() if !CONFIG_NEED_SG_DMA_LENGTH

2021-04-18 Thread Alexander Egorenkov
If CONFIG_NEED_SG_DMA_LENGTH is NOT enabled then sg_dma_len() is an alias for the length field in a SGL. In that case sg_split() wrongly resets the length of split SGLs to zero after it was set correctly before. Signed-off-by: Alexander Egorenkov --- lib/sg_split.c | 3 ++- 1 file changed, 2 ins

RE: [PATCH 1/1] s390/pci: expose a PCI device's UID as its index

2021-04-18 Thread K, Narendra
> -Original Message- > From: Viktor Mihajlovski > Sent: Saturday, April 17, 2021 4:18 PM > To: K, Narendra; Niklas Schnelle; Bjorn Helgaas > Cc: Stefan Raspl; Peter Oberparleiter; linux-net...@vger.kernel.org; linux- > p...@vger.kernel.org; linux-kernel@vger.kernel.org; linux- > s...@vger.

Re: [PATCH] irqchip/xilinx: Expose Kconfig option

2021-04-18 Thread kernel test robot
Hi Robert, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/irq/core] [also build test ERROR on v5.12-rc7 next-20210416] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in h

[PATCH] net/wireless/bcom: constify ieee80211_get_response_rate return

2021-04-18 Thread Joe Perches
It's not modified so make it const with the eventual goal of moving data to text for various static struct ieee80211_rate arrays. Signed-off-by: Joe Perches --- drivers/net/wireless/broadcom/b43/main.c | 2 +- drivers/net/wireless/broadcom/b43legacy/main.c | 2 +- include/net/cfg80211.h

Re: [PATCH v8 1/2] Added AMS tsl2591 driver implementation

2021-04-18 Thread Jonathan Cameron
On Fri, 16 Apr 2021 18:49:01 +0100 Joe Sandom wrote: > Driver implementation for AMS/TAOS tsl2591 ambient light sensor. > > This driver supports configuration via device tree and sysfs. > Supported channels for raw infrared light intensity, > raw combined light intensity and illuminance in lux.

Re: [PATCH] base: power: runtime.c: Remove a unnecessary space

2021-04-18 Thread Sebastian Fricke
Hey Joe, On 18.04.2021 00:09, Joe Perches wrote: On Sun, 2021-04-18 at 06:08 +, Sebastian Fricke wrote: Remove a redundant space to improve the quality of the comment. I think this patch is not useful. It's not redundant. Thank you, I actually found this pattern a few more times but I

Re: [PATCH] base: power: runtime.c: Remove a unnecessary space

2021-04-18 Thread Pavel Machek
On Sun 2021-04-18 09:11:43, Sebastian Fricke wrote: > Hey Joe, > > On 18.04.2021 00:09, Joe Perches wrote: > >On Sun, 2021-04-18 at 06:08 +, Sebastian Fricke wrote: > >>Remove a redundant space to improve the quality of the comment. > > > >I think this patch is not useful. > > > >It's not redu

Re: [net-next 1/3] net: dsa: optimize tx timestamp request handling

2021-04-18 Thread Vladimir Oltean
On Fri, Apr 16, 2021 at 08:36:53PM +0800, Yangbo Lu wrote: > Optimization could be done on dsa_skb_tx_timestamp(), and dsa device > drivers should adapt to it. > > - Check SKBTX_HW_TSTAMP request flag at the very beginning, instead of in > port_txtstamp, so that most skbs not requiring tx timest

Re: [PATCH] base: power: runtime.c: Remove a unnecessary space

2021-04-18 Thread Joe Perches
On Sun, 2021-04-18 at 09:11 +, Sebastian Fricke wrote: > Hey Joe, Hi Sebastian. > On 18.04.2021 00:09, Joe Perches wrote: > > On Sun, 2021-04-18 at 06:08 +, Sebastian Fricke wrote: > > > Remove a redundant space to improve the quality of the comment. > > I think this patch is not useful.

Re: [net-next 2/3] net: mscc: ocelot: convert to ocelot_port_txtstamp_request()

2021-04-18 Thread Vladimir Oltean
On Fri, Apr 16, 2021 at 08:36:54PM +0800, Yangbo Lu wrote: > Convert to a common ocelot_port_txtstamp_request() for TX timestamp > request handling. > > Signed-off-by: Yangbo Lu > --- > drivers/net/dsa/ocelot/felix.c | 14 +- > drivers/net/ethernet/mscc/ocelot.c | 24

Re: [PATCH v3] serial: omap: fix rs485 half-duplex filtering

2021-04-18 Thread Dario Binacchi
> Il 16/04/2021 08:46 Greg Kroah-Hartman ha > scritto: > > > On Thu, Apr 15, 2021 at 11:02:52PM +0200, Dario Binacchi wrote: > > Data received during half-duplex transmission must be filtered. > > If the target device responds quickly, emptying the FIFO at the end of > > the transmission can

[RFT PATCH] MIPS: Octeon: drop dependency on CONFIG_HOLES_IN_ZONE

2021-04-18 Thread Mike Rapoport
From: Mike Rapoport CAVIUM_OCTEON_SOC configuration selects HOLES_IN_ZONE option to cope with memory crashes that were happening in 2011. This option effectively aliases pfn_valid_within() to pfn_valid() when enabled and hardwires it to 1 when disabled. The check for pfn_valid_within() is only r

Re: [PATCH] iio: light: gp2ap002: Fix rumtime PM imbalance on error

2021-04-18 Thread Jonathan Cameron
On Mon, 12 Apr 2021 13:47:58 +0200 Linus Walleij wrote: > On Mon, Apr 12, 2021 at 12:16 PM Jonathan Cameron > wrote: > > > An example would be the bmc150_magn driver which does exactly the > > same call sequence as this one, but without the reference count increment > > and decrement. Basicall

Re: [PATCH] [v2] iio: proximity: pulsedlight: Fix rumtime PM imbalance on error

2021-04-18 Thread Jonathan Cameron
On Mon, 12 Apr 2021 12:23:43 +0300 Andy Shevchenko wrote: > On Mon, Apr 12, 2021 at 8:32 AM Dinghao Liu wrote: > > > > When lidar_write_control() fails, a pairing PM usage counter > > decrement is needed to keep the counter balanced. > > You forgot to collect given tags. > > > Fixes: 4ac4e08

Re: [net-next 3/3] net: mscc: ocelot: support PTP Sync one-step timestamping

2021-04-18 Thread Vladimir Oltean
On Fri, Apr 16, 2021 at 08:36:55PM +0800, Yangbo Lu wrote: > Although HWTSTAMP_TX_ONESTEP_SYNC existed in ioctl for hardware timestamp > configuration, the PTP Sync one-step timestamping had never been supported. > > This patch is to truely support it. Actually the ocelot switchdev driver does su

[PATCH v4] serial: omap: fix rs485 half-duplex filtering

2021-04-18 Thread Dario Binacchi
Data received during half-duplex transmission must be filtered. If the target device responds quickly, emptying the FIFO at the end of the transmission can erase not only the echo characters but also part of the response message. By keeping the receive interrupt enabled even during transmission, it

Re: [PATCH v4 2/2] iio: temperature: add driver support for ti tmp117

2021-04-18 Thread Jonathan Cameron
On Sun, 11 Apr 2021 21:08:29 +0300 Andy Shevchenko wrote: > On Sun, Apr 11, 2021 at 9:07 PM Andy Shevchenko > wrote: > > On Sun, Apr 11, 2021 at 5:53 PM Jonathan Cameron wrote: > > > On Wed, 7 Apr 2021 23:51:47 +0530 > > > Puranjay Mohan wrote: > > > Good point, but better is to use clam

Re: [RFC V2 PATCH 11/12] HV/Netvsc: Add Isolation VM support for netvsc driver

2021-04-18 Thread Leon Romanovsky
On Tue, Apr 13, 2021 at 11:22:16AM -0400, Tianyu Lan wrote: > From: Tianyu Lan > > In Isolation VM, all shared memory with host needs to mark visible > to host via hvcall. vmbus_establish_gpadl() has already done it for > netvsc rx/tx ring buffer. The page buffer used by vmbus_sendpacket_ > pageb

Re: [PATCH 2/2] iio: accel: Add driver for Murata SCA3300 accelerometer

2021-04-18 Thread Jonathan Cameron
On Fri, 16 Apr 2021 15:21:14 +0300 Tomas Melin wrote: > Updated email-address for Alexandru. > > > On 4/16/21 3:17 PM, Tomas Melin wrote: > > On 4/15/21 11:41 AM, Tomas Melin wrote: > > > >> > >> While working on updates I did notice something new which I cannot > >> > >> reproduce on older (

Re: [PATCH v2 1/1] iio: adc: ad7298: Enable on Intel Galileo Gen 1

2021-04-18 Thread Jonathan Cameron
On Mon, 12 Apr 2021 16:18:35 +0300 Andy Shevchenko wrote: > Enable ADC on Intel Galileo Gen 1 board. > > Signed-off-by: Andy Shevchenko Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to hopefully not notice we did anything ;) Jonathan > --- > v2: fixed

BUSINESS PROPOSAL

2021-04-18 Thread Zanina Ivanovna
-- Hello, Can I write you here? I have an urgent proposal for you. Regards, General Director, Zanina Ivanovna Lyubova LLC "PUBLISHING HOUSE" OIL AND GAS ™ 119991, Moscow, Leninskiy Avenue 65, bldg 4, office 1706. E-mail: i...@pliable-oil-gas.ru Skype: zaninaivanovna OGRN: 5067746402610 / TIN:

Re: [PATCH] iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER

2021-04-18 Thread Jonathan Cameron
On Thu, 15 Apr 2021 09:58:33 -0700 Srinivas Pandruvada wrote: > On Wed, 2021-04-14 at 11:49 +0300, Alexandru Ardelean wrote: > > During commit 067fda1c065ff ("iio: hid-sensors: move triggered buffer > > setup into hid_sensor_setup_trigger"), the > > iio_triggered_buffer_{setup,cleanup}() function

[PATCH] fs/ext4: prevent the CPU from being 100% occupied in ext4_mb_discard_group_preallocations

2021-04-18 Thread Wen Yang
The kworker has occupied 100% of the CPU for several days: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 68086 root 20 0 00 0 R 100.0 0.0 9718:18 kworker/u64:11 And the stack obtained through sysrq is as follows: [20613144.850426] task: 8800b5e08000 task.stack: c900

[PATCH] media: rkisp1: rksip1-capture.c: Improve comments and fix typos

2021-04-18 Thread Sebastian Fricke
Improve the wording of the function description to increase readability. Fix three typos: s/during processing a frame/while processing a frame/ s/it also update/it also updates/ s/there's not buf in shadow/there's no buffer in a shadow register/ Replace the abbreviation 'buf' with the full word b

Re: mmu.c:undefined reference to `patch__hash_page_A0'

2021-04-18 Thread Christophe Leroy
Le 18/04/2021 à 02:02, Randy Dunlap a écrit : HI-- I no longer see this build error. Fixed by https://github.com/torvalds/linux/commit/acdad8fb4a1574323db88f98a38b630691574e16 However: On 2/27/21 2:24 AM, kernel test robot wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/

Re: [PATCH v1 4/7] iio: st_sensors: Call st_sensors_power_enable() from bus drivers

2021-04-18 Thread Jonathan Cameron
On Wed, 14 Apr 2021 22:54:51 +0300 Andy Shevchenko wrote: > In case we would initialize two IIO devices from one physical device, > we shouldn't have a clash on regulators. That's why move > st_sensors_power_enable() call from core to bus drivers. Why is this a problem? The two instances would

Re: [PATCH v1 6/7] iio: st_sensors: Add lsm9ds0 IMU support

2021-04-18 Thread Jonathan Cameron
On Wed, 14 Apr 2021 22:54:53 +0300 Andy Shevchenko wrote: > We can utilize separate drivers for accelerometer and magnetometer, > so here is the glue driver to enable LSM9DS0 IMU support. > > The idea was suggested by Crestez Dan Leonard in [1]. The proposed change > was sent as RFC due to race

Re: [PATCH v4 2/2] pwm: visconti: Add Toshiba Visconti SoC PWM support

2021-04-18 Thread Nobuhiro Iwamatsu
Hi Uwe, On Sat, Apr 17, 2021 at 05:50:09PM +0200, Uwe Kleine-König wrote: > Hello Nobuhiro, > > On Fri, Apr 16, 2021 at 09:15:23PM +0900, Nobuhiro Iwamatsu wrote: > > > > > For me the critical (and only) difference between "off" and > > > > > "duty cycle = 0" is that when a new configuration is t

[PATCH v5 0/2] pwm: visconti: Add Toshiba Visconti SoC PWM support

2021-04-18 Thread Nobuhiro Iwamatsu
Hi, This series is the PWM driver for Toshiba's ARM SoC, Visconti[0]. This provides DT binding documentation and device driver. [0]: https://toshiba.semicon-storage.com/ap-en/semiconductor/product/image-recognition-processors-visconti.html Updates: dt-bindings: pwm: Add bindings for Toshiba

[PATCH v5 1/2] dt-bindings: pwm: Add bindings for Toshiba Visconti PWM Controller

2021-04-18 Thread Nobuhiro Iwamatsu
Add bindings for the Toshiba Visconti PWM Controller. Signed-off-by: Nobuhiro Iwamatsu Reviewed-by: Rob Herring --- .../bindings/pwm/toshiba,pwm-visconti.yaml| 43 +++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/toshiba,pwm-vis

[PATCH v5 2/2] pwm: visconti: Add Toshiba Visconti SoC PWM support

2021-04-18 Thread Nobuhiro Iwamatsu
Add driver for the PWM controller on Toshiba Visconti ARM SoC. Signed-off-by: Nobuhiro Iwamatsu --- drivers/pwm/Kconfig| 9 ++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-visconti.c | 188 + 3 files changed, 198 insertions(+) create mode 100

Re: [PATCH 1/2] HID: hid-sensor-hub: Return error for hid_set_field() failure

2021-04-18 Thread Jonathan Cameron
On Thu, 15 Apr 2021 11:52:31 -0700 Srinivas Pandruvada wrote: > In the function sensor_hub_set_feature(), return error when hid_set_field() > fails. > > Signed-off-by: Srinivas Pandruvada Series applied to the to greg branch of iio.git. Note these won't make the coming merge window, so will tu

Re: [PATCH] ttyprintk: Add TTY hangup callback.

2021-04-18 Thread Samo Pogačnik
Dne 15.04.2021 (čet) ob 09:22 +0900 je Tetsuo Handa napisal(a): > syzbot is reporting hung task due to flood of > > tty_warn(tty, "%s: tty->count = 1 port count = %d\n", __func__, >port->count); > > message [1], for ioctl(TIOCVHANGUP) prevents tty_port_close() from > decrementing po

Re: [PATCH 1/2] HID: hid-sensor-hub: Return error for hid_set_field() failure

2021-04-18 Thread Jonathan
On Sun, 18 Apr 2021 12:12:44 +0100 Jonathan Cameron wrote: > On Thu, 15 Apr 2021 11:52:31 -0700 > Srinivas Pandruvada wrote: > > > In the function sensor_hub_set_feature(), return error when hid_set_field() > > fails. > > > > Signed-off-by: Srinivas Pandruvada > Series applied to the to gre

Re: [PATCH 1/2] mm: Fix struct page layout on 32-bit systems

2021-04-18 Thread Ilias Apalodimas
On Sat, Apr 17, 2021 at 09:22:40PM +0100, Matthew Wilcox wrote: > On Sat, Apr 17, 2021 at 09:32:06PM +0300, Ilias Apalodimas wrote: > > > +static inline void page_pool_set_dma_addr(struct page *page, dma_addr_t > > > addr) > > > +{ > > > + page->dma_addr[0] = addr; > > > + if (sizeof(dma_addr_t) >

Re: [PATCH v2 2/2] iio: accel: Add driver for Murata SCA3300 accelerometer

2021-04-18 Thread Jonathan Cameron
On Sat, 17 Apr 2021 15:39:12 +0300 Andy Shevchenko wrote: > On Fri, Apr 16, 2021 at 5:21 PM Tomas Melin wrote: > > > > Add initial support for Murata SCA3300 3-axis industrial > > accelerometer with digital SPI interface. This device also > > provides a temperature measurement. > > > > Device pr

[PATCH] riscv: Remove 32b kernel mapping from page table dump

2021-04-18 Thread Alexandre Ghiti
The 32b kernel mapping lies in the linear mapping, there is no point in printing its address in page table dump, so remove this leftover that comes from moving the kernel mapping outside the linear mapping for 64b kernel. Fixes: e9efb21fe352 ("riscv: Prepare ptdump for vm layout dynamic addresses"

Re: [PATCH v5 1/3] riscv: Move kernel mapping outside of linear mapping

2021-04-18 Thread Alex Ghiti
Hi Palmer, Le 4/15/21 à 2:00 PM, Alex Ghiti a écrit : Le 4/15/21 à 12:54 AM, Alex Ghiti a écrit : Le 4/15/21 à 12:20 AM, Palmer Dabbelt a écrit : On Sun, 11 Apr 2021 09:41:44 PDT (-0700), a...@ghiti.fr wrote: This is a preparatory patch for relocatable kernel and sv48 support. The kernel use

[PATCH net] gro: fix napi_gro_frags() Fast GRO breakage due to IP alignment check

2021-04-18 Thread Alexander Lobakin
Commit 38ec4944b593 ("gro: ensure frag0 meets IP header alignment") did the right thing, but missed the fact that napi_gro_frags() logics calls for skb_gro_reset_offset() *before* pulling Ethernet header to the skb linear space. That said, the introduced check for frag0 address being aligned to 4 a

Aw: [PATCH] thermal: mediatek: add sensors-support

2021-04-18 Thread Frank Wunderlich
Hi, any opinion (except typo)? thermanl => thermal regards Frank > Gesendet: Samstag, 20. März 2021 um 10:06 Uhr > Von: "Frank Wunderlich" > add HWMON-support to mediateks thermanl driver to allow lm-sensors > userspace tools read soc temperature

Re: [PATCH v2 bpf-next 0/2] xsk: introduce generic almost-zerocopy xmit

2021-04-18 Thread Alexander Lobakin
From: Magnus Karlsson Date: Tue, 13 Apr 2021 09:14:02 +0200 Hi! I've finally done with a kinda comfy setup after moving to another country and can finally continue working on patches and stuff. > On Tue, Apr 13, 2021 at 3:49 AM Xuan Zhuo wrote: > > > > On Mon, 12 Apr 2021 16:13:12 +0200, Magnu

Re: [PATCH v2 2/2] iio: accel: Add driver for Murata SCA3300 accelerometer

2021-04-18 Thread Jonathan Cameron
On Fri, 16 Apr 2021 16:45:46 +0300 Tomas Melin wrote: > Add initial support for Murata SCA3300 3-axis industrial > accelerometer with digital SPI interface. This device also > provides a temperature measurement. > > Device product page including datasheet can be found at: > https://www.murata.co

Re: [PATCH 1/3] arm64: dts: xilinx: Add the clock nodes for zynqmp

2021-04-18 Thread Jan Kiszka
On 01.04.21 16:52, Jan Kiszka wrote: > On 01.04.21 13:42, Michal Simek wrote: >> Hi Jan, >> >> On 3/27/21 8:55 PM, Jan Kiszka wrote: >>> On 07.11.19 10:44, Rajan Vaja wrote: Add clock nodes for zynqmp based on CCF. Signed-off-by: Rajan Vaja --- arch/arm64/boot/dts/xilinx/

[PATCH v2 0/5] Samsung Galaxy S III Neo Initial DTS

2021-04-18 Thread Bartosz Dudziak
Enable booting of Samsung Galaxy S III Neo mobile phone with MSM8226 SoC. Implemented clocks are on top of MSM8974 GCC driver because there is really little difference between them. UART serial communication is working. Changes in v2: - Removed alphabet sort includes in MSM8974 GCC driver - Keep

[PATCH v2 1/5] dt-bindings: clock: qcom: Add MSM8226 GCC clock bindings

2021-04-18 Thread Bartosz Dudziak
Add compatible device strings and the include files for the MSM8226 GCC. Signed-off-by: Bartosz Dudziak --- Documentation/devicetree/bindings/clock/qcom,gcc.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc.yaml b/Docu

[PATCH v2 2/5] clk: qcom: gcc: Add support for Global Clock controller found on MSM8226

2021-04-18 Thread Bartosz Dudziak
Modify existing MSM8974 driver to support MSM8226 SoC. Override frequencies which are different in this older chip. Register all the clocks to the framework for the clients to be able to request for them. Signed-off-by: Bartosz Dudziak --- drivers/clk/qcom/gcc-msm8974.c | 169 +++

[PATCH v2 4/5] dt-bindings: arm: qcom: Document MSM8226 SoC binding

2021-04-18 Thread Bartosz Dudziak
Document the MSM8226 SoC device-tree binding. Signed-off-by: Bartosz Dudziak --- Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 11ec

[PATCH v2 5/5] arm: dts: qcom: Add initial DTS file for Samsung Galaxy S III Neo phone

2021-04-18 Thread Bartosz Dudziak
Add DTS support for the Samsung Galaxy S III Neo (codenamed s3ve3g) phone. Initial version have just a working serial console. Signed-off-by: Bartosz Dudziak --- arch/arm/boot/dts/Makefile| 1 + .../boot/dts/qcom-msm8226-samsung-s3ve3g.dts | 25 +++ 2 files

[PATCH v2 3/5] arm: dts: qcom: Add support for MSM8226 SoC

2021-04-18 Thread Bartosz Dudziak
Implement basic device tree support for MSM8226 SoC which belongs to the Snapdragon 400 family. For now, this file adds the basic nodes like gcc, pinctrl and other required configuration for booting up to the serial console. Signed-off-by: Bartosz Dudziak --- arch/arm/boot/dts/qcom-msm8226.dtsi

Re: [EXTERNAL] Re: [PATCH 4.19 013/247] cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.

2021-04-18 Thread Salvatore Bonaccorso
Hi Greg, On Mon, Apr 12, 2021 at 10:01:33AM +0200, Greg Kroah-Hartman wrote: > On Thu, Apr 08, 2021 at 01:41:05PM +0200, Salvatore Bonaccorso wrote: > > Hi Shyam, > > > > On Tue, Apr 06, 2021 at 05:01:17PM +0200, Salvatore Bonaccorso wrote: > > > Hi, > > > > > > On Tue, Apr 06, 2021 at 02:00:48P

Re: [PATCH v3 1/2] KVM: selftests: Sync data verify of dirty logging with guest sync

2021-04-18 Thread Peter Xu
On Sat, Apr 17, 2021 at 10:36:01AM -0400, Peter Xu wrote: > This fixes a bug that can trigger with e.g. "taskset -c 0 ./dirty_log_test" or > when the testing host is very busy. > > A similar previous attempt is done [1] but that is not enough, the reason is > stated in the reply [2]. > > As a sum

Re: [PATCH 0/5] Samsung Galaxy S III Neo Initial DTS

2021-04-18 Thread Bartosz Dudziak
On Fri, Mar 26, 2021 at 03:58:11PM +0100, Bartosz Dudziak wrote: > This series of patches enables to boot MSM8226 SoC in Samsung Galaxy S III Neo > mobile phone. Implemented clocks are on top of MSM8974 GCC driver because > there > is really little difference between them. UART serial communicatio

Re: [PATCH v3 0/3] Drivers: hv: vmbus: Introduce CHANNELMSG_MODIFYCHANNEL_RESPONSE

2021-04-18 Thread Wei Liu
On Fri, Apr 16, 2021 at 04:34:46PM +0200, Andrea Parri (Microsoft) wrote: > Changes since v2[1]: > - fix VMbus protocol version name > - add Reviewed-by: tag > - refactor/simplyfy changes in hv_synic_cleanup() > > Changes since v1[2]: > - rebase on hyperv-next > - split changes into thre

[ANNOUNCE] 4.4.267-rt221

2021-04-18 Thread Daniel Wagner
Hello RT-list! I'm pleased to announce the 4.4.267-rt221 stable release. This is just an update to the latest stable release. No RT specific changes. Known issue: - locktorture reports a might_sleep warning for spin_locks test You can get this release via the git tree at: git://git.kernel

Re: [PATCH 1/2] x86/hyperv: Move hv_do_rep_hypercall to asm-generic

2021-04-18 Thread Wei Liu
On Fri, Apr 16, 2021 at 05:43:02PM -0700, Joseph Salisbury wrote: > From: Joseph Salisbury > > This patch makes no functional changes. It simply moves hv_do_rep_hypercall() > out of arch/x86/include/asm/mshyperv.h and into asm-generic/mshyperv.h > > hv_do_rep_hypercall() is architecture indepen

Re: [PATCH v8 4/8] dt-bindings: pwm: Support new PWM_USAGE_POWER flag

2021-04-18 Thread Uwe Kleine-König
Hello Thierry, On Fri, Apr 16, 2021 at 12:45:10PM +0200, Thierry Reding wrote: > On Fri, Apr 16, 2021 at 11:32:12AM +0200, Uwe Kleine-König wrote: > > On Thu, Apr 15, 2021 at 06:27:02PM +0200, Thierry Reding wrote: > > > On Tue, Apr 13, 2021 at 07:56:31PM +0200, Uwe Kleine-König wrote: > > > > Ple

Re: [PATCH v1 4/7] iio: st_sensors: Call st_sensors_power_enable() from bus drivers

2021-04-18 Thread Andy Shevchenko
On Sun, Apr 18, 2021 at 1:54 PM Jonathan Cameron wrote: > On Wed, 14 Apr 2021 22:54:51 +0300 > Andy Shevchenko wrote: > > > In case we would initialize two IIO devices from one physical device, > > we shouldn't have a clash on regulators. That's why move > > st_sensors_power_enable() call from co

Re: [PATCH v5 2/2] pwm: visconti: Add Toshiba Visconti SoC PWM support

2021-04-18 Thread Uwe Kleine-König
Hello, just a few smaller issues left to fix. On Sun, Apr 18, 2021 at 08:09:04PM +0900, Nobuhiro Iwamatsu wrote: > diff --git a/drivers/pwm/pwm-visconti.c b/drivers/pwm/pwm-visconti.c > new file mode 100644 > index ..166b18ac1a3a > --- /dev/null > +++ b/drivers/pwm/pwm-visconti.c > @@

Re: [PATCH v1 6/7] iio: st_sensors: Add lsm9ds0 IMU support

2021-04-18 Thread Andy Shevchenko
On Sun, Apr 18, 2021 at 2:07 PM Jonathan Cameron wrote: Thanks for review, my answers below. > On Wed, 14 Apr 2021 22:54:53 +0300 > Andy Shevchenko wrote: > > > We can utilize separate drivers for accelerometer and magnetometer, > > so here is the glue driver to enable LSM9DS0 IMU support. > >

[PATCH rdma-next 0/3] CMA fixes

2021-04-18 Thread Leon Romanovsky
From: Leon Romanovsky Another round of fixes to cma.c Parav Pandit (1): RDMA/cma: Skip device which doesn't support CM Shay Drory (2): RDMA/core: Fix check of device in rdma_listen() RDMA/core: Add CM to restrack after successful attachment to a device drivers/infiniband/core/cma.c | 28

[PATCH] arm64: remove HAVE_DEBUG_BUGVERBOSE

2021-04-18 Thread Jisheng Zhang
From: Jisheng Zhang After commit 9fb7410f955f ("arm64/BUG: Use BRK instruction for generic BUG traps"), arm64 has switched to generic BUG implementation, so there's no need to select HAVE_DEBUG_BUGVERBOSE. Signed-off-by: Jisheng Zhang --- arch/arm64/Kconfig | 1 - 1 file changed, 1 deletion(-)

Re: [PATCH v1 6/7] iio: st_sensors: Add lsm9ds0 IMU support

2021-04-18 Thread Andy Shevchenko
On Sun, Apr 18, 2021 at 4:49 PM Andy Shevchenko wrote: > > On Sun, Apr 18, 2021 at 2:07 PM Jonathan Cameron wrote: > > Thanks for review, my answers below. > > > On Wed, 14 Apr 2021 22:54:53 +0300 > > Andy Shevchenko wrote: > > > > > We can utilize separate drivers for accelerometer and magnetom

Re: PROBLEM: DoS Attack on Fragment Cache

2021-04-18 Thread Matt Corallo
Should the default, though, be so low? If someone is still using a old modem they can crank up the sysctl, it does seem like such things are pretty rare these days :). Its rather trivial to, without any kind of attack, hit 1Mbps of lost fragments in today's networks, at which point all fragments

[PATCH 1/2] lib: scatterlist: Fix loop termination condition in sg_calculate_split()

2021-04-18 Thread Alexander Egorenkov
nb_splits was decremented one time too much becoming negative. This leads to the failure of the loop termination conditions which checks only for nb_splits being zero. Move the loop termination condition a couple of lines up before nb_splits is decremented again and potentially becomes negative. S

[PATCH 2/2] lib: scatterlist: Fix incorrect SG offset in sg_split_phys()

2021-04-18 Thread Alexander Egorenkov
sg_split_phys() incorrectly resets the offset of all split SGLs but the first one to 0. This is wrong because one of the original SGLs might have the offset != 0. Signed-off-by: Alexander Egorenkov --- lib/sg_split.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/sg_split.c b/lib/sg_sp

Re: [PATCH] kernel:irq:manage: request threaded irq with a specified priority

2021-04-18 Thread chensong
Daniel & tglx, Points taken and thanks a lot for such detailed explanations. BR Song On 2021/4/16 下午5:09, Thomas Gleixner wrote: On Fri, Apr 16 2021 at 12:57, chensong wrote: On 2021/4/13 下午4:39, Thomas Gleixner wrote: It breaks because the system designer failed to assign proper priorities

Re: [PATCH] extcon: maxim: Fix missing IRQF_ONESHOT as only threaded handler

2021-04-18 Thread Guangqing Zhu
On 16/04/2021 16:43, Krzysztof Kozlowski wrote: On 15/04/2021 13:36, zhuguangqin...@gmail.com wrote: From: Guangqing Zhu Coccinelle noticed: 1. drivers/extcon/extcon-max14577.c:699:8-33: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT 2. drivers/extcon/extco

RE: [PATCH 1/2] x86/hyperv: Move hv_do_rep_hypercall to asm-generic

2021-04-18 Thread Michael Kelley
From: Wei Liu Sent: Sunday, April 18, 2021 6:09 AM > On Fri, Apr 16, 2021 at 05:43:02PM -0700, Joseph Salisbury wrote: > > From: Joseph Salisbury > > > > This patch makes no functional changes. It simply moves > > hv_do_rep_hypercall() > > out of arch/x86/include/asm/mshyperv.h and into asm-gen

[PATCH] media: atomisp: pci: remove unneeded variable 'err'

2021-04-18 Thread Saurav Girepunje
Fix the following coccicheck warning: drivers/staging/media/atomisp/pci/sh_css_mipi.c:39:5-8: Unneeded variable: "err". Return "0" on line 44 Signed-off-by: Saurav Girepunje --- drivers/staging/media/atomisp/pci/sh_css_mipi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a

[PATCH v6 00/12] Fix bugs and add support for new Ingenic SoCs.

2021-04-18 Thread Zhou Yanjie
v1->v2: 1.Split [1/3] in v1 to [1/6] [2/6] [3/6] [4/6] in v2. 2.Fix the uninitialized warning. v2->v3: Split [6/6] in v2 to [6/10] [7/10] [8/10] [9/10] [10/10] in v3. v3->v4: 1.Modify the format of comment. 2.Split lcd pins into several groups. 3.Drop "lcd-no-pins" which is pointless. 4.Improve t

[PATCH v6 01/12] pinctrl: Ingenic: Add missing pins to the JZ4770 MAC MII group.

2021-04-18 Thread Zhou Yanjie
The MII group of JZ4770's MAC should have 7 pins, add missing pins to the MII group. Fixes: 5de1a73e78ed ("Pinctrl: Ingenic: Add missing parts for JZ4770 and JZ4780.") Cc: Signed-off-by: 周琰杰 (Zhou Yanjie) Reviewed-by: Andy Shevchenko Reviewed-by: Paul Cercueil --- Notes: v2: New patc

[PATCH v6 02/12] pinctrl: Ingenic: Add support for read the pin configuration of X1830.

2021-04-18 Thread Zhou Yanjie
Add X1830 support in "ingenic_pinconf_get()", so that it can read the configuration of X1830 SoC correctly. Fixes: d7da2a1e4e08 ("pinctrl: Ingenic: Add pinctrl driver for X1830.") Cc: Signed-off-by: 周琰杰 (Zhou Yanjie) Reviewed-by: Andy Shevchenko Reviewed-by: Paul Cercueil --- Notes: v2:

[PATCH v6 03/12] pinctrl: Ingenic: Adjust the sequence of X1830 SSI pin groups.

2021-04-18 Thread Zhou Yanjie
Adjust the sequence of X1830's SSI related codes to make it consistent with other Ingenic SoCs. Signed-off-by: 周琰杰 (Zhou Yanjie) Reviewed-by: Andy Shevchenko Reviewed-by: Paul Cercueil --- Notes: v2: New patch. v2->v3: Add Paul Cercueil's Reviewed-by. v3->v4:

[PATCH v6 04/12] pinctrl: Ingenic: Improve LCD pins related code.

2021-04-18 Thread Zhou Yanjie
1.In the JZ4740 part, remove pointless "lcd-no-pins", use "lcd-special" and "lcd-generic" instead "lcd-18bit-tft". Currently, in the mainline, no other devicetree out there is using the "lcd-18bit-tft" ABI, so we should be able to replace it safely. 2.In the JZ4725B part, adjust the location

[PATCH v6 05/12] pinctrl: Ingenic: Add DMIC pins support for Ingenic SoCs.

2021-04-18 Thread Zhou Yanjie
1.Add DMIC pins support for the JZ4780 SoC. 2.Add DMIC pins support for the X1000 SoC. 3.Add DMIC pins support for the X1500 SoC. 4.Add DMIC pins support for the X1830 SoC. Signed-off-by: 周琰杰 (Zhou Yanjie) --- Notes: v6: New patch. drivers/pinctrl/pinctrl-ingenic.c | 22 +++

[PATCH v6 07/12] dt-bindings: pinctrl: Add bindings for new Ingenic SoCs.

2021-04-18 Thread Zhou Yanjie
Add the pinctrl bindings for the JZ4730 SoC, the JZ4750 SoC, the JZ4755 SoC, the JZ4775 SoC and the X2000 SoC from Ingenic. Signed-off-by: 周琰杰 (Zhou Yanjie) Reviewed-by: Rob Herring --- Notes: v2: New patch. v2->v3: No change. v3->v4: 1.Add a description of JZ4

[PATCH v6 06/12] pinctrl: Ingenic: Reformat the code.

2021-04-18 Thread Zhou Yanjie
1.Move the "INGENIC_PIN_GROUP_FUNCS" to the macro definition section. 2.Add tabs before values to align the code in the macro definition section. Signed-off-by: 周琰杰 (Zhou Yanjie) Reviewed-by: Andy Shevchenko Reviewed-by: Paul Cercueil --- Notes: v2: New patch. v2->v3: Add

[PATCH v6 08/12] pinctrl: Ingenic: Add pinctrl driver for JZ4730.

2021-04-18 Thread Zhou Yanjie
Add support for probing the pinctrl-ingenic driver on the JZ4730 SoC from Ingenic. This driver is derived from Paul Boddie. It is worth to noting that the JZ4730 SoC is special in having two control registers (upper/lower), so add code to handle the JZ4730 specific register offsets and some regist

[PATCH v6 09/12] pinctrl: Ingenic: Add pinctrl driver for JZ4750.

2021-04-18 Thread Zhou Yanjie
Add support for probing the pinctrl-ingenic driver on the JZ4750 SoC from Ingenic. Signed-off-by: 周琰杰 (Zhou Yanjie) Reviewed-by: Andy Shevchenko Reviewed-by: Paul Cercueil --- Notes: v3: New patch. v3->v4: 1.Use "lcd-special" and "lcd-generic" instead "lcd-18bit-tft".

[PATCH v6 10/12] pinctrl: Ingenic: Add pinctrl driver for JZ4755.

2021-04-18 Thread Zhou Yanjie
Add support for probing the pinctrl-ingenic driver on the JZ4755 SoC from Ingenic. Signed-off-by: 周琰杰 (Zhou Yanjie) Reviewed-by: Andy Shevchenko Reviewed-by: Paul Cercueil --- Notes: v3: New patch. v3->v4: 1.Split LCD pins into several groups. 2.Drop "lcd-no-pins" whic

[PATCH v6 11/12] pinctrl: Ingenic: Add pinctrl driver for JZ4775.

2021-04-18 Thread Zhou Yanjie
Add support for probing the pinctrl-ingenic driver on the JZ4775 SoC from Ingenic. Signed-off-by: 周琰杰 (Zhou Yanjie) Reviewed-by: Andy Shevchenko Reviewed-by: Paul Cercueil --- Notes: v3: New patch. v3->v4: 1.Split LCD pins into several groups. 2.Drop "lcd-no-pins" whic

[PATCH v6 12/12] pinctrl: Ingenic: Add pinctrl driver for X2000.

2021-04-18 Thread Zhou Yanjie
Add support for probing the pinctrl-ingenic driver on the X2000 SoC from Ingenic. Signed-off-by: 周琰杰 (Zhou Yanjie) Reviewed-by: Andy Shevchenko Reviewed-by: Paul Cercueil --- Notes: v3: New patch. v3->v4: 1.Split LCD pins into several groups. 2.Drop "lcd-no-pins" which

Re: [PATCH v4 5/5] clk: ti: add am33xx/am43xx spread spectrum clock support

2021-04-18 Thread Dario Binacchi
Hi Tero, > Il 16/04/2021 14:43 Tero Kristo ha scritto: > > > Hi Dario, > > Spent some time looking at this, had to read through the TRM chapter of > it also in quite detailed level to figure out how this is supposed to > work out. > > Other than couple of minor nits below, the code seems o

[PATCH v5 1/5] clk: ti: fix typo in routine description

2021-04-18 Thread Dario Binacchi
Replace _omap3_noncore_dpll_program with omap3_noncore_dpll_program. Signed-off-by: Dario Binacchi Reviewed-by: Stephen Boyd --- (no changes since v4) Changes in v4: - Add Stephen Boyd review tag. drivers/clk/ti/dpll3xxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[PATCH v5 4/5] ARM: dts: am43xx-clocks: add spread spectrum support

2021-04-18 Thread Dario Binacchi
Registers for adjusting the spread spectrum clocking (SSC) have been added. As reported by the TI spruhl7x RM, SSC is supported only for LCD and MPU PLLs, but the PRCM_CM_SSC_DELTAMSTEP_DPLL_XXX and PRCM_CM_SSC_MODFREQDIV_DPLL_XXX registers, as well as the enable field in the PRCM_CM_CLKMODE_DPLL_X

[PATCH v5 0/5] clk: ti: add am33xx spread spectrum clock support

2021-04-18 Thread Dario Binacchi
As reported by the TI spruh73x/spruhl7x RM, MPU and LCD modules support spread spectrum clocking (SSC) on their output clocks. SSC is used to spread the spectral peaking of the clock to reduce any electromagnetic interference (EMI) that may be caused due to the clock’s fundamental or any of its h

[PATCH v5 5/5] clk: ti: add am33xx/am43xx spread spectrum clock support

2021-04-18 Thread Dario Binacchi
The patch enables spread spectrum clocking (SSC) for MPU and LCD PLLs. As reported by the TI spruh73x/spruhl7x RM, SSC is only supported for the DISP/LCD and MPU PLLs on am33xx/am43xx. SSC is not supported for DDR, PER, and CORE PLLs. Calculating the required values and setting the registers accor

[PATCH v5 2/5] dt-bindings: ti: dpll: add spread spectrum support

2021-04-18 Thread Dario Binacchi
DT bindings for enabling and adjusting spread spectrum clocking have been added. Signed-off-by: Dario Binacchi Reviewed-by: Rob Herring --- (no changes since v4) Changes in v4: - Add Rob Herring review tag. Changes in v3: - Add '-hz' suffix to "ti,ssc-modfreq" binding. .../devicetree/bindi

[PATCH v5 3/5] ARM: dts: am33xx-clocks: add spread spectrum support

2021-04-18 Thread Dario Binacchi
Registers for adjusting the spread spectrum clocking (SSC) have been added. As reported by the TI spruh73x RM, SSC is supported only for LCD and MPU PLLs, but the CM_SSC_DELTAMSTEP_DPLL_XXX and CM_SSC_MODFREQDIV_DPLL_XXX registers, as well as the enable field in the CM_CLKMODE_DPLL_XXX registers ar

Re: [PATCH v4 3/7] media: i2c: max9286: Use "maxim,gpio-poc" property

2021-04-18 Thread Jacopo Mondi
Hi Laurent, On Thu, Apr 15, 2021 at 10:19:30PM +0300, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Thu, Apr 15, 2021 at 02:25:58PM +0200, Jacopo Mondi wrote: > > The 'maxim,gpio-poc' property is used when the remote camera > > power-over-coax is controlled by one of the

[rcu:dev.2021.04.13a] BUILD SUCCESS 431ded55d9d86084c398c33d900356a7d1587f78

2021-04-18 Thread kernel test robot
allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a003-20210418 i386 randconfig-a001-20210418 i386 randconfig

Re: [net-next 1/3] net: dsa: optimize tx timestamp request handling

2021-04-18 Thread Richard Cochran
On Fri, Apr 16, 2021 at 08:36:53PM +0800, Yangbo Lu wrote: > Optimization could be done on dsa_skb_tx_timestamp(), and dsa device > drivers should adapt to it. > > - Check SKBTX_HW_TSTAMP request flag at the very beginning, instead of in > port_txtstamp, so that most skbs not requiring tx timest

Re: [PATCH] media: atomisp: pci: remove unneeded variable 'err'

2021-04-18 Thread Fabio Aiuto
On Sun, Apr 18, 2021 at 08:13:23PM +0530, Saurav Girepunje wrote: > Fix the following coccicheck warning: > > drivers/staging/media/atomisp/pci/sh_css_mipi.c:39:5-8: > Unneeded variable: "err". Return "0" on line 44 > > Signed-off-by: Saurav Girepunje > --- > drivers/staging/media/atomisp/pci/s

Re: [net-next 1/3] net: dsa: optimize tx timestamp request handling

2021-04-18 Thread Richard Cochran
On Fri, Apr 16, 2021 at 08:36:53PM +0800, Yangbo Lu wrote: > @@ -628,9 +620,7 @@ static netdev_tx_t dsa_slave_xmit(struct sk_buff *skb, > struct net_device *dev) > > DSA_SKB_CB(skb)->clone = NULL; > > - /* Identify PTP protocol packets, clone them, and pass them to the > - * swi

Re: [syzbot] unexpected kernel reboot (4)

2021-04-18 Thread Tetsuo Handa
On 2021/04/17 12:19, Tetsuo Handa wrote: > On 2021/04/15 0:39, Andrey Konovalov wrote: >> On Wed, Apr 14, 2021 at 7:45 AM Dmitry Vyukov wrote: >>> The reproducer connects some USB HID device and communicates with the >>> driver. >>> Previously we observed reboots because HID devices can trigger r

  1   2   3   4   >