Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook

2019-06-10 Thread Benjamin Herrenschmidt
On Tue, 2019-06-11 at 08:08 +0200, Christoph Hellwig wrote: > On Tue, Jun 11, 2019 at 03:56:33PM +1000, Benjamin Herrenschmidt > wrote: > > The reason I think it sort-of-mostly-worked is that to get more > > than > > 1GB of RAM, those machines use CONFIG_HIGHMEM. And *most* network > > buffers aren

[PATCH v2] mailbox: imx: Clear GIEn bit at shutdown

2019-06-10 Thread Daniel Baluta
GIEn is enabled at startup for RX doorbell mailboxes so we need to clear the bit at shutdown in order to avoid leaving the interrupt line enabled. Signed-off-by: Daniel Baluta Reviewed-by: Oleksij Rempel --- Changes since v1: - no changes since v1 just sent it as a separate patch from RF

Re: [PATCH net 1/2] net: mvpp2: prs: Fix parser range for VID filtering

2019-06-10 Thread Maxime Chevallier
Hello David, On Mon, 10 Jun 2019 09:23:00 -0700 (PDT) David Miller wrote: >Please start providing proper header postings with each and every patch >series, explaining at a high level what the patch series is doing, how >it is doing it, and why it is doing it that way. Sure, I'll resend with a p

Re: binfmt_flat cleanups and RISC-V support

2019-06-10 Thread Greg Ungerer
Hi Christoph, On 11/6/19 7:20 am, Christoph Hellwig wrote: below is a larger stash of cleanups for the binfmt_misc code, preparing for the last patch that now trivially adds RISC-V support, which will be used for the RISC-V nommu series I am about to post. Whole series looks pretty good. Just

RE: [EXT] Re: [PATCH v6 4/5] usb: host: Stops USB controller init if PLL fails to lock

2019-06-10 Thread Yinbo Zhu
> -Original Message- > From: Yinbo Zhu > Sent: 2019年6月6日 14:35 > To: Alan Stern > Cc: Xiaobo Xie ; Greg Kroah-Hartman > ; Ramneek Mehresh > ; Nikhil Badola > ; Ran Wang ; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Jiafei Pan > > Subject: RE: [EXT] Re: [PATCH v6 4/5] usb:

Re: [PATCH] clk: fix clock global name usage.

2019-06-10 Thread wens Tsai
On Fri, May 24, 2019 at 3:29 PM Alexandre Mergnat wrote: > > A recent patch allows the clock framework to specify the parent > relationship with either the clk_hw pointer, the global name or through > Device Tree name. > > But the global name isn't handled by the clk framework because the DT name

Re: [PATCH] perf script/intel-pt: set synth_opts.callchain for use_browser > 0

2019-06-10 Thread Adrian Hunter
On 11/06/19 2:42 AM, Song Liu wrote: > Currently, intel_pt_process_auxtrace_info() sets synth_opts.callchain for > use_browser != -1, which is not accurate after we set use_browser to 0 in > cmd_script(). As a result, the following commands sees a lot more errors > like: > > perf record -e intel

linux-next: manual merge of the slave-dma tree with Linus' tree

2019-06-10 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the slave-dma tree got a conflict in: include/linux/sudmac.h between commit: 49833cbeafa4 ("treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 311") from Linus' tree and commit: 9a0f780958bb ("dmaengine: sudmac: remove unused driver") fr

[PATCH 3/3] arm64: dts: imx8qxp: Add fallback compatible string for RTC node

2019-06-10 Thread Anson . Huang
From: Anson Huang The i.MX system controller RTC driver uses generic compatible string to support all i.MX SoCs with system controller inside, this patch adds the generic system controller RTC compatible string as fallback compatible string accordingly. Signed-off-by: Anson Huang --- arch/arm6

[PATCH 2/3] rtc: imx-sc: Make compatible string more generic

2019-06-10 Thread Anson . Huang
From: Anson Huang i.MX system controller RTC driver can support all i.MX SoCs with system controller inside, this patch makes the compatible string more generic to support other i.MX SoCs with system controller inside, such as i.MX8QM etc.. Signed-off-by: Anson Huang --- drivers/rtc/rtc-imx-sc

[PATCH 1/3] dt-bindings: fsl: scu: Update RTC compatible string

2019-06-10 Thread Anson . Huang
From: Anson Huang Update RTC compatible string to make system controller RTC driver more generic for all i.MX SoCs with system controller inside. Signed-off-by: Anson Huang --- This patch should be based on below patch which is already picked by watchdog maintainer: https://patchwork.kernel.org

Re: [PATCH v9 08/13] drivers: memory: add DMC driver for Exynos5422

2019-06-10 Thread Krzysztof Kozlowski
On Fri, 7 Jun 2019 at 16:35, Lukasz Luba wrote: > > This patch adds driver for Exynos5422 Dynamic Memory Controller. > The driver provides support for dynamic frequency and voltage scaling for > DMC and DRAM. It supports changing timings of DRAM running with different > frequency. There is also an

Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook

2019-06-10 Thread Christoph Hellwig
On Tue, Jun 11, 2019 at 03:56:33PM +1000, Benjamin Herrenschmidt wrote: > The reason I think it sort-of-mostly-worked is that to get more than > 1GB of RAM, those machines use CONFIG_HIGHMEM. And *most* network > buffers aren't allocated in Highmem so you got lucky. > > That said, there is suc

