Re: linux-next: manual merge of the char-misc tree with the driver-core tree

2019-07-10 Thread Stephen Rothwell
Hi Tomas, On Tue, 9 Jul 2019 07:12:34 + "Winkler, Tomas" wrote: > > Actually I've asked Greg this git expertise question: how the > **exact** conflict resolution is carried between git trees (before it > is finally resolved in upstream for all.). For next time If anyone > has the answer,

[PATCH net-next v3] net/mlx5e: Convert single case statement switch statements into if statements

2019-07-10 Thread Nathan Chancellor
During the review of commit 1ff2f0fa450e ("net/mlx5e: Return in default case statement in tx_post_resync_params"), Leon and Nick pointed out that the switch statements can be converted to single if statements that return early so that the code is easier to follow. Suggested-by: Leon Romanovsky

Re: [PATCH 4.4 00/73] 4.4.185-stable review

2019-07-10 Thread Jon Hunter
On 08/07/2019 16:12, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.185 release. > There are 73 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.9 000/102] 4.9.185-stable review

2019-07-10 Thread Jon Hunter
On 08/07/2019 16:11, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.185 release. > There are 102 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.14 00/56] 4.14.133-stable review

2019-07-10 Thread Jon Hunter
On 08/07/2019 16:12, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.133 release. > There are 56 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH v7 10/25] arm64: compat: Add vDSO

2019-07-10 Thread Thomas Gleixner
On Tue, 9 Jul 2019, John Stultz wrote: > Though unfortunately, it seems the arm64 vdso code that just landed is > breaking AOSP for me. > > I see a lot of the following errors: > 01-01 01:22:14.097 755 755 F libc: Fatal signal 11 (SIGSEGV), > code 1 (SEGV_MAPERR), fault addr 0x3cf2c96c in

Re: [PATCH 4.19 00/90] 4.19.58-stable review

2019-07-10 Thread Jon Hunter
On 08/07/2019 16:12, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.58 release. > There are 90 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 5.1 00/96] 5.1.17-stable review

2019-07-10 Thread Jon Hunter
On 08/07/2019 16:12, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.1.17 release. > There are 96 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 3/5] x86: Kconfig: Remove CONFIG_NODES_SPAN_OTHER_NODES

2019-07-10 Thread Hoan Tran OS
Hi Thomas, On 7/10/19 12:58 PM, Thomas Gleixner wrote: > Hoan, > > On Wed, 10 Jul 2019, Hoan Tran OS wrote: >> On 6/25/19 3:45 PM, Thomas Gleixner wrote: >>> On Tue, 25 Jun 2019, Hoan Tran OS wrote: @@ -1567,15 +1567,6 @@ config X86_64_ACPI_NUMA ---help---

[PATCH] RDMA/siw: remove unnecessary print in iw_create_tx_threads

2019-07-10 Thread YueHaibing
In iw_create_tx_threads(), failure to create kthread is basic failure, which affect performance only. The whole kthread creation spam in this driver looked suspicious during submission and it continues to be. This patch remove the failed print to fix gcc warning:

Re: [PATCH 02/13] cpufreq: qcom: Re-organise kryo cpufreq to use it for other nvmem based qcom socs

