Re: [PATCH] I2C: JZ4780: Fix bug for Ingenic X1000.

2021-03-18 Thread Zhou Yanjie
Hi Wolfram, Sorry, please forgive my carefulness, I wrongly sent the version that did not clean up, resulting in missing the reporter's information and some errors in formats. On 2021/3/19 上午1:06, Wolfram Sang wrote: On Fri, Mar 19, 2021 at 12:25:43AM +0800, 周琰杰 (Zhou Yanjie) wrote: Only

Re: [PATCH v2] smp: kernel/panic.c - silence warnings

2021-03-18 Thread Christophe Leroy
+Andrew Le 19/03/2021 à 02:39, heying (H) a écrit : Dear Ingo, Peter and Christophe, I'm a bit confused. All of you have a good reason but have opposite opinions. As far as I understand Ingo is willing to follow the existing "style" of the file. In include/linux/smp.h we have: - The follo

RE: [RFC PATCH v5 1/4] topology: Represent clusters of CPUs within a die

2021-03-18 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Friday, March 19, 2021 7:35 PM > To: Song Bao Hua (Barry Song) > Cc: tim.c.c...@linux.intel.com; catalin.mari...@arm.com; w...@kernel.org; > r...@rjwysocki.net; vincent.guit...@linaro.org; b...@alien8.de; >

Re: [PATCH v8] i2c: virtio: add a virtio i2c frontend driver

2021-03-18 Thread Jie Deng
On 2021/3/19 14:35, Viresh Kumar wrote: On 19-03-21, 14:29, Jie Deng wrote: I also see example drivers/i2c/busses/i2c-xiic.c. Some people might think this way is more clearer than updating each member in probe. Basically, I think it's just a matter of personal preference which doesn't Memory

[PATCH] scsi: ufs: Don't check UFSHCD_CAP_WB_EN capability in ufshcd_wb_toggle{_flush}

2021-03-18 Thread Yue Hu
From: Yue Hu There are several redundant calls to ufshcd_is_wb_allowed() as below: ufshcd_wb_config() |-> ufshcd_is_wb_allowed() |-> ufshcd_wb_toggle() -> ufshcd_is_wb_allowed() |-> ufshcd_wb_toggle_flush() -> ufshcd_is_wb_allowed() wb_on_store() |-> ufshcd_is_wb_allowed() |-> ufshcd_

Partnership

2021-03-18 Thread M Faraz
Hello there, Good day. I sent you an email a few days ago but I did not receive a reply. I am not sure if you got that email or not. I am Muhammad Faraz. I got your contact from an online business directory and I am contacting you because I have a proposition that could be of great interest to

Re: [PATCH] rtl8188eu: Removed Unnecessary ftrace-like logging

2021-03-18 Thread Greg KH
On Thu, Mar 18, 2021 at 08:05:27PM +, Paul McQuade wrote: > prefer using ftrace You need to say more here than just this please. Also please fix up your subject line to have "staging:" in it, otherwise it gets easily lost. thanks, greg k-h

[PATCH net-next 4/4] net: hinic: convert strlcpy to strscpy

2021-03-18 Thread Daode Huang
Usage of strlcpy in linux kernel has been recently deprecated[1], so convert hinic driver to strscpy [1] https://lore.kernel.org/lkml/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL =v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Daode Huang --- drivers/net/ethernet/huawei/hinic/hinic_ethtool.c | 4 ++-- 1

[PATCH net-next 3/4] net: hinic: remove the repeat word "the" in comment.

2021-03-18 Thread Daode Huang
There is a duplicate "the" in the comment, so delete it. Signed-off-by: Daode Huang --- drivers/net/ethernet/huawei/hinic/hinic_hw_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/huawei/hinic/hinic_hw_if.c b/drivers/net/ethernet/huawei/hinic/hinic_h

[PATCH net-next 1/4] net: hinic: Remove unnecessary 'out of memory' message

2021-03-18 Thread Daode Huang
This patch removes unnecessary out of memory message in hinic driver, fixes the following checkpatch.pl warning: "WARNING: Possible unnecessary 'out of memory' message" Signed-off-by: Daode Huang --- drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c | 8 ++-- drivers/net/ethernet/huawei/h

[PATCH net-next 2/4] net: hinic: add a blank line after declarations

2021-03-18 Thread Daode Huang
There should be a blank line after declarations, so just add it. Signed-off-by: Daode Huang --- drivers/net/ethernet/huawei/hinic/hinic_tx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/huawei/hinic/hinic_tx.c b/drivers/net/ethernet/huawei/hinic/hinic_tx.c index 8da7

[PATCH net-next 0/4] net: hinic; make some cleanup for hinic

2021-03-18 Thread Daode Huang
This set try to remove the unnecessary output message, add a blank line, remove the dupliate word and change the deprecated strlcp functions in hinic driver, for details, please refer to each patch. Daode Huang (4): net: hinic: Remove unnecessary 'out of memory' message net: hinic: add a blank

Re: [PATCH] X86: __set_clr_pte_enc() miscalculates physical address