[PATCH 5/5] media: venus: Update core selection

2019-06-10 Thread Aniket Masule
Present core assignment is static. Introduced load balancing across the cores. Load on earch core is calculated and core with minimum load is assigned to given instance. Signed-off-by: Aniket Masule --- drivers/media/platform/qcom/venus/helpers.c | 50 + drivers/media

[PATCH 3/5] media: venus: Update clock scaling

2019-06-10 Thread Aniket Masule
Current clock scaling calculations are same for vpu4 and previous versions. For vpu4, Clock scaling calculations are updated with cycles/mb. This helps in getting precise clock required. Signed-off-by: Aniket Masule --- drivers/media/platform/qcom/venus/helpers.c | 88 +++

[PATCH 4/5] media: venus: Add interface for load per core

2019-06-10 Thread Aniket Masule
Add and interface to calculate load per core. Also, add an interface to get maximum cores available with video. This interface is preparation for updating core selection. Signed-off-by: Aniket Masule --- drivers/media/platform/qcom/venus/helpers.c| 18 ++ drivers/media/platfo

[PATCH 2/5] media: venus: Initialize codec data

2019-06-10 Thread Aniket Masule
Initialize the codec data with core resources. Signed-off-by: Aniket Masule --- drivers/media/platform/qcom/venus/helpers.c | 30 + drivers/media/platform/qcom/venus/helpers.h | 1 + drivers/media/platform/qcom/venus/vdec.c| 4 drivers/media/platform/qcom/v

[PATCH v2 0/5] media: venus: Update clock scaling and core selection

2019-06-10 Thread Aniket Masule
In this patch series, clock scaling and core selection methods are updated. Current clock scaling and core selection methods are same for vpu4 and previous versions. Introducing load calculations using vpp cycles, which indicates the cycles required by video hardware to process each macroblock. Clo

Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook

2019-06-10 Thread Christoph Hellwig
On Mon, Jun 10, 2019 at 11:09:47AM -0500, Larry Finger wrote: >>> return -EIO; >>> >>> For b43legacy, dev->dma_mask is 0xc2656848. >>> dma_supported(dev, mask) is 0xc08b, mask is 0x3fff, and >>> the routine returns -EIO. >>> >>> For b43, dev->dma_

[PATCH 1/5] media: venus: Add codec data table

2019-06-10 Thread Aniket Masule
Add vpp cycles for for different types of codec It indicates the cycles required by video hardware to process each macroblock. Signed-off-by: Aniket Masule --- drivers/media/platform/qcom/venus/core.c | 13 + drivers/media/platform/qcom/venus/core.h | 15 +++ 2 files chan

Re: [PATCH 04/15] binfmt_flat: remove flat_old_ram_flag

2019-06-10 Thread Greg Ungerer
Hi Christoph, On 11/6/19 7:20 am, Christoph Hellwig wrote: Instead add a Kconfig variable that only h8300 selects. Signed-off-by: Christoph Hellwig --- arch/arm/include/asm/flat.h| 1 - arch/c6x/include/asm/flat.h| 1 - arch/h8300/Kconfig | 1 + arch/h8300/

Re: [PATCH v6 09/10] usb: roles: add USB Type-B GPIO connector driver

2019-06-10 Thread Chunfeng Yun
On Mon, 2019-06-10 at 16:03 +0530, Nagarjuna Kristam wrote: > Tested-by: Nagarjuna Kristam > Thanks > On 29-05-2019 13:13, Chunfeng Yun wrote: > > Due to the requirement of usb-connector.txt binding, the old way > > using extcon to support USB Dual-Role switch is now deprecated > > when use Type

Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook

2019-06-10 Thread Benjamin Herrenschmidt
On Mon, 2019-06-10 at 13:44 -0500, Larry Finger wrote: > On 6/7/19 11:21 PM, Benjamin Herrenschmidt wrote: > > > > > Please try the attached patch. I'm not really pleased with it and I will > > > continue to determine why the fallback to a 30-bit mask fails, but at > > > least this > > > one work

Re: [RFC PATCH 2/2] imx: mailbox: Introduce TX doorbell with ACK

2019-06-10 Thread Oleksij Rempel
Hi Daniel, On Mon, Jun 10, 2019 at 10:16:09PM +0800, daniel.bal...@nxp.com wrote: > From: Daniel Baluta > > TX doorbell with ACK will allow us to push the doorbell ring button > (trigger GIR) and also will allow us to handle the response from DSP. > > DSP firmware found on i.MX8 boards implemen

Re: [PATCH 1/1] irqchip/gic: Add support for Amazon Graviton variant of GICv3+GICv2m

2019-06-10 Thread Benjamin Herrenschmidt
On Mon, 2019-06-10 at 09:20 +0100, Marc Zyngier wrote: > Hi Zeev, > > On 07/06/2019 00:17, Zeev Zilberman wrote: > > The patch adds support for Amazon Graviton custom variant of GICv2m, where > > hw irq is encoded using the MSI message address, as opposed to standard > > GICv2m, where hw irq is en

[PATCH 3/8] habanalabs: initialize MMU context for driver

2019-06-10 Thread Oded Gabbay
This patch initializes the MMU structures for the kernel context. This is needed before we can configure mappings for the kernel context. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/context.c | 7 +++ drivers/misc/habanalabs/mmu.c | 10 ++ 2 files changed, 13 insertio

