Re: [PATCH v8 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding

2020-04-30 Thread Xin Ji
Hi Sam, thanks for your comments. On Mon, Apr 27, 2020 at 08:49:09PM +0200, Sam Ravnborg wrote: > Hi Xin Ji > > On Mon, Apr 27, 2020 at 02:17:46PM +0800, Xin Ji wrote: > > The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed > > for portable device. It converts MIPI to DisplayPort

Re: [PATCH v2] hv_netvsc: Fix netvsc_start_xmit's return type

2020-04-30 Thread Nathan Chancellor
Hi Michael, On Thu, Apr 30, 2020 at 12:06:09AM +, Michael Kelley wrote: > From: Nathan Chancellor Sent: Tuesday, April 28, > 2020 10:55 AM > > > > Do note that netvsc_xmit still returns int because netvsc_xmit has a > > potential return from netvsc_vf_xmit, which does not return

Re: [PATCH v8 0/2] Add initial support for slimport anx7625

2020-04-30 Thread Xin Ji
Hi Sam, On Mon, Apr 27, 2020 at 08:53:20PM +0200, Sam Ravnborg wrote: > Hi Xin Ji > > On Mon, Apr 27, 2020 at 02:16:49PM +0800, Xin Ji wrote: > > Hi all, > > > > The following series add support for the Slimport ANX7625 transmitter, a > > ultra-low power Full-HD 4K MIPI to DP transmitter

mmotm 2020-04-29-23-02 uploaded

2020-04-30 Thread akpm
The mm-of-the-moment snapshot 2020-04-29-23-02 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

mmotm 2020-04-29-23-04 uploaded

2020-04-30 Thread akpm
The mm-of-the-moment snapshot 2020-04-29-23-04 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH v7 6/7] OPP: Update the bandwidth on OPP frequency changes

2020-04-30 Thread Viresh Kumar
On 24-04-20, 14:18, Saravana Kannan wrote: > My only comment is -- can we drop this patch please? I'd like to use > devfreq governors for voting on bandwidth and this will effectively > override whatever bandwidth decisions are made by the devfreq > governor. And why would that be better ? FWIW,

[PATCH v5] media: rcar-csi2: Correct the selection of hsfreqrange

2020-04-30 Thread Suresh Udipi
hsfreqrange should be chosen based on the calculated mbps which is within the range as per table[1]. But current calculation always selects first value which is greater than or equal to the calculated mbps which may lead to chosing a wrong range in some cases. For example for 360 mbps for H3/M3N

Re: [PATCH v6] MIPS: Loongson: Add DMA support for LS7A

2020-04-30 Thread Huacai Chen
Hi Christoph, On Thu, Apr 30, 2020 at 10:31 AM Tiezhu Yang wrote: > > In the current market, the most used bridge chip on the Loongson > platform are RS780E and LS7A, the RS780E bridge chip is already > supported by the mainline kernel. > > In order to use the default implementation of

Re: [PATCH] ALSA: opti9xx: shut up gcc-10 range warning

2020-04-30 Thread Takashi Iwai
On Wed, 29 Apr 2020 21:02:03 +0200, Arnd Bergmann wrote: > > gcc-10 points out a few instances of suspicious integer arithmetic > leading to value truncation: > > sound/isa/opti9xx/opti92x-ad1848.c: In function 'snd_opti9xx_configure': > sound/isa/opti9xx/opti92x-ad1848.c:322:43: error: overflow

[PATCH V3] fs/ceph:fix double unlock in handle_cap_export()

2020-04-30 Thread Wu Bo
If the ceph_mdsc_open_export_target_session() return fails, we should add mutex_lock(>s_mutex) on IS_ERR(tsession) block to avoid twice unlocking. because the session->s_mutex will be unlock at the out_unlock lable. -- v2 -> v3: - Rewrite solution, adding a mutex_lock(>s_mutex) to the

[PATCH 3/3] mm/swap: remove redundant check for swap_slot_cache_initialized

2020-04-30 Thread Zhen Lei
Because enable_swap_slots_cache can only become true in enable_swap_slots_cache(), and depends on swap_slot_cache_initialized is true before. That means, when enable_swap_slots_cache is true, swap_slot_cache_initialized is true also. So the condition: "swap_slot_cache_enabled &&

[PATCH 2/3] mm/swap: simplify enable_swap_slots_cache()

2020-04-30 Thread Zhen Lei
Whether swap_slot_cache_initialized is true or false, __reenable_swap_slots_cache() is always called. To make this meaning clear, leave only one call to __reenable_swap_slots_cache(). This also make it clearer what extra needs be done when swap_slot_cache_initialized is false. No functional

[PATCH 1/3] mm/swap: simplify alloc_swap_slot_cache()

2020-04-30 Thread Zhen Lei
Both "slots" and "slots_ret" are only need to be freed when cache already allocated. Make them closer, seems more clear. No functional change. Signed-off-by: Zhen Lei --- mm/swap_slots.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/mm/swap_slots.c

[PATCH 0/3] clean up some functions in mm/swap_slots.c

2020-04-30 Thread Zhen Lei
When I studied the code of mm/swap_slots.c, I found some places can be improved. Zhen Lei (3): mm/swap: simplify alloc_swap_slot_cache() mm/swap: simplify enable_swap_slots_cache() mm/swap: remove redundant check for swap_slot_cache_initialized mm/swap_slots.c | 45

