Re: [PATCH] xtensa: One function call less in bootmem_init()

2019-07-05 Thread Max Filippov
Hi Markus, On Fri, Jul 5, 2019 at 9:43 AM Markus Elfring wrote: > > From: Markus Elfring > Date: Fri, 5 Jul 2019 18:33:58 +0200 > > Avoid an extra function call by using a ternary operator instead of > a conditional statement for a setting selection. > > This issue was detected by using the

Re: [patch V2 04/25] x86/apic: Make apic_pending_intr_clear() more robust

2019-07-05 Thread Andy Lutomirski
On Fri, Jul 5, 2019 at 8:47 AM Andrew Cooper wrote: > > On 04/07/2019 16:51, Thomas Gleixner wrote: > > 2) The loop termination logic is interesting at best. > > > > If the machine has no TSC or cpu_khz is not known yet it tries 1 > > million times to ack stale IRR/ISR bits. What? > >

Re: [PATCH 1/2] usb: pci-quirks: Correct AMD PLL quirk detection

2019-07-05 Thread Alan Stern
On Thu, 4 Jul 2019, Ryan Kennedy wrote: > The AMD PLL USB quirk is incorrectly enabled on newer Ryzen > chipsets. The logic in usb_amd_find_chipset_info currently checks > for unaffected chipsets rather than affected ones. This broke > once a new chipset was added in e788787ef. It makes more

Re: [PATCH 01/10] net: hisilicon: Add support for HI13X1 to hip04_eth

2019-07-05 Thread David Miller
You must always provide a proper "[PATCH 00/NN]" header posting for a patch series which describes at a high level what the patch series is doing, how it is doing it, and why it is doing it this way. I am tossing this patch series from patchwork, please resubmit this entire series properly.

[PATCH] [STABLE backport 4.9] arm64, vdso: Define vdso_{start,end} as array

2019-07-05 Thread Arnd Bergmann
From: Kees Cook Commit dbbb08f500d6146398b794fdc68a8e811366b451 upstream. Adjust vdso_{start|end} to be char arrays to avoid compile-time analysis that flags "too large" memcmp() calls with CONFIG_FORTIFY_SOURCE. Cc: Jisheng Zhang Acked-by: Catalin Marinas Suggested-by: Mark Rutland

Re: suspend broken in next-20190704 on Thinkpad X60

2019-07-05 Thread Pavel Machek
On Fri 2019-07-05 00:59:35, Rafael J. Wysocki wrote: > On Thu, Jul 4, 2019 at 9:20 PM Pavel Machek wrote: > > > > Hi! > > > > Suspend is broken in next-20190704 on Thinkpad X60. > > Broken in what way? Any details? > > > It very very probably worked ok in 20190701. > > Well, please try the

Re: [PATCH] i2c: tegra: Add Dmitry as a reviewer

2019-07-05 Thread Wolfram Sang
On Sun, Jun 23, 2019 at 08:46:55PM +0300, Dmitry Osipenko wrote: > I'm contributing to Tegra's upstream development in general and happened > to review the Tegra's I2C patches for awhile because I'm actively using > upstream kernel on all of my Tegra-powered devices and initially some of > the

[PATCH] [STABLE backport 4.9] arm64, vdso: Define vdso_{start,end} as array

2019-07-05 Thread Arnd Bergmann
From: Kees Cook Commit dbbb08f500d6146398b794fdc68a8e811366b451 upstream. Adjust vdso_{start|end} to be char arrays to avoid compile-time analysis that flags "too large" memcmp() calls with CONFIG_FORTIFY_SOURCE. Cc: Jisheng Zhang Acked-by: Catalin Marinas Suggested-by: Mark Rutland

Re: [PATCH] i2c: remove casting dma_alloc

2019-07-05 Thread Wolfram Sang
On Sun, Jun 23, 2019 at 11:13:53PM +0200, Vasyl Gomonovych wrote: > From: Vasyl > > Generated by: alloc_cast.cocci > > Signed-off-by: Vasyl Applied to for-next, thanks! I fixed the missing full name for you, but please fix your setup. signature.asc Description: PGP signature

Re: [RESEND][PATCH] i2c: imx: add support for I2C_M_STOP flag

2019-07-05 Thread Wolfram Sang
On Wed, Jul 03, 2019 at 05:47:32PM +0100, Mans Rullgard wrote: > Add support for the I2C_M_STOP flag to the i2c-imx driver. This allows > devices requiring a stop between messages to work with this controller. > > Signed-off-by: Mans Rullgard The problem with this driver is that it is

[PATCH] mfd: asic3: One function call less in asic3_irq_probe()

2019-07-05 Thread Markus Elfring
From: Markus Elfring Date: Fri, 5 Jul 2019 20:22:26 +0200 Avoid an extra function call by using a ternary operator instead of a conditional statement. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/mfd/asic3.c | 9 - 1 file

[PATCH] mfd: asic3: One function call less in asic3_irq_probe()

2019-07-05 Thread Markus Elfring
From: Markus Elfring Date: Fri, 5 Jul 2019 20:22:26 +0200 Avoid an extra function call by using a ternary operator instead of a conditional statement. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/mfd/asic3.c | 9 - 1 file

Re: [PATCH] rtl8xxxu: Fix wifi low signal strength issue of RTL8723BU

