Re: [PATCH 8/9] drivers: ata: sata_gemini: use devm_platform_ioremap_resource()

2019-08-20 Thread Linus Walleij
On Tue, Aug 20, 2019 at 2:35 PM Enrico Weigelt, metux IT consult wrote: > Use the new helper that wraps the calls to platform_get_resource() > and devm_ioremap_resource() together. > > Signed-off-by: Enrico Weigelt, metux IT consult Acked-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH] x86/mm/pti: in pti_clone_pgtable() don't increase addr by PUD_SIZE

2019-08-20 Thread Song Liu
> On Aug 20, 2019, at 3:00 AM, Peter Zijlstra wrote: > > On Tue, Aug 20, 2019 at 12:51:28AM -0700, Song Liu wrote: >> pti_clone_pgtable() increases addr by PUD_SIZE for pud_none(*pud) case. >> This is not accurate because addr may not be PUD_SIZE aligned. >> >> In our x86_64 kernel,

[PATCH v2 0/4] debug_pagealloc improvements through page_owner

2019-08-20 Thread Vlastimil Babka
v2: also fix THP split handling (added Patch 1) per Kirill The debug_pagealloc functionality serves a similar purpose on the page allocator level that slub_debug does on the kmalloc level, which is to detect bad users. One notable feature that slub_debug has is storing stack traces of who last

[PATCH v2 3/4] mm, page_owner: keep owner info when freeing the page

2019-08-20 Thread Vlastimil Babka
For debugging purposes it might be useful to keep the owner info even after page has been freed, and include it in e.g. dump_page() when detecting a bad page state. For that, change the PAGE_EXT_OWNER flag meaning to "page owner info has been set at least once" and add new PAGE_EXT_OWNER_ACTIVE

[PATCH v2 4/4] mm, page_owner, debug_pagealloc: save and dump freeing stack trace

2019-08-20 Thread Vlastimil Babka
The debug_pagealloc functionality is useful to catch buggy page allocator users that cause e.g. use after free or double free. When page inconsistency is detected, debugging is often simpler by knowing the call stack of process that last allocated and freed the page. When page_owner is also

Re: [PATCH v4 05/10] ARM: dts: sunxi: a80: Add msgbox node

2019-08-20 Thread Samuel Holland
Hi, On 8/20/19 3:15 AM, Maxime Ripard wrote: > On Mon, Aug 19, 2019 at 10:23:06PM -0500, Samuel Holland wrote: >> The A80 SoC contains a message box that can be used to send messages and >> interrupts back and forth between the ARM application CPUs and the ARISC >> coprocessor. Add a device tree

[PATCH v2 2/4] mm, page_owner: record page owner for each subpage

2019-08-20 Thread Vlastimil Babka
Currently, page owner info is only recorded for the first page of a high-order allocation, and copied to tail pages in the event of a split page. With the plan to keep previous owner info after freeing the page, it would be benefical to record page owner for each subpage upon allocation. This

[PATCH v2 1/4] mm, page_owner: handle THP splits correctly

2019-08-20 Thread Vlastimil Babka
THP splitting path is missing the split_page_owner() call that split_page() has. As a result, split THP pages are wrongly reported in the page_owner file as order-9 pages. Furthermore when the former head page is freed, the remaining former tail pages are not listed in the page_owner file at all.

Re: [PATCH] x86/mm/pti: in pti_clone_pgtable() don't increase addr by PUD_SIZE

2019-08-20 Thread Song Liu
> On Aug 20, 2019, at 2:12 AM, Thomas Gleixner wrote: > > On Tue, 20 Aug 2019, Song Liu wrote: > >> pti_clone_pgtable() increases addr by PUD_SIZE for pud_none(*pud) case. >> This is not accurate because addr may not be PUD_SIZE aligned. > > You fail to explain how this happened. The code

Re: [RFC 00/11] arm64: Add support for Amlogic SM1 SoC Family

2019-08-20 Thread Neil Armstrong
He Kevin, Martin, On 01/07/2019 12:46, Neil Armstrong wrote: > The new Amlogic SM1 SoC Family is a derivative of the Amlogic G12A > SoC Family, with the following changes : > - Cortex-A55 cores instead of A53 > - more power domains, including USB & PCIe > - a neural network co-processor (NNA) > -

Applied "ASoC: meson: g12a-tohdmitx: require regmap mmio" to the asoc tree

2019-08-20 Thread Mark Brown
The patch ASoC: meson: g12a-tohdmitx: require regmap mmio has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "ASoC: meson: axg-tdm-formatter: free reset on device removal" to the asoc tree

2019-08-20 Thread Mark Brown
The patch ASoC: meson: axg-tdm-formatter: free reset on device removal has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Re: Status of Subsystems

2019-08-20 Thread Pali Rohár
On Tuesday 20 August 2019 15:05:51 Sebastian Duda wrote: > Hello Pali, > > in my master thesis, I'm using the association of subsystems to > maintainers/reviewers and its status given in the MAINTAINERS file. > During the research I noticed that there are several subsystems without a > status in

Re: Regression with the latest iwlwifi-9260-*-46.ucode

2019-08-20 Thread Luca Coelho
On Fri, 2019-08-09 at 22:00 +0300, Thomas Backlund wrote: > Den 06-08-2019 kl. 16:04, skrev Takashi Iwai: > > On Mon, 05 Aug 2019 14:03:55 +0200, > > Now we got a feedback from the latest linux-firmware (20190726) and > > surprising the result was negative. The dmesg after the cold boot is > >