Re: [PATCH v3 03/17] arm64: dts: sdm845: Add OPP table for all qup devices

2020-04-30 Thread Viresh Kumar
On 28-04-20, 17:02, Matthias Kaehlcke wrote: > Judging from SDM845 (which has more OPP tables) the convention seems to be > to add OPP tables to the nodes that use them, which seems reasonable and I don't think that's right. The same DT opp tables are used for multiple CPUs and they are placed

Re: WARNING: bad unlock balance in rcu_lock_release

2020-04-30 Thread syzbot
syzbot suspects this bug was fixed by commit: commit 10476e6304222ced7df9b3d5fb0a043b3c2a1ad8 Author: Peter Zijlstra Date: Fri Mar 13 08:56:38 2020 + locking/lockdep: Fix bad recursion pattern bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=16d64bac10 start commit:

[PATCH] kconfig: announce removal of 'kvmconfig' and 'xenconfig' shorthands

2020-04-30 Thread Masahiro Yamada
kvmconfig' is a shorthand for kvm_guest.config to save 7 character typing. xenconfig' is a shorthand for xen.config to save 1 character typing. There is nothing more than that. There are more files in kernel/configs/, so it is not maintainable to wire-up every config fragment to the Kconfig

Re: [PATCH] md/raid0: add config parameters to specify zone layout

2020-04-30 Thread Song Liu
Hi Jason, > On Apr 27, 2020, at 2:10 PM, Jason Baron wrote: > > > > On 4/25/20 12:31 AM, Coly Li wrote: >> On 2020/3/26 23:28, Jason Baron wrote: >>> Let's add some CONFIG_* options to directly configure the raid0 layout >>> if you know in advance how your raid0 array was created. This can be

Re: [PATCH v10 3/5] usb: xhci: Add support for Renesas controller with memory

2020-04-30 Thread Vinod Koul
On 29-04-20, 19:58, Vinod Koul wrote: > On 29-04-20, 16:53, Mathias Nyman wrote: > > On 24.4.2020 13.14, Vinod Koul wrote: > > > /* Prevent runtime suspending between USB-2 and USB-3 initialization */ > > > pm_runtime_get_noresume(>dev); > > > @@ -388,6 +401,9 @@ static void

Re: [PATCH 1/4] clk: sunxi-ng: a10/a20: rewrite init code to a platform driver

2020-04-30 Thread Priit Laes
On Wed, Apr 29, 2020 at 04:35:10PM +0200, Maxime Ripard wrote: > Hi, > > On Mon, Apr 20, 2020 at 08:32:28PM +, Priit Laes wrote: > > On Mon, Apr 20, 2020 at 02:49:35PM +0200, Maxime Ripard wrote: > > > On Sat, Apr 18, 2020 at 01:17:27AM +0300, Priit Laes wrote: > > > > In order to register

[RFC PATCH] cpufreq: add support for HiSilicon SoC HIP09

2020-04-30 Thread Xiongfeng Wang
HiSilicon SoC has a separate System Control Processor(SCP) dedicated for clock frequency adjustment and has been using the cpufreq driver 'cppc-cpufreq'. New HiSilicon SoC HIP09 add support for CPU Boost, but ACPI CPPC doesn't support this. In HiSilicon SoC HIP09, each core has its own clock