[PATCH 2/8] habanalabs: de-couple MMU and VM module initialization

2019-06-10 Thread Oded Gabbay
This patch initializes the MMU S/W structures before the VM S/W structures, instead of doing that as part of the VM S/W initialization. This is done because we need to configure some MMU mappings for the kernel context, before the VM is initialized. The VM initialization can't be moved earlier bec

[PATCH 1/8] habanalabs: initialize device CPU queues after MMU init

2019-06-10 Thread Oded Gabbay
This patch changes the order of H/W IP initializations. The MMU needs to be initialized before the device CPU queues, because the CPU will go through the ASIC MMU in order to reach the host memory (where the queues are located). Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/asid.c

Re: [PATCH 2/2] edac: add support for Amazon's Annapurna Labs EDAC

2019-06-10 Thread Benjamin Herrenschmidt
On Sat, 2019-06-08 at 11:05 +0200, Borislav Petkov wrote: > On Sat, Jun 08, 2019 at 10:16:11AM +1000, Benjamin Herrenschmidt wrote: > > Those IP blocks don't need any SW coordination at runtime. The drivers > > don't share data nor communicate with each other. There is absolultely > > no reason to

[PATCH v3] arm64: dts: ls1028a: Add temperature sensor node

2019-06-10 Thread Yuantian Tang
Add nxp sa56004 chip node for temperature monitor. Signed-off-by: Yuantian Tang --- v3: - sort the node in i2c address v2: - change the node name and add vcc-supply arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 15 +++ arch/arm64/boot/dts/freescale/fsl-ls1028a

[PATCH 5/8] habanalabs: set Goya CPU to use ASIC MMU

2019-06-10 Thread Oded Gabbay
This patch configures the Goya CPU to actually go through the MMU for translation. The configuration is done after the configuration of the relevant MMU mappings. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/goya/goya.c | 23 --- 1 file changed, 20 insertions(+), 3

[PATCH 4/8] habanalabs: add MMU mappings for Goya CPU

2019-06-10 Thread Oded Gabbay
This patch adds the necessary MMU mappings for the Goya CPU to access the device DRAM and the host memory. The first 256MB of the device DRAM is being mapped. That's where the F/W is running. The 2MB area located on the host memory for the purpose of communication between the driver and the devic

[PATCH 6/8] habanalabs: remove DMA mask hack for Goya

2019-06-10 Thread Oded Gabbay
This patch removes the non-standard DMA mask setting for Goya. Now that the device CPU goes through the MMU, we are not limited to allocating the CPU accessible memory area in the address space of under 39 bits. Therefore, we don't need to set the DMA masking twice during initialization, a practice

[PATCH 7/8] habanalabs: add WARN in case of bad MMU mapping