2021-03-18 Thread Greg KH
On Thu, Mar 18, 2021 at 01:26:57PM -0700, Isaku Yamahata wrote: > __set_clr_pte_enc() miscalculates physical address to operate. > pfn is in unit of PG_LEVEL_4K, not PGL_LEVEL_{2M, 1G}. > Shift size to get physical address should be PAGE_SHIFT, > not page_level_shift(). > > Fixes: dfaaec9033b8 ("x

Re: [PATCH] io_uring: Try to merge io requests only for regular files

2021-03-18 Thread Greg KH
On Fri, Mar 19, 2021 at 05:28:59AM +, Dmitry Monakhov wrote: > Otherwise we may endup blocking on pipe or socket. > > Fixes: 6d5d5ac ("io_uring: extend async work merge") > Testcase: > https://github.com/dmonakhov/liburing/commit/16d171b6ef9d68e6db66650a83d98c5c721d01f6 > Signed-off-by: Dmitr

RE: [PATCH] tty: serial: samsung_tty: remove spinlock flags in interrupt handlers

2021-03-18 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Tuesday, March 16, 2021 10:41 PM > To: Johan Hovold ; Finn Thain ; > Song Bao Hua (Barry Song) > Cc: Krzysztof Kozlowski ; Greg > Kroah-Hartman ; Jiri Slaby ; > linux-arm Mailing List ; Linux Samsung

Re: [PATCH v8] i2c: virtio: add a virtio i2c frontend driver

2021-03-18 Thread Viresh Kumar
On 19-03-21, 14:29, Jie Deng wrote: > I also see example drivers/i2c/busses/i2c-xiic.c. Some people might think > this way is more clearer than > > updating each member in probe. Basically, I think it's just a matter of > personal preference which doesn't Memory used by one instance of struct i2c

[PATCH v6 5/5] drm/bridge: anx7625: add HDMI audio function

2021-03-18 Thread Xin Ji
Add audio HDMI codec function support, enable it through device true flag "analogix,audio-enable". Reported-by: kernel test robot Signed-off-by: Xin Ji --- drivers/gpu/drm/bridge/analogix/anx7625.c | 227 ++ drivers/gpu/drm/bridge/analogix/anx7625.h | 5 + 2 files changed,

Re: [RFC PATCH v5 1/4] topology: Represent clusters of CPUs within a die

2021-03-18 Thread Greg KH
On Fri, Mar 19, 2021 at 05:16:15PM +1300, Barry Song wrote: > diff --git a/Documentation/admin-guide/cputopology.rst > b/Documentation/admin-guide/cputopology.rst > index b90dafc..f9d3745 100644 > --- a/Documentation/admin-guide/cputopology.rst > +++ b/Documentation/admin-guide/cputopology.rst > @

[PATCH v6] powerpc/irq: inline call_do_irq() and call_do_softirq() on PPC32

2021-03-18 Thread Christophe Leroy
call_do_irq() and call_do_softirq() are simple enough to be worth inlining. Inlining them avoids an mflr/mtlr pair plus a save/reload on stack. It also allows GCC to keep the saved ksp_limit in an nonvolatile reg. This is inspired from S390 arch. Several other arches do more or less the same. The

[PATCH v6 4/5] drm/bridge: anx7625: add HDCP support

2021-03-18 Thread Xin Ji
Add HDCP feature, enable HDCP function through chip internal key and downstream's capability. Signed-off-by: Xin Ji --- drivers/gpu/drm/bridge/analogix/anx7625.c | 147 ++ drivers/gpu/drm/bridge/analogix/anx7625.h | 36 ++ 2 files changed, 183 insertions(+) diff --git a

[PATCH v6 3/5] drm/bridge: anx7625: add MIPI DPI input feature support

2021-03-18 Thread Xin Ji
Add MIPI rx DPI input support. Reported-by: kernel test robot Signed-off-by: Xin Ji --- drivers/gpu/drm/bridge/analogix/anx7625.c | 245 -- drivers/gpu/drm/bridge/analogix/anx7625.h | 18 +- 2 files changed, 203 insertions(+), 60 deletions(-) diff --git a/drivers/gpu/drm/b

[PATCH v6 2/5] drm/bridge: anx7625: fix not correct return value

2021-03-18 Thread Xin Ji
At some time, the original code may return non zero value, force return 0 if operation finished. Signed-off-by: Xin Ji --- drivers/gpu/drm/bridge/analogix/anx7625.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/dr

Re: [PATCH V3] exit: trigger panic when global init has exited

2021-03-18 Thread qianli zhao
Hi,Eric > As I understand it this patch has two purposes: > 1. Avoid the BUG_ON in zap_pid_ns_processes when !CONFIG_PID_NS > 2. panic as early as possible so exiting threads don't removing > interesting debugging state. Your understanding is very correct,this is what my patch wants to do > I

[PATCH v6 1/5] dt-bindings:drm/bridge:anx7625:add vendor define flags

2021-03-18 Thread Xin Ji
Add 'bus-type' and 'data-lanes' define for port0. Define DP tx lane0, lane1 swing register array define, and audio enable flag. Signed-off-by: Xin Ji --- .../display/bridge/analogix,anx7625.yaml | 58 ++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/Documen

[PATCH v6 0/5] Add MIPI rx DPI support

2021-03-18 Thread Xin Ji
Hi all, this patch series implement MIPI rx DPI feature. Please help to review. This is the v6 version, any mistakes, please let me know, I'll fix it in the next series. Change history: v6: Fix kernel robot compile warning v5: Fix Rob Herring, Hsin-Yi, Robert Foss comments - Rebase code on the

[PATCH v2 21/21] ipmi: kcs_bmc_aspeed: Optionally apply status address

2021-03-18 Thread Andrew Jeffery
Some Aspeed KCS devices can derive the status register address from the address of the data register. As such, the address of the status register can be implicit in the configuration if desired. On the other hand, sometimes address schemes might be requested that are incompatible with the default a

[PATCH v2 20/21] ipmi: kcs_bmc_aspeed: Fix IBFIE typo from datasheet

2021-03-18 Thread Andrew Jeffery
Input Buffer Full Interrupt Enable (IBFIE) is typoed as IBFIF for some registers in the datasheet. Fix the driver to use the sensible acronym. Signed-off-by: Andrew Jeffery --- drivers/char/ipmi/kcs_bmc_aspeed.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) di