Re: [PATCH v8 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver

2020-04-30 Thread Xin Ji
Hi Sam, On Mon, Apr 27, 2020 at 10:00:44PM +0200, Sam Ravnborg wrote: > Hi Xin Ji > > On Mon, Apr 27, 2020 at 02:18:44PM +0800, Xin Ji wrote: > > The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed > > for portable device. It converts MIPI DSI/DPI to DisplayPort 1.3 4K. > > > >

linux-next: manual merge of the akpm-current tree with the arm64 tree

2020-04-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: arch/arm64/Kconfig between commit: ab7876a98a21 ("arm64: elf: Enable BTI at exec based on ELF program properties") from the arm64 tree and commit: 03a534dd08f3 ("arm64: mm: use ARCH_HAS_DEBUG_WX instead of

Re: [PATCH v2 1/2] usb: serial: Add MaxLinear/Exar USB to Serial driver

2020-04-30 Thread Greg KH
On Thu, Apr 30, 2020 at 10:06:35AM +0530, m...@kernel.org wrote: > + port_priv->idProduct = le16_to_cpu(serial->dev->descriptor.idProduct); > + > + /* XR21V141X specific settings */ > + if (port_priv->idProduct == XR21V141X_ID) { > + port_priv->regs = _regs; > +

Re: [PATCH v8 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver

2020-04-30 Thread Xin Ji
On Wed, Apr 29, 2020 at 10:10:05AM +0800, Nicolas Boichat wrote: > On Mon, Apr 27, 2020 at 2:18 PM Xin Ji wrote: > > > > The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed > > for portable device. It converts MIPI DSI/DPI to DisplayPort 1.3 4K. > > > > The ANX7625 can support

[PATCH 1/2] dt-bindings: soc: qcom: Add devicetree binding for Qcom IPCC

2020-04-30 Thread Manivannan Sadhasivam
Add devicetree YAML binding for Qualcomm Inter-Processor Communication Controller (IPCC) block. Signed-off-by: Manivannan Sadhasivam --- .../bindings/soc/qcom/qcom,ipcc.yaml | 85 +++ include/dt-bindings/soc/qcom,ipcc.h | 38 + 2 files changed, 123

Re: [PATCH] xfrm: policy: Only use mark as policy lookup key

2020-04-30 Thread Yuehaibing
On 2020/4/24 11:48, Yuehaibing wrote: > On 2020/4/23 17:43, Xin Long wrote: >> On Thu, Apr 23, 2020 at 4:41 PM Yuehaibing wrote: >>> >>> On 2020/4/23 14:37, Xin Long wrote: On Thu, Apr 23, 2020 at 10:26 AM Yuehaibing wrote: > > On 2020/4/22 23:41, Xin Long wrote: >> On Wed, Apr

[PATCH 2/2] soc: qcom: ipcc: Add support for IPCC controller

2020-04-30 Thread Manivannan Sadhasivam
From: Venkata Narendra Kumar Gutta Add support for the Inter-Processor Communication Controller (IPCC) driver that coordinates the interrupts (inbound & outbound) for Multiprocessor (MPROC), COMPUTE-Level0 (COMPUTE-L0) & COMPUTE-Level1 (COMPUTE-L1) protocols for the Application Processor

Re:Re: [PATCH] drm/mediatek: cleanup coding style in mediatek a bit

2020-04-30 Thread Bernard
发件人:Chun-Kuang Hu 发送日期:2020-04-29 22:22:50 收件人:Bernard Zhao 抄送人:Chun-Kuang Hu ,Philipp Zabel ,David Airlie ,Daniel Vetter ,Matthias Brugger ,DRI Development ,Linux ARM ,"moderated list:ARM/Mediatek SoC support" ,linux-kernel ,opensource.ker...@vivo.com 主题:Re: [PATCH] drm/mediatek:

[PATCH -next] drm/amdgpu: Fix warning Comparison to bool

2020-04-30 Thread Zou Wei
fix below warnings reported by coccicheck drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c:630:5-11: WARNING: Comparison to bool Reported-by: Hulk Robot Signed-off-by: Zou Wei --- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] ASoC: mxs-saif: Add variable dev to simplify code

2020-04-30 Thread Markus Elfring
> Add variable 'dev' to make the code cleaner in the function > mxs_saif_probe(). And now that the function mxs_saif_mclk_init() > have defined the variables 'ret' as the error returned value, > then it should be used instead in this place. I find it clearer to integrate such source code

Re: [PATCH 5.6 000/167] 5.6.8-rc1 review

2020-04-30 Thread Greg Kroah-Hartman
On Wed, Apr 29, 2020 at 11:17:35AM +0100, Jon Hunter wrote: > > On 28/04/2020 19:22, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.6.8 release. > > There are 167 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 5.6 000/167] 5.6.8-rc1 review

2020-04-30 Thread Greg Kroah-Hartman
On Wed, Apr 29, 2020 at 07:05:42AM -0700, Guenter Roeck wrote: > On Tue, Apr 28, 2020 at 08:22:56PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.6.8 release. > > There are 167 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 5.6 000/167] 5.6.8-rc1 review

2020-04-30 Thread Greg Kroah-Hartman
On Wed, Apr 29, 2020 at 02:38:29PM +0530, Naresh Kamboju wrote: > On Tue, 28 Apr 2020 at 23:57, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.6.8 release. > > There are 167 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH] remoteproc: Fix wrong rvring index computation

2020-04-30 Thread Greg KH
On Wed, Apr 29, 2020 at 04:26:41PM -0700, Doug Anderson wrote: > Hi, > > On Fri, 4 Oct 2019 Clement Leger wrote: > > > > Index of rvring is computed using pointer arithmetic. However, since > > rvring->rvdev->vring is the base of the vring array, computation > > of rvring idx should be

[PATCH] soundwire: qcom: fix error handling in probe

2020-04-30 Thread Bard Liao
From: Pierre-Louis Bossart Make sure all error cases are properly handled and all resources freed. Signed-off-by: Pierre-Louis Bossart Signed-off-by: Bard Liao Reviewed-by: Srinivas Kandagatla --- drivers/soundwire/qcom.c | 26 +- 1 file changed, 17 insertions(+), 9

[PATCH 3/3] soundwire: bus_type: add sdw_master_device support

2020-04-30 Thread Bard Liao
From: Pierre-Louis Bossart In the existing SoundWire code, Master Devices are not explicitly represented - only SoundWire Slave Devices are exposed (the use of capital letters follows the SoundWire specification conventions). The SoundWire Master Device provides the clock, synchronization

[PATCH 2/3] soundwire: bus_type: introduce sdw_slave_type and sdw_master_type