Re: [PATCH v3 0/8] PM / ACPI: sleep: Additional changes related to suspend-to-idle

2019-08-20 Thread Kristian Klausen
On 19.08.2019 22.41, Rafael J. Wysocki wrote: On Mon, Aug 19, 2019 at 5:47 PM Kristian Klausen wrote: On 19.08.2019 11.05, Rafael J. Wysocki wrote: On Monday, August 19, 2019 9:59:02 AM CEST Rafael J. Wysocki wrote: On Fri, Aug 16, 2019 at 10:26 PM Kristian Klausen wrote: On 02.08.2019

Re: [PATCH RESEND v4 8/9] KVM: MMU: Enable Lazy mode SPPT setup

2019-08-20 Thread Yang Weijiang
On Mon, Aug 19, 2019 at 04:46:54PM +0200, Paolo Bonzini wrote: > On 14/08/19 09:04, Yang Weijiang wrote: > > + > > + if (vcpu->kvm->arch.spp_active && level == PT_PAGE_TABLE_LEVEL) > > + kvm_enable_spp_protection(vcpu->kvm, gfn); > > + > > This would not enable SPP if the guest is

Re: [patch 00/44] posix-cpu-timers: Cleanup and consolidation

2019-08-20 Thread Thomas Gleixner
On Mon, 19 Aug 2019, Christoph Hellwig wrote: > On Mon, Aug 19, 2019 at 04:31:41PM +0200, Thomas Gleixner wrote: > > The series applies on top of: > > > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/core > > > > and is available from git as well: > > > >

Re: [PATCH 2/2] uacce: add uacce module