[PATCH v2 19/21] ipmi: kcs_bmc_aspeed: Implement KCS SerIRQ configuration

2021-03-18 Thread Andrew Jeffery
Apply the SerIRQ ID and level/sense behaviours from the devicetree if provided. Signed-off-by: Andrew Jeffery --- drivers/char/ipmi/kcs_bmc_aspeed.c | 179 - 1 file changed, 177 insertions(+), 2 deletions(-) diff --git a/drivers/char/ipmi/kcs_bmc_aspeed.c b/drivers/

Re: [PATCH v8] i2c: virtio: add a virtio i2c frontend driver

2021-03-18 Thread Jie Deng
On 2021/3/19 13:40, Viresh Kumar wrote: On 19-03-21, 13:31, Jie Deng wrote: On 2021/3/19 11:54, Viresh Kumar wrote: On 18-03-21, 15:52, Arnd Bergmann wrote: Allowing multiple virtio-i2c controllers in one system, and multiple i2c devices attached to each controller is clearly something that

[PATCH v2 17/21] dt-bindings: ipmi: Convert ASPEED KCS binding to schema

2021-03-18 Thread Andrew Jeffery
Given the deprecated binding, improve the ability to detect issues in the platform devicetrees. Further, a subsequent patch will introduce a new interrupts property for specifying SerIRQ behaviour, so convert before we do any further additions. Signed-off-by: Andrew Jeffery --- .../bindings/ipmi

[PATCH v2 18/21] dt-bindings: ipmi: Add optional SerIRQ property to ASPEED KCS devices

2021-03-18 Thread Andrew Jeffery
Allocating IO and IRQ resources to LPC devices is in-theory an operation for the host, however ASPEED don't appear to expose this capability outside the BMC (e.g. SuperIO). Instead, we are left with BMC-internal registers for managing these resources, so introduce a devicetree property for KCS devi

[PATCH v2 15/21] ipmi: kcs_bmc: Don't enforce single-open policy in the kernel

2021-03-18 Thread Andrew Jeffery
Soon it will be possible for one KCS device to have multiple associated chardevs exposed to userspace (for IPMI and raw-style access). However, don't prevent userspace from: 1. Opening more than one chardev at a time, or 2. Opening the same chardev more than once. System behaviour is undefined fo

[PATCH v2 16/21] ipmi: kcs_bmc: Add a "raw" character device interface

2021-03-18 Thread Andrew Jeffery
The existing IPMI chardev encodes IPMI behaviours as the name suggests. However, KCS devices are useful beyond IPMI (or keyboards), as they provide a means to generate IRQs and exchange arbitrary data between a BMC and its host system. Implement a "raw" KCS character device that exposes the IDR, O

[PATCH v2 14/21] ipmi: kcs_bmc: Allow clients to control KCS IRQ state

2021-03-18 Thread Andrew Jeffery
Add a mechanism for controlling whether the client associated with a KCS device will receive Input Buffer Full (IBF) and Output Buffer Empty (OBE) events. This enables an abstract implementation of poll() for KCS devices. A wart in the implementation is that the ASPEED KCS devices don't support an

[PATCH v2 11/21] ipmi: kcs_bmc: Split headers into device and client

2021-03-18 Thread Andrew Jeffery
Strengthen the distinction between code that abstracts the implementation of the KCS behaviours (device drivers) and code that exploits KCS behaviours (clients). Neither needs to know about the APIs required by the other, so provide separate headers. Signed-off-by: Andrew Jeffery --- drivers/cha

[PATCH v2 12/21] ipmi: kcs_bmc: Strip private client data from struct kcs_bmc

2021-03-18 Thread Andrew Jeffery
Move all client-private data out of `struct kcs_bmc` into the KCS client implementation. With this change the KCS BMC core code now only concerns itself with abstract `struct kcs_bmc` and `struct kcs_bmc_client` types, achieving expected separation of concerns. Further, the change clears the path

[PATCH v2 13/21] ipmi: kcs_bmc: Decouple the IPMI chardev from the core

2021-03-18 Thread Andrew Jeffery
Now that we have untangled the data-structures, split the userspace interface out into its own module. Userspace interfaces and drivers are registered to the KCS BMC core to support arbitrary binding of either. Signed-off-by: Andrew Jeffery --- drivers/char/ipmi/Kconfig | 13 + d

[PATCH v2 10/21] ipmi: kcs_bmc: Turn the driver data-structures inside-out

2021-03-18 Thread Andrew Jeffery
Make the KCS device drivers responsible for allocating their own memory. Until now the private data for the device driver was allocated internal to the private data for the chardev interface. This coupling required the slightly awkward API of passing through the struct size for the driver private

[PATCH v2 09/21] ipmi: kcs_bmc: Split out kcs_bmc_cdev_ipmi