2020-04-30 Thread Bard Liao
From: Pierre-Louis Bossart this is a preparatory patch before the introduction of the sdw_master_type. The SoundWire slave support is slightly modified with the use of a sdw_slave_type, and the uevent handling move to slave.c (since it's not necessary for the master). No functionality change

Re: [PATCH 2/2] soc: qcom: ipcc: Add support for IPCC controller

2020-04-30 Thread rananta
On 2020-04-29 23:30, Manivannan Sadhasivam wrote: +static int qcom_ipcc_probe(struct platform_device *pdev) +{ + struct qcom_ipcc_proto_data *proto_data; + int ret; + + proto_data = devm_kzalloc(>dev, sizeof(*proto_data), GFP_KERNEL); + if (!proto_data) + return

[PATCH 0/3] soundwire: bus_type: add sdw_master_device support

2020-04-30 Thread Bard Liao
This series adds sdw master devices support. Pierre-Louis Bossart (3): soundwire: bus: rename sdw_bus_master_add/delete, add arguments soundwire: bus_type: introduce sdw_slave_type and sdw_master_type soundwire: bus_type: add sdw_master_device support .../driver-api/soundwire/summary.rst

[PATCH 1/3] soundwire: bus: rename sdw_bus_master_add/delete, add arguments

2020-04-30 Thread Bard Liao
From: Pierre-Louis Bossart In preparation for future extensions, rename functions to use sdw_bus_master prefix and add a parent and fwnode argument to sdw_bus_master_add to help with device registration in follow-up patches. No functionality change, just renames and additional arguments. The

Re: [PATCH RFC 4/6] KVM: x86: acknowledgment mechanism for async pf page ready notifications

2020-04-30 Thread Paolo Bonzini
On 30/04/20 02:45, Andy Lutomirski wrote: >> That's a very bad idea since one is synchronous and one is asynchronous. >> Part of the proposal we agreed upon was to keep "page not ready" >> synchronous while making "page ready" an interrupt. The data structure >> for "page not ready" will be #VE.

Re: [PATCH RFC 4/6] KVM: x86: acknowledgment mechanism for async pf page ready notifications

2020-04-30 Thread Paolo Bonzini
On 29/04/20 11:36, Vitaly Kuznetsov wrote: > + case MSR_KVM_ASYNC_PF_ACK: > + if (data & 0x1) > + kvm_check_async_pf_completion(vcpu); > + break; Does this work if interrupts are turned off? I think in that case kvm_check_async_pf_completion will

Re: [PATCH][v2] kvm: x86: emulate APERF/MPERF registers

2020-04-30 Thread Xiaoyao Li
On 4/29/2020 1:46 PM, Li RongQing wrote: Guest kernel reports a fixed cpu frequency in /proc/cpuinfo, this is confused to user when turbo is enable, and aperf/mperf can be used to show current cpu frequency after 7d5905dc14a "(x86 / CPU: Always show current CPU frequency in /proc/cpuinfo)" so we

Re: [PATCH v3 4/7] linux/signal.h: Ignore SIGINFO by default in new tasks

2020-04-30 Thread Jiri Slaby
On 30. 04. 20, 8:42, Arseny Maslennikov wrote: > This matches the behaviour of other Unix-like systems that have SIGINFO > and causes less harm to processes that do not install handlers for this > signal, making the keyboard status character non-fatal for them. > > This is implemented with the

Re: [PATCH v3 5/7] tty: Add NOKERNINFO lflag to termios

2020-04-30 Thread Jiri Slaby
On 30. 04. 20, 8:42, Arseny Maslennikov wrote: > The termios lflag is off by default. This commit message is too poor. Describing the intended use would help. thanks, -- js suse labs

Re: [PATCH] pinctrl: mediatek: fix mtk_eint link error

2020-04-30 Thread Light Hsieh
On Wed, 2020-04-29 at 15:24 +0200, Arnd Bergmann wrote: > In a configuration with CONFIG_PINCTRL_MTK_MOORE=y and > CONFIG_PINCTRL_MTK_PARIS=m, > we end up with the mtk_eint driver as a loadable module that cannot be > linked from built-in code: How did you set all MTK-related PINCTRL configs?

[GIT PULL] MMC fixes for v5.7-rc4

2020-04-30 Thread Ulf Hansson
Hi Linus, Here's a PR with a couple of MMC fixes intended for v5.7-rc4. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit ae83d0b416db002fe95601e7f97f64b59514d936: Linux 5.7-rc2 (2020-04-19

Re: [PATCH v8 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver

2020-04-30 Thread Sam Ravnborg
Hi Xin Ji. > > > +static void anx7625_power_on_init(struct anx7625_data *ctx) > > > +{ > > > + int retry_count, i; > > > + int ret; > > > + struct device *dev = >client->dev; > > > + > > > + for (retry_count = 0; retry_count < 3; retry_count++) { > > > + anx7625_power_on(ctx); > > > +

[PATCH -next] drm/vboxvideo: Fix a NULL vs IS_ERR() check in vbox_hw_init()

2020-04-30 Thread Wei Yongjun
The devm_gen_pool_create() function returns ERR_PTR() on error, it doesn't return NULL so this check doesn't work. Fixes: 4cc9b565454b ("drm/vboxvideo: Use devm_gen_pool_create") Signed-off-by: Wei Yongjun --- drivers/gpu/drm/vboxvideo/vbox_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Beantragen Sie eine dringende Gutschrift

2020-04-30 Thread Morgan Stanley
-- Sind Sie ein Geschftsmann oder eine Geschftsfrau? Befinden Sie sich in einer Finanzkrise oder bentigen Sie Mittel, um ein eigenes Unternehmen zu grnden? Bentigen Sie einen Kredit, um Ihre Schulden zu begleichen, Ihre Rechnungen zu bezahlen oder ein gutes Geschft zu erffnen? Haben Sie

[PATCH v3 0/3] perf: make Perf tool aware of SELinux access control

2020-04-30 Thread Alexey Budankov
Changes in v3: - mention "CAP_PERFMON or CAP_SYS_ADMIN" instead of sole CAP_PERFMON or CAP_SYS_ADMIN capability in the docs and messages to support use case of newer Perf tool on kernel w/o CAP_PERFMON - reverted double new line in "No permission to enable %s event.\n\n" - updated

RE: [PATCH v6 1/2] PCI: xilinx-cpm: Add device tree binding for Versal CPM Root Port

2020-04-30 Thread Bharat Kumar Gogada
> On Fri, Apr 24, 2020 at 05:34:03PM +0530, Bharat Kumar Gogada wrote: > > Add device tree binding documentation for Versal CPM Root Port driver. > > > > Signed-off-by: Bharat Kumar Gogada > > --- > > .../devicetree/bindings/pci/xilinx-versal-cpm.txt | 68 > > ++ > > 1 file

Re: [PATCH v8 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver

2020-04-30 Thread Xin Ji
On Thu, Apr 30, 2020 at 09:03:24AM +0200, Sam Ravnborg wrote: > Hi Xin Ji. > > > > > +static void anx7625_power_on_init(struct anx7625_data *ctx) > > > > +{ > > > > + int retry_count, i; > > > > + int ret; > > > > + struct device *dev = >client->dev; > > > > + > > > > +

Re: How to update a piece of flash for FPGA firmware?

2020-04-30 Thread Xu Yilun
Hi Moritz & Matthew: Thanks a lot for the comments! It helps a lot so we could keep working on right direction. For "next boot" or "rescan" case, it cause rebuild the fpga-region. So maybe we don't have to model it in fpga class. Yilun On Wed, Apr 29, 2020 at 08:12:10PM -0700, Moritz Fischer

Re: Please queue ubifs: Fix ubifs_tnc_lookup() usage in do_kill_orphans() for stable (was: Re: [PATCH] ubifs: Fix ubifs_tnc_lookup() usage in do_kill_orphans())

2020-04-30 Thread Greg KH
On Wed, Apr 29, 2020 at 08:51:06PM +0200, Richard Weinberger wrote: > - Ursprüngliche Mail - > > Von: "John Ogness" > > An: "richard" > > CC: "linux-mtd" , "linux-kernel" > > > > Gesendet: Mittwoch, 29. April 2020 16:56:31 > > Betreff: Re: [PATCH] ubifs: Fix ubifs_tnc_lookup() usage in

[PATCH] ZYNQ: platsmp: fix ioremap return value

2020-04-30 Thread Xu Wang
In ioremap we should return -ENOMEM when it reports an memory allocation failure. Signed-off-by: Xu Wang --- arch/arm/mach-zynq/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-zynq/platsmp.c b/arch/arm/mach-zynq/platsmp.c index

Re: [PATCH v3 4/7] linux/signal.h: Ignore SIGINFO by default in new tasks

2020-04-30 Thread Christian Brauner
On Thu, Apr 30, 2020 at 08:53:56AM +0200, Jiri Slaby wrote: > On 30. 04. 20, 8:42, Arseny Maslennikov wrote: > > This matches the behaviour of other Unix-like systems that have SIGINFO > > and causes less harm to processes that do not install handlers for this > > signal, making the keyboard

[PATCH v3 2/3] perf tool: make Perf tool aware of SELinux access control

2020-04-30 Thread Alexey Budankov
Implement selinux sysfs check to see the system is in enforcing mode and print warning message with pointer to check audit logs. Signed-off-by: Alexey Budankov --- tools/perf/util/cloexec.c | 4 ++-- tools/perf/util/evsel.c | 39 --- 2 files changed, 26

[PATCH v3 1/3] perf docs: extend CAP_SYS_ADMIN with CAP_PERFMON where needed

2020-04-30 Thread Alexey Budankov
Extend CAP_SYS_ADMIN with CAP_PERFMON in the docs. Signed-off-by: Alexey Budankov --- tools/perf/Documentation/perf-intel-pt.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/Documentation/perf-intel-pt.txt b/tools/perf/Documentation/perf-intel-pt.txt index

[PATCH v7 2/3] dt-bindings: phy: Add YAML schemas for Intel ComboPhy

2020-04-30 Thread Dilip Kota
ComboPhy subsystem provides PHY support to various controllers, viz. PCIe, SATA and EMAC. Adding YAML schemas for the same. Signed-off-by: Dilip Kota Reviewed-by: Rob Herring --- Changes on v7: No Change. Changes on v6: Add Reviewed-by: Rob Herring

[PATCH v7 3/3] phy: intel: Add driver support for ComboPhy

2020-04-30 Thread Dilip Kota
ComboPhy subsystem provides PHYs for various controllers like PCIe, SATA and EMAC. Signed-off-by: Dilip Kota --- Changes on v7: Use device_node_to_regmap instead of fwnode_to_regmap Changes on v6: No changes Changes on v5: Add changes as per inputs from Andy and Rob: DT node uses

[PATCH v3 0/7] TTY Keyboard Status Request

2020-04-30 Thread Arseny Maslennikov
This patch series introduces TTY keyboard status request, a feature of the n_tty line discipline that reserves a character in struct termios (^T by default) and reacts to it by printing a short informational line to the terminal and sending a Unix signal to the tty's foreground process group. The

[PATCH v7 1/3] dt-bindings: phy: Add PHY_TYPE_XPCS definition

2020-04-30 Thread Dilip Kota
Add definition for Ethernet PCS phy type. Signed-off-by: Dilip Kota Acked-by: Rob Herring --- Changes on v7: No Change Changes on v6: Add Acked-by: Rob Herring include/dt-bindings/phy/phy.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/phy/phy.h

[PATCH v3 2/7] tty: termios: Reserve space for VSTATUS in .c_cc

2020-04-30 Thread Arseny Maslennikov
There was no architecture we had to increase NCCS on, so the size of struct termios did not change. Signed-off-by: Arseny Maslennikov --- arch/alpha/include/asm/termios.h | 4 ++-- arch/alpha/include/uapi/asm/termbits.h | 1 + arch/ia64/include/asm/termios.h | 4 ++--

[PATCH v3 6/7] n_tty: ->ops->write: Cut core logic out to a separate function

2020-04-30 Thread Arseny Maslennikov
To simplify internal re-use of the line discipline's write method, we isolate the work it does to its own function. Since in-kernel callers might not refer to the tty through a file, the struct file* argument might make no sense, so we also stop tty_io_nonblock() from dereferencing file too

[PATCH v3 3/3] perf docs: introduce security.txt file to document related issues

2020-04-30 Thread Alexey Budankov
Publish instructions on how to apply LSM hooks for access control to perf_event_open() syscall on Fedora distro with Targeted SELinux policy and then manage access to the syscall. Signed-off-by: Alexey Budankov --- tools/perf/Documentation/security.txt | 237 ++ 1 file

[PATCH v3 1/7] signal.h: Define SIGINFO on all architectures

2020-04-30 Thread Arseny Maslennikov
This complementary patch defines SIGINFO as a synonym for SIGPWR on every architecture supported by the kernel. SIGPWR looks like a nice candidate for this role, because it is defined on every supported arch; it is currently only used to inform PID 1 of power failures, and daemons that care about

[PATCH v3 7/7] n_tty: Provide an informational line on VSTATUS receipt

2020-04-30 Thread Arseny Maslennikov
If the three termios local flags isig, icanon, iexten are enabled and the local flag nokerninfo is disabled for a tty governed by the n_tty line discipline, then on receiving the keyboard status character n_tty will generate a status message and write it out to the tty before sending SIGINFO to

[PATCH v3 4/7] linux/signal.h: Ignore SIGINFO by default in new tasks

2020-04-30 Thread Arseny Maslennikov
This matches the behaviour of other Unix-like systems that have SIGINFO and causes less harm to processes that do not install handlers for this signal, making the keyboard status character non-fatal for them. This is implemented with the assumption that SIGINFO is defined to be equivalent to

[PATCH v3 5/7] tty: Add NOKERNINFO lflag to termios

2020-04-30 Thread Arseny Maslennikov
The termios lflag is off by default. Signed-off-by: Arseny Maslennikov --- arch/alpha/include/uapi/asm/termbits.h | 1 + arch/ia64/include/uapi/asm/termbits.h| 1 + arch/mips/include/uapi/asm/termbits.h| 1 + arch/parisc/include/uapi/asm/termbits.h | 1 +

[PATCH v3 3/7] n_tty: Send SIGINFO to fg pgrp on status request character

2020-04-30 Thread Arseny Maslennikov
No kerninfo line is printed yet. No existing implementation of this on any Unix-like system echoes the status character; no existing implementation discards or flushes pending input on VSTATUS receipt. Thus we do neither. There are existing popular TUI applications (e. g. mutt) that only turn

[PATCH v7 0/3] Add Intel ComboPhy driver

2020-04-30 Thread Dilip Kota
This patch series adds Intel ComboPhy driver, respective yaml schemas Changes on v7: As per System control driver maintainer's inputs remove fwnode_to_regmap() definition and use device_node_get_regmap() Changes on v6: Rebase patches on the latest maintainer's branch

RE: [PATCH] net: ena: fix gcc-4.8 missing-braces warning

2020-04-30 Thread Jubran, Samih
> -Original Message- > From: Arnd Bergmann > Sent: Wednesday, April 29, 2020 12:51 AM > To: Belgazal, Netanel ; Kiyanovski, Arthur > ; David S. Miller ; Alexei > Starovoitov ; Daniel Borkmann ; > Jakub Kicinski ; Jesper Dangaard Brouer > ; John Fastabend ; Jubran, > Samih > Cc: Arnd

Re: [PATCH v2 3/3] mm/page_alloc: Keep memoryless cpuless node 0 offline

2020-04-30 Thread Srikar Dronamraju
* Michal Hocko [2020-04-29 14:22:11]: > On Wed 29-04-20 07:11:45, Srikar Dronamraju wrote: > > > > > > > > By marking, N_ONLINE as NODE_MASK_NONE, lets stop assuming that Node 0 > > > > is > > > > always online. > > > > > > > > ... > > > > > > > > --- a/mm/page_alloc.c > > > > +++

Re: [PATCH v1 2/3] mm/memory_hotplug: Introduce MHP_DRIVER_MANAGED

2020-04-30 Thread David Hildenbrand
On 29.04.20 18:08, David Hildenbrand wrote: > Some paravirtualized devices that add memory via add_memory() and > friends (esp. virtio-mem) don't want to create entries in > /sys/firmware/memmap/ - primarily to hinder kexec from adding this > memory to the boot memmap of the kexec kernel. > > In

Re: [PATCH v3 4/7] linux/signal.h: Ignore SIGINFO by default in new tasks

2020-04-30 Thread Greg Kroah-Hartman
On Thu, Apr 30, 2020 at 09:14:37AM +0200, Christian Brauner wrote: > On Thu, Apr 30, 2020 at 08:53:56AM +0200, Jiri Slaby wrote: > > On 30. 04. 20, 8:42, Arseny Maslennikov wrote: > > > This matches the behaviour of other Unix-like systems that have SIGINFO > > > and causes less harm to processes

Re: [PATCH v29 00/20] Intel SGX foundations

2020-04-30 Thread Jethro Beekman
On 2020-04-30 05:46, Jarkko Sakkinen wrote: > On Wed, Apr 29, 2020 at 05:27:48PM +0200, Jethro Beekman wrote: >> On 2020-04-21 23:52, Jarkko Sakkinen wrote: >>> Intel(R) SGX is a set of CPU instructions that can be used by applications >>> to set aside private regions of code and data. The code

Re: [PATCH v3 5/7] tty: Add NOKERNINFO lflag to termios

2020-04-30 Thread Arseny Maslennikov
On Thu, Apr 30, 2020 at 08:55:43AM +0200, Jiri Slaby wrote: > On 30. 04. 20, 8:42, Arseny Maslennikov wrote: > > The termios lflag is off by default. > > This commit message is too poor. Describing the intended use would help. > I described its use in the last patch of the series, where it

Re: [RFC Patch v1 2/4] irqchip/gic-v3: Add support to handle SGI as pseudo NMI

2020-04-30 Thread Sumit Garg
Hi Marc, On Wed, 29 Apr 2020 at 13:53, Marc Zyngier wrote: > > Hi Sumit, > > On 2020-04-28 15:11, Sumit Garg wrote: > > Hi Marc, > > > > Thanks for your comments and apologies for my delayed response as I > > was exploring ideas that you have shared. > > > > On Sat, 25 Apr 2020 at 20:02, Marc

RE: [PATCH v2 5/5] scsi: ufs: UFS Host Performance Booster(HPB) driver

2020-04-30 Thread Avri Altman
Hi Bean, > > By now we've read the device HPB configuration, and we are ready to > > attach a scsi device to our HPB luns. A perfect timing might be > > while > > scsi is performing its .slave_alloc() or .slave_configure(). > > > > hi, Avri > That means HPB memory allocation done in

Re: [PATCH 2/2] soc: qcom: ipcc: Add support for IPCC controller

2020-04-30 Thread Vinod Koul
On 30-04-20, 12:00, Manivannan Sadhasivam wrote: > +#define IPCC_SIGNAL_ID_MASK GENMASK(15, 0) > +#define IPCC_CLIENT_ID_MASK GENMASK(31, 16) > +#define IPCC_CLIENT_ID_SHIFT 16 > + > +#define IPCC_NO_PENDING_IRQ 0x Why not GENMASK(31, 0) > +static

Re: [RFC][PATCH 1/7] rbtree: Add generic add and find helpers

2020-04-30 Thread Juri Lelli
Hi, On 29/04/20 17:32, Peter Zijlstra wrote: > I've always been bothered by the endless (fragile) boilerplate for > rbtree, and I recently wrote some rbtree helpers for objtool and > figured I should lift them into the kernel and use them more widely. > > Provide: > > partial-order; less()

Re: [PATCH v3 7/7] n_tty: Provide an informational line on VSTATUS receipt

2020-04-30 Thread Jiri Slaby
General comments: - care to CC scheduler and mm people? - couldn't this share some code with fs/proc? - I am not sure/convinced it is worth the hassle On 30. 04. 20, 8:43, Arseny Maslennikov wrote: > If the three termios local flags isig, icanon, iexten are enabled > and the local flag nokerninfo

[PATCH -next v2] drm/mcde: dsi: Fix return value check in mcde_dsi_bind()

2020-04-30 Thread Wei Yongjun
The of_drm_find_bridge() function returns NULL on error, it doesn't return error pointers so this check doesn't work. Fixes: 5fc537bfd000 ("drm/mcde: Add new driver for ST-Ericsson MCDE") Signed-off-by: Wei Yongjun --- v1 - > v2: add fixes and fix the subject --- drivers/gpu/drm/mcde/mcde_dsi.c

Re: [PATCH v2 1/2] iio: at91-sama5d2_adc: split at91_adc_current_chan_is_touch() helper

2020-04-30 Thread Ardelean, Alexandru
On Mon, 2020-04-27 at 13:00 +, Ardelean, Alexandru wrote: > [External] > > On Mon, 2020-04-27 at 12:20 +, eugen.hris...@microchip.com wrote: > > [External] > > > > On 15.04.2020 09:33, Ardelean, Alexandru wrote: > > > > > On Tue, 2020-04-14 at 18:45 +0100, Jonathan Cameron wrote: > > >

Re: [PATCH 2/2] soc: qcom: ipcc: Add support for IPCC controller

2020-04-30 Thread Manivannan Sadhasivam
Hi, On Wed, Apr 29, 2020 at 11:45:27PM -0700, rana...@codeaurora.org wrote: > On 2020-04-29 23:30, Manivannan Sadhasivam wrote: > > +static int qcom_ipcc_probe(struct platform_device *pdev) > > +{ > > + struct qcom_ipcc_proto_data *proto_data; > > + int ret; > > + > > + proto_data =

Re: [PATCH v7 6/7] OPP: Update the bandwidth on OPP frequency changes

2020-04-30 Thread Saravana Kannan
On Wed, Apr 29, 2020 at 11:09 PM Viresh Kumar wrote: > > On 24-04-20, 14:18, Saravana Kannan wrote: > > My only comment is -- can we drop this patch please? I'd like to use > > devfreq governors for voting on bandwidth and this will effectively > > override whatever bandwidth decisions are made

Re: [PATCH v3 4/7] linux/signal.h: Ignore SIGINFO by default in new tasks

2020-04-30 Thread Aleksa Sarai
On 2020-04-30, Christian Brauner wrote: > On Thu, Apr 30, 2020 at 08:53:56AM +0200, Jiri Slaby wrote: > > On 30. 04. 20, 8:42, Arseny Maslennikov wrote: > > > This matches the behaviour of other Unix-like systems that have SIGINFO > > > and causes less harm to processes that do not install

RE: [PATCH v3 1/3] hwrng: cctrng - Add dependency on OF

2020-04-30 Thread Hadar Gat
> -Original Message- > From: linux-crypto-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of Herbert Xu > > On Tue, Apr 28, 2020 at 12:26:31PM +, Hadar Gat wrote: > > > > I've set COMPILE_TEST but couldn't see any problem. > > Would you share what doesn't work? > > I don't

Re: [PATCH v6 1/8] i3c: master: mastership handover document

2020-04-30 Thread Boris Brezillon
On Fri, 17 Apr 2020 18:20:42 +0200 Parshuram Thombare wrote: > Flow diagram for I3C mastership handover, DEFSLVS > processing and secondary master initialization. > Thanks for doing that, that's really appreciated, but the document doesn't seem to be formatted properly. Would you mind fixing

linux-next: Tree for Apr 30

2020-04-30 Thread Stephen Rothwell
Hi all, Changes since 20200429: Removed tree: smack (at maintainer's request) The qcom tree still had its build failure for which I reverted a commit. The mac80211-next tree lost its build failure. The drm-misc tree lost its build failure. The driver-core tree gained a conflict against the

Re: Please queue ubifs: Fix ubifs_tnc_lookup() usage in do_kill_orphans() for stable (was: Re: [PATCH] ubifs: Fix ubifs_tnc_lookup() usage in do_kill_orphans())

2020-04-30 Thread Richard Weinberger
- Ursprüngliche Mail - >> I always thought havings a Fixes-Tag is enough to make sure it will >> get picked up. Isn't this the case? > > No it is not, please read: >https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html > for how to do this properly. > > Our scripts

RE: Re: [v4,net-next 2/4] net: schedule: add action gate offloading

2020-04-30 Thread Po Liu
Hi Vlad, > -Original Message- > From: Vlad Buslov > Sent: 2020年4月30日 1:41 > To: Po Liu > Cc: da...@davemloft.net; linux-kernel@vger.kernel.org; > net...@vger.kernel.org; vinicius.go...@intel.com; Claudiu Manoil > ; Vladimir Oltean ; > Alexandru Marginean ; > michael.c...@broadcom.com;

Re: [PATCH 1/4] counter: Internalize sysfs interface code

2020-04-30 Thread kbuild test robot
'--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/William-Breathitt-Gray/Introduce-the-Counter-character-device-interface/20200430-051734 base: https://git.kernel.org/pub/scm/linux/kernel

Re: [RFC PATCH 0/3] newidle_balance() latency mitigation

2020-04-30 Thread Vincent Guittot
On Thu, 30 Apr 2020 at 01:13, Valentin Schneider wrote: > > > On 28/04/20 06:02, Scott Wood wrote: > > These patches mitigate latency caused by newidle_balance() on large > > systems, by enabling interrupts when the lock is dropped, and exiting > > early at various points if an RT task is

RE: [PATCH v2 1/5] scsi: ufs: allow legacy UFS devices to enable WriteBooster

2020-04-30 Thread Avri Altman
Hi Stanley, > > WriteBooster feature may be supported by some legacy UFS devices > (i.e., < 3.1) by upgrading firmware. > > To enable WriteBooster feature in such devices, relax the entrance > condition of ufshcd_wb_probe() to allow host driver to check those > devices' WriteBooster

Re: [RFC][PATCH 1/7] rbtree: Add generic add and find helpers

2020-04-30 Thread Michel Lespinasse
On Thu, Apr 30, 2020 at 12:28 AM Juri Lelli wrote: > > --- a/include/linux/rbtree.h > > +++ b/include/linux/rbtree.h > > @@ -141,12 +141,18 @@ static inline void rb_insert_color_cache > > rb_insert_color(node, >rb_root); > > } > > > > -static inline void rb_erase_cached(struct rb_node

Re: [PATCH v4 2/2] mtd: rawnand: Add NAND controller support on Intel LGM SoC

2020-04-30 Thread Ramuthevar, Vadivel MuruganX
Hi Boris, Thank you very much for keep reviewing the patches and more queries... On 29/4/2020 11:31 pm, Boris Brezillon wrote: On Wed, 29 Apr 2020 23:18:31 +0800 "Ramuthevar, Vadivel MuruganX" wrote: Hi Boris, On 29/4/2020 10:48 pm, Boris Brezillon wrote: On Wed, 29 Apr 2020 22:33:37

Re: [PATCH v3 1/3] hwrng: cctrng - Add dependency on OF

2020-04-30 Thread Herbert Xu
On Thu, Apr 30, 2020 at 07:39:14AM +, Hadar Gat wrote: > > Yes, it builds, but it is useless. But that's the whole point of COMPILE_TEST. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

  1   2   3   4   5   6   7   8   9   10   >