2019-08-20 Thread zhangfei
On 2019/8/15 下午10:13, Greg Kroah-Hartman wrote: On Wed, Aug 14, 2019 at 05:34:25PM +0800, Zhangfei Gao wrote: +int uacce_register(struct uacce *uacce) +{ + int ret; + + if (!uacce->pdev) { + pr_debug("uacce parent device not set\n"); + return -ENODEV;

Re: [patch 03/44] posix-timer: Use a callback for cancel synchronization

2019-08-20 Thread Thomas Gleixner
On Mon, 19 Aug 2019, Christoph Hellwig wrote: > > + if (!WARN_ON_ONCE(kc->timer_wait_running)) > > + kc->timer_wait_running(timer); > > This looks weird. The only place calling yor new method only does so > after checking that it is not set and actually warns if it set? Yeah, that

Re: [PATCH v4 04/10] mailbox: sunxi-msgbox: Add a new mailbox driver

2019-08-20 Thread Samuel Holland
On 8/20/19 6:18 AM, Ondřej Jirman wrote: > Hi Samuel, > > On Mon, Aug 19, 2019 at 10:23:05PM -0500, Samuel Holland wrote: >> Allwinner sun8i, sun9i, and sun50i SoCs contain a hardware message box >> used for communication between the ARM CPUs and the ARISC management >> coprocessor. The hardware

Re: [PATCH RESEND v4 5/9] KVM: VMX: Add init/set/get functions for SPP

2019-08-20 Thread Yang Weijiang
On Mon, Aug 19, 2019 at 05:13:47PM +0200, Paolo Bonzini wrote: > On 14/08/19 09:03, Yang Weijiang wrote: > > static struct kvm_x86_ops vmx_x86_ops __ro_after_init = { > > .cpu_has_kvm_support = cpu_has_kvm_support, > > .disabled_by_bios = vmx_disabled_by_bios, > > @@ -7740,6 +7783,11 @@

Re: [patch 44/44] posix-cpu-timers: Expire timers directly

2019-08-20 Thread Thomas Gleixner
On Mon, 19 Aug 2019, Thomas Gleixner wrote: > Moving the posix cpu timers from on list to another and then expiring them > from the second list is avoiding to drop and reacquire sighand lock for > each timer expiry, but on the other hand it's more complicated code and > suboptimal for a small

Status of Subsystems

2019-08-20 Thread Sebastian Duda
Hello Pali, in my master thesis, I'm using the association of subsystems to maintainers/reviewers and its status given in the MAINTAINERS file. During the research I noticed that there are several subsystems without a status in the maintainers file. One of them is the subsystem `ALPS PS/2

Re: [EXT] Re: [PATCH net-next 0/1] net: fec: add C45 MDIO read/write support

2019-08-20 Thread Andrew Lunn
On Tue, Aug 20, 2019 at 02:32:26AM +, Andy Duan wrote: > From: Andrew Lunn > > On Mon, Aug 19, 2019 at 05:11:14PM +, Marco Hartmann wrote: > > > As of yet, the Fast Ethernet Controller (FEC) driver only supports > > > Clause 22 conform MDIO transactions. IEEE 802.3ae Clause 45 defines a >

Re: [PATCH v2 2/3] x86/cpu: Add new Intel Atom CPU model name

2019-08-20 Thread Thomas Gleixner
On Tue, 20 Aug 2019, Peter Zijlstra wrote: > On Fri, Aug 16, 2019 at 04:18:58PM +0800, Rahul Tanwar wrote: > > Add a new variant of Intel Atom Airmont CPU model. > > > > Signed-off-by: Rahul Tanwar > > --- > > arch/x86/include/asm/intel-family.h | 1 + > > 1 file changed, 1 insertion(+) > > >

Re: [PATCH v4 03/10] dt-bindings: mailbox: Add a sunxi message box binding

2019-08-20 Thread Samuel Holland
On 8/20/19 2:14 AM, Maxime Ripard wrote: > Hi, > > On Mon, Aug 19, 2019 at 10:23:04PM -0500, Samuel Holland wrote: >> This mailbox hardware is present in Allwinner sun8i, sun9i, and sun50i >> SoCs. Add a device tree binding for it. >> >> Reviewed-by: Rob Herring >> Signed-off-by: Samuel Holland

Re: [PATCH v4 02/10] clk: sunxi-ng: Mark AR100 clocks as critical

2019-08-20 Thread Samuel Holland
On 8/20/19 2:11 AM, Maxime Ripard wrote: > Hi, > > On Mon, Aug 19, 2019 at 10:23:03PM -0500, Samuel Holland wrote: >> On sun8i, sun9i, and sun50i SoCs, system suspend/resume support requires >> firmware running on the AR100 coprocessor (the "SCP"). Such firmware can >> provide additional

Re: [patch 01/44] posix-timers: Cleanup forward declarations and includes

2019-08-20 Thread Thomas Gleixner
On Tue, 20 Aug 2019, Frederic Weisbecker wrote: > On Mon, Aug 19, 2019 at 04:31:42PM +0200, Thomas Gleixner wrote: > > - Rename struct siginfo to kernel_siginfo > > That's fine because struct siginfo isn't actually used in that > header, right? Yes, just kernel_siginfo needs a forward

Applied "spi: Fix the number of CS lines documented as an example" to the spi tree

2019-08-20 Thread Mark Brown
The patch spi: Fix the number of CS lines documented as an example has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "ASoC: uniphier: Fix double reset assersion when transitioning to suspend state" to the asoc tree

2019-08-20 Thread Mark Brown
The patch ASoC: uniphier: Fix double reset assersion when transitioning to suspend state has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually

[GIT PULL] HID fixes

2019-08-20 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus to receive HID subsystem fixes: = - a few regression fixes for wacom driver (including fix for my earlier mismerge) from Aaron Armstrong Skomra and Jason Gerecke - revert of a few Logitech

Re: [PATCH v2 2/3] x86/cpu: Add new Intel Atom CPU model name

2019-08-20 Thread Luck, Tony
>> +#define INTEL_FAM6_ATOM_AIRMONT_NP0x75 /* Lightning Mountain */ > > What's _NP ? Network Processor. But that is too narrow a descriptor. This is going to be used in other areas besides networking. I’m contemplating calling it AIRMONT2 -Tony

Re: [PATCH v3 1/2] x86/mm: Identify the end of the kernel area to be reserved

2019-08-20 Thread Mike Lothian
I've updated the bug some more with more info I can't replicate this on RHEL7 with GCC 4.8.5 or GCC 7.3.1 My GCC is as follows: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/9.2.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with:

[PATCH] libperf: Fix arch include paths

2019-08-20 Thread Jiri Olsa
On Mon, Aug 19, 2019 at 10:21:37AM +0200, Jiri Olsa wrote: SNIP > > next-20190816, though the problem has been seen since at least > > next-20190801. Mainline builds fine. > > > > Here is the script I used to bisect the problem: > > > > make mrproper > > rm -rf /tmp/linux > > mkdir /tmp/linux

[Resend PATCH v3] arch : arm : add a criteria for pfn_valid

2019-08-20 Thread Zhaoyang Huang
From: Zhaoyang Huang pfn_valid can be wrong when parsing a invalid pfn whose phys address exceeds BITS_PER_LONG as the MSB will be trimed when shifted. The issue originally arise from bellowing call stack, which corresponding to an access of the /proc/kpageflags from userspace with a invalid

Re: [PATCH v4 1/2] powerpc/time: Only set CONFIG_ARCH_HAS_SCALED_CPUTIME on PPC64

2019-08-20 Thread Michael Ellerman
Christophe Leroy writes: > Hi Nick, > > > Le 07/06/2018 à 03:43, Nicholas Piggin a écrit : >> On Wed, 6 Jun 2018 14:21:08 + (UTC) >> Christophe Leroy wrote: >> >>> scaled cputime is only meaningfull when the processor has >>> SPURR and/or PURR, which means only on PPC64. >>> > > [...] > >>

Re: [PATCH v7 3/5] media: sunxi: Add A10 CSI driver

2019-08-20 Thread Sakari Ailus
Hi Maxime, Thanks for the update. On Tue, Aug 20, 2019 at 01:24:34PM +0200, Maxime Ripard wrote: > From: Maxime Ripard > > The older CSI drivers have camera capture interface different from the one > in the newer ones. > > This IP is pretty simple. Some variants (one controller out of two >

Re: [PATCH v2 0/8] arm64: dts: qcom: sm8150: Add SM8150 DTS

2019-08-20 Thread Vinod Koul
On 20-08-19, 14:28, Niklas Cassel wrote: > On Tue, Aug 20, 2019 at 12:12:08PM +0530, Vinod Koul wrote: > > This series adds DTS for SM8150, PMIC PM8150, PM8150B, PM8150L and > > the MTP for SM8150. > > > > Changes in v2: > > - Squash patches > > - Fix comments given by Stephen namely, lowercase

Re: [PATCH] powerpc: Don't add -mabi= flags when building with Clang

2019-08-20 Thread Segher Boessenkool
On Mon, Aug 19, 2019 at 08:15:38PM -0700, Nathan Chancellor wrote: > On Mon, Aug 19, 2019 at 04:19:31AM -0500, Segher Boessenkool wrote: > > On Sun, Aug 18, 2019 at 12:13:21PM -0700, Nathan Chancellor wrote: > > > When building pseries_defconfig, building vdso32 errors out: > > > > > > error:

Re: [PATCH 2/2] uacce: add uacce module

2019-08-20 Thread zhangfei
On 2019/8/19 下午6:22, Greg Kroah-Hartman wrote: On Mon, Aug 19, 2019 at 05:09:23PM +0800, zhangfei@foxmail.com wrote: Hi, Greg Thanks for your kind suggestion. On 2019/8/15 下午10:12, Greg Kroah-Hartman wrote: On Wed, Aug 14, 2019 at 05:34:25PM +0800, Zhangfei Gao wrote: diff --git

Re: [PATCH V3 2/3] KVM/Hyper-V: Add new KVM cap KVM_CAP_HYPERV_DIRECT_TLBFLUSH

2019-08-20 Thread Tianyu Lan
Hi Thomas: Thanks for your review. Will fix your comment in the next version. On Mon, Aug 19, 2019 at 9:27 PM Thomas Gleixner wrote: > > On Mon, 19 Aug 2019, lantianyu1...@gmail.com wrote: > > > From: Tianyu Lan > > > > This patch adds > > Same git grep command as before > > >

[PATCH] vhost: Remove unnecessary variable

2019-08-20 Thread Yunsheng Lin
It is unnecessary to use ret variable to return the error code, just return the error code directly. Signed-off-by: Yunsheng Lin --- drivers/vhost/vhost.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index

Re: [PATCH v2 6/8] arm64: dts: qcom: sm8150-mtp: Add regulators

2019-08-20 Thread Vinod Koul
On 20-08-19, 14:26, Niklas Cassel wrote: > On Tue, Aug 20, 2019 at 12:12:14PM +0530, Vinod Koul wrote: > > Add the regulators found in the mtp platform. This platform consists of > > pmic PM8150, PM8150L and PM8009. > > Is there a reason not to squash this this patch 5/8 ? I typically like big

Re: [PATCH v2 5/8] arm64: dts: qcom: sm8150-mtp: add base dts file

2019-08-20 Thread Vinod Koul
On 20-08-19, 14:26, Niklas Cassel wrote: > On Tue, Aug 20, 2019 at 12:12:13PM +0530, Vinod Koul wrote: > > This add base DTS file for sm8150-mtp and enables boot to console, adds > > tlmm reserved range, resin node, volume down key and also includes pmic > > file. > > > > Signed-off-by: Vinod

Re: [PATCH 2/2] uacce: add uacce module

2019-08-20 Thread zhangfei
Hi, Greg On 2019/8/19 下午6:24, Greg Kroah-Hartman wrote: +static int uacce_create_chrdev(struct uacce *uacce) +{ + int ret; + + ret = idr_alloc(_idr, uacce, 0, 0, GFP_KERNEL); + if (ret < 0) + return ret; + Shouldn't this function create the memory needed for

[PATCH 3/9] drivers: ata: ahci_tegra: use devm_platform_ioremap_resource()

2019-08-20 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/ata/ahci_tegra.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/ata/ahci_tegra.c

Re: linux-next: Tree for Aug 19 (amdgpu)

2019-08-20 Thread Jason Gunthorpe
On Tue, Aug 20, 2019 at 11:45:54AM +1000, Stephen Rothwell wrote: > Hi all, > > On Mon, 19 Aug 2019 18:34:41 -0700 Randy Dunlap wrote: > > > > On 8/19/19 2:18 AM, Stephen Rothwell wrote: > > > Hi all, > > > > > > Changes since 20190816: > > > > > > > on x86_64: > > > >

[PATCH 2/9] drivers: ata: ahci_seattle: use devm_platform_ioremap_resource()

2019-08-20 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/ata/ahci_seattle.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/ata/ahci_seattle.c

[PATCH linux-next] tty: serial: add dependence for CONFIG_SERIAL_FSL_LINFLEXUART

2019-08-20 Thread Mao Wenan
When CONFIG_SERIAL_FSL_LINFLEXUART=y and CONFIG_PRINTK is not set, one compilation error is found as below: drivers/tty/serial/fsl_linflexuart.c: In function linflex_earlycon_putchar: drivers/tty/serial/fsl_linflexuart.c:608:31: error: CONFIG_LOG_BUF_SHIFT undeclared (first use in this function);

Re: [PATCH v2 3/8] arm64: dts: qcom: pm8150b: Add Base DTS file

2019-08-20 Thread Vinod Koul
On 20-08-19, 14:27, Niklas Cassel wrote: > On Tue, Aug 20, 2019 at 12:12:11PM +0530, Vinod Koul wrote: > > PMIC pm8150b is a slave pmic and this adds base DTS file for pm8150b > > with pon, adc, and gpio nodes > > All of your other commit messages refers to it as power-on > instead of pon, be

[PATCH 6/9] drivers: ata: pata_bk3710: use devm_platform_ioremap_resource()

2019-08-20 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/ata/pata_bk3710.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/ata/pata_bk3710.c

[PATCH 1/9] drivers: ata: ahci_octeon: use devm_platform_ioremap_resource()

2019-08-20 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/ata/ahci_octeon.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/ata/ahci_octeon.c

Re: [PATCH v2 2/8] arm64: dts: qcom: pm8150: Add Base DTS file

2019-08-20 Thread Vinod Koul
On 20-08-19, 14:27, Niklas Cassel wrote: > On Tue, Aug 20, 2019 at 12:12:10PM +0530, Vinod Koul wrote: > > Add base DTS file for pm8150 along with GPIOs, power-on, rtc and vadc > > nodes > > > > Signed-off-by: Vinod Koul > > --- > > arch/arm64/boot/dts/qcom/pm8150.dtsi | 95

[PATCH 9/9] drivers: ata: sata_rcar: use devm_platform_ioremap_resource()

2019-08-20 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/ata/sata_rcar.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/ata/sata_rcar.c

[PATCH 7/9] drivers: ata: sata_dwc_460ex: use devm_platform_ioremap_resource()

2019-08-20 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/ata/sata_dwc_460ex.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/ata/sata_dwc_460ex.c

[PATCH 5/9] drivers: ata: libahci_platform: use devm_platform_ioremap_resource()

2019-08-20 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/ata/libahci_platform.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/ata/libahci_platform.c

[PATCH 4/9] drivers: ata: ahci_xgene: use devm_platform_ioremap_resource()

2019-08-20 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/ata/ahci_xgene.c | 21 +++-- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git

[PATCH 8/9] drivers: ata: sata_gemini: use devm_platform_ioremap_resource()

2019-08-20 Thread Enrico Weigelt, metux IT consult
Use the new helper that wraps the calls to platform_get_resource() and devm_ioremap_resource() together. Signed-off-by: Enrico Weigelt, metux IT consult --- drivers/ata/sata_gemini.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/ata/sata_gemini.c

[PATCH] ASoC: meson: g12a-tohdmitx: require regmap mmio

2019-08-20 Thread Jerome Brunet
The tohdmitx glue uses regmap MMIO so it should require it. Fixes: c8609f3870f7 ("ASoC: meson: add g12a tohdmitx control") Signed-off-by: Jerome Brunet --- sound/soc/meson/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/meson/Kconfig b/sound/soc/meson/Kconfig index

Re: Kernel 5.3.x, 5.2.2+: VMware player suspend on 64/32 bit guests

2019-08-20 Thread Woody Suwalski
On Thu, Aug 15, 2019 at 2:37 AM Thomas Gleixner wrote: > > Woody, > > On Tue, 13 Aug 2019, Woody Suwalski wrote: > > On Mon, Aug 12, 2019 at 1:24 PM Thomas Gleixner wrote: > > > The ACPI handler is not the culprit. This is either an emulation bug or > > > something really strange. Can you please

[PATCH 2/3] csky: Fixup defer cache flush for 610

2019-08-20 Thread guoren
From: Guo Ren We use defer cache flush mechanism to improve the performance of 610, but the implementation is wrong. We fix it up now and update the mechanism: - Zero page needn't be flushed. - If page is file mapping & non-touched in user space, defer flush. - If page is anon mapping or

[PATCH 1/3] csky: Fixup arch_get_unmapped_area() implementation

2019-08-20 Thread guoren
From: Guo Ren Current arch_get_unmapped_area() of abiv1 doesn't use standard kernel api. After referring to the implementation of arch/arm, we implement it with vm_unmapped_area() from linux/mm.h. Signed-off-by: Guo Ren Cc: Arnd Bergmann --- arch/csky/abiv1/inc/abi/page.h | 5 +--

Re: [PATCH RESEND v4 5/9] KVM: VMX: Add init/set/get functions for SPP

2019-08-20 Thread Yang Weijiang
On Mon, Aug 19, 2019 at 05:05:22PM +0200, Paolo Bonzini wrote: > On 14/08/19 09:03, Yang Weijiang wrote: > > + > > +int kvm_mmu_get_subpages(struct kvm *kvm, struct kvm_subpage *spp_info, > > +bool mmu_locked) > > +{ > > + u32 *access = spp_info->access_map; > > + gfn_t gfn

[PATCH] ASoC: meson: axg-tdm-formatter: free reset on device removal

2019-08-20 Thread Jerome Brunet
Use the devm variant to get the formatter reset so it is properly freed on device removal Fixes: 751bd5db5260 ("ASoC: meson: axg-tdm-formatter: add reset") Signed-off-by: Jerome Brunet --- sound/soc/meson/axg-tdm-formatter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2 1/8] arm64: dts: qcom: sm8150: add base dts file

2019-08-20 Thread Vinod Koul
On 20-08-19, 14:27, Niklas Cassel wrote: > On Tue, Aug 20, 2019 at 12:12:09PM +0530, Vinod Koul wrote: > > This add base DTS file with cpu, psci, firmware, clock, tlmm and > > spmi nodes which enables boot to console > > > > Signed-off-by: Vinod Koul > > --- > >

[PATCH 3/3] csky: Support kernel non-aligned access

2019-08-20 Thread guoren
From: Guo Ren We prohibit non-aligned access in kernel mode, but some special NIC driver needs to support kernel-state unaligned access. For example, when the bus does not support unaligned access, IP header parsing will cause non-aligned access and driver does not recopy the skb buffer to dma

[PATCH v2 7/7] clocksource/drivers/sh_cmt: Document "cmt-48" as deprecated

2019-08-20 Thread Magnus Damm
From: Magnus Damm Update the CMT driver to mark "renesas,cmt-48" as deprecated. Instead of documenting a theoretical hardware device based on current software support level, define DT bindings top-down based on available data sheet information and make use of part numbers in the DT compat

[PATCH v2 6/7] clocksource/drivers/sh_cmt: r8a7740 and sh73a0 SoC-specific match

2019-08-20 Thread Magnus Damm
From: Magnus Damm Add SoC-specific matching for CMT1 on r8a7740 and sh73a0. This allows us to move away from the old DT bindings such as - "renesas,cmt-48-sh73a0" - "renesas,cmt-48-r8a7740" - "renesas,cmt-48" in favour for the now commonly used format "renesas,-" Signed-off-by: Magnus Damm

Re: [PATCH 6/7] clocksource/drivers/sh_cmt: r8a7740 and sh73a0 SoC-specific match

2019-08-20 Thread Magnus Damm
Hi Simon, On Wed, Jul 24, 2019 at 8:12 PM Simon Horman wrote: > > On Thu, Jul 18, 2019 at 08:45:24PM +0900, Magnus Damm wrote: > > From: Magnus Damm > > > > Add SoC-specific matching for CMT1 on r8a7740 and sh73a0. > > > > This allows us to move away from the old DT bindings such as > > -

[PATCH v2 2/7] dt-bindings: timer: renesas, cmt: Update CMT1 on sh73a0 and r8a7740

2019-08-20 Thread Magnus Damm
From: Magnus Damm This patch reworks the DT binding documentation for the 6-channel 48-bit CMTs known as CMT1 on r8a7740 and sh73a0. After the update the same style of DT binding as the rest of the upstream SoCs will now also be used by r8a7740 and sh73a0. The DT binding "cmt-48" is removed

[PATCH v2 5/7] dt-bindings: timer: renesas, cmt: Update R-Car Gen3 CMT1 usage

2019-08-20 Thread Magnus Damm
From: Magnus Damm The R-Car Gen3 SoCs so far come with a total for 4 on-chip CMT devices: - CMT0 - CMT1 - CMT2 - CMT3 CMT0 includes two rather basic 32-bit timer channels. The rest of the on-chip CMT devices support 48-bit counters and have 8 channels each. Based on the data sheet

[PATCH v2 4/7] dt-bindings: timer: renesas, cmt: Add CMT0 and CMT1 to r8a77995

2019-08-20 Thread Magnus Damm
From: Magnus Damm This patch adds DT binding documentation for the CMT devices on the R-Car Gen3 D3 (r8a77995) SoC. Signed-off-by: Magnus Damm Reviewed-by: Geert Uytterhoeven Reviewed-by: Rob Herring Reviewed-by: Simon Horman --- Documentation/devicetree/bindings/timer/renesas,cmt.txt |

[PATCH v2 3/7] dt-bindings: timer: renesas, cmt: Add CMT0 and CMT1 to r8a7792

2019-08-20 Thread Magnus Damm
From: Magnus Damm This patch adds DT binding documentation for the CMT devices on the R-Car Gen2 V2H (r8a7792) SoC. Signed-off-by: Magnus Damm Reviewed-by: Geert Uytterhoeven Reviewed-by: Rob Herring Reviewed-by: Simon Horman --- Documentation/devicetree/bindings/timer/renesas,cmt.txt |

[PATCH v2 1/7] dt-bindings: timer: renesas, cmt: Add CMT0234 to sh73a0 and r8a7740

2019-08-20 Thread Magnus Damm
From: Magnus Damm Document the on-chip CMT devices included in r8a7740 and sh73a0. Included in this patch is DT binding documentation for 32-bit CMTs CMT0, CMT2, CMT3 and CMT4. They all contain a single channel and are quite similar however some minor differences still exist: - "Counter input

Re: [PATCH] module: Fix load failure when CONFIG_STRICT_MODULE_RWX is diabled

2019-08-20 Thread Jessica Yu
+++ He Zhe [14/08/19 09:56 +0800]: On 8/14/19 1:59 AM, Jessica Yu wrote: +++ zhe...@windriver.com [10/08/19 15:22 +0800]: From: He Zhe When loading modules with CONFIG_ARCH_HAS_STRICT_MODULE_RWX enabled and CONFIG_STRICT_MODULE_RWX disabled, the memory allocated for modules would not be

[PATCH v2 0/7] renesas, cmt: DT Binding Documentation and Minor Driver Updates V2

2019-08-20 Thread Magnus Damm
renesas, cmt: DT Binding Documentation and Minor Driver Updates V2 [PATCH v2 1/7] dt-bindings: timer: renesas, cmt: Add CMT0234 to sh73a0 and r8a7740 [PATCH v2 2/7] dt-bindings: timer: renesas, cmt: Update CMT1 on sh73a0 and r8a7740 [PATCH v2 3/7] dt-bindings: timer: renesas, cmt: Add CMT0 and

Re: [PATCH RESEND v4 5/9] KVM: VMX: Add init/set/get functions for SPP

2019-08-20 Thread Yang Weijiang
On Mon, Aug 19, 2019 at 05:15:01PM +0200, Paolo Bonzini wrote: > On 19/08/19 04:08, Yang Weijiang wrote: > >> KVM_GET_NESTED_STATE has the requested information. If > >> data.vmx.vmxon_pa is anything other than -1, then the vCPU is in VMX > >> operation. If (flags & KVM_STATE_NESTED_GUEST_MODE),

Re: [PATCH v1 5/6] mt76: fix some checkpatch warnings

2019-08-20 Thread Felix Fietkau
On 2019-07-24 10:58, Ryder Lee wrote: > --- a/drivers/net/wireless/mediatek/mt76/mt76.h > +++ b/drivers/net/wireless/mediatek/mt76/mt76.h > @@ -537,25 +537,25 @@ struct mt76_rx_status { > s8 chain_signal[IEEE80211_MAX_CHAINS]; > }; > > -#define __mt76_rr(dev, ...) (dev)->bus->rr((dev),

Re: [PATCH net-next v3 2/4] net: mdio: add PTP offset compensation to mdiobus_write_sts

2019-08-20 Thread Hubert Feurstein
Hi Miroslav, Am Di., 20. Aug. 2019 um 11:49 Uhr schrieb Miroslav Lichvar : > > On Tue, Aug 20, 2019 at 10:48:31AM +0200, Hubert Feurstein wrote: > > > + /* PTP offset compensation: > > + * After the MDIO access is completed (from the chip perspective), the > > + * switch chip will

Re: [PATCH v8 06/20] fs: Fill in max and min timestamps in superblock

2019-08-20 Thread Tigran Aivazian
I see no problems for BFS. Acked-By: Tigran Aivazian

Re: [PATCH v2 0/8] arm64: dts: qcom: sm8150: Add SM8150 DTS

2019-08-20 Thread Niklas Cassel
On Tue, Aug 20, 2019 at 12:12:08PM +0530, Vinod Koul wrote: > This series adds DTS for SM8150, PMIC PM8150, PM8150B, PM8150L and > the MTP for SM8150. > > Changes in v2: > - Squash patches > - Fix comments given by Stephen namely, lowercase for hext numbers, >making rpmhcc have xo_board as

Re: [PATCH v2 1/8] arm64: dts: qcom: sm8150: add base dts file

2019-08-20 Thread Niklas Cassel
On Tue, Aug 20, 2019 at 12:12:09PM +0530, Vinod Koul wrote: > This add base DTS file with cpu, psci, firmware, clock, tlmm and > spmi nodes which enables boot to console > > Signed-off-by: Vinod Koul > --- > arch/arm64/boot/dts/qcom/sm8150.dtsi | 305 +++ > 1 file

Re: [PATCH v2 3/8] arm64: dts: qcom: pm8150b: Add Base DTS file

2019-08-20 Thread Niklas Cassel
On Tue, Aug 20, 2019 at 12:12:11PM +0530, Vinod Koul wrote: > PMIC pm8150b is a slave pmic and this adds base DTS file for pm8150b > with pon, adc, and gpio nodes All of your other commit messages refers to it as power-on instead of pon, be consistent. > > Signed-off-by: Vinod Koul > --- >

Re: [PATCH v2 2/8] arm64: dts: qcom: pm8150: Add Base DTS file

2019-08-20 Thread Niklas Cassel
On Tue, Aug 20, 2019 at 12:12:10PM +0530, Vinod Koul wrote: > Add base DTS file for pm8150 along with GPIOs, power-on, rtc and vadc > nodes > > Signed-off-by: Vinod Koul > --- > arch/arm64/boot/dts/qcom/pm8150.dtsi | 95 > 1 file changed, 95 insertions(+) > create

Re: [PATCH v2 5/8] arm64: dts: qcom: sm8150-mtp: add base dts file

2019-08-20 Thread Niklas Cassel
On Tue, Aug 20, 2019 at 12:12:13PM +0530, Vinod Koul wrote: > This add base DTS file for sm8150-mtp and enables boot to console, adds > tlmm reserved range, resin node, volume down key and also includes pmic > file. > > Signed-off-by: Vinod Koul > --- > arch/arm64/boot/dts/qcom/Makefile |

Re: [PATCH v2 6/8] arm64: dts: qcom: sm8150-mtp: Add regulators

2019-08-20 Thread Niklas Cassel
On Tue, Aug 20, 2019 at 12:12:14PM +0530, Vinod Koul wrote: > Add the regulators found in the mtp platform. This platform consists of > pmic PM8150, PM8150L and PM8009. Is there a reason not to squash this this patch 5/8 ? > > Signed-off-by: Vinod Koul > --- >

[PATCH v2] (submitted) input: misc: soc_button_array: use platform_device_register_resndata()

2019-08-20 Thread Enrico Weigelt, metux IT consult
From: Enrico Weigelt The registration of gpio-keys device can be written much shorter by using the platform_device_register_resndata() helper. v2: * pass >dev to platform_device_register_resndata() * fixed errval on failed platform_device_register_resndata() Signed-off-by: Enrico

[PATCH] tpm_tis: Fix interrupt probing

2019-08-20 Thread Stefan Berger
From: Stefan Berger The interrupt probing of the TPM TIS was broken since we are trying to run it without an active locality and without the TPM_CHIP_FLAG_IRQ set. Signed-off-by: Stefan Berger --- drivers/char/tpm/tpm_tis_core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH v2 7/8] arm64: dts: qcom: sm8150: Add reserved-memory regions

2019-08-20 Thread Niklas Cassel
On Tue, Aug 20, 2019 at 12:12:15PM +0530, Vinod Koul wrote: > Add the reserved memory regions in SM8150 Is there a reason not to squash this this patch 1/8 ? > > Signed-off-by: Vinod Koul > --- > arch/arm64/boot/dts/qcom/sm8150.dtsi | 111 +++ > 1 file changed, 111

Re: [PATCH v6 6/7] nfc: pn533: Add autopoll capability

2019-08-20 Thread Johan Hovold
On Tue, Aug 20, 2019 at 02:03:43PM +0200, Lars Poeschel wrote: > pn532 devices support an autopoll command, that lets the chip > automatically poll for selected nfc technologies instead of manually > looping through every single nfc technology the user is interested in. > This is faster and less

Re: [PATCH v2 2/3] x86/cpu: Add new Intel Atom CPU model name

2019-08-20 Thread Peter Zijlstra
On Fri, Aug 16, 2019 at 04:18:58PM +0800, Rahul Tanwar wrote: > Add a new variant of Intel Atom Airmont CPU model. > > Signed-off-by: Rahul Tanwar > --- > arch/x86/include/asm/intel-family.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/x86/include/asm/intel-family.h >

[PATCH v6] perf diff: Report noisy for cycles diff

2019-08-20 Thread Jin Yao
This patch prints the stddev and hist for the cycles diff of program block. It can help us to understand if the cycles is noisy or not. This patch is inspired by Andi Kleen's patch https://lwn.net/Articles/600471/ We create new option '--cycles-hist'. Example: perf record -b ./div perf record

Re: [PATCH 2/2] drivers: input: mouse: alps: drop unneeded likely() call around IS_ERR()

2019-08-20 Thread Enrico Weigelt, metux IT consult
On 20.08.19 13:17, Pali Rohár wrote: On Tuesday 20 August 2019 12:56:12 Enrico Weigelt, metux IT consult wrote: From: Enrico Weigelt IS_ERR() already calls unlikely(), so this extra unlikely() call around IS_ERR() is not needed. Signed-off-by: Enrico Weigelt --- drivers/input/mouse/alps.c

Re: [patch 01/44] posix-timers: Cleanup forward declarations and includes

2019-08-20 Thread Frederic Weisbecker
On Mon, Aug 19, 2019 at 04:31:42PM +0200, Thomas Gleixner wrote: > - Rename struct siginfo to kernel_siginfo That's fine because struct siginfo isn't actually used in that header, right? > - Add a forward declaration for task_struct and remove sched.h include > - Remove timex.h include as it

Re: [PATCH v3 0/4] Simplify PCIe hotplug indicator control

2019-08-20 Thread Denis Efremov
On 8/19/19 7:06 PM, Denis Efremov wrote: > PCIe defines two optional hotplug indicators: a Power indicator and an > Attention indicator. Both are controlled by the same register, and each > can be on, off or blinking. The current interfaces > (pciehp_green_led_{on,off,blink}() and

[PATCH 1/2] arm64: dts: meson: g12a: audio clock controller provides resets

2019-08-20 Thread Jerome Brunet
The clock controller dedicated to audio clocks also provides reset lines on the g12 SoC family Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi

[PATCH 0/2] arm64: dts: meson: g12a: add tdm resets

2019-08-20 Thread Jerome Brunet
This patchset adds the dedicated reset of the tdm formatters which have been added on the g12a SoC family. Using these help with the channel mapping when the formatter uses more than 1 i2s lane. Kevin, please note that to build, this patchset depends on the new reset bindings of the audio clock

[PATCH 2/2] arm64: dts: meson: g12a: add reset to tdm formatters

2019-08-20 Thread Jerome Brunet
Add the reset to the TDM formatters of the g12a. This helps with channel mapping when a playback/capture uses more than 1 lane. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 8 1 file changed, 8 insertions(+) diff --git

Re: [PATCH -rcu dev 1/3] rcu/tree: tick_dep_set/clear_cpu should accept bits instead of masks

2019-08-20 Thread Frederic Weisbecker
On Mon, Aug 19, 2019 at 09:44:20AM -0700, Paul E. McKenney wrote: > On Mon, Aug 19, 2019 at 06:32:27PM +0200, Frederic Weisbecker wrote: > > > But would the following patch make sense? This would not help for (say) > > > use of TICK_MASK_BIT_POSIX_TIMER instead of TICK_DEP_BIT_POSIX_TIMER, but >

Re: [PATCH v5] ata/pata_buddha: Probe via modalias instead of initcall

2019-08-20 Thread Bartlomiej Zolnierkiewicz
Hi Max, Few more review comments below. On 8/12/19 6:48 PM, Max Staudt wrote: > Up until now, the pata_buddha driver would only check for cards on > initcall time. Now, the kernel will call its probe function as soon > as a compatible card is detected. > > v5: Remove module_exit(): There's no

<    4   5   6   7   8   9   10   11   12   >