2021-03-18 Thread Andrew Jeffery
Take steps towards defining a coherent API to separate the KCS device drivers from the userspace interface. Decreasing the coupling will improve the separation of concerns and enable the introduction of alternative userspace interfaces. For now, simply split the chardev logic out to a separate fil

[PATCH] iio: adc: ad7292: Modify the bool initialization assignment

2021-03-18 Thread Guoqing chi
From: Guoqing Chi A bool initializer is best assigned to false rather than 0. Signed-off-by: Guoqing Chi --- drivers/iio/adc/ad7292.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/ad7292.c b/drivers/iio/adc/ad7292.c index 70e33dd1c9f7..3271a31afde1 100644

[PATCH v2 06/21] ipmi: kcs_bmc_aspeed: Use of match data to extract KCS properties

2021-03-18 Thread Andrew Jeffery
Unpack and remove the aspeed_kcs_probe_of_v[12]() functions to aid rearranging how the private device-driver memory is allocated. Signed-off-by: Andrew Jeffery --- drivers/char/ipmi/kcs_bmc_aspeed.c | 146 ++--- 1 file changed, 68 insertions(+), 78 deletions(-) diff --gi

[PATCH v2 08/21] ipmi: kcs_bmc: Rename {read,write}_{status,data}() functions

2021-03-18 Thread Andrew Jeffery
Rename the functions in preparation for separating the IPMI chardev out from the KCS BMC core. Signed-off-by: Andrew Jeffery --- drivers/char/ipmi/kcs_bmc.c | 52 ++--- 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/drivers/char/ipmi/kcs_bmc.c b/d

[PATCH v2 07/21] ipmi: kcs_bmc: Make status update atomic

2021-03-18 Thread Andrew Jeffery
Enable more efficient implementation of read-modify-write sequences. Both device drivers for the KCS BMC stack use regmaps. The new callback allows us to exploit regmap_update_bits(). Signed-off-by: Andrew Jeffery --- drivers/char/ipmi/kcs_bmc.c | 7 +-- drivers/char/ipmi/kcs_bmc.h

[PATCH v2 05/21] soc: aspeed: Adapt to new LPC device tree layout

2021-03-18 Thread Andrew Jeffery
From: "Chia-Wei, Wang" Add check against LPC device v2 compatible string to ensure that the fixed device tree layout is adopted. The LPC register offsets are also fixed accordingly. Signed-off-by: Chia-Wei Wang Reviewed-by: Andrew Jeffery --- drivers/soc/aspeed/aspeed-lpc-ctrl.c | 20 +++

[PATCH v2 04/21] pinctrl: aspeed-g5: Adapt to new LPC device tree layout

2021-03-18 Thread Andrew Jeffery
From: "Chia-Wei, Wang" Add check against LPC device v2 compatible string to ensure that the fixed device tree layout is adopted. The LPC register offsets are also fixed accordingly. Signed-off-by: Chia-Wei Wang Reviewed-by: Andrew Jeffery Acked-by: Linus Walleij --- drivers/pinctrl/aspeed/pi

[PATCH v2 03/21] ipmi: kcs: aspeed: Adapt to new LPC DTS layout

2021-03-18 Thread Andrew Jeffery
From: "Chia-Wei, Wang" Add check against LPC device v2 compatible string to ensure that the fixed device tree layout is adopted. The LPC register offsets are also fixed accordingly. Signed-off-by: Chia-Wei Wang Reviewed-by: Andrew Jeffery Acked-by: Haiyue Wang --- drivers/char/ipmi/kcs_bmc_a

[PATCH v2 02/21] ARM: dts: Remove LPC BMC and Host partitions

2021-03-18 Thread Andrew Jeffery
From: "Chia-Wei, Wang" The LPC controller has no concept of the BMC and the Host partitions. A concrete instance is that the HICRB[5:4] are for the I/O port address configurtaion of KCS channel 1/2. However, the KCS driver cannot access HICRB for channel 1/2 initialization via syscon regmap inte

[PATCH v2 01/21] dt-bindings: aspeed-lpc: Remove LPC partitioning

2021-03-18 Thread Andrew Jeffery
From: "Chia-Wei, Wang" The LPC controller has no concept of the BMC and the Host partitions. This patch fixes the documentation by removing the description on LPC partitions. The register offsets illustrated in the DTS node examples are also fixed to adapt to the LPC DTS change. Signed-off-by: C

Re: [PATCH v3 2/2] arm64: dts: ti: k3-am642: reserve gpio in mcu domain for firmware usage

2021-03-18 Thread Lokesh Vutla
On 19/03/21 10:49 am, Aswath Govindraju wrote: > The gpio0 subsystem present in MCU domain might be used by firmware and is > not pinned out in evm/sk. Therefore, reserve it for MCU firmware. > > Signed-off-by: Aswath Govindraju Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [PATCH v3 1/2] arm64: dts: ti: k3-am64: Add GPIO DT nodes

2021-03-18 Thread Lokesh Vutla
On 19/03/21 10:49 am, Aswath Govindraju wrote: > Add device tree nodes for GPIO modules and interrupt controller in main > and mcu domains. > > Signed-off-by: Aswath Govindraju Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 45 +

RE: [PATCH 03/11] i2c: imx-lpi2c: add ipg clk for lpi2c driver

2021-03-18 Thread Clark Wang
> -Original Message- > From: Aisheng Dong > Sent: Friday, March 19, 2021 12:46 > To: Clark Wang ; shawn...@kernel.org; > s.ha...@pengutronix.de > Cc: ker...@pengutronix.de; feste...@gmail.com; dl-linux-imx i...@nxp.com>; sumit.sem...@linaro.org; christian.koe...@amd.com; > linux-...@vger