2019-07-10 Thread Viresh Kumar
On 05-07-19, 11:57, Niklas Cassel wrote: > -static struct platform_driver qcom_cpufreq_kryo_driver = { > - .probe = qcom_cpufreq_kryo_probe, > - .remove = qcom_cpufreq_kryo_remove, > +static struct platform_driver qcom_cpufreq_driver = { > + .probe = qcom_cpufreq_probe, > + .remove

Re: [RFC PATCH] x86: Remove X86_FEATURE_MFENCE_RDTSC

2019-07-10 Thread Paolo Bonzini
On 08/07/19 21:32, Lendacky, Thomas wrote: >> AMD and Intel both have serializing lfence (X86_FEATURE_LFENCE_RDTSC). >> They've both had it for a long time, and AMD has had it enabled in Linux >> since Spectre v1 was announced. >> >> Back then, there was a proposal to remove the serializing mfence

[PATCH V13 02/12] PCI: Disable MSI for Tegra root ports

2019-07-10 Thread Vidya Sagar
Tegra PCIe rootports don't generate MSI interrupts for PME and AER events. Since PCIe spec (Ref: r4.0 sec 7.7.1.2 and 7.7.2.2) doesn't support using a mix of INTx and MSI/MSI-X, MSI needs to be disabled to avoid root ports service drivers registering their respective ISRs with MSI interrupt and to

[PATCH V13 01/12] PCI: Add #defines for some of PCIe spec r4.0 features

2019-07-10 Thread Vidya Sagar
Add #defines only for the Data Link Feature and Physical Layer 16.0 GT/s features as defined in PCIe spec r4.0, sec 7.7.4 for Data Link Feature and sec 7.7.5 for Physical Layer 16.0 GT/s. Signed-off-by: Vidya Sagar Reviewed-by: Thierry Reding --- V13: * Updated commit message to include

[PATCH V13 00/12] PCI: tegra: Add Tegra194 PCIe support

2019-07-10 Thread Vidya Sagar
Tegra194 has six PCIe controllers based on Synopsys DesignWare core. There are two Universal PHY (UPHY) blocks with each supporting 12(HSIO: Hisg Speed IO) and 8(NVHS: NVIDIA High Speed) lanes respectively. Controllers:0~4 use UPHY lanes from HSIO brick whereas Controller:5 uses UPHY lanes from

[PATCH V13 03/12] PCI: dwc: Perform dbi regs write lock towards the end

2019-07-10 Thread Vidya Sagar
Some of DesignWare core's DBI registers (a.k.a configuration space registers) are write-protected with a lock without enabling which they are read-only by default. These write-protected registers are implementation specific. Tegra194's BAR-0 register which is at offset 0x10 in the configuration

[PATCH V13 04/12] PCI: dwc: Move config space capability search API

2019-07-10 Thread Vidya Sagar
Move PCIe config space capability search API to common DesignWare file as this can be used by both host and ep mode codes. Signed-off-by: Vidya Sagar Acked-by: Gustavo Pimentel Reviewed-by: Thierry Reding --- V13: * None V12: * None V11: * None V10: * None V9: * None V8: * Changed comment

Reminder: 6 open syzbot bugs in mm subsystem

2019-07-10 Thread Eric Biggers
[This email was generated by a script. Let me know if you have any suggestions to make it better, or if you want it re-generated with the latest status. Note: currently the mm bugs look hard to do anything with and most look outdated, but I figured I'd send them out just in case someone has

[PATCH V13 09/12] dt-bindings: PCI: tegra: Add device tree support for Tegra194

2019-07-10 Thread Vidya Sagar
Add support for Tegra194 PCIe controllers. These controllers are based on Synopsys DesignWare core IP. Signed-off-by: Vidya Sagar Reviewed-by: Rob Herring Acked-by: Thierry Reding --- V13: * None V12: * None V11: * None V10: * None V9: * Added Acked-by from Thierry V8: * Addressed review

[PATCH V13 05/12] PCI: dwc: Add ext config space capability search API

2019-07-10 Thread Vidya Sagar
Add extended configuration space capability search API using struct dw_pcie * pointer Signed-off-by: Vidya Sagar Acked-by: Gustavo Pimentel Acked-by: Thierry Reding --- V13: * None V12: * None V11: * None V10: * None V9: * Added Acked-by from Thierry V8: * Changed data types of return and

[PATCH V13 08/12] dt-bindings: Add PCIe supports-clkreq property

2019-07-10 Thread Vidya Sagar
Some host controllers need to know the existence of clkreq signal routing to downstream devices to be able to advertise low power features like ASPM L1 substates. Without clkreq signal routing being present, enabling ASPM L1 sub states might lead to downstream devices falling off the bus. Hence a

[PATCH V13 06/12] dt-bindings: PCI: designware: Add binding for CDM register check

2019-07-10 Thread Vidya Sagar
Add support to enable CDM (Configuration Dependent Module) registers check for any data corruption. CDM registers include standard PCIe configuration space registers, Port Logic registers and iATU and DMA registers. Refer Section S.4 of Synopsys DesignWare Cores PCI Express Controller Databook

[PATCH V13 07/12] PCI: dwc: Add support to enable CDM register check

2019-07-10 Thread Vidya Sagar
Add support to enable CDM (Configuration Dependent Module) register check for any data corruption based on the device-tree flag 'snps,enable-cdm-check'. Signed-off-by: Vidya Sagar Acked-by: Gustavo Pimentel Reviewed-by: Thierry Reding --- V13: * None V12: * None V11: * None V10: * None V9:

Re: [RFC v2] vhost: introduce mdev based hardware vhost backend

2019-07-10 Thread Tiwei Bie
On Wed, Jul 10, 2019 at 10:26:10AM +0800, Jason Wang wrote: > On 2019/7/9 下午2:33, Tiwei Bie wrote: > > On Tue, Jul 09, 2019 at 10:50:38AM +0800, Jason Wang wrote: > > > On 2019/7/8 下午2:16, Tiwei Bie wrote: > > > > On Fri, Jul 05, 2019 at 08:49:46AM -0600, Alex Williamson wrote: > > > > > On Thu, 4

[PATCH V13 11/12] phy: tegra: Add PCIe PIPE2UPHY support

2019-07-10 Thread Vidya Sagar
Synopsys DesignWare core based PCIe controllers in Tegra 194 SoC interface with Universal PHY (UPHY) module through a PIPE2UPHY (P2U) module. For each PCIe lane of a controller, there is a P2U unit instantiated at hardware level. This driver provides support for the programming required for each

[PATCH V13 10/12] dt-bindings: PHY: P2U: Add Tegra194 P2U block

2019-07-10 Thread Vidya Sagar
Add support for Tegra194 P2U (PIPE to UPHY) module block which is a glue module instantiated one for each PCIe lane between Synopsys DesignWare core based PCIe IP and Universal PHY block. Signed-off-by: Vidya Sagar Reviewed-by: Rob Herring Acked-by: Thierry Reding Acked-by: Kishon Vijay

[PATCH V13 12/12] PCI: tegra: Add Tegra194 PCIe support

2019-07-10 Thread Vidya Sagar
Add support for Synopsys DesignWare core IP based PCIe host controller present in Tegra194 SoC. Signed-off-by: Vidya Sagar Acked-by: Thierry Reding --- V13: * Modified according to modifications in PATCH V13 01/12 V12: * None V11: * None V10: * Used _relaxed() versions of readl() & writel()

Re: [PATCH v3 2/3] Powerpc64/Watchpoint: Don't ignore extraneous exceptions

2019-07-10 Thread Christophe Leroy
Le 10/07/2019 à 06:54, Ravi Bangoria a écrit : On Powerpc64, watchpoint match range is double-word granular. On a watchpoint hit, DAR is set to the first byte of overlap between actual access and watched range. And thus it's quite possible that DAR does not point inside user specified range.

Re: [PATCH v3 30/30] locking/lockdep: Remove irq-safe to irq-unsafe read check

2019-07-10 Thread Yuyang Du
Thanks for review. On Wed, 10 Jul 2019 at 13:30, Boqun Feng wrote: > > On Fri, Jun 28, 2019 at 05:15:28PM +0800, Yuyang Du wrote: > > We have a lockdep warning: > > > > > > WARNING: possible irq lock inversion dependency detected > >

Re: [PATCH 04/13] cpufreq: qcom: Refactor the driver to make it easier to extend

2019-07-10 Thread Viresh Kumar
On 05-07-19, 11:57, Niklas Cassel wrote: > + drv->opp_tables = kcalloc(num_possible_cpus(), sizeof(*drv->opp_tables), > + GFP_KERNEL); > + if (!drv->opp_tables) { > + ret = -ENOMEM; > + goto free_drv; > + } > >

Re: [PATCH 2/5] KVM: cpuid: extract do_cpuid_7_mask and support multiple subleafs

2019-07-10 Thread Paolo Bonzini
On 08/07/19 09:07, Jing Liu wrote: >> > And when adding subleaf 1, plan to add codes, > > case 1: > entry->eax |= kvm_cpuid_7_1_eax_x86_features; > entry->ebx = entry->ecx = entry->edx =0; > break; > > What do you think? This should be "&=", not "|=". Otherwise yes, that's the

Re: [PATCH 5/5] KVM: cpuid: remove has_leaf_count from struct kvm_cpuid_param

2019-07-10 Thread Paolo Bonzini
On 08/07/19 09:09, Jing Liu wrote: > It seems the two func are introduced by 2b5e97e, as paravirtual cpuid. > But when searching KVM_CPUID_SIGNATURE, there seems no caller requesting > this cpuid. Meanwhile, I felt curious if KVM_CPUID_FEATURES is still in > use but it seems kvm_update_cpuid()

Re: [PATCH v3 2/3] Powerpc64/Watchpoint: Don't ignore extraneous exceptions

2019-07-10 Thread Ravi Bangoria
On 7/10/19 11:57 AM, Christophe Leroy wrote: > > > Le 10/07/2019 à 06:54, Ravi Bangoria a écrit : >> On Powerpc64, watchpoint match range is double-word granular. On >> a watchpoint hit, DAR is set to the first byte of overlap between >> actual access and watched range. And thus it's quite

[PATCH] ASoC: Relocate my e-mail to .com domain zone

2019-07-10 Thread Kirill Marinushkin
Signed-off-by: Kirill Marinushkin --- MAINTAINERS| 2 +- sound/soc/codecs/pcm3060-i2c.c | 4 ++-- sound/soc/codecs/pcm3060-spi.c | 4 ++-- sound/soc/codecs/pcm3060.c | 4 ++-- sound/soc/codecs/pcm3060.h | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff

Re: [PATCH v10 03/12] dt-binding: gce: add binding for gce client reg property

2019-07-10 Thread Bibby Hsieh
Hi, Rob, Sorry to bother you, could you please review this patch when you are available? Thanks. On Mon, 2019-07-01 at 15:48 +0800, Bibby Hsieh wrote: > cmdq driver provide a function that get the relationship > of sub system number from device node for client. > add specification for

[PATCH V5 5/5] arm64: dts: imx8mm: Enable cpu-idle driver

2019-07-10 Thread Anson . Huang
From: Anson Huang Enable i.MX8MM cpu-idle using generic ARM cpu-idle driver, 2 states are supported, details as below: root@imx8mmevk:~# cat /sys/devices/system/cpu/cpu0/cpuidle/state0/name WFI root@imx8mmevk:~# cat /sys/devices/system/cpu/cpu0/cpuidle/state0/usage 3973 root@imx8mmevk:~# cat

[PATCH V5 2/5] arm64: Enable TIMER_IMX_SYS_CTR for ARCH_MXC platforms

2019-07-10 Thread Anson . Huang
From: Anson Huang ARCH_MXC platforms needs system counter as broadcast timer to support cpuidle, enable it by default. Signed-off-by: Anson Huang --- New patch, now that system counter driver lands in main line, we can enable it by default. --- arch/arm64/Kconfig.platforms | 1 + 1 file

[PATCH V5 1/5] clocksource: imx-sysctr: Add internal clock divider handle

2019-07-10 Thread Anson . Huang
From: Anson Huang The system counter block guide states that the base clock is internally divided by 3 before use, that means the clock input of system counter defined in DT should be base clock which is normally from OSC, and then internally divided by 3 before use. Signed-off-by: Anson Huang

[PATCH V5 4/5] arm64: dts: imx8mq: Add system counter node

2019-07-10 Thread Anson . Huang
From: Anson Huang Add i.MX8MQ system counter node to enable timer-imx-sysctr broadcast timer driver. Signed-off-by: Anson Huang --- Changes since V4: - update the clock info using fixed clock node; - correct the reg range; - update the interrupt number as the system

[PATCH V5 3/5] arm64: dts: imx8mm: Add system counter node

2019-07-10 Thread Anson . Huang
From: Anson Huang Add i.MX8MM system counter node to enable timer-imx-sysctr broadcast timer driver. Signed-off-by: Anson Huang --- Changes since V4: - update the clock info using fixed clock node; - correct the reg range; - update the interrupt number as the system

Re: [PATCH] s390/zcrypt: remove the exporting of ap_query_configuration

2019-07-10 Thread Harald Freudenberger
On 09.07.19 14:25, Denis Efremov wrote: > The function ap_query_configuration is declared static and marked > EXPORT_SYMBOL, which is at best an odd combination. Because the > function is not used outside of the drivers/s390/crypto/ap_bus.c > file it is defined in, this commit removes the

Re: [PATCH 4/5] staging: mt7621-dts: add dt nodes for mt7621-pll

2019-07-10 Thread Chuanhong Guo
On Wed, Jul 10, 2019 at 2:22 AM Chuanhong Guo wrote: > > This commit adds device-tree node for mt7621-pll and use its clock > accordingly. > > Signed-off-by: Chuanhong Guo Oops. Please ignore this single patch for now. I forgot to drop cpuclock node in drivers/staging/mt7621-dts/gbpc1.dts I'll

Re: [v4 1/6] dt-bindings: media: Document bindings for DW MIPI CSI-2 Host

2019-07-10 Thread Eugen.Hristev
On 09.07.2019 20:08, Luis de Oliveira wrote: > > Hi Eugen, > > > From: eugen.hris...@microchip.com > Date: Tue, Jul 09, 2019 at 15:33:50 > >> >> >> On 11.06.2019 22:20, Luis Oliveira wrote: >>> From: Luis Oliveira >>> >>> Add bindings for Synopsys DesignWare MIPI CSI-2 host. >>> >>>

Re: linux-next: build failure after merge of the akpm-current tree

2019-07-10 Thread Michal Hocko
On Tue 09-07-19 13:42:33, Andrew Morton wrote: > On Tue, 9 Jul 2019 21:15:59 +1000 Stephen Rothwell > wrote: > > > Hi all, > > > > After merging the akpm-current tree, today's linux-next build (arm > > multi_v7_defconfig) failed like this: > > > > arm-linux-gnueabi-ld: mm/list_lru.o: in

Re: [PATCH] r8169: add enable_aspm parameter

2019-07-10 Thread AceLan Kao
Hi Heiner, I've tried and verified your PCI ASPM patches and it works well. I've replied the patch thread and hope this can make it get some progress. BTW, do you think we can revert commit b75bb8a5b755 ("r8169: disable ASPM again") once the PCI ASPM patches get merged? Best regards, AceLan

Re: [git pull] m68knommu changes for v5.3

2019-07-10 Thread Geert Uytterhoeven
Hi Linus, On Wed, Jul 10, 2019 at 7:22 AM Greg Ungerer wrote: > Can you please pull the m68knommu git tree, for-next branch. > > A series of cleanups for the FLAT format binary loader, binfmt_flat, > from Christoph. The end goal is to support no-MMU on RISC-V, and the > last patch enables that.

Re: [1/2] powerpc/83xx: fix use-after-free in mpc831x_usb_cfg()

2019-07-10 Thread Markus Elfring
> The immr_node variable is still being used after the of_node_put() call, > which may result in use-after-free. Was any known source code analysis tool involved to point such a questionable implementation detail out for further software development considerations? Regards, Markus

Re: [RFC v2] vhost: introduce mdev based hardware vhost backend

2019-07-10 Thread Jason Wang
On 2019/7/10 下午2:22, Tiwei Bie wrote: On Wed, Jul 10, 2019 at 10:26:10AM +0800, Jason Wang wrote: On 2019/7/9 下午2:33, Tiwei Bie wrote: On Tue, Jul 09, 2019 at 10:50:38AM +0800, Jason Wang wrote: On 2019/7/8 下午2:16, Tiwei Bie wrote: On Fri, Jul 05, 2019 at 08:49:46AM -0600, Alex Williamson

Re: [PATCH v14 2/2] dt-bindings: spi: Document Renesas R-Car Gen3 RPC-IF controller bindings

2019-07-10 Thread Geert Uytterhoeven
Hi Mason, On Thu, Jun 20, 2019 at 11:08 AM Mason Yang wrote: > Dcument the bindings used by the Renesas R-Car Gen3 RPC-IF controller. > > Signed-off-by: Mason Yang Thanks for your patch! > index 000..e8edf99 > --- /dev/null > +++ b/Documentation/devicetree/bindings/spi/spi-renesas-rpc.txt

Re: [PATCH 11/12] staging: media: cedrus: Fix misuse of GENMASK macro

2019-07-10 Thread Paul Kocialkowski
Hi, On Tue 09 Jul 19, 22:04, Joe Perches wrote: > Arguments are supposed to be ordered high then low. > > Signed-off-by: Joe Perches Good catch, thanks! Acked-by: Paul Kocialkowski Cheers, Paul > --- > drivers/staging/media/sunxi/cedrus/cedrus_regs.h | 2 +- > 1 file changed, 1

Re: [PATCH 5.1 00/96] 5.1.17-stable review

2019-07-10 Thread Greg Kroah-Hartman
On Wed, Jul 10, 2019 at 07:14:05AM +0100, Jon Hunter wrote: > > On 08/07/2019 16:12, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.17 release. > > There are 96 patches in this series, all will be posted as a response > > to this one. If anyone has any

[PATCH 2/4] ASoC: simple-card: fix an use-after-free in simple_for_each_link()

2019-07-10 Thread Wen Yang
The codec variable is still being used after the of_node_put() call, which may result in use-after-free. Fixes: d947cdfd4be2 ("ASoC: simple-card: cleanup DAI link loop method - step1") Signed-off-by: Wen Yang Cc: Liam Girdwood Cc: Mark Brown Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: Kuninori

[PATCH 4/4] ASoC: audio-graph-card: fix an use-after-free in graph_get_dai_id()

2019-07-10 Thread Wen Yang
After calling of_node_put() on the node variable, it is still being used, which may result in use-after-free. Fix this issue by calling of_node_put() after the last usage. Fixes: a0c426fe1433 ("ASoC: simple-card-utils: check "reg" property on asoc_simple_card_get_dai_id()") Signed-off-by: Wen

[PATCH 0/4] Fix some use-after-free problems in sound/soc/generic

2019-07-10 Thread Wen Yang
We developed a coccinelle SmPL to detect sound/sooc/generic code and found some use-after-free problems. This patch series fixes those problems. Wen Yang (4): ASoC: simple-card: fix an use-after-free in simple_dai_link_of_dpcm() ASoC: simple-card: fix an use-after-free in

[PATCH 3/4] ASoC: audio-graph-card: fix use-after-free in graph_dai_link_of_dpcm()

2019-07-10 Thread Wen Yang
After calling of_node_put() on the ports, port, and node variables, they are still being used, which may result in use-after-free. Fix this issue by calling of_node_put() after the last usage. Fixes: dd98fbc558a0 ("ASoC: audio-graph-card: cleanup DAI link loop method - step1") Signed-off-by: Wen

[PATCH 1/4] ASoC: simple-card: fix an use-after-free in simple_dai_link_of_dpcm()

2019-07-10 Thread Wen Yang
The node variable is still being used after the of_node_put() call, which may result in use-after-free. Fixes: cfc652a73331 ("ASoC: simple-card: tidyup prefix for snd_soc_codec_conf") Signed-off-by: Wen Yang Cc: Liam Girdwood Cc: Mark Brown Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: Kuninori

Re: [PATCH] ipvs: Delete some unused space characters in Kconfig

2019-07-10 Thread Simon Horman
On Sun, Jul 07, 2019 at 12:16:49PM +0800, xianfengting...@163.com wrote: > From: Hu Haowen > > The space characters at the end of lines are always unused and > not easy to find. This patch deleted some of them I have found > in Kconfig. > > Signed-off-by: Hu Haowen > --- > > This is my first

Re: [RFC V3 00/18] objtool: Add support for arm64

2019-07-10 Thread Raphael Gault
Hi all, Just a gentle ping to see if anyone has comments to make about this version :) On 6/24/19 10:55 AM, Raphael Gault wrote: As of now, objtool only supports the x86_64 architecture but the groundwork has already been done in order to add support for other architectures without too much

Re: [PATCH -next v4] drm/amdgpu: return 'ret' immediately if failed in amdgpu_pmu_init

2019-07-10 Thread maowenan
gentle ping On 2019/6/26 19:35, maowenan wrote: > > > On 2019/6/25 1:42, Kim, Jonathan wrote: >> Immediate return should be ok since perf registration isn't dependent on gpu >> hw. >> >> Reviewed-by: Jonathan Kim > > thanks for review. > >> >> -Original Message- >> From: Mao

Re: [PATCH 2/5] KVM: cpuid: extract do_cpuid_7_mask and support multiple subleafs

2019-07-10 Thread Jing Liu
On 7/10/2019 2:30 PM, Paolo Bonzini wrote: On 08/07/19 09:07, Jing Liu wrote: And when adding subleaf 1, plan to add codes, case 1: entry->eax |= kvm_cpuid_7_1_eax_x86_features; entry->ebx = entry->ecx = entry->edx =0; break; What do you think? This should be "&=", not

Re: [PATCH 0/7] media: vimc: Add a V4L2 output device

2019-07-10 Thread Hans Verkuil
On 7/10/19 12:19 AM, Helen Koike wrote: > Hi André, > > Thanks for the patches. > > On 7/2/19 12:47 PM, André Almeida wrote: >> Hello, >> >> This patch adds a V4L2 output device on vimc, that comply with V4L2 API >> for video output. If there is an output device and a capture device at the >>

Re: [PATCH v2 00/11] FPGA DFL updates

2019-07-10 Thread Wu Hao
On Wed, Jul 10, 2019 at 07:54:17AM +0200, Greg KH wrote: > On Wed, Jul 10, 2019 at 01:07:46PM +0800, Wu Hao wrote: > > On Fri, Jul 05, 2019 at 08:23:47AM +0800, Wu Hao wrote: > > > Hi Greg / Moritz > > > > > > This is v2 patchset which adds more features to FPGA DFL. This patchset > > > is made

Greetings

2019-07-10 Thread Mrs. Aangela Gilbert
Greetings With warm hearts I offer my friendship and my greetings and I hope this letter meets you in good time. It will be surprising to you to receive this proposal from me since you do not know me personally. However, I am sincerely seeking your confidence in this matter which I propose with

Re: [PATCH v2 1/2] leds: tlc591xx: simplify driver by using the managed led API

2019-07-10 Thread Jean-Jacques Hiblot
Hi Dan, On 08/07/2019 20:08, Dan Murphy wrote: JJ On 7/8/19 5:06 AM, Jean-Jacques Hiblot wrote: Use the managed API of the LED class (devm_led_classdev_register() instead of led_classdev_register()). This allows us to remove the code used to track-and-destroy the LED devices What changed

[PATCH] ipvs: remove unnecessary space

2019-07-10 Thread yangxingwu
this patch removes the extra space. Signed-off-by: yangxingwu --- net/netfilter/ipvs/ip_vs_mh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/netfilter/ipvs/ip_vs_mh.c b/net/netfilter/ipvs/ip_vs_mh.c index 94d9d34..98e358e 100644 --- a/net/netfilter/ipvs/ip_vs_mh.c

Re: [PATCH 2/5] KVM: cpuid: extract do_cpuid_7_mask and support multiple subleafs

2019-07-10 Thread Paolo Bonzini
On 10/07/19 09:32, Jing Liu wrote: > > > On 7/10/2019 2:30 PM, Paolo Bonzini wrote: >> On 08/07/19 09:07, Jing Liu wrote: >>> And when adding subleaf 1, plan to add codes, >>> >>> case 1: >>>  entry->eax |= kvm_cpuid_7_1_eax_x86_features; >>>  entry->ebx = entry->ecx = entry->edx

Re: [PATCH 5.1 00/96] 5.1.17-stable review

2019-07-10 Thread Greg Kroah-Hartman
On Mon, Jul 08, 2019 at 12:29:56PM -0700, Luke Nowakowski-Krijger wrote: > On Mon, Jul 08, 2019 at 05:12:32PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.17 release. > > There are 96 patches in this series, all will be posted as a response > > to

Re: [PATCH 5.1 00/96] 5.1.17-stable review

2019-07-10 Thread Greg Kroah-Hartman
On Tue, Jul 09, 2019 at 12:49:48AM +0700, Phong Tran wrote: > On 7/8/19 10:12 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.17 release. > > There are 96 patches in this series, all will be posted as a response > > to this one. If anyone has any issues

Re: [PATCH 5.1 00/96] 5.1.17-stable review

2019-07-10 Thread Greg Kroah-Hartman
On Tue, Jul 09, 2019 at 06:42:14PM +0530, Amol Surati wrote: > On Mon, Jul 08, 2019 at 05:12:32PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.17 release. > > There are 96 patches in this series, all will be posted as a response > > to this one. If

general protection fault in rcu_core

2019-07-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:4608a726 Add linux-next specific files for 20190709 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=14458387a0 kernel config: https://syzkaller.appspot.com/x/.config?x=7a02e36d356a9a17

Re: [PATCH] tipc: ensure skb->lock is initialised

2019-07-10 Thread Eric Dumazet
On 7/9/19 10:15 PM, Jon Maloy wrote: > > It is not only for lockdep purposes, -it is essential. But please provide > details about where you see that more fixes are needed. > Simple fact that you detect a problem only when skb_queue_purge() is called should talk by itself. As I stated,

[PATCH] [net-next] davinci_cpdma: don't cast dma_addr_t to pointer

2019-07-10 Thread Arnd Bergmann
dma_addr_t may be 64-bit wide on 32-bit architectures, so it is not valid to cast between it and a pointer: drivers/net/ethernet/ti/davinci_cpdma.c: In function 'cpdma_chan_submit_si': drivers/net/ethernet/ti/davinci_cpdma.c:1047:12: error: cast from pointer to integer of different size

Re: [PATCH RFC 2/9] OPP: Export a number of helpers to prevent code duplication

2019-07-10 Thread Sibi Sankar
Hi Hsin-Yi, I'll get this addressed in the next re-spin which I plan to post by end of this week. On 7/8/19 8:58 AM, Hsin-Yi Wang wrote: On Thu, Mar 28, 2019 at 3:28 PM Sibi Sankar wrote: + +/* The caller must call dev_pm_opp_put() after the OPP is used */ +struct dev_pm_opp

Re: [PATCH] printk: Do not lose last line in kmsg dump

2019-07-10 Thread Vincent Whitchurch
On Tue, Jul 09, 2019 at 04:29:39PM +0200, Petr Mladek wrote: > On Tue 2019-07-09 19:12:30, Sergey Senozhatsky wrote: > > On (07/09/19 10:10), Vincent Whitchurch wrote: > > > A dump of a 64-byte buffer filled by kmsg_dump_get_buffer(), before this > > > patch: > > > > > > : 3c 30 3e 5b 20

Re: [PATCH] ipvs: remove unnecessary space

2019-07-10 Thread Simon Horman
On Wed, Jul 10, 2019 at 03:45:52PM +0800, yangxingwu wrote: > this patch removes the extra space. > > Signed-off-by: yangxingwu Thanks, this looks good to me. Acked-by: Simon Horman Pablo, please consider including this in nf-next. > --- > net/netfilter/ipvs/ip_vs_mh.c | 4 ++-- > 1 file

Re: [PATCH 0/4] Fix some use-after-free problems in sound/soc/generic

2019-07-10 Thread Kuninori Morimoto
Hi Wen > We developed a coccinelle SmPL to detect sound/sooc/generic code and > found some use-after-free problems. > This patch series fixes those problems. > > Wen Yang (4): > ASoC: simple-card: fix an use-after-free in simple_dai_link_of_dpcm() > ASoC: simple-card: fix an use-after-free

possible deadlock in shrink_dcache_parent

2019-07-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:4608a726 Add linux-next specific files for 20190709 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1126bd2860 kernel config: https://syzkaller.appspot.com/x/.config?x=7a02e36d356a9a17

Re: [PATCHv4 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-07-10 Thread Hans Verkuil
On 7/3/19 6:58 AM, Tomasz Figa wrote: > Hi Hans, > > On Mon, Jun 3, 2019 at 8:28 PM Hans Verkuil wrote: >> >> From: Tomasz Figa >> >> Due to complexity of the video decoding process, the V4L2 drivers of >> stateful decoder hardware require specific sequences of V4L2 API calls >> to be followed.

[PATCH] watchdog: digicolor_wdt: drop unused variable

2019-07-10 Thread Arnd Bergmann
The last cleanup patch left behind an unused variable that should have been removed as well: drivers/watchdog/digicolor_wdt.c:121:6: error: unused variable 'ret' [-Werror,-Wunused-variable] Fixes: cdad26977e3f ("watchdog: digicolor_wdt: drop warning after registering device") Signed-off-by:

Re: [PATCH v7 08/12] KVM/x86/vPMU: Add APIs to support host save/restore the guest lbr stack

2019-07-10 Thread Wei Wang
On 07/09/2019 08:19 PM, Peter Zijlstra wrote: For the lbr feature, could we thought of it as first come, first served? For example, if we have 2 host threads who want to use lbr at the same time, I think one of them would simply fail to use. So if guest first gets the lbr, host wouldn't take

Re: [PATCH] arm64/sve: fix genksyms generation

2019-07-10 Thread Will Deacon
Hi Laura, [+Masahiro] On Tue, Jul 09, 2019 at 03:06:49PM -0400, Laura Abbott wrote: > On 6/18/19 10:15 AM, Arnd Bergmann wrote: > > On Tue, Jun 18, 2019 at 2:03 PM Will Deacon wrote: > > > From 6e004b8824d4eb6a4e61cd794fbc3a761b50135b Mon Sep 17 00:00:00 2001 > > > From: Will Deacon > > >

Re: [PATCH v7 08/12] KVM/x86/vPMU: Add APIs to support host save/restore the guest lbr stack

2019-07-10 Thread Wei Wang
On 07/09/2019 07:45 PM, Peter Zijlstra wrote: +* config:Actually this field won't be used by the perf core +*as this event doesn't have a perf counter. +* sample_period: Same as above. If it's unused; why do we need to set it at all? OK, we'll

Re: [PATCH] printk: Do not lose last line in kmsg dump

2019-07-10 Thread Sergey Senozhatsky
On (07/10/19 10:04), Vincent Whitchurch wrote: > > > [..] > > > > > > > @@ -1318,7 +1318,7 @@ static size_t msg_print_text(const struct > > > > printk_log *msg, bool syslog, > > > > } > > > > > > > > if (buf) { > > > > - if (prefix_len +

Re: Question about ARM FASTFPE

2019-07-10 Thread Russell King - ARM Linux admin
On Wed, Jul 10, 2019 at 01:30:24PM +0900, Masahiro Yamada wrote: > Hi. > > I have a question about the following code > in arch/arm/Makefile: > > > # Do we have FASTFPE? > FASTFPE :=arch/arm/fastfpe > ifeq ($(FASTFPE),$(wildcard $(FASTFPE))) > FASTFPE_OBJ :=$(FASTFPE)/ > endif > > > Since

Re: [PATCHv4 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-07-10 Thread Tomasz Figa
On Wed, Jul 10, 2019 at 5:09 PM Hans Verkuil wrote: > > On 7/3/19 6:58 AM, Tomasz Figa wrote: > > Hi Hans, > > > > On Mon, Jun 3, 2019 at 8:28 PM Hans Verkuil > > wrote: > >> > >> From: Tomasz Figa > >> > >> Due to complexity of the video decoding process, the V4L2 drivers of > >> stateful

RE: [PATCH v9 5/6] usb:cdns3 Add Cadence USB3 DRD Driver

2019-07-10 Thread Pawel Laszczak
Hi Felipe >>> + >>> +static int cdns3_idle_init(struct cdns3 *cdns) >>> +{ >>> + struct cdns3_role_driver *rdrv; >>> + >>> + rdrv = devm_kzalloc(cdns->dev, sizeof(*rdrv), GFP_KERNEL); >>> + if (!rdrv) >>> + return -ENOMEM; >>> + >>> + rdrv->start = cdns3_idle_role_start; >>> +

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

2019-07-10 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: fs/iomap.c between commit: 6610815a3343 ("iomap: move the page migration code into a separate file") from the iomap tree and commit: 70b7f3cfceee ("mm: migrate: remove unused mode argument") from the

Re: [PATCH v7 10/25] arm64: compat: Add vDSO

2019-07-10 Thread Will Deacon
Hi John, On Tue, Jul 09, 2019 at 09:02:54PM -0700, John Stultz wrote: > On Fri, Jun 21, 2019 at 3:18 AM Vincenzo Frascino > wrote: > > > > Provide the arm64 compat (AArch32) vDSO in kernel/vdso32 in a similar > > way to what happens in kernel/vdso. > > > > The compat vDSO leverages on an

Re: [PATCH 05/12] irqchip/gic-v3-its: Fix misuse of GENMASK macro

2019-07-10 Thread Marc Zyngier
On 10/07/2019 06:04, Joe Perches wrote: > Arguments are supposed to be ordered high then low. > > Signed-off-by: Joe Perches > --- > drivers/irqchip/irq-gic-v3-its.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/irqchip/irq-gic-v3-its.c >

Re: [PATCH] ARM: mtd-xip: work around clang/llvm bug

2019-07-10 Thread Arnd Bergmann
On Wed, Jul 10, 2019 at 12:25 AM Russell King - ARM Linux admin wrote: > > On Tue, Jul 09, 2019 at 08:40:51PM +0200, Arnd Bergmann wrote: > > On Tue, Jul 9, 2019 at 8:08 PM 'Nick Desaulniers' via Clang Built > > Linux wrote: > > > On Tue, Jul 9, 2019 at 1:41 AM Linus Walleij > > > wrote: > > >

Re: Re: [PATCH] RDMA/siw: Print error code while kthread_create failed

2019-07-10 Thread Bernard Metzler
-"Leon Romanovsky" wrote: - >To: "YueHaibing" >From: "Leon Romanovsky" >Date: 07/10/2019 06:36AM >Cc: b...@zurich.ibm.com, dledf...@redhat.com, j...@ziepe.ca, >linux-kernel@vger.kernel.org, linux-r...@vger.kernel.org >Subject: [EXTERNAL] Re: [PATCH] RDMA/siw: Print error code while

[PATCH] smp: force all cpu to boot once under maxcpus option

2019-07-10 Thread Pingfan Liu
On x86 it's required to boot all logical CPUs at least once so that the init code can get a chance to set CR4.MCE on each CPU. Otherwise, a broadacasted MCE observing CR4.MCE=0b on any core will shutdown the machine. The option 'nosmt' has already complied with the above rule. In the case of

RE: [PATCH v2 1/2] rtw88: pci: Rearrange the memory usage for skb in RX ISR

2019-07-10 Thread Tony Chuang
> Subject: [PATCH v2 1/2] rtw88: pci: Rearrange the memory usage for skb in > RX ISR > > Testing with RTL8822BE hardware, when available memory is low, we > frequently see a kernel panic and system freeze. > > First, rtw_pci_rx_isr encounters a memory allocation failure (trimmed): > > rx

Re: [PATCH] dmaengine: tegra210-adma: Fix unused function warnings

2019-07-10 Thread Jon Hunter
On 09/07/2019 09:32, YueHaibing wrote: > If CONFIG_PM is not set, build warnings: > > drivers/dma/tegra210-adma.c:747:12: warning: tegra_adma_runtime_resume > defined but not used [-Wunused-function] > static int tegra_adma_runtime_resume(struct device *dev) >

Re: [PATCH] printk: Do not lose last line in kmsg dump

2019-07-10 Thread Sergey Senozhatsky
On (07/09/19 16:29), Petr Mladek wrote: > > Anyway, if nobody vetoes the patch, I would schedule it for 5.4. > We are already in the merge window and it deserves some testing > in linux-next. > I don't really want to veto it, but I'm not comfortable with fixing off-by-one error by introducing

Re: [PATCH 2/2] x86/numa: instance all parsed numa node

2019-07-10 Thread Pingfan Liu
On Tue, Jul 9, 2019 at 9:34 PM Andy Lutomirski wrote: > > > > > On Jul 9, 2019, at 1:24 AM, Pingfan Liu wrote: > > > >> On Tue, Jul 9, 2019 at 2:12 PM Thomas Gleixner wrote: > >> > >>> On Tue, 9 Jul 2019, Pingfan Liu wrote: > On Mon, Jul 8, 2019 at 5:35 PM Thomas Gleixner > wrote: >

Re: pagecache locking

2019-07-10 Thread Jan Kara
On Wed 10-07-19 09:47:12, Dave Chinner wrote: > On Mon, Jul 08, 2019 at 03:31:14PM +0200, Jan Kara wrote: > > I'd be really careful with nesting range locks. You can have nasty > > situations like: > > > > Thread 1Thread 2 > > read_lock(0,1000) > >

Re: [PATCH] dmaengine: tegra210-adma: mark PM funtions as __maybe_unused

2019-07-10 Thread Jon Hunter
On 09/07/2019 19:56, Arnd Bergmann wrote: > Without the CONFIG_PM_CLK dependency, we can now build this file > in kernels that don't have CONFIG_PM at all, resulting in a harmless > warning from code that was always there since it got merged: > > drivers/dma/tegra210-adma.c:747:12: error:

Re: [ALSA patch] [PATCH] ALSA: pcm: Enable MMAP status and control for ARMv7 and ARMv8

2019-07-10 Thread Timo Wischer
Hello all, it would be great if someone from Renesas or someone else could acknowledge the patch. I think it is a good improvement especially when using ALSA plugins like dmix. Feel free to forward if you know someone who is aware of the cache coherency of ARM architectures. Best regards

[PATCH v3 1/2] rtw88: pci: Rearrange the memory usage for skb in RX ISR

2019-07-10 Thread Jian-Hong Pan
Testing with RTL8822BE hardware, when available memory is low, we frequently see a kernel panic and system freeze. First, rtw_pci_rx_isr encounters a memory allocation failure (trimmed): rx routine starvation WARNING: CPU: 7 PID: 9871 at drivers/net/wireless/realtek/rtw88/pci.c:822

  1   2   3   4   5   6   7   8   >