2019-06-10 Thread Oded Gabbay
This patch checks if an MMU mapping is erroneous in that the physical address that is being mapped is NOT divisible by the page size. If that thing happens, then the H/W will issue a transaction which will be translated to a wrong address, because part of the address will not be taken (the remaind

[PATCH 8/8] habanalabs: enable 64-bit DMA mask in POWER9

2019-06-10 Thread Oded Gabbay
This patch enables support in the driver for 64-bit DMA mask when running in a POWER9 machine. POWER9 supports either 32-bit or 64-bit DMA mask. However, our ASICs support 48-bit DMA mask. To support 64-bit, the driver needs to add a special configuration to the ASIC's PCIe controller. The activa

[PATCH 0/8] Fixing DMA mask issues in habanalabs driver

2019-06-10 Thread Oded Gabbay
This patch-set changes the way the Goya internal CPU access memory on the Host machine. This is needed to prevent the non-standard way the driver used the PCI DMA set mask kernel API so far. The DMA set mask should be called only once at the start of the driver. This is because changing the DMA ma

Re: [PATCH v5 0/3] Add restrictions for kexec/kdump jumping between 5-level and 4-level kernel

2019-06-10 Thread Baoquan He
Hi, On 05/24/19 at 03:38pm, Baoquan He wrote: > Ping. Can anyone help do further reviewing on this patchset? Or consider merging since people have ack-ed? Thanks Baoquan > The v4 cover letter tells the background about this adding, paste the > link here for reference: > http://lkml.kernel.org

Re: [PATCH v6 09/10] usb: roles: add USB Type-B GPIO connector driver

2019-06-10 Thread Chunfeng Yun
On Thu, 2019-06-06 at 09:31 +0300, Andy Shevchenko wrote: > On Thu, Jun 6, 2019 at 5:53 AM Chunfeng Yun wrote: > > > > On Wed, 2019-06-05 at 11:45 +0300, Andy Shevchenko wrote: > > > On Wed, May 29, 2019 at 10:44 AM Chunfeng Yun > > > wrote: > > > > > > > > Due to the requirement of usb-connecto

Re: [PATCH] bpf/core.c - silence warning messages

2019-06-10 Thread Andrii Nakryiko
On Thu, Jun 6, 2019 at 8:08 PM Valdis Klētnieks wrote: > > Compiling kernel/bpf/core.c with W=1 causes a flood of warnings: > > kernel/bpf/core.c:1198:65: warning: initialized field overwritten > [-Woverride-init] > 1198 | #define BPF_INSN_3_TBL(x, y, z) [BPF_##x | BPF_##y | BPF_##z] = true >

[PATCH v13 2/2] pwm: sifive: Add a driver for SiFive SoC PWM

2019-06-10 Thread Yash Shah
Adds a PWM driver for PWM chip present in SiFive's HiFive Unleashed SoC. Signed-off-by: Wesley W. Terpstra [Atish: Various fixes and code cleanup] Signed-off-by: Atish Patra Signed-off-by: Yash Shah --- drivers/pwm/Kconfig | 11 ++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-sifive

[PATCH v13 1/2] pwm: sifive: Add DT documentation for SiFive PWM Controller

2019-06-10 Thread Yash Shah
DT documentation for PWM controller added. Signed-off-by: Wesley W. Terpstra [Atish: Compatible string update] Signed-off-by: Atish Patra Signed-off-by: Yash Shah Reviewed-by: Rob Herring --- .../devicetree/bindings/pwm/pwm-sifive.txt | 33 ++ 1 file changed, 33 in

[PATCH v13 0/2] PWM support for HiFive Unleashed

2019-06-10 Thread Yash Shah
This patch series adds a PWM driver and DT documentation for HiFive Unleashed board. The patches are mostly based on Wesley's patch. This patchset is based on Linux v5.2-rc1 and tested on HiFive Unleashed board with additional board related patches needed for testing can be found at dev/yashs/pwm_

Re: [PATCH 00/25] clk: sunxi-ng: clk parent rewrite part 1

2019-06-10 Thread Chen-Yu Tsai
On Sat, Jun 8, 2019 at 2:46 AM Stephen Boyd wrote: > > Quoting Chen-Yu Tsai (2019-06-03 09:38:22) > > Hi Stephen, > > > > On Mon, May 20, 2019 at 5:03 PM Maxime Ripard > > wrote: > > > > > > On Mon, May 20, 2019 at 04:03:56PM +0800, Chen-Yu Tsai wrote: > > > > From: Chen-Yu Tsai > > > > > > > >

linux-next: manual merge of the clockevents tree with Linus' tree

2019-06-10 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the clockevents tree got a conflict in: drivers/clocksource/timer-tegra.c between commit: 9c92ab619141 ("treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282") from Linus' tree and commit: 75e9f7c6dca8 ("clocksource/drivers/tegra: Use S

Re: [PATCH v2 4/4] watchdog: jz4740: Make probe function __init_or_module

2019-06-10 Thread Christophe Leroy
Hi Paul, Le 08/06/2019 à 11:57, Paul Cercueil a écrit : Hi Christophe, Le sam. 8 juin 2019 à 9:51, Christophe Leroy a écrit : Hi Paul, Le 07/06/2019 à 18:24, Paul Cercueil a écrit : This allows the probe function to be dropped after the kernel finished its initialization, in the case where

Re: [RFC V3] mm: Generalize and rename notify_page_fault() as kprobe_page_fault()

2019-06-10 Thread Anshuman Khandual
On 06/11/2019 10:16 AM, Christophe Leroy wrote: > > > Le 10/06/2019 à 04:39, Anshuman Khandual a écrit : >> >> >> On 06/07/2019 09:01 PM, Christophe Leroy wrote: >>> >>> >>> Le 07/06/2019 à 12:34, Anshuman Khandual a écrit : Very similar definitions for notify_page_fault() are being used

Re: [RFC V3] mm: Generalize and rename notify_page_fault() as kprobe_page_fault()

2019-06-10 Thread Anshuman Khandual
On 06/10/2019 08:57 PM, Leonardo Bras wrote: > On Mon, 2019-06-10 at 08:09 +0530, Anshuman Khandual wrote: +/* + * To be potentially processing a kprobe fault and to be allowed + * to call kprobe_running(), we have to be non-preemptible. + */ +if (kpr

Re: [PATCH v3 5/6] x86/MCE: Save MCA control bits that get set in hardware

2019-06-10 Thread Borislav Petkov
On Fri, Jun 07, 2019 at 06:37:23PM +0200, Borislav Petkov wrote: > On Fri, Jun 07, 2019 at 02:49:42PM +, Ghannam, Yazen wrote: > > Would you mind if the function name stayed the same? The reason is > > that MCA_CTL is written here, which is the "init" part, and MCA_STATUS > > is cleared. > > >

Quation needed For June Inquiry

2019-06-10 Thread Jpexcc Salesi
Hello dear, We are in the market for your products after meeting at your stand during last expo. Please kindly send us your latest catalog and price list so as to start a new project/order as promised during the exhibition. I would appreciate your response about the above details required

Re: [PATCH v2 2/7] scsi: NCR5380: Always re-enable reselection interrupt

2019-06-10 Thread Michael Schmitz
Hi Finn, IIRC I'd tested that change as well - didn't change broken target behaviour but no regressions in other respects. Add my tested-by if needed. Cheers, Michael Am 09.06.2019 um 13:19 schrieb Finn Thain: The reselection interrupt gets disabled during selection and must be re-

Re: [PATCH] NCR5380: Support chained sg lists

2019-06-10 Thread Michael Schmitz
Hi Finn, Thanks - can't test this on my hardware but looks good to me. Cheers, Michael Am 11.06.2019 um 15:25 schrieb Finn Thain: My understanding is that support for chained scatterlists is to become mandatory for LLDs. Cc: Michael Schmitz Signed-off-by: Finn Thain --- drivers/sc

linux-next: build warning after merge of the tpmdd tree

2019-06-10 Thread Stephen Rothwell
Hi all, After merging the tpmdd tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/firmware/efi/tpm.c: In function 'efi_tpm_eventlog_init': drivers/firmware/efi/tpm.c:80:10: warning: passing argument 1 of 'tpm2_calc_event_log_size' makes pointer from integer w

Re: bcachefs status update (it's done cooking; let's get this sucker merged)

2019-06-10 Thread Linus Torvalds
On Mon, Jun 10, 2019 at 3:17 PM Kent Overstreet wrote: > > > > Why does the regular page lock (at a finer granularity) not suffice? > > Because the lock needs to prevent pages from being _added_ to the page cache - > to do it with a page granularity lock it'd have to be part of the radix tree, No

[PATCH 2/4] vfs: create a generic checking function for FS_IOC_FSSETXATTR

2019-06-10 Thread Darrick J. Wong
From: Darrick J. Wong Create a generic checking function for the incoming FS_IOC_FSSETXATTR fsxattr values so that we can standardize some of the implementation behaviors. Signed-off-by: Darrick J. Wong --- fs/btrfs/ioctl.c | 21 +--- fs/ext4/ioctl.c| 27 ++---

[PATCH v3 0/6] vfs: make immutable files actually immutable

2019-06-10 Thread Darrick J. Wong
Hi all, The chattr(1) manpage has this to say about the immutable bit that system administrators can set on files: "A file with the 'i' attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file, most of the file's metadata can not be modified, and the file

Re: [RFC V3] mm: Generalize and rename notify_page_fault() as kprobe_page_fault()

2019-06-10 Thread Christophe Leroy
Le 10/06/2019 à 04:39, Anshuman Khandual a écrit : On 06/07/2019 09:01 PM, Christophe Leroy wrote: Le 07/06/2019 à 12:34, Anshuman Khandual a écrit : Very similar definitions for notify_page_fault() are being used by multiple architectures duplicating much of the same code. This attempts

Re: [PATCH v5 15/15] dmaengine: imx-sdma: add uart rom script

2019-06-10 Thread Vinod Koul
On 11-06-19, 03:04, Robin Gong wrote: > On 2019-06-10 at 12:55 +, Vinod Koul wrote: > > On 10-06-19, 16:17, yibin.g...@nxp.com wrote: > > > > > > From: Robin Gong > > > > > > For the compatibility of NXP internal legacy kernel before 4.19 > > > which > > > is based on uart ram script and ups

Re: [RFC PATCH 23/30] of/platform: Export of_platform_device_create_pdata()

2019-06-10 Thread Kishon Vijay Abraham I
Hi Rob, On 10/06/19 11:13 PM, Rob Herring wrote: > On Tue, Jun 4, 2019 at 7:19 AM Kishon Vijay Abraham I wrote: >> >> Export of_platform_device_create_pdata() to be used by drivers to >> create child devices with the given platform data. This can be used >> by platform specific driver to send pla

Re: bcachefs status update (it's done cooking; let's get this sucker merged)

2019-06-10 Thread Linus Torvalds
On Mon, Jun 10, 2019 at 6:11 PM Dave Chinner wrote: > > Please, no, let's not make the rwsems even more fragile than they > already are. I'm tired of the ongoing XFS customer escalations that > end up being root caused to yet another rwsem memory barrier bug. > > > Have you talked to Waiman Long a

Re: [PATCH] block: fix a crash in do_task_dead()

2019-06-10 Thread Gaurav Kohli
+ Hi Peter, Jen, As we are not taking pi_lock here , is there possibility of same task dead call comes as this point of time for current thread, bcoz of which we have seen earlier issue after this commit 0619317ff8ba [T114538] do_task_dead+0xf0/0xf8 [T114538] do_exit+0xd5c/0x10fc [T114538]

Re: bcachefs status update (it's done cooking; let's get this sucker merged)

2019-06-10 Thread Dave Chinner
On Mon, Jun 10, 2019 at 09:17:37PM -0400, Kent Overstreet wrote: > On Mon, Jun 10, 2019 at 10:46:35AM -1000, Linus Torvalds wrote: > > On Mon, Jun 10, 2019 at 9:14 AM Kent Overstreet > > wrote: > > That lock is somewhat questionable in the first place, and no, we > > don't do those hacky recursive

Re: [RFC PATCH 1/2] mailbox: imx: Clear GIEn bit at shutdown

2019-06-10 Thread Oleksij Rempel
On Mon, Jun 10, 2019 at 10:16:08PM +0800, daniel.bal...@nxp.com wrote: > From: Daniel Baluta > > GIEn is enabled at startup for RX doorbell mailboxes so > we need to clear the bit at shutdown in order to avoid > leaving the interrupt line enabled. > > Signed-off-by: Daniel Baluta Please send

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

2019-06-10 Thread Hui Wang
On 2019/6/11 上午11:23, Hui Wang wrote: On 2019/6/11 上午11:05, Xiaoxiao Liu wrote: Hi Pali, I discussed with our FW team about this problem. We think the V8 method means a touchpad feature  and does not fit the CS19 trackpoint device. CS19 TrackPoint needn't  use any Absolute (Raw) mode and is us

linux-next: manual merge of the mfd tree with Linus' tree

2019-06-10 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the mfd tree got a conflict in: include/linux/mfd/cros_ec_commands.h between commit: 9c92ab619141 ("treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282") from Linus' tree and commit: 2769bd79a915 ("mfd: cros_ec: Update license term")

Re: [PATCH v2 3/5] locking/qspinlock: Introduce CNA into the slow path of qspinlock

2019-06-10 Thread liwei (GF)
Hi Alex, On 2019/3/29 23:20, Alex Kogan wrote: > In CNA, spinning threads are organized in two queues, a main queue for > threads running on the same node as the current lock holder, and a > secondary queue for threads running on other nodes. At the unlock time, > the lock holder scans the main qu

Re: [PATCH v2 3/4] perf augmented_raw_syscalls: Support arm64 raw syscalls

2019-06-10 Thread Leo Yan
On Mon, Jun 10, 2019 at 03:47:54PM -0300, Arnaldo Carvalho de Melo wrote: [...] > > > I tested with the lastest perf/core branch which contains the patch: > > > 'perf augmented_raw_syscalls: Tell which args are filenames and how > > > many bytes to copy' and got the error as below: > > > > > > #

Re: bcachefs status update (it's done cooking; let's get this sucker merged)

2019-06-10 Thread Dave Chinner
On Mon, Jun 10, 2019 at 10:46:35AM -1000, Linus Torvalds wrote: > I also get the feeling that the "intent" part of the six-locks could > just be done as a slight extension of the rwsem, where an "intent" is > the same as a write-lock, but without waiting for existing readers, > and then the write-l

KASAN: use-after-free Read in mntput

2019-06-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:d1fdb6d8 Linux 5.2-rc4 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12b30acaa0 kernel config: https://syzkaller.appspot.com/x/.config?x=fa9f7e1b6a8bb586 dashboard link: https://syzkaller.appspo

memory leak in nfs_get_client

2019-06-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:d1fdb6d8 Linux 5.2-rc4 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=117e0f71a0 kernel config: https://syzkaller.appspot.com/x/.config?x=cb38d33cd06d8d48 dashboard link: https://syzkaller.appspo

[PATCH] iio: humidity: Replace older GPIO APIs with GPIO Consumer APIs for the dht11 sensor

2019-06-10 Thread Shobhit Kukreti
The dht11 driver uses a single gpio to make measurements. It was using the older global gpio numberspace. The patch replaces the old gpio api with the new gpio descriptor based api. Removed header files "linux/gpio.h" and "linux/of_gpio.h" Signed-off-by: Shobhit Kukreti --- drivers/iio/humidity

[PATCH RESEND] Powerpc/Watchpoint: Restore nvgprs while returning from exception

2019-06-10 Thread Ravi Bangoria
Powerpc hw triggers watchpoint before executing the instruction. To make trigger-after-execute behavior, kernel emulates the instruction. If the instruction is 'load something into non-volatile register', exception handler should restore emulated register state while returning back, otherwise there

[PATCH] NCR5380: Support chained sg lists

2019-06-10 Thread Finn Thain
My understanding is that support for chained scatterlists is to become mandatory for LLDs. Cc: Michael Schmitz Signed-off-by: Finn Thain --- drivers/scsi/NCR5380.c | 41 ++--- 1 file changed, 18 insertions(+), 23 deletions(-) diff --git a/drivers/scsi/NCR538

Re: 答复: 答复: 答复: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

2019-06-10 Thread Hui Wang
On 2019/6/11 上午11:05, Xiaoxiao Liu wrote: Hi Pali, I discussed with our FW team about this problem. We think the V8 method means a touchpad feature and does not fit the CS19 trackpoint device. CS19 TrackPoint needn't use any Absolute (Raw) mode and is usually use standard mouse data. CS19 Tr

RE: [PATCHv6 3/3] vfio/mdev: Synchronize device create/remove with parent removal

2019-06-10 Thread Parav Pandit
Hi Alex, > -Original Message- > From: Cornelia Huck > Sent: Tuesday, June 4, 2019 11:18 AM > To: Parav Pandit > Cc: k...@vger.kernel.org; linux-kernel@vger.kernel.org; > kwankh...@nvidia.com; alex.william...@redhat.com; c...@nvidia.com > Subject: Re: [PATCHv6 3/3] vfio/mdev: Synchronize

答复: 答复: 答复: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

2019-06-10 Thread Xiaoxiao Liu
Hi Pali, I discussed with our FW team about this problem. We think the V8 method means a touchpad feature and does not fit the CS19 trackpoint device. CS19 TrackPoint needn't use any Absolute (Raw) mode and is usually use standard mouse data. CS19 TrackPoint device is a completely different d

Re: [PATCH v4] selinux: lsm: fix a missing-check bug in selinux_sb_eat_lsm_o pts()

2019-06-10 Thread Gen Zhang
On Mon, Jun 10, 2019 at 04:20:28PM -0400, Paul Moore wrote: > On Fri, Jun 7, 2019 at 4:41 AM Ondrej Mosnacek wrote: > > > > On Thu, Jun 6, 2019 at 10:55 AM Gen Zhang wrote: > > > In selinux_sb_eat_lsm_opts(), 'arg' is allocated by kmemdup_nul(). It > > > returns NULL when fails. So 'arg' should b

Re: [PATCH v3] selinux: lsm: fix a missing-check bug in selinux_add_mnt_opt( )

2019-06-10 Thread Gen Zhang
On Mon, Jun 10, 2019 at 03:31:50PM -0400, Paul Moore wrote: > On Fri, Jun 7, 2019 at 8:11 AM Gen Zhang wrote: > > > > On Fri, Jun 07, 2019 at 10:39:05AM +0200, Ondrej Mosnacek wrote: > > > On Thu, Jun 6, 2019 at 11:23 AM Gen Zhang > > > wrote: > > > > In selinux_add_mnt_opt(), 'val' is allocated

Re: [PATCH v5 15/15] dmaengine: imx-sdma: add uart rom script

2019-06-10 Thread Robin Gong
On 2019-06-10 at 12:55 +, Vinod Koul wrote: > On 10-06-19, 16:17, yibin.g...@nxp.com wrote: > > > > From: Robin Gong > > > > For the compatibility of NXP internal legacy kernel before 4.19 > > which > > is based on uart ram script and upstreaming kernel based on uart > > rom > > script, add

[PATCH] perf version: Fix segfault

2019-06-10 Thread Ravi Bangoria
'perf version' on powerpc segfaults when used with non-supported option: # perf version -a Segmentation fault (core dumped) Fix this. Signed-off-by: Ravi Bangoria Reviewed-by: Kamalesh babulal Tested-by: Mamatha Inamdar --- tools/perf/builtin-version.c | 1 + 1 file changed, 1 insertion(+

Re: [PATCH v2 1/2] staging: erofs: add requirements field in superblock

2019-06-10 Thread Chao Yu
On 2019/6/11 10:42, Gao Xiang wrote: > There are some backward incompatible features pending > for months, mainly due to on-disk format expensions. > > However, we should ensure that it cannot be mounted with > old kernels. Otherwise, it will causes unexpected behaviors. > > Fixes: ba2b77a82022 (

Re: [PATCH -next] HID: logitech-dj: fix return value of logi_dj_recv_query_hidpp_devices

2019-06-10 Thread Yuehaibing
Hi all, Friendly ping... On 2019/5/25 22:09, YueHaibing wrote: > We should return 'retval' as the correct return value > instead of always zero. > > Fixes: 74808f9115ce ("HID: logitech-dj: add support for non unifying > receivers") > Signed-off-by: YueHaibing > --- > drivers/hid/hid-logitech-

[PATCH 2/2] rtl8723bs: os_dep: fix spaces preferred around unary operator

2019-06-10 Thread Hariprasad Kelam
CHECK: spaces preferred around that '|' (ctx:VxV) CHECK: spaces preferred around that '|' (ctx:VxV) CHECK: spaces preferred around that '+' (ctx:VxV) Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/os_dep/rtw_proc.c | 24 1 file changed, 12 insertions(+), 1

[PATCH 1/2] staging: rtl8723bs: fix issue Comparison to NULL

2019-06-10 Thread Hariprasad Kelam
This patch fixes below issues reported by checkpatch CHECK: Comparison to NULL could be written "rtw_proc" CHECK: Comparison to NULL could be written "!rtw_proc" CHECK: Comparison to NULL could be written "!rtw_proc" Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/os_dep/rtw_proc.

Re: [PATCH] cpu/hotplug: Abort disabling secondary CPUs if wakeup is pending

2019-06-10 Thread Pavan Kondeti
Hi Rafael/Thomas, On Mon, Jun 3, 2019 at 10:03 AM Pavankumar Kondeti wrote: > > When "deep" suspend is enabled, all CPUs except the primary CPU > are hotplugged out. Since CPU hotplug is a costly operation, > check if we have to abort the suspend in between each CPU > hotplug. This would improve

Re: [PATCH v2 4/7] perf diff: Use hists to manage basic blocks per symbol

2019-06-10 Thread Jin, Yao
On 6/8/2019 7:41 PM, Jin, Yao wrote: On 6/5/2019 7:44 PM, Jiri Olsa wrote: On Mon, Jun 03, 2019 at 10:36:14PM +0800, Jin Yao wrote: SNIP diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h index 43623fa..d1641da 100644 --- a/tools/perf/util/sort.h +++ b/tools/perf/util/sort.h @@

Re: [PATCH v2] staging: kpc2000: kpc_i2c: remove the macros inb_p and outb_p

2019-06-10 Thread Geordan Neukum
On Mon, Jun 10, 2019 at 03:48:24PM +0800, Hao Xu wrote: > remove inb_p and outb_p to call readq/writeq directly. > > Signed-off-by: Hao Xu > --- > Changes in v2: > - remove the macros inb_p/outb_p and use readq/writeq directly, per > https://lkml.kernel.org/lkml/20190608134505.ga...@arch-01.home

Re: [PATCH RESEND 1/2] tools/perf: Add arch neutral function to choose event for perf kvm record

2019-06-10 Thread Ravi Bangoria
On 6/10/19 8:46 PM, Arnaldo Carvalho de Melo wrote: > Em Mon, Jun 10, 2019 at 12:15:17PM +0530, Anju T Sudhakar escreveu: >> 'perf kvm record' uses 'cycles'(if the user did not specify any event) as >> the default event to profile the guest. >> This will not provide any proper samples from the g

Re: [PATCH v2 02/17] dt-bindings: soc: qcom: add IPA bindings

2019-06-10 Thread Alex Elder
On 6/10/19 5:08 PM, Rob Herring wrote: > On Thu, May 30, 2019 at 9:53 PM Alex Elder wrote: >> >> Add the binding definitions for the "qcom,ipa" device tree node. >> >> Signed-off-by: Alex Elder >> --- >> .../devicetree/bindings/net/qcom,ipa.yaml | 180 ++ >> 1 file changed, 1

linux-next: manual merge of the crypto tree with Linus' tree

2019-06-10 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the crypto tree got conflicts in: drivers/crypto/vmx/aes.c drivers/crypto/vmx/aes_cbc.c drivers/crypto/vmx/aes_ctr.c drivers/crypto/vmx/aes_xts.c drivers/crypto/vmx/vmx.c between commits: 64d85cc99980 ("treewide: Replace GPLv2 boilerplate/referenc

RE: [PATCH V3 3/4] clk: imx: Add support for i.MX8MN clock driver

2019-06-10 Thread Anson Huang
Hi, Stephen > -Original Message- > From: Stephen Boyd > Sent: Monday, June 10, 2019 11:14 PM > To: bjorn.anders...@linaro.org; catalin.mari...@arm.com; > devicet...@vger.kernel.org; dingu...@kernel.org; > enric.balle...@collabora.com; feste...@gmail.com; > horms+rene...@verge.net.au; ja..

[PATCH -mm RESEND] mm: fix race between swapoff and mincore

2019-06-10 Thread Huang, Ying
From: Huang Ying Via commit 4b3ef9daa4fc ("mm/swap: split swap cache into 64MB trunks") on, after swapoff, the address_space associated with the swap device will be freed. So swap_address_space() users which touch the address_space need some kind of mechanism to prevent the address_space from be

[PATCH V4 1/3] ocfs2: add last unlock times in locking_state

2019-06-10 Thread Gang He
ocfs2 file system uses locking_state file under debugfs to dump each ocfs2 file system's dlm lock resources, but the dlm lock resources in memory are becoming more and more after the files were touched by the user. it will become a bit difficult to analyze these dlm lock resource records in locking

[PATCH V4 2/3] ocfs2: add locking filter debugfs file

2019-06-10 Thread Gang He
Add locking filter debugfs file, which is used to filter lock resources dump from locking_state debugfs file. We use d_filter_secs field to filter lock resources dump, the default d_filter_secs(0) value filters nothing, otherwise, only dump the last N seconds active lock resources. This enhancement

[PATCH V4 3/3] ocfs2: add first lock wait time in locking_state

2019-06-10 Thread Gang He
ocfs2 file system uses locking_state file under debugfs to dump each ocfs2 file system's dlm lock resources, but the users ever encountered some hang(deadlock) problems in ocfs2 file system. I'd like to add first lock wait time in locking_state file, which can help the upper scripts detect these de

Re: [PATCH v3 0/3] KVM: Yield to IPI target if necessary

2019-06-10 Thread Nadav Amit
> On Jun 10, 2019, at 6:45 PM, Wanpeng Li wrote: > > On Tue, 11 Jun 2019 at 09:11, Sean Christopherson > wrote: >> On Mon, Jun 10, 2019 at 04:34:20PM +0200, Radim Krčmář wrote: >>> 2019-05-30 09:05+0800, Wanpeng Li: The idea is from Xen, when sending a call-function IPI-many to vCPUs,

[RESEND PATCH V1] can: sja1000: f81601: add Fintek F81601 support

2019-06-10 Thread Ji-Ze Hong (Peter Hong)
This patch add support for Fintek PCIE to 2 CAN controller support Signed-off-by: Ji-Ze Hong (Peter Hong) --- drivers/net/can/sja1000/Kconfig | 8 ++ drivers/net/can/sja1000/Makefile | 1 + drivers/net/can/sja1000/f81601.c | 223 +++ 3 files changed, 232

Re: [PATCH v3 0/3] KVM: Yield to IPI target if necessary

2019-06-10 Thread Wanpeng Li
On Tue, 11 Jun 2019 at 09:11, Sean Christopherson wrote: > > On Mon, Jun 10, 2019 at 04:34:20PM +0200, Radim Krčmář wrote: > > 2019-05-30 09:05+0800, Wanpeng Li: > > > The idea is from Xen, when sending a call-function IPI-many to vCPUs, > > > yield if any of the IPI target vCPUs was preempted. 17

Re: [PATCH v2 1/2] KVM: LAPIC: Optimize timer latency consider world switch time

2019-06-10 Thread Wanpeng Li
On Tue, 11 Jun 2019 at 09:21, Sean Christopherson wrote: > > On Fri, May 31, 2019 at 02:40:13PM +0800, Wanpeng Li wrote: > > From: Wanpeng Li > > > > Advance lapic timer tries to hidden the hypervisor overhead between the > > host emulated timer fires and the guest awares the timer is fired. Howe

linux-next: manual merge of the net-next tree with the net tree

2019-06-10 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: kernel/bpf/verifier.c between commit: 983695fa6765 ("bpf: fix unconnected udp hooks") from the net tree and commit: 5cf1e9145630 ("bpf: cgroup inet skb programs can return 0 to 3") from the net-next tree. I fixed

Re: [PATCH net-next] hinic: fix a bug in set rx mode

2019-06-10 Thread xuechaojing
Yes, This patch fixes the Oops. xue 在 2019/6/11 8:45, dann frazier wrote: On Mon, May 27, 2019 at 10:10:05PM +, Xue Chaojing wrote: in set_rx_mode, __dev_mc_sync and netdev_for_each_mc_addr will repeatedly set the multicast mac address. so we delete this loop. fyi, I'm told this fixes the

  1   2   3   4   5   6   7   8   9   >