[PATCH v2 00/21] ipmi: Allow raw access to KCS devices

2021-03-18 Thread Andrew Jeffery
Hello, This series is a bit of a mix of things, but its primary purpose is to expose BMC KCS IPMI devices to userspace in a way that enables userspace to talk to host firmware using protocols that are not IPMI. v1 can be found here: https://lore.kernel.org/openbmc/20210219142523.3464540-1-and...

arch/powerpc/lib/sstep.c:1172:21: error: variable 'suffix' set but not used

2021-03-18 Thread kernel test robot
Hi Jordan, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8b12a62a4e3ed4ae99c715034f557eb391d6b196 commit: 650b55b707fdfa764e9f2b81314d3eb4216fb962 powerpc: Add prefixed instructions to instruction data type date:

[PATCH -next] drm/rockchip: remove unused variable 'old_state'

2021-03-18 Thread Bixuan Cui
Fix the warning: drivers/gpu/drm/rockchip/rockchip_drm_vop.c:882:26:warning: unused variable ‘old_state’ [-Wunused-variable] struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, Signed-off-by: Bixuan Cui --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 2 -- 1 f

Re: [syzbot] KASAN: use-after-free Read in kill_pending_fw_fallback_reqs

2021-03-18 Thread Dmitry Vyukov
On Fri, Mar 19, 2021 at 7:08 AM Hillf Danton wrote: > > On Thu, 18 Mar 2021 08:10:19 -0700 > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit:6417f031 module: remove never implemented MODULE_SUPPORTED.. > > git tree: upstream > > console output: https://syzkaller

[PATCH v3 3/3] mailbox: sprd: Add supplementary inbox support

2021-03-18 Thread Orson Zhai
From: Orson Zhai Some sensors connected to Unisoc mailbox will send data very frequently. This makes channel 0 very busy and the messages from other remote cores not able to be handled as soon as possible. It's a trick (un-documented) from Unisoc ASIC designers to resolve this special requiremen

[PATCH v3 2/3] dt-bindings: mailbox: Add interrupt-names to SPRD mailbox

2021-03-18 Thread Orson Zhai
From: Orson Zhai We add an optional supp-outbox interrupt support to SPRD mailbox driver with newly added sc9863a support and change to configure interrupts with names in device tree files. Signed-off-by: Orson Zhai --- Documentation/devicetree/bindings/mailbox/sprd-mailbox.yaml | 13 +

RE: [PATCH 02/11] i2c: imx-lpi2c: add runtime pm support

2021-03-18 Thread Clark Wang
> -Original Message- > From: Aisheng Dong > Sent: Friday, March 19, 2021 12:40 > To: Clark Wang ; shawn...@kernel.org; > s.ha...@pengutronix.de > Cc: ker...@pengutronix.de; feste...@gmail.com; dl-linux-imx i...@nxp.com>; sumit.sem...@linaro.org; christian.koe...@amd.com; > linux-...@vger

[PATCH v3 1/3] mailbox: sprd: Introduce refcnt when clients requests/free channels

2021-03-18 Thread Orson Zhai
From: Orson Zhai Unisoc mailbox has no way to be enabled/disabled for any single channel. They can only be set to startup or shutdown as a whole device at same time. Add a variable to count references to avoid mailbox FIFO being reset unexpectedly when clients are requesting or freeing channels.

[PATCH v3 0/3] Fixes & a new supplementary feature to SPRD mailbox driver

2021-03-18 Thread Orson Zhai
From: Orson Zhai Fix a real problem for SPRD's mailbox driver in patch 1/3. Add supplementary inbox support for newly added sc9863a in patch 3/3 and change dt bindings yaml accordingly in patch 2/3. Changes Log: V3: - Add Reviewed-by tag from Baolin for driver code. - Change interrupt-names syn

linux-next: manual merge of the akpm tree with the security tree

2021-03-18 Thread Stephen Rothwell
Hi all, FIXME: Add owner of second tree to To: Add author(s)/SOB of conflicting commits. Today's linux-next merge of the akpm tree got conflicts in: arch/x86/entry/syscalls/syscall_32.tbl arch/x86/entry/syscalls/syscall_64.tbl include/linux/syscalls.h include/uapi/asm-generic/unis

[PATCH] bfq: silence lockdep for bfqd/ioc lock inversion

2021-03-18 Thread Khazhismel Kumykov
lockdep warns of circular locking due to inversion between bfq_insert_requests and bfq_exit_icq. If we end freeing a request when merging, we *may* grab an ioc->lock if that request is the last refcount to that ioc. bfq_bio_merge also potentially could have this ordering. bfq_exit_icq, conversely,

csky-linux-gcc: error: unrecognized command line option '-mbacktrace'; did you mean