2019-07-05 Thread Jes Sorensen
On 7/4/19 11:44 PM, Daniel Drake wrote: > On Wed, Jul 3, 2019 at 8:59 PM Jes Sorensen wrote: >> My point is this seems to be very dongle dependent :( We have to be >> careful not breaking it for some users while fixing it for others. > > Do you still have your device? > > Once we get to the

Re: [PATCH v2] rtl8xxxu: Fix wifi low signal strength issue of RTL8723BU

2019-07-05 Thread Jes Sorensen
On 7/4/19 10:27 PM, Chris Chiu wrote: > On Fri, Jul 5, 2019 at 12:43 AM Jes Sorensen wrote: >> >> On 7/4/19 6:55 AM, Chris Chiu wrote: >>> The WiFi tx power of RTL8723BU is extremely low after booting. So >>> the WiFi scan gives very limited AP list and it always fails to >>> connect to the

Re: [PATCH] tpm: fixes uninitialized allocated banks for IBM vtpm driver

2019-07-05 Thread Jarkko Sakkinen
On Fri, 2019-07-05 at 20:50 +0300, Jarkko Sakkinen wrote: > To summarize this patch fixes one regression and introduces two > completely new ones... Anyway, take the time and update it. The principle is right anyway. I'll merge it once it is in a better shape... /Jarkko

Re: [PATCH] mm/slab: One function call less in verify_redzone_free()

2019-07-05 Thread Christopher Lameter
On Fri, 5 Jul 2019, Markus Elfring wrote: > Avoid an extra function call by using a ternary operator instead of > a conditional statement for a string literal selection. Well. I thought the compiler does that on its own? And the tenary operator makes the code difficult to read.

[PATCH 1/3] x86/mpx: remove selftests Makefile entry

2019-07-05 Thread Dave Hansen
From: Dave Hansen MPX is being removed from the kernel due to a lack of support in the toolchain going forward (gcc). This is the smallest possible patch to fix some issues that have been reported around running the MPX selftests. It is would also have been part of any removal series, so it

[PATCH 0/3] [RFC] x86: start the MPX removal process

2019-07-05 Thread Dave Hansen
MPX requires recompiling applications, which requires compiler support. Unfortunately, GCC 9.1 is expected to be be released without support for MPX. This means that there was only a relatively small window where folks could have ever used MPX. It failed to gain wide adoption in the industry,

[PATCH 3/3] x86/mpx: remove MPX APIs

2019-07-05 Thread Dave Hansen
From: Dave Hansen MPX is being removed from the kernel due to a lack of support in the toolchain going forward (gcc). The first thing we need to do is remove the userspace-visible ABIs so that applications will stop using it. The most visible one are the enable/disable prctl()s. Remove them

[PATCH 2/3] x86/mpx: remove selftests themselves

2019-07-05 Thread Dave Hansen
From: Dave Hansen MPX is being removed from the kernel due to a lack of support in the toolchain going forward (gcc). Remove the x86 selftests since they have been causing some issues because of their propensity to do some debug-aiding tracepoint mucking. Signed-off-by: Dave Hansen Cc:

Re: [tip:irq/core] gpio: mb86s7x: Enable ACPI support

2019-07-05 Thread Ard Biesheuvel
On Fri, 5 Jul 2019 at 10:58, Linus Walleij wrote: > > On Thu, Jul 4, 2019 at 8:18 PM Ard Biesheuvel > wrote: > > On Thu, 4 Jul 2019 at 09:52, Linus Walleij wrote: > > > > > > On Wed, Jul 3, 2019 at 3:50 PM Marc Zyngier wrote: > > > > On 03/07/2019 13:26, Linus Walleij wrote: > > > > > On Wed,

Re: [PATCH v1] scsi: Don't select SCSI_PROC_FS by default

2019-07-05 Thread Douglas Gilbert
On 2019-07-05 3:22 a.m., Hannes Reinecke wrote: On 6/18/19 7:43 PM, Elliott, Robert (Servers) wrote: -Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Bart Van Assche Sent: Monday, June 17, 2019 10:28 PM To:

Re: [PATCH] tpm: fixes uninitialized allocated banks for IBM vtpm driver

2019-07-05 Thread Jarkko Sakkinen
On Fri, 2019-07-05 at 11:32 -0400, Nayna wrote: > I am not sure of the purpose of tpm_stop_chip(), so I have left it as it > is. Jarkko, what do you think about the change ? Stefan right. Your does not work, or will randomly work or not work depending on the chip. You need to turn the TPM on

[GIT PULL] nfsd bugfixes for 5.2

2019-07-05 Thread J. Bruce Fields
Please pull: git://linux-nfs.org/~bfields/linux.git tags/nfsd-5.2-2 Two more quick bugfixes for nfsd, fixing a regression causing mount failures on high-memory machines and fixing the DRC over RDMA. --b. Chuck Lever (1): svcrdma: Ignore source port when computing DRC hash Paul Menzel

[PATCH] coresight: etm4x: Two function calls less

2019-07-05 Thread Markus Elfring
From: Markus Elfring Date: Fri, 5 Jul 2019 19:33:26 +0200 Avoid an extra function call in two function implementations by using a ternary operator instead of a conditional statement. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

Re: [PATCH -next] carl9170: remove set but not used variable 'udev'

2019-07-05 Thread Christian Lamparter
On Tuesday, July 2, 2019 4:12:07 PM CEST YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/ath/carl9170/usb.c: In function carl9170_usb_disconnect: > drivers/net/wireless/ath/carl9170/usb.c:1110:21: > warning: variable udev set but not used

The tick is active on idle adaptive-tick CPUs when /dev/cpu_dma_latency is used

2019-07-05 Thread Thomas Lindroth
On recent kernels the tick remains active on idle adaptive-tick CPUs when a small value is written to /dev/cpu_dma_latency to restrict the highest C-state. Before the idle loop redesign in 4.17 idle CPUs had the tick disabled even when C-state were restricted. Is this change intentional or a

Applied "ASoC: rt5665: remove redundant assignment to variable idx" to the asoc tree

2019-07-05 Thread Mark Brown
The patch ASoC: rt5665: remove redundant assignment to variable idx 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

Applied "ASoC: sunxi: sun50i-codec-analog: Add earpiece" to the asoc tree

2019-07-05 Thread Mark Brown
The patch ASoC: sunxi: sun50i-codec-analog: Add earpiece 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: SOF: debug: fix possible memory leak in sof_dfsentry_write()" to the asoc tree

2019-07-05 Thread Mark Brown
The patch ASoC: SOF: debug: fix possible memory leak in sof_dfsentry_write() 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

Re: [PATCH 3/9] media: hantro: Constify the control array

2019-07-05 Thread Boris Brezillon
On Fri, 05 Jul 2019 13:05:10 -0300 Ezequiel Garcia wrote: > On Wed, 2019-06-19 at 14:15 +0200, Boris Brezillon wrote: > > controls[] is not supposed to be modified at runtime, let's make it > > explicit by adding a const specifier. > > > > Signed-off-by: Boris Brezillon > > --- > >

[PATCH] kvm: x86: some tsc debug cleanup

2019-07-05 Thread Yi Wang
There are some pr_debug in TSC code, which may have been no use, so remove them as Paolo suggested. Signed-off-by: Yi Wang --- arch/x86/kvm/x86.c | 8 1 file changed, 8 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index fafd81d..86f9861 100644 ---

[PATCH] kvm: x86: ioapic and apic debug macros cleanup

2019-07-05 Thread Yi Wang
The ioapic_debug and apic_debug have been not used for years, and kvm tracepoints are enough for debugging, so remove them as Paolo suggested. However, there may be something wrong when pv evi get/put user, so it's better to retain some log there. Signed-off-by: Yi Wang ---

Re: [PATCH v2 1/7] dt-bindings: net: Add bindings for Realtek PHYs

2019-07-05 Thread Rob Herring
On Fri, Jul 5, 2019 at 10:29 AM Andrew Lunn wrote: > > On Fri, Jul 05, 2019 at 10:17:16AM -0600, Rob Herring wrote: > > On Wed, Jul 3, 2019 at 3:33 PM Andrew Lunn wrote: > > > > > > > I think if we're going to have custom properties for phys, we should > > > > have a compatible string to at

Donation

2019-07-05 Thread Mr. Mark
$850,000.00 has been donated to you. Respond for more details --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

[PATCH v2 2/2] usbip: Implement SG support to vhci

2019-07-05 Thread Suwan Kim
There are bugs on vhci with usb 3.0 storage device. Originally, vhci doesn't supported SG, so USB storage driver on vhci breaks SG list into multiple URBs and it causes error that a transfer got terminated too early because the transfer length for one of the URBs was not divisible by the maxpacket

[PATCH v2 1/2] usbip: Skip DMA mapping and unmapping for urb at vhci

2019-07-05 Thread Suwan Kim
vhci doesn’t do DMA for remote device. Actually, the real DMA operation is done by network card driver. vhci just passes virtual address of the buffer to the network stack, so vhci doesn’t use and need dma address of the buffer of the URB. When it comes to supporting SG for vhci, it is useful to

[PATCH v2 0/2] usbip: Implement SG support

2019-07-05 Thread Suwan Kim
There are bugs on vhci with usb 3.0 storage device. Originally, vhci doesn't supported SG, so USB storage driver on vhci breaks SG list into multiple URBs and it causes error that a transfer got terminated too early because the transfer length for one of the URBs was not divisible by the maxpacket

[PATCH] xtensa: One function call less in bootmem_init()

2019-07-05 Thread Markus Elfring
From: Markus Elfring Date: Fri, 5 Jul 2019 18:33:58 +0200 Avoid an extra function call by using a ternary operator instead of a conditional statement for a setting selection. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- arch/xtensa/mm/init.c | 5

[PATCH] KEYS: trusted: allow module init if TPM is inactive or deactivated

2019-07-05 Thread Roberto Sassu
Commit c78719203fc6 ("KEYS: trusted: allow trusted.ko to initialize w/o a TPM") allows the trusted module to be loaded even a TPM is not found to avoid module dependency problems. Unfortunately, this does not completely solve the issue, as there could be a case where a TPM is found but is not

Re: [PATCH 2/2] Fix perf-hooks test

2019-07-05 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 02, 2019 at 10:37:16AM -0700, Numfor Mbiziwo-Tiapo escreveu: > The perf-hooks test fails with Address Sanitizer and Memory > Sanitizer builds because it purposefully generates a segfault. > Checking if these sanitizers are active when running this test > will allow the perf-hooks test

Re: [PATCH] perf parse-events: Remove unused variable: error

2019-07-05 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 03, 2019 at 03:25:09PM -0700, Luke Mujica escreveu: > Remove error variable because it is declared but not used in > parse-events.y or in the generated parse-events.c. Thanks, applied > Signed-off-by: Luke Mujica > --- > tools/perf/util/parse-events.y | 1 - > 1 file changed, 1

Re: [PATCH] perf parse-events: Remove unused variable i

2019-07-05 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 03, 2019 at 03:25:08PM -0700, Luke Mujica escreveu: > Remove int i because it is declared but not used in parse-events.y or in > the generated parse-events.c. > > Signed-off-by: Luke Mujica > --- > tools/perf/util/parse-events.y | 1 - > 1 file changed, 1 deletion(-) > > diff --git

Re: [alsa-devel] [PATCH -next] ASoC: SOF: debug: fix possible memory leak in sof_dfsentry_write()

2019-07-05 Thread Ranjani Sridharan
On Fri, 2019-07-05 at 08:16 +, Wei Yongjun wrote: > 'string' is malloced in sof_dfsentry_write() and should be freed > before leaving from the error handling cases, otherwise it will cause > memory leak. > > Fixes: 091c12e1f50c ("ASoC: SOF: debug: add new debugfs entries for > IPC flood

Re: general protection fault in do_move_mount (2)

2019-07-05 Thread Eric Biggers
[Moved most people to Bcc to avoid spamming them with yet another syzkaller discussion. The actual kernel bug here was already fixed in mainline.] On Fri, Jul 05, 2019 at 02:17:04PM +0200, Dmitry Vyukov wrote: > On Mon, Jul 1, 2019 at 5:18 PM Eric Biggers wrote: > > > > On Mon, Jul 01, 2019 at

[ANNOUNCE] trace-cmd v2.8.1

2019-07-05 Thread Steven Rostedt
Just after releasing 2.8, some bugs were found (isn't that always the case?). Now we have 2.8.1 stable release: http://trace-cmd.org -- Steve Short log here: Greg Thelen (2): trace-cmd: Always initialize write_record() len trace-cmd: Avoid using uninitialized handle Steven

Re: [PATCH] ceph: use generic_delete_inode() for ->drop_inode

2019-07-05 Thread Jeff Layton
On Fri, 2019-07-05 at 17:14 +0100, Luis Henriques wrote: > ceph_drop_inode() implementation is not any different from the generic > function, thus there's no point in keeping it around. > > Signed-off-by: Luis Henriques > --- > fs/ceph/inode.c | 10 -- > fs/ceph/super.c | 2 +- >

[PATCH v2] fs: Fix the default values of i_uid/i_gid on /proc/sys inodes.

2019-07-05 Thread Radoslaw Burny
This also fixes a problem where, in a user namespace without root user mapping, it is not possible to write to /proc/sys/kernel/shmmax. The problem was introduced by the combination of the two commits: * 81754357770ebd900801231e7bc8d151ddc00498: fs: Update i_[ug]id_(read|write) to translate

Re: [PATCH v2 1/7] dt-bindings: net: Add bindings for Realtek PHYs

2019-07-05 Thread Andrew Lunn
On Fri, Jul 05, 2019 at 10:17:16AM -0600, Rob Herring wrote: > On Wed, Jul 3, 2019 at 3:33 PM Andrew Lunn wrote: > > > > > I think if we're going to have custom properties for phys, we should > > > have a compatible string to at least validate whether the custom > > > properties are even valid

Re: [PATCH 6/8] iommu/arm-smmu-v3: Support auxiliary domains

2019-07-05 Thread Jean-Philippe Brucker
On 26/06/2019 18:59, Will Deacon wrote: >> +static void arm_smmu_aux_detach_dev(struct iommu_domain *domain, struct >> device *dev) >> +{ >> +struct iommu_domain *parent_domain; >> +struct arm_smmu_domain *parent_smmu_domain; >> +struct arm_smmu_master *master = dev_to_master(dev); >>

Please for your immediate consent response

2019-07-05 Thread Mr. Rachid Yacouba
Dear Friend, My name is Mr. Rachid Yacouba: a banker by profession and I have a proposal for you concerning to a transaction worth the sum of US$10,350,000.00 for you to handle with me and there is a golden opportunity to transfer this abandon fund to your bank account in your country which

Re: [PATCH 2/3] dt-bindings: iio: light: add stk33xx

2019-07-05 Thread Rob Herring
On Wed, Jul 3, 2019 at 12:06 PM Luca Weiss wrote: > > Add binding documentation for the stk33xx family of ambient light > sensors. > > Signed-off-by: Luca Weiss > --- > .../bindings/iio/light/stk33xx.yaml | 49 +++ > 1 file changed, 49 insertions(+) > create mode

[PATCH] ARC: [plat-hsdk]: Enable AXI DW DMAC in defconfig

2019-07-05 Thread Eugeniy Paltsev
For some reasons my previous patch "Enable AXI DW DMAC support" was applied only partially (only device tree part). So enable AXI DW DMAC in HSDK defconfig to be able to use it in verification flow. Signed-off-by: Eugeniy Paltsev --- arch/arc/configs/hsdk_defconfig | 2 ++ 1 file changed, 2

Re: [PATCH bpf-next RFC v3 2/6] bpf: add BPF_MAP_DUMP command to dump more than one entry per call

2019-07-05 Thread Y Song
On Wed, Jul 3, 2019 at 10:03 AM Brian Vazquez wrote: > > This introduces a new command to retrieve a variable number of entries > from a bpf map wrapping the existing bpf methods: > map_get_next_key and map_lookup_elem > > To start dumping the map from the beginning you must specify NULL as > the

Re: [PATCH v2 1/4] dt-bindings: phy: add binding for the Lantiq VRX200 and ARX300 PCIe PHYs

2019-07-05 Thread Rob Herring
On Thu, Jul 4, 2019 at 6:23 AM Martin Blumenstingl wrote: > > Add the bindings for the PCIe PHY on Lantiq VRX200 and ARX300 SoCs. > The IP block contains settings for the PHY and a PLL. > The PLL mode is configurable through a dedicated #phy-cell in .dts. > > Signed-off-by: Martin Blumenstingl >

Re: [PATCH v7 net-next 1/5] net: core: page_pool: add user refcnt and reintroduce page_pool_destroy

2019-07-05 Thread Saeed Mahameed
On Fri, Jul 5, 2019 at 3:45 AM Jesper Dangaard Brouer wrote: > > > CC: Tariq + Saeed, could you please review the mlx5 part. > > On Fri, 5 Jul 2019 02:14:02 +0300 > Ivan Khoronzhuk wrote: > > > Jesper recently removed page_pool_destroy() (from driver invocation) > > and moved shutdown and free

Re: [PATCH v2 1/7] dt-bindings: net: Add bindings for Realtek PHYs

2019-07-05 Thread Rob Herring
On Wed, Jul 3, 2019 at 4:08 PM Matthias Kaehlcke wrote: > > On Wed, Jul 03, 2019 at 11:33:27PM +0200, Andrew Lunn wrote: > > > I think if we're going to have custom properties for phys, we should > > > have a compatible string to at least validate whether the custom > > > properties are even

Re: [PATCH v3] drivers: ata: ahci_sunxi: Increased SATA/AHCI DMA TX/RX FIFOs

2019-07-05 Thread Jens Axboe
On 5/13/19 8:24 AM, Uenal Mutlu wrote: > Increasing the SATA/AHCI DMA TX/RX FIFOs (P0DMACR.TXTS and .RXTS, ie. > TX_TRANSACTION_SIZE and RX_TRANSACTION_SIZE) from default 0x0 each > to 0x3 each, gives a write performance boost of 120 MiB/s to 132 MiB/s > from lame 36 MiB/s to 45 MiB/s previously.

Re: [PATCH v2 1/7] dt-bindings: net: Add bindings for Realtek PHYs

2019-07-05 Thread Rob Herring
On Wed, Jul 3, 2019 at 3:33 PM Andrew Lunn wrote: > > > I think if we're going to have custom properties for phys, we should > > have a compatible string to at least validate whether the custom > > properties are even valid for the node. > > Hi Rob > > What happens with other enumerable busses

[PATCH] ceph: use generic_delete_inode() for ->drop_inode

2019-07-05 Thread Luis Henriques
ceph_drop_inode() implementation is not any different from the generic function, thus there's no point in keeping it around. Signed-off-by: Luis Henriques --- fs/ceph/inode.c | 10 -- fs/ceph/super.c | 2 +- fs/ceph/super.h | 1 - 3 files changed, 1 insertion(+), 12 deletions(-) diff

Re: drm/exynos: scaler: Reset hardware before starting the operation (bug report)

2019-07-05 Thread Colin Ian King
Hi, Static analysis on today's linux-next has found a potential error in the following commit: commit 280e54c9f614c88292685383cf2d65057586e9fb Author: Andrzej Pietrasiewicz Date: Thu Jun 7 13:06:08 2018 +0200 drm/exynos: scaler: Reset hardware before starting the operation In the

[PATCH RFC] gpio: Add Virtual Aggregator GPIO Driver

2019-07-05 Thread Geert Uytterhoeven
GPIO controllers are exported to userspace using /dev/gpiochip* character devices. Access control to these devices is provided by standard UNIX file system permissions, on an all-or-nothing basis: either a GPIO controller is accessible for a user, or it is not. Currently no mechanism exists to

Re: Patch "netfilter: ipv6: nf_defrag: accept duplicate fragments again" has been added to the 4.19-stable tree

2019-07-05 Thread Greg KH
On Fri, Jul 05, 2019 at 10:04:20AM -0400, Sasha Levin wrote: > This is a note to let you know that I've just added the patch titled > > netfilter: ipv6: nf_defrag: accept duplicate fragments again > > to the 4.19-stable tree which can be found at: > >

Re: [PATCH] ARC: [plat-hsdk]: enable DW SPI controller

2019-07-05 Thread Eugeniy Paltsev
Hi Vineet, I guess you'll add this to 5.3, right? On Fri, 2019-06-07 at 15:29 +, Alexey Brodkin wrote: > Hi Eugeniy, > > > -Original Message- > > From: Eugeniy Paltsev > > Sent: Friday, June 7, 2019 5:48 PM > > To: linux-snps-...@lists.infradead.org; Vineet Gupta > > Cc:

Re: [PATCH 3/9] media: hantro: Constify the control array

2019-07-05 Thread Ezequiel Garcia
On Wed, 2019-06-19 at 14:15 +0200, Boris Brezillon wrote: > controls[] is not supposed to be modified at runtime, let's make it > explicit by adding a const specifier. > > Signed-off-by: Boris Brezillon > --- > drivers/staging/media/hantro/hantro_drv.c | 2 +- > 1 file changed, 1 insertion(+),

Re: [PATCH v6 2/2] KVM: LAPIC: Inject timer interrupt via posted interrupt

2019-07-05 Thread Paolo Bonzini
On 05/07/19 16:52, Wanpeng Li wrote: > > -void kvm_wait_lapic_expire(struct kvm_vcpu *vcpu) > +void kvm_wait_lapic_expire(struct kvm_vcpu *vcpu, bool pi_inject) > { > struct kvm_lapic *apic = vcpu->arch.apic; > u64 guest_tsc, tsc_deadline; > @@ -1539,7 +1570,7 @@ void

RE: [PATCH 3/8] thunderbolt: Use 32-bit writes when writing ring producer/consumer

2019-07-05 Thread David Laight
From: Yehezkel Bernat > Sent: 05 July 2019 12:10 > On Fri, Jul 5, 2019 at 12:58 PM Mika Westerberg > wrote: > > > > The register access should be using 32-bit reads/writes according to the > > datasheet. With the previous generation hardware 16-bit writes have been > > working but starting with

Re: [PATCH net-next 4/6] arm64: dts: fsl: ls1028a: Add Felix switch port DT node

2019-07-05 Thread Florian Fainelli
On 7/5/2019 2:08 AM, Vladimir Oltean wrote: > Hi Andrew, > > On Fri, 5 Jul 2019 at 07:49, Andrew Lunn wrote: >> >> Hi Vladimir >> >>> - DSA is typically used for discrete switches, switchdev is typically >>> used for embedded ones. >> >> Typically DSA is for discrete switches, but not

Re: [PATCH v1 9/9] smaples: add vfio-mdev-pci driver

2019-07-05 Thread Alex Williamson
On Thu, 4 Jul 2019 09:11:02 + "Liu, Yi L" wrote: > Hi Alex, > > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Thursday, July 4, 2019 1:22 AM > > To: Liu, Yi L > > Subject: Re: [PATCH v1 9/9] smaples: add vfio-mdev-pci driver > > > > On Wed, 3 Jul 2019 08:25:25

Re: INFO: rcu detected stall in ext4_write_checks

2019-07-05 Thread Dmitry Vyukov
On Fri, Jul 5, 2019 at 5:17 PM Paul E. McKenney wrote: > > On Fri, Jul 05, 2019 at 03:24:26PM +0200, Dmitry Vyukov wrote: > > On Thu, Jun 27, 2019 at 12:47 AM Theodore Ts'o wrote: > > > > > > More details about what is going on. First, it requires root, because > > > one of that is required is

Re: [patch V2 04/25] x86/apic: Make apic_pending_intr_clear() more robust

2019-07-05 Thread Andrew Cooper
On 04/07/2019 16:51, Thomas Gleixner wrote: > 2) The loop termination logic is interesting at best. > > If the machine has no TSC or cpu_khz is not known yet it tries 1 > million times to ack stale IRR/ISR bits. What? > > With TSC it uses the TSC to calculate the loop termination.

Re: INFO: rcu detected stall in ext4_write_checks

2019-07-05 Thread Amir Goldstein
> Does the (untested, probably does not even build) patch shown below help? > This patch assumes that the kernel was built with CONFIG_PREEMPT=n. > And that I found all the tight loops on the do_sendfile() code path. > I *think* you have. FWIW, it would have been nicer for sendfile(2) and

Re: [PATCH] dmaengine: imx-sdma: fix use-after-free on probe error path

2019-07-05 Thread Lothar Waßmann
Hi, On Fri, 5 Jul 2019 08:26:12 -0400 Sven Van Asbroeck wrote: > Hi Vinod, > > On Fri, Jul 5, 2019 at 3:32 AM Vinod Koul wrote: > > > > > + if (ret) > > > + dev_warn(>dev, "failed to get firmware > > > name\n"); > > > > if should have braces! > > Applied

Re: [PATCH v3 0/4] Devmap cleanups + arm64 support

2019-07-05 Thread Jason Gunthorpe
On Thu, Jul 04, 2019 at 06:28:50PM -0300, Jason Gunthorpe wrote: > > It's a large patchset and it appears to be mainly (entirely?) code > > cleanups. I don't think such material would be appropriate for a late > > -rc7 merge even if it didn't conflict with lots of other higher > > priority

Re: [PATCH v2] KVM: LAPIC: Retry tune per-vCPU timer_advance_ns if adaptive tuning goes insane

2019-07-05 Thread Paolo Bonzini
On 05/07/19 17:23, Wanpeng Li wrote: > From: Wanpeng Li > > Retry tune per-vCPU timer_advance_ns if adaptive tuning goes insane which > can happen sporadically in product environment. > > Cc: Paolo Bonzini > Cc: Radim Krčmář > Signed-off-by: Wanpeng Li > --- > v1 -> v2: > * retry max 10

Re: [PATCH] cpu/hotplug: Cache number of online CPUs

2019-07-05 Thread Mathieu Desnoyers
- On Jul 5, 2019, at 4:49 AM, Ingo Molnar mi...@kernel.org wrote: > * Mathieu Desnoyers wrote: > >> - On Jul 4, 2019, at 6:33 PM, Thomas Gleixner t...@linutronix.de wrote: >> >> > On Thu, 4 Jul 2019, Mathieu Desnoyers wrote: >> >> - On Jul 4, 2019, at 5:10 PM, Thomas Gleixner

Re: [PATCH v3 3/4] net: dsa: vsc73xx: add support for parallel mode

2019-07-05 Thread Florian Fainelli
On 7/4/2019 3:29 PM, Pawel Dembicki wrote: > This patch add platform part of vsc73xx driver. > It allows to use chip connected to a parallel memory bus and work in > memory-mapped I/O mode. (aka PI bus in chip manual) > > By default device is working in big endian mode. > > Signed-off-by:

Aw: Re: [PATCH v2 3/7] rtc: mt6397: improvements of rtc driver

2019-07-05 Thread Frank Wunderlich
Hi Alexander, thank you for the Review > Gesendet: Donnerstag, 04. Juli 2019 um 22:43 Uhr > Von: "Alexandre Belloni" > > - rtc->rtc_dev = devm_rtc_allocate_device(rtc->dev); > > - if (IS_ERR(rtc->rtc_dev)) > > - return PTR_ERR(rtc->rtc_dev); > > + ret =

Re: [PATCH] tpm: fixes uninitialized allocated banks for IBM vtpm driver

2019-07-05 Thread Nayna
On 07/05/2019 10:13 AM, Stefan Berger wrote: On 7/3/19 11:32 PM, Nayna Jain wrote: The nr_allocated_banks and allocated banks are initialized as part of tpm_chip_register. Currently, this is done as part of auto startup function. However, some drivers, like the ibm vtpm driver, do not run

Re: [PATCH] PCI: dwc: pci-dra7xx: Add missing include file

2019-07-05 Thread Lorenzo Pieralisi
On Fri, Jun 14, 2019 at 11:40:44PM +0800, YueHaibing wrote: > Fix build error: > > drivers/pci/controller/dwc/pci-dra7xx.c: > In function dra7xx_pcie_probe: > drivers/pci/controller/dwc/pci-dra7xx.c:777:10: > error: implicit declaration of function devm_gpiod_get_optional; > did you mean

Re: [PATCH net-next v3 3/3] net: stmmac: Introducing support for Page Pool

2019-07-05 Thread Ilias Apalodimas
Hi Jose, On Fri, Jul 05, 2019 at 03:21:16PM +, Jose Abreu wrote: > From: Ilias Apalodimas > > > I think this look ok for now. One request though, on page_pool_free > > Thanks for the review! > > > A patch currently under review will slightly change that [1] and [2] > > Can you defer

[PATCH v2] KVM: LAPIC: Retry tune per-vCPU timer_advance_ns if adaptive tuning goes insane

2019-07-05 Thread Wanpeng Li
From: Wanpeng Li Retry tune per-vCPU timer_advance_ns if adaptive tuning goes insane which can happen sporadically in product environment. Cc: Paolo Bonzini Cc: Radim Krčmář Signed-off-by: Wanpeng Li --- v1 -> v2: * retry max 10 times if adaptive tuning goes insane arch/x86/kvm/lapic.c |

Re: [PATCH] Revert "tpm: pass an array of tpm_extend_digest structures to tpm_pcr_extend()"

2019-07-05 Thread Nayna
Hi Tyler, On 07/04/2019 03:58 PM, Tyler Hicks wrote: Hey Mimi! On 2019-07-04 11:46:41, Mimi Zohar wrote: Hi Jarkko, On Thu, 2019-07-04 at 07:48 -0400, Mimi Zohar wrote: On Thu, 2019-07-04 at 13:28 +0200, Roberto Sassu wrote: On 7/4/2019 12:03 PM, Jarkko Sakkinen wrote: On Mon, 2019-07-01

RE: [PATCH net-next v3 3/3] net: stmmac: Introducing support for Page Pool

2019-07-05 Thread Jose Abreu
From: Ilias Apalodimas > I think this look ok for now. One request though, on page_pool_free Thanks for the review! > A patch currently under review will slightly change that [1] and [2] > Can you defer this a bit till that one gets merged? > The only thing you'll have to do is respin this

Re: linux-next: Fixes tag needs some work in the rdma tree

2019-07-05 Thread Bodong Wang
On 7/5/2019 10:01 AM, Jason Gunthorpe wrote: > On Sat, Jul 06, 2019 at 12:57:05AM +1000, Stephen Rothwell wrote: >> Hi all, >> >> In commit >> >>16fff98a7e82 ("net/mlx5: E-Switch, Reg/unreg function changed event at >> correct stage") >> >> Fixes tag >> >>Fixes: 61fc880839e6 ("net/mlx5:

[PATCH] m68k: One function call less in cf_tlb_miss()

2019-07-05 Thread Markus Elfring
From: Markus Elfring Date: Fri, 5 Jul 2019 17:11:37 +0200 Avoid an extra function call by using a ternary operator instead of a conditional statement for a setting selection. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- arch/m68k/mm/mcfmmu.c |

Re: INFO: rcu detected stall in ext4_write_checks

2019-07-05 Thread Paul E. McKenney
On Fri, Jul 05, 2019 at 03:24:26PM +0200, Dmitry Vyukov wrote: > On Thu, Jun 27, 2019 at 12:47 AM Theodore Ts'o wrote: > > > > More details about what is going on. First, it requires root, because > > one of that is required is using sched_setattr (which is enough to > > shoot yourself in the

Re: [RFC] remove arch/sh?

2019-07-05 Thread Rich Felker
On Fri, Jul 05, 2019 at 10:51:55PM +0900, Yoshinori Sato wrote: > On Thu, 27 Jun 2019 00:38:21 +0900, > Rich Felker wrote: > > > > On Wed, Jun 26, 2019 at 08:25:20PM +0900, Yoshinori Sato wrote: > > > On Wed, 26 Jun 2019 00:48:09 +0900, > > > Arnd Bergmann wrote: > > > > > > > > On Tue, Jun 25,

[PATCH 3/5] arm64: dts: bitmain: Source common clock for UART controllers

2019-07-05 Thread Manivannan Sadhasivam
Remove fixed clock and source common clock for UART controllers. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/bitmain/bm1880-sophon-edge.dts | 9 - arch/arm64/boot/dts/bitmain/bm1880.dtsi| 12 2 files changed, 12 insertions(+), 9 deletions(-)

Re: [PATCH 07/10] sched,cfs: fix zero length timeslice calculation

2019-07-05 Thread Rik van Riel
On Fri, 2019-07-05 at 16:51 +0200, Vincent Guittot wrote: > On Fri, 28 Jun 2019 at 22:49, Rik van Riel wrote: > > The way the time slice length is currently calculated, not only do > > high > > priority tasks get longer time slices than low priority tasks, but > > due > > to fixed point math, low

[PATCH 5/5] MAINTAINERS: Add entry for Bitmain BM1880 SoC clock driver

2019-07-05 Thread Manivannan Sadhasivam
Add MAINTAINERS entry for Bitmain BM1880 SoC clock driver. Signed-off-by: Manivannan Sadhasivam --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 01a52fc964da..f9259161cb5c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1464,8 +1464,10 @@ M:

[PATCH 4/5] clk: Add driver for Bitmain BM1880 SoC clock controller

2019-07-05 Thread Manivannan Sadhasivam
Add common clock driver for Bitmain BM1880 SoC clock controller. Signed-off-by: Manivannan Sadhasivam --- drivers/clk/Kconfig | 6 + drivers/clk/Makefile | 1 + drivers/clk/clk-bm1880.c | 947 +++ 3 files changed, 954 insertions(+) create mode

[PATCH 0/5] Add Bitmain BM1880 clock driver

2019-07-05 Thread Manivannan Sadhasivam
Hello, This patchset adds common clock driver for Bitmain BM1880 SoC clock controller. The clock controller consists of gate, divider, mux and pll clocks with different compositions. Hence, the driver uses composite clock structure in place where multiple clocking units are combined together.

[PATCH 1/5] dt-bindings: clock: Add Bitmain BM1880 SoC clock controller binding

2019-07-05 Thread Manivannan Sadhasivam
Add devicetree binding for Bitmain BM1880 SoC clock controller. Signed-off-by: Manivannan Sadhasivam --- .../bindings/clock/bitmain,bm1880-clk.txt | 47 +++ include/dt-bindings/clock/bm1880-clock.h | 82 +++ 2 files changed, 129 insertions(+) create mode 100644

[PATCH 1/2] scripts/tags.sh: drop SUBARCH support for ARM

2019-07-05 Thread Masahiro Yamada
Our goal is to have more and more sub-architectures to join the ARM multi-platform, and support them in a single configuration. Remove the ARM SUBARCH support because it is ugly. Signed-off-by: Masahiro Yamada --- scripts/tags.sh | 36 ++-- 1 file changed, 2

[PATCH 2/5] arm64: dts: bitmain: Add clock controller support for BM1880 SoC

2019-07-05 Thread Manivannan Sadhasivam
Add clock controller support for Bitmain BM1880 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/bitmain/bm1880.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/bitmain/bm1880.dtsi b/arch/arm64/boot/dts/bitmain/bm1880.dtsi index

[PATCH 2/2] scripts/tags.sh: remove unused environment variables from comments

2019-07-05 Thread Masahiro Yamada
This script has no reference to ${ARCH}, ${src}, ${obj}. Signed-off-by: Masahiro Yamada --- scripts/tags.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tags.sh b/scripts/tags.sh index f56edeb08739..684db72a8386 100755 --- a/scripts/tags.sh +++

[RESEND PATCH next v2 4/6] ARM: dts: k2hk-netcp: add cpts refclk_mux node

2019-07-05 Thread Grygorii Strashko
KeyStone 66AK2H/K 1G Ethernet Switch Subsystems, can control an external multiplexer that selects one of up to 32 clocks for time sync reference (RFTCLK) clock. This feature can be configured through CPTS_RFTCLK_SEL register (offset: x08) in CPTS module and modelled as multiplexer clock. Hence,

[RESEND PATCH next v2 5/6] ARM: dts: k2l-netcp: add cpts refclk_mux node

2019-07-05 Thread Grygorii Strashko
KeyStone 66AK2L 1G Ethernet Switch Subsystems, can control an external multiplexer that selects one of up to 32 clocks for time sync reference (RFTCLK) clock. This feature can be configured through CPTS_RFTCLK_SEL register (offset: x08) in CPTS module and modelled as multiplexer clock. Hence, add

[RESEND PATCH next v2 3/6] ARM: dts: k2e-netcp: add cpts refclk_mux node

2019-07-05 Thread Grygorii Strashko
KeyStone 66AK2E 1G Ethernet Switch Subsystems, can control an external multiplexer that selects one of up to 32 clocks for time sync reference (RFTCLK) clock. This feature can be configured through CPTS_RFTCLK_SEL register (offset: x08) in CPTS module and modelled as multiplexer clock. Hence, add

<    1   2   3   4   5   6   >