2021-03-18 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8b12a62a4e3ed4ae99c715034f557eb391d6b196 commit: 000591f1ca3312d9a29e15a9e3fe5c4171f75586 csky: Enable LOCKDEP_SUPPORT date: 12 months ago config: csky-randconfig-r012-20210318 (attached as .config

Re: [PATCHv3 6/6] MAINTAINERS: update Senozhatsky email address

2021-03-18 Thread Sergey Senozhatsky
On (21/03/19 14:53), Sergey Senozhatsky wrote: > > I don't check my @gmail.com addresses often enough these days. > Please ignore this one. It's a different story and does not belong to this series. -ss

[PATCH] power: supply: charger-manager: Fix a typo

2021-03-18 Thread Bhaskar Chowdhury
s/systme/system/ Signed-off-by: Bhaskar Chowdhury --- drivers/power/supply/charger-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/charger-manager.c b/drivers/power/supply/charger-manager.c index 4dea8ecd70bc..45da870aecca 100644 --- a/drivers/

[PATCHv3 6/6] MAINTAINERS: update Senozhatsky email address

2021-03-18 Thread Sergey Senozhatsky
I don't check my @gmail.com addresses often enough these days. Signed-off-by: Sergey Senozhatsky --- MAINTAINERS | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index b2baeb5e4a68..01b000cd5774 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1

[PATCHv3 5/6] media: uvcvideo: add UVC 1.5 ROI control

2021-03-18 Thread Sergey Senozhatsky
This patch implements UVC 1.5 Region of Interest (ROI) control. Note that, UVC 1.5 defines CT_DIGITAL_WINDOW_CONTROL controls and mentions that ROI rectangle coordinates "must be within the current Digital Window as specified by the CT_WINDOW control." (4.2.2.1.20 Digital Region of Interest (ROI)

[PATCHv3 2/6] media: v4l UAPI: document ROI selection targets

2021-03-18 Thread Sergey Senozhatsky
Document V4L2 selection targets that will be used to ROI implementation. Signed-off-by: Sergey Senozhatsky --- .../media/v4l/selection-api-configuration.rst | 22 +++ .../media/v4l/selection-api-examples.rst | 28 +++ .../media/v4l/v4l2-selection-targets.rst

[PATCHv3 4/6] media: v4l UAPI: document ROI auto-controls flags

2021-03-18 Thread Sergey Senozhatsky
Document ROI auto controls. Signed-off-by: Sergey Senozhatsky --- .../media/v4l/v4l2-selection-flags.rst| 40 +++ 1 file changed, 40 insertions(+) diff --git a/Documentation/userspace-api/media/v4l/v4l2-selection-flags.rst b/Documentation/userspace-api/media/v4l/v4l2-se

[PATCHv3 3/6] media: v4l UAPI: add ROI auto-controls flags

2021-03-18 Thread Sergey Senozhatsky
UVC 1.5 defines the following Region Of Interest auto controls: D0: Auto Exposure D1: Auto Iris D2: Auto White Balance D3: Auto Focus D4: Auto Face Detect D5: Auto Detect and Track D6: Image Stabilization D7: Higher Quality D8 – D15: Reserved, set to zero Signed-off-by: Sergey Senozhatsky --- i

[PATCHv3 0/6] media: uvcvideo: implement UVC 1.5 ROI

2021-03-18 Thread Sergey Senozhatsky
Hello, This patch set implements UVC 1.5 ROI using v4l2_selection API. V3: - reimplemented ROI. We dont' use split controls anymore. - Ricardo's feedback Sergey Senozhatsky (6): media: v4l UAPI: add ROI selection targets media: v4l UAPI: document ROI selection targets media: v4l UA

[PATCHv3 1/6] media: v4l UAPI: add ROI selection targets

2021-03-18 Thread Sergey Senozhatsky
UVC 1.5 requires Region Of Interest control to implement GET_CUR, GET_DEF, GET_MIN and GET_MAX requests. This patch adds new V4L2 selection API targets that will implement those ROI requests. Signed-off-by: Sergey Senozhatsky --- include/uapi/linux/v4l2-common.h | 8 1 file changed, 8 i

Re: [PATCH v8] i2c: virtio: add a virtio i2c frontend driver

2021-03-18 Thread Viresh Kumar
On 16-03-21, 18:35, Jie Deng wrote: > +++ b/drivers/i2c/busses/i2c-virtio.c > +static int virtio_i2c_send_reqs(struct virtqueue *vq, > + struct virtio_i2c_req *reqs, > + struct i2c_msg *msgs, int nr) > +{ > + struct scatterlist *sgs[3], ou

Re: [PATCH] fs/cifs/: fix misspellings using codespell tool

2021-03-18 Thread Steve French
merged into cifs-2.6.git for-next On Thu, Mar 18, 2021 at 7:50 PM wrote: > > From: Liu xuzhi > > A typo is found out by codespell tool in 251th lines of cifs_swn.c: > > $ codespell ./fs/cifs/ > ./cifs_swn.c:251: funciton ==> function > > Fix a typo found by codespell. > > Signed-off-by: Liu xuz

Re: [PATCH 1/1] leds: lgm: Improve Kconfig help

2021-03-18 Thread Rahul Tanwar
Hi Pavel, On 19/3/2021 4:37 am, Pavel Machek wrote: > Hi! > > > > > > help > > > > - Parallel to serial conversion, which is also called SSO > > > > controller, > > > > - can drive external shift register for LED outputs. > > > > - This enables LED support for Serial Shift Output controller

[PATCH 1/2] mm: memcontrol: don't allocate cgroup swap arrays when memcg is disabled

2021-03-18 Thread Johannes Weiner
Since commit 2d1c498072de ("mm: memcontrol: make swap tracking an integral part of memory control"), the cgroup swap arrays are used to track memory ownership at the time of swap readahead and swapoff, even if swap space *accounting* has been turned off by the user via swapaccount=0 (which sets cgr

[PATCH 2/2] mm: memcontrol: deprecate swapaccounting=0 mode

2021-03-18 Thread Johannes Weiner
The swapaccounting= commandline option already does very little today. To close a trivial containment failure case, the swap ownership tracking part of the swap controller has recently become mandatory (see commit 2d1c498072de ("mm: memcontrol: make swap tracking an integral part of memory control"

[PATCH] MAINTAINERS: update Senozhatsky email address

2021-03-18 Thread Sergey Senozhatsky
I don't check my @gmail.com addresses often enough these days. Signed-off-by: Sergey Senozhatsky --- MAINTAINERS | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index b2baeb5e4a68..01b000cd5774 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1

[PATCH] drm/amd/display: Set AMDGPU_DM_DEFAULT_MIN_BACKLIGHT to 0

2021-03-18 Thread Evan Benn
AMDGPU_DM_DEFAULT_MIN_BACKLIGHT was set to the value of 12 to ensure no display backlight will flicker at low user brightness settings. However this value is quite bright, so for devices that do not implement the ACPI ATIF ATIF_FUNCTION_QUERY_BRIGHTNESS_TRANSFER_CHARACTERISTICS functionality the us

Re: remove the legacy ide driver

2021-03-18 Thread Christoph Hellwig
On Fri, Mar 19, 2021 at 12:43:48PM +1100, Finn Thain wrote: > A few months ago I wrote another patch to move some more platforms away > from macide but it has not been tested yet. That is not to say you should > wait. However, my patch does have some changes that are missing from your > patch se

Re: [PATCH] x86/sgx: Avoid returning NULL in __sgx_alloc_epc_page()

2021-03-18 Thread Jarkko Sakkinen
On Fri, Mar 19, 2021 at 05:06:02PM +1300, Kai Huang wrote: > Below kernel bug happened when running simple SGX application when EPC > is under pressure. The root cause is with commit 5b8719504e3a > ("x86/sgx: Add a basic NUMA allocation scheme to sgx_alloc_epc_page()"), > __sgx_alloc_epc_page() re

Re: [PATCH v8] i2c: virtio: add a virtio i2c frontend driver

2021-03-18 Thread Viresh Kumar
On 19-03-21, 13:31, Jie Deng wrote: > > On 2021/3/19 11:54, Viresh Kumar wrote: > > On 18-03-21, 15:52, Arnd Bergmann wrote: > > > Allowing multiple virtio-i2c controllers in one system, and multiple i2c > > > devices attached to each controller is clearly something that has to work. > > Good. > >

Re: [PATCH] x86/sgx: fix uninitialized 'nid' variable

2021-03-18 Thread Jarkko Sakkinen
On Thu, Mar 18, 2021 at 02:49:33PM -0700, Dave Hansen wrote: > The NUMA fallback in __sgx_alloc_epc_page() recently grew an > additional 'nid' variable to prevent extra trips through the > fallback loop in case where the thread is migrated around. > > But, the new copy is not properly initialized.

Re: [PATCH 06/11] i2c: imx-lpi2c: improve i2c driver probe priority

2021-03-18 Thread Wolfram Sang
On Wed, Mar 17, 2021 at 02:53:54PM +0800, Clark Wang wrote: > From: Gao Pan > > use subsys_initcall for i2c driver to improve i2c driver probe priority > > Signed-off-by: Gao Pan I usually don't take subsys_initcall patches anymore. In most cases, the client drivers can be fixed instead. If th

Re: [PATCH] selftests/sgx: improve error detection and messages

2021-03-18 Thread Jarkko Sakkinen
On Thu, Mar 18, 2021 at 12:43:01PM -0700, Dave Hansen wrote: > > From: Dave Hansen > > The SGX device file (/dev/sgx_enclave) is unusual in that it requires > execute permissions. It has to be both "chmod +x" *and* be on a > filesystem without 'noexec'. > > In the future, udev and systemd shou

Re: [PATCHv2 3/3] media: uvcvideo: add UVC 1.5 ROI control

2021-03-18 Thread Sergey Senozhatsky
On (21/03/18 22:19), Ricardo Ribalda wrote: > > > > May I please ask for more opinions on this? > > Could you try setting the roi in a loop in your device and verify that > it accepts all the values with no modification. If so we can implement > the set/get as a quirk for other devices. Tested on

RE: [PATCH 02/11] i2c: imx-lpi2c: add runtime pm support

2021-03-18 Thread Clark Wang
> -Original Message- > From: Aisheng Dong > Sent: Friday, March 19, 2021 12:40 > To: Clark Wang ; shawn...@kernel.org; > s.ha...@pengutronix.de > Cc: ker...@pengutronix.de; feste...@gmail.com; dl-linux-imx i...@nxp.com>; sumit.sem...@linaro.org; christian.koe...@amd.com; > linux-...@vger

Re: [PATCH v8] i2c: virtio: add a virtio i2c frontend driver

2021-03-18 Thread Jie Deng
On 2021/3/19 11:54, Viresh Kumar wrote: On 18-03-21, 15:52, Arnd Bergmann wrote: Allowing multiple virtio-i2c controllers in one system, and multiple i2c devices attached to each controller is clearly something that has to work. Good. I don't actually see a limitation though. Viresh, what i

[PATCH] io_uring: Try to merge io requests only for regular files

2021-03-18 Thread Dmitry Monakhov
Otherwise we may endup blocking on pipe or socket. Fixes: 6d5d5ac ("io_uring: extend async work merge") Testcase: https://github.com/dmonakhov/liburing/commit/16d171b6ef9d68e6db66650a83d98c5c721d01f6 Signed-off-by: Dmitry Monakhov --- fs/io_uring.c | 3 +++ 1 file changed, 3 insertions(+) diff

RE: [PATCH 11/11] i2c: imx-lpi2c: add edma mode support

2021-03-18 Thread Aisheng Dong
> From: Clark Wang > Sent: Wednesday, March 17, 2021 2:54 PM > > Add eDMA receive and send mode support. > Support to read and write data larger than 256 bytes in one frame. > > Signed-off-by: Clark Wang > Reviewed-by: Li Jun > --- > drivers/i2c/busses/i2c-imx-lpi2c.c | 291 ++

[PATCH] w1: slaves: Typo fixes

2021-03-18 Thread Bhaskar Chowdhury
s/mesured/measured/ ...twice Signed-off-by: Bhaskar Chowdhury --- drivers/w1/slaves/w1_therm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/w1/slaves/w1_therm.c b/drivers/w1/slaves/w1_therm.c index 976eea28f268..d3b4ceb07622 100644 --- a/drivers/w1/slaves/

Re: [PATCH v2 0/2] AM64: Add support for GPIO

2021-03-18 Thread Aswath Govindraju
Hi Nishanth, On 09/03/21 9:28 pm, Nishanth Menon wrote: > On 21:20-20210309, Aswath Govindraju wrote: >> Hi Nishanth, >> >> On 09/03/21 8:13 pm, Nishanth Menon wrote: >>> On 16:59-20210304, Aswath Govindraju wrote: The following series of patches adds support for gpio on AM642 evm/sk. >>

Re: [PATCH] futex: use wake_up_process() instead of wake_up_state()

2021-03-18 Thread Mike Galbraith
On Fri, 2021-03-19 at 10:59 +0800, Wang Qing wrote: > Using wake_up_process() is more simpler and friendly, > and it is more convenient for analysis and statistics I likely needn't bother, and don't have a NAK to paste on this thing, but here's another copy of my NOPE for yet another gratuitous ch

Re: [PATCH v5 1/2] dt-bindings: Add doc for FriendlyARM NanoPi R4S

2021-03-18 Thread Tianling Shen
Sorry everyone, please ignore these patches as I forgot to update them... New patches were sent. On 2021-03-19 13:10, Tianling Shen wrote: > > Add devicetree binding documentation for the FriendlyARM NanoPi R4S. > > Changes in v5: > - Dropped the empty PCIe node > - Dropped useless `/delete-prope

[PATCH v3 1/2] arm64: dts: ti: k3-am64: Add GPIO DT nodes

2021-03-18 Thread Aswath Govindraju
Add device tree nodes for GPIO modules and interrupt controller in main and mcu domains. Signed-off-by: Aswath Govindraju --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 45 arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi | 27 ++ 2 files changed, 72 insertions(+) d

[PATCH v3 2/2] arm64: dts: ti: k3-am642: reserve gpio in mcu domain for firmware usage

2021-03-18 Thread Aswath Govindraju
The gpio0 subsystem present in MCU domain might be used by firmware and is not pinned out in evm/sk. Therefore, reserve it for MCU firmware. Signed-off-by: Aswath Govindraju --- arch/arm64/boot/dts/ti/k3-am642-evm.dts | 5 + arch/arm64/boot/dts/ti/k3-am642-sk.dts | 5 + 2 files changed,

[PATCH v3 0/2] AM64: Add support for GPIO

2021-03-18 Thread Aswath Govindraju
The following series of patches adds support for gpio on AM642 evm/sk. GPIO test logs, AM642-evm: https://pastebin.ubuntu.com/p/PCGmY34spb/ AM642-sk: https://pastebin.ubuntu.com/p/nrxzyQTKkX/ Changes since v2: - Rebased the series on top of ti-k3-dts-next branch - Added gpio test logs. Changes

[PATCH] MIPS: PCI: Fix a typo

2021-03-18 Thread Bhaskar Chowdhury
s/packt/packet/ Signed-off-by: Bhaskar Chowdhury --- arch/mips/pci/pci-xtalk-bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/pci/pci-xtalk-bridge.c b/arch/mips/pci/pci-xtalk-bridge.c index 50f7d42cca5a..d2216942af18 100644 --- a/arch/mips/pci/pci-xtalk-br

[PATCH v6 1/2] dt-bindings: Add doc for FriendlyARM NanoPi R4S

2021-03-18 Thread Tianling Shen
Add devicetree binding documentation for the FriendlyARM NanoPi R4S. Changes in v6: - Fixed format of LED nodes Changes in v5: - Dropped the empty PCIe node - Dropped useless `/delete-property/` - Renamed LED nodes Changes in v4: - Correctly dropped `display-subsystem` node - Dropped meaningless

[PATCH v6 2/2] rockchip: rk3399: Add support for FriendlyARM NanoPi R4S

2021-03-18 Thread Tianling Shen
This adds support for the NanoPi R4S from FriendlyArm. Rockchip RK3399 SoC 1GB DDR3 or 4GB LPDDR4 RAM Gigabit Ethernet (WAN) Gigabit Ethernet (PCIe) (LAN) USB 3.0 Port x 2 MicroSD slot Reset button WAN - LAN - SYS LED [initial DTS file] Co-developed-by: Jensen Huang Signed-off-by: Jensen Huang

  1   2   3   4   5   6   7   8   9   10   >