Re: [RFC PATCH] USB: PCI: set 32bit DMA mask for PCI based USB controllers

2019-02-02 Thread Hanjun Guo
On 2019/2/1 17:13, Hanjun Guo wrote: > On 2019/2/1 13:55, Hanjun Guo wrote: >> Hi John, >> >> On 2019/1/31 17:54, John Garry wrote: >>> On 30/01/2019 07:01, Hanjun Guo wrote: From: Hanjun Guo >> [...]  drivers/usb/core/hcd-pci.c | 4  1 file changed, 4 insertions(+) >>

Re: [RFC PATCH] cpufreq / cppc: Work around for Hisilicon CPPC cpufreq

2019-02-02 Thread Xiongfeng Wang
Hi, Rafael Thanks for your reply and advice below. Sorry, I'am out of the office because of the Chinese spring festival. I will send another version when I come back. It's 14th February. Thanks, Xiongfeng On 2019/1/31 7:42, Rafael J. Wysocki wrote: > On Thursday, January 17, 2019 12:00:11 PM CET

Re: [PATCH v3 01/13] spi: atmel-quadspi: cache MR value to avoid a write access

2019-02-02 Thread Tudor.Ambarus
On 02/02/2019 09:06 AM, Boris Brezillon wrote: > On Sat, 2 Feb 2019 04:07:13 + > wrote: > >> From: Tudor Ambarus >> >> Cache Serial Memory Mode (SMM) value to avoid write access when >> setting the controller in serial memory mode. SMM is set in >> exec_op() and not at probe time, to let r

Re: [PATCH v3 03/13] spi: atmel-quadspi: drop wrappers for iomem accesses

2019-02-02 Thread Tudor.Ambarus
On 02/02/2019 09:11 AM, Boris Brezillon wrote: > On Sat, 2 Feb 2019 04:07:19 + > wrote: > >> From: Tudor Ambarus >> >> The wrappers hid that the accesses are relaxed. Drop them. >> >> Suggested-by: Boris Brezillon >> Signed-off-by: Tudor Ambarus >> --- >> v3: no change >> v2: new patch >

Re: [PATCH v3 08/13] spi: atmel-quadspi: drop unused and NOP transfer macros

2019-02-02 Thread Tudor.Ambarus
On 02/02/2019 09:13 AM, Boris Brezillon wrote: > On Sat, 2 Feb 2019 04:07:33 + > wrote: > >> From: Tudor Ambarus >> >> Remove NOP when setting read transfer type. Remove useless >> setting of write transfer type when >> op->data.dir == SPI_MEM_DATA_IN && !op->data.nbytes. >> >> QSPI_IFR_TF

Re: [PATCH v3 10/13] dt-bindings: spi: atmel-quadspi: make "pclk" mandatory

2019-02-02 Thread Tudor.Ambarus
On 02/02/2019 09:15 AM, Boris Brezillon wrote: > On Sat, 2 Feb 2019 04:07:39 + > wrote: > >> From: Tudor Ambarus >> >> Naming clocks is a good practice. Make "pclk" madatory even if >> we support unnamed clock in the driver, to be backward compatible >> with old DTs. >> >> Suggested-by: Bo

Re: [PATCH v2] arm64/hisilicon: fix SDcard detection

2019-02-02 Thread Vincent Guittot
Hi Wei, On Fri, 1 Feb 2019 at 18:00, Wei Xu wrote: > > Hi Vincent, > > On 1/14/2019 8:24 AM, Vincent Guittot wrote: > > The SDcard detection of hikey960 is active low so cd-inverted is wrong. > > Instead of adding cd-inverted, we should better set correctly cd-gpios > > to use GPIO_ACTIVE_LOW. >

Re: [PATCH v3 13/13] spi: atmel-quadspi: add support for sam9x60 qspi controller

2019-02-02 Thread Tudor.Ambarus
On 02/02/2019 09:29 AM, Boris Brezillon wrote: > On Sat, 2 Feb 2019 04:07:46 + > wrote: > >> From: Tudor Ambarus >> >> The sam9x60 qspi controller uses 2 clocks, one for the peripheral register >> access, the other for the qspi core and phy. Both are mandatory. It uses >> different transfe

[PATCH] iio: chemical: sps30: remove printk format specifier

2019-02-02 Thread Tomasz Duszynski
pr_fmt is used by printk wrappers. There are not any in the driver code so remove the format specifier. Signed-off-by: Tomasz Duszynski --- drivers/iio/chemical/sps30.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/iio/chemical/sps30.c b/drivers/iio/chemical/sps30.c index 376fac41

[PATCH] Revert "KVM: Eliminate extra function calls in kvm_get_dirty_log_protect()"

2019-02-02 Thread lantianyu1986
From: Lan Tianyu The value of "dirty_bitmap[i]" is already check before setting its value to mask. The following check of "mask" is redundant. The check of "mask" was introduced by commit 58d2930f4ee3(("KVM: Eliminate extra function calls in kvm_get_dirty_log_protect()"). This patch is to revert

Re: 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 (posix-timers: Fix, division by zero bug). Problems with glibc.

2019-02-02 Thread Thomas Gleixner
On Fri, 1 Feb 2019, Paul Eggert wrote: > Thanks for helping to track down this bug. Since the problem occurs only with > a few Linux kernel versions and affects Emacs only when doing CPU profiling, > it doesn't seem worth spending time to try to patch Emacs to work around the > bug. So I installed

[PATCH] f2fs: fix potential data inconsistence of checkpoint

2019-02-02 Thread Chao Yu
Previously, we changed lock from cp_rwsem to node_change, it solved the deadlock issue which was caused by below race condition: Thread AThread B - f2fs_setattr - f2fs_lock_op -- read_lock - dquot_transfer - __dquot_transfer - dquot_acquire - commit_dqblk -

Re: DMA Engine Documentation: TX Descriptor and Submission

2019-02-02 Thread Vinod Koul
On 01-02-19, 09:59, Federico Vaga wrote: > > > On February 1, 2019 4:17:50 AM UTC, Vinod Koul wrote: > >On 28-01-19, 09:47, Federico Vaga wrote: > >> Hi, > >> > >> I have a new question concerning documentation. > >> > >> > >https://www.kernel.org/doc/html/latest/driver-api/dmaengine/client.ht

[PATCH 09/10] efi: x86: convert x86 EFI earlyprintk into generic earlycon implementation

2019-02-02 Thread Ard Biesheuvel
Move the x86 EFI earlyprintk implementation to a shared location under drivers/firmware and tweak it slightly so we can expose it as an earlycon implementation (which is generic) rather than earlyprintk (which is only implemented for a few architectures) This also involves switching to write-combi

[PATCH 08/10] x86: make ARCH_USE_MEMREMAP_PROT a generic Kconfig symbol

2019-02-02 Thread Ard Biesheuvel
Turn ARCH_USE_MEMREMAP_PROT into a generic Kconfig symbol, and fix the dependency expression to reflect that AMD_MEM_ENCRYPT depends on it, instead of the other way around. This will permit ARCH_USE_MEMREMAP_PROT to be selected by other architectures. Note that the encryption related early memrema

[PATCH 07/10] efi: arm/arm64: allow SetVirtualAddressMap() to be omitted

2019-02-02 Thread Ard Biesheuvel
The UEFI spec revision 2.7 errata A section 8.4 has the following to say about the virtual memory runtime services: "This section contains function definitions for the virtual memory support that may be optionally used by an operating system at runtime. If an operating system chooses to make

[GIT PULL 00/10] EFI changes for v5.1

2019-02-02 Thread Ard Biesheuvel
The following changes since commit 1c7fc5cbc33980acd13d668f1c8f0313d6ae9fd8: Linux 5.0-rc2 (2019-01-14 10:41:12 +1200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-next for you to fetch changes up to 44f5ab0e212a9fff7c518803f7fc7

[PATCH 03/10] efi: memattr: don't bail on zero VA if it equals the region's PA

2019-02-02 Thread Ard Biesheuvel
The EFI memory attributes code cross-references the EFI memory map with the more granular EFI memory attributes table to ensure that they are in sync before applying the strict permissions to the regions it describes. Since we always install virtual mappings for the EFI runtime regions to which th

[PATCH 04/10] efi: use 32-bit alignment for efi_guid_t

2019-02-02 Thread Ard Biesheuvel
The UEFI spec and EDK2 reference implementation both define EFI_GUID as struct { u32 a; u16; b; u16 c; u8 d[8]; }; and so the implied alignment is 32 bits not 8 bits like our guid_t. In some cases (i.e., on 32-bit ARM), this means that firmware services invoked by the kernel may assume that efi_gui

[PATCH 01/10] x86/efi: Mark can_free_region() as an __init function

2019-02-02 Thread Ard Biesheuvel
From: Sai Praneeth Prakhya can_free_region() is called only once during _boot_ by efi_reserve_boot_services(). Hence, mark it as __init function. Signed-off-by: Sai Praneeth Prakhya Signed-off-by: Ard Biesheuvel --- arch/x86/platform/efi/quirks.c | 2 +- 1 file changed, 1 insertion(+), 1 dele

[PATCH 05/10] efi/fdt: More cleanups

2019-02-02 Thread Ard Biesheuvel
From: Ingo Molnar Apply a number of cleanups: - Introduce fdt_setprop_*var() helper macros to simplify and shorten repetitive sequences - this also makes it less likely that the wrong variable size is passed in. This change makes a lot of the property-setting calls single-line and easi

[PATCH 06/10] efi: replace GPL license boilerplate with SPDX headers

2019-02-02 Thread Ard Biesheuvel
Replace all GPL license blurbs with an equivalent SPDX header (most files are GPLv2, some are GPLv2+). While at it, drop some outdated header changelogs as well. Signed-off-by: Ard Biesheuvel --- drivers/firmware/efi/apple-properties.c | 13 + drivers/firmware/efi/arm-init.c

[PATCH 10/10] acpi: bgrt: parse BGRT to obtain BMP address before it gets clobbered

2019-02-02 Thread Ard Biesheuvel
The bitmap left in the framebuffer by the firmware is described by an ACPI table called "BGRT", which describes the size, pixel format and the address of a BMP image in memory. While the BGRT ACPI table is guaranteed to reside in a "ACPI reclaim" memory region, which is never touched by Linux. The

[PATCH 02/10] x86/efi: Return error status if mapping EFI regions fail

2019-02-02 Thread Ard Biesheuvel
From: Sai Praneeth Prakhya efi_map_region() creates VA mappings for an given EFI region using any one of the two helper functions (namely __map_region() and old_map_region()). These helper functions *could* fail while creating mappings and presently their return value is not checked. Not checking

Re: [PATCH v2 2/2] staging: iio: ad7780: moving ad7780 out of staging

2019-02-02 Thread Jonathan Cameron
On Sun, 27 Jan 2019 18:33:52 -0200 Renato Lui Geh wrote: > Move ad7780 ADC driver out of staging and into the mainline. > > The ad7780 is a sigma-delta analog to digital converter. This driver provides > reading voltage values and status bits from both the ad778x and ad717x series. > Its interfa

[tip:x86/urgent] x86/resctrl: Avoid confusion over the new X86_RESCTRL config

2019-02-02 Thread tip-bot for Johannes Weiner
Commit-ID: e6d429313ea5c776d2e76b4494df69102e6b7115 Gitweb: https://git.kernel.org/tip/e6d429313ea5c776d2e76b4494df69102e6b7115 Author: Johannes Weiner AuthorDate: Tue, 29 Jan 2019 17:44:36 -0500 Committer: Borislav Petkov CommitDate: Sat, 2 Feb 2019 10:34:52 +0100 x86/resctrl: Avoid c

Re: [PATCH v3 2/2] iio: adc: add NPCM ADC driver

2019-02-02 Thread Jonathan Cameron
On Mon, 28 Jan 2019 12:53:18 +0200 Tomer Maimon wrote: > Hi Jonathan, > > Thanks for the clarification, > > I will like to to Modify the NPCM ADC dt-binding document ( > https://patchwork.ozlabs.org/patch/1022527/ - removing rst node). > > To send a new commit to the iio.git testing branch or

[PATCH 1/1] efi/arm64: add a terminator for ptdump marker

2019-02-02 Thread Ard Biesheuvel
From: Qian Cai Reading efi_page_tables debugfs triggers an out-of-bounds access here, arch/arm64/mm/dump.c: 282 if (addr >= st->marker[1].start_address) { called from, arch/arm64/mm/dump.c: 331 note_page(st, addr, 2, pud_val(pud)); because st->marker++ is is called after "UEFI runtime

[GIT PULL 0/1] EFI fix for v5.0

2019-02-02 Thread Ard Biesheuvel
The following changes since commit 1c7fc5cbc33980acd13d668f1c8f0313d6ae9fd8: Linux 5.0-rc2 (2019-01-14 10:41:12 +1200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-urgent for you to fetch changes up to 10faccaef2b72b28961b1917719

Re: [PATCH v2 1/2] dt-bindings: iio: imu: add icm20602 bindings to mpu6050

2019-02-02 Thread Jonathan Cameron
On Wed, 30 Jan 2019 13:49:42 -0600 Rob Herring wrote: > On Mon, 28 Jan 2019 19:50:02 +0100, =?UTF-8?q?Randolph=20Maa=C3=9Fen?= wrote: > > Adding the invensense ICM-20602 to the compatible list of the mpu6050 > > driver > > > > Signed-off-by: Randolph Maaßen > > > > --- > > Changes in v2: > > -

Re: [PATCH v2 2/2] iio: imu: mpu6050: Add support for the ICM 20602 IMU

2019-02-02 Thread Jonathan Cameron
On Mon, 28 Jan 2019 19:50:03 +0100 Randolph Maaßen wrote: > The Invensense ICM-20602 is a 6-axis MotionTracking device that > combines a 3-axis gyroscope and an 3-axis accelerometer. It is very > similar to the ICM-20608 imu which is already supported by the mpu6050 > driver. The main difference

Re: [PATCH] staging:iio:ad7152: align line to match open parenthesis

2019-02-02 Thread Jonathan Cameron
On Tue, 29 Jan 2019 16:31:00 -0200 Camylla Cantanheide wrote: > From: Feulo > > Align broken line to match upper line parenthesis. Solves the > checkpatch.pl's message > > CHECK: Alignment should match open parenthesis. > > Signed-off-by: Feulo For reference should be full name (though I'm o

Re: [PATCH] iio:potentiostat:lmp91000: solve codestyle WARNINGs and CHECKs

2019-02-02 Thread Jonathan Cameron
On Fri, 1 Feb 2019 12:29:11 -0200 LSO wrote: > Thanks for the review! > > On 29/01/2019 20:48, Joe Perches wrote: > > On Tue, 2019-01-29 at 16:36 -0200, Lucas Oshiro wrote: > >> Solve most of the checkpatch.pl WARNINGs and CHECKs on lmp9100.c. They > >> are the following: > >> > >> lmp91000.c:

Re: [PATCH] ptrace: take into account saved_sigmask in PTRACE_{GET,SET}SIGMASK

2019-02-02 Thread Andrei Vagin
On Wed, Nov 21, 2018 at 06:16:50PM -0800, Andrew Morton wrote: > On Mon, 19 Nov 2018 22:06:16 -0800 Andrei Vagin wrote: > > > There are a few system calls (pselect, ppoll, etc) which replace a task > > sigmask while they are running in a kernel-space > > > > When a task calls one of these syscal

Re: [PATCH 02/18] dmaengine: imx-sdma: pass struct device to DMA API functions

2019-02-02 Thread Vinod Koul
On 01-02-19, 09:47, Christoph Hellwig wrote: > The DMA API generally relies on a struct device to work properly, and > only barely works without one for legacy reasons. Pass the easily > available struct device from the platform_device to remedy this. This looks good to me but fails to apply. Can

Re: WARN_ON_ONCE(!new_owner) within wake_futex_pi() triggerede

2019-02-02 Thread Thomas Gleixner
On Sat, 2 Feb 2019, Heiko Carstens wrote: > On Fri, Feb 01, 2019 at 10:59:08PM +0100, Thomas Gleixner wrote: > > Were you able to capture a trace with the last set of additional trace > > printks? > > Of course I forgot to collect that, sorry! But just reproduced; see > log below (last 1000 lines)

Re: [PATCH] iio: adc: at91: disable adc channel interrupt in timeout case

2019-02-02 Thread Jonathan Cameron
On Wed, 30 Jan 2019 14:42:02 +0100 wrote: > From: Georg Ottinger > > Having a brief look at at91_adc_read_raw() it is obvious that in the case > of a timeout the setting of AT91_ADC_CHDR and AT91_ADC_IDR registers is > omitted. If 2 different channels are queried we can end up with a > situatio

Re: [PATCH] iio:accel:adxl345: Change alignment to match paranthesis

2019-02-02 Thread Jonathan Cameron
On Thu, 31 Jan 2019 17:07:01 -0200 Luciana da Costa Marques wrote: > From: luciana > > Align broken line to match upper line parenthesis. Solves the > checkpatch.pl's message: > > CHECK: Alignment should match open parenthesis > > Signed-off-by: luciana Full name please, see examples in Doc

Re: [PATCH v2] dmaengine: at_xdmac: Fix wrongfull report of a channel as in use

2019-02-02 Thread Vinod Koul
On 23-01-19, 16:33, codrin.ciubota...@microchip.com wrote: > From: Codrin Ciubotariu > > atchan->status variable is used to store two different information: > - pass channel interrupts status from interrupt handler to tasklet; > - channel information like whether it is cyclic or paused; > > Th

Re: [PATCH v3 1/2] iio: adc: Add AD7768-1 ADC basic support

2019-02-02 Thread Jonathan Cameron
On Thu, 31 Jan 2019 18:20:51 +0200 Stefan Popa wrote: > The ad7768-1 is a single channel, precision 24-bit analog to digital > converter (ADC). > > This basic patch configures the device in fast mode, with 32 kSPS and > leaves the default sinc5 filter. > > Two data conversion modes are made ava

[PATCH] scsi: mvsas: clean up a few indentation issues

2019-02-02 Thread Colin King
From: Colin Ian King There are a few statements that are not indented correctly, so fix these. Also add empty line between variable declaration and first statements in functions. Also remove whitespace between * and mvi_dev to clean up a cppcheck warning. Signed-off-by: Colin Ian King --- driv

[tip:efi/urgent] efi/arm64: Fix debugfs crash by adding a terminator for ptdump marker

2019-02-02 Thread tip-bot for Qian Cai
Commit-ID: 74c953ca5f6b4d5f1daa1ef34f4317e15c1a2987 Gitweb: https://git.kernel.org/tip/74c953ca5f6b4d5f1daa1ef34f4317e15c1a2987 Author: Qian Cai AuthorDate: Sat, 2 Feb 2019 10:50:17 +0100 Committer: Ingo Molnar CommitDate: Sat, 2 Feb 2019 11:27:29 +0100 efi/arm64: Fix debugfs crash by

Re: System crash with perf_fuzzer (kernel: 5.0.0-rc3)

2019-02-02 Thread Jiri Olsa
On Sat, Feb 02, 2019 at 08:54:35AM +0530, Ravi Bangoria wrote: > > > On 2/1/19 1:24 PM, Ravi Bangoria wrote: > > I ran fuzzer for couple of hours but I didn't see any crash with > > your previous patch. > > > > I'll try this newer one as well. > > I ran fuzzer for ~8 hrs and no lockup so far.

[PATCH] scsi: aacraid: clean up some indentation and formatting issues

2019-02-02 Thread Colin King
From: Colin Ian King There are several issues with badly indented statements. Fix these and clean up the formatting. Signed-off-by: Colin Ian King --- drivers/scsi/aacraid/commsup.c | 25 + drivers/scsi/aacraid/linit.c | 3 +-- drivers/scsi/aacraid/src.c | 2 +-

Re: 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 (posix-timers: Fix division by zero bug). Problems with glibc.

2019-02-02 Thread Alan Mackenzie
Hello, Thomas. Thanks for such a rapid reply! On Fri, Feb 01, 2019 at 23:04:48 +0100, Thomas Gleixner wrote: > Hello Alan, > On Fri, 1 Feb 2019, Alan Mackenzie wrote: > > 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 > > posix-timers: Fix division by zero bug > > Committed: 2018-12-17 17:35:45 +0100

Re: [PATCH] platform/x86: intel_int0002_vgpio: Implement irq_set_wake

2019-02-02 Thread Hans de Goede
Hi, On 2/2/19 12:25 AM, Andy Shevchenko wrote: On Sat, Feb 2, 2019 at 12:52 AM Hans de Goede wrote: On 1/31/19 8:47 PM, Maxim Mikityanskiy wrote: On Mon, Sep 24, 2018 at 5:37 PM Hans de Goede wrote: We were relying on the interrupt being shared with the ACPI SCI and the ACPI core calling i

Re: [RFC][PATCH v2 14/21] kvm: register in mm_struct

2019-02-02 Thread Fengguang Wu
Hi Peter, On Sat, Feb 02, 2019 at 02:57:41PM +0800, Peter Xu wrote: On Wed, Dec 26, 2018 at 09:15:00PM +0800, Fengguang Wu wrote: VM is associated with an address space and not a specific thread. >From Documentation/virtual/kvm/api.txt: Only run VM ioctls from the same process (address spac

[PATCH v15 2/3] dt-bindings: pps: pps-gpio PPS ECHO implementation

2019-02-02 Thread Tom Burkart
This patch implements the device tree binding changes required for the pps echo functionality for pps-gpio, that sysfs claims is available already. This patch is provided separated from the rest of the patch per Documentation/devicetree/bindings/submitting-patches.txt. This patch was originally wr

[PATCH v15 0/3] PPS: pps-gpio PPS ECHO implementation

2019-02-02 Thread Tom Burkart
Hi all, please find attached the PPS-GPIO PPS ECHO implementation patch. The driver claims to have echo functionality in the sysfs interface but this functionality is not present. This patch provides this functionality. Part 1 of the patch change the original driver from the number based GPIO API

[PATCH v15 3/3] pps: pps-gpio pps-echo implementation

2019-02-02 Thread Tom Burkart
This patch implements the pps echo functionality for pps-gpio, that sysfs claims is available already. Configuration is done via device tree bindings. This patch was originally written by Lukas Senger as part of a masters thesis project and modified for inclusion into the linux kernel by Tom Burk

[PATCH v15 1/3] pps: descriptor-based gpio

2019-02-02 Thread Tom Burkart
This patch changes the GPIO access for the pps-gpio driver from the integer based API to the descriptor based API. Reviewed-by: Philipp Zabel Signed-off-by: Tom Burkart --- drivers/pps/clients/pps-gpio.c | 67 +++--- include/linux/pps-gpio.h | 3 +- 2

Re: [PATCH v2] mm, oom: Tolerate processes sharing mm with different view of oom_score_adj.

2019-02-02 Thread Tetsuo Handa
On 2019/02/01 18:14, Michal Hocko wrote: > On Fri 01-02-19 05:59:55, Tetsuo Handa wrote: >> On 2019/01/31 16:11, Michal Hocko wrote: >>> This is really ridiculous. I have already nacked the previous version >>> and provided two ways around. The simplest one is to drop the printk. >>> The second one

Re: WARN_ON_ONCE(!new_owner) within wake_futex_pi() triggerede

2019-02-02 Thread Heiko Carstens
On Sat, Feb 02, 2019 at 11:14:27AM +0100, Thomas Gleixner wrote: > On Sat, 2 Feb 2019, Heiko Carstens wrote: > So after the unlock @timestamp 337.215675 the kernel does not deal with > that futex at all until the failed lock attempt where it rightfully rejects > the attempt due to the alleged owner

[PATCH] chelsio: clean up indentation issue

2019-02-02 Thread Colin King
From: Colin Ian King The assignment to size is indented too far, fix this and join two lines into one. Signed-off-by: Colin Ian King --- drivers/net/ethernet/chelsio/cxgb/sge.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/chelsio/cxgb/sge.c b/driv

[PATCH] bna: fix indentation issue on call to bfa_ioc_pf_failed

2019-02-02 Thread Colin King
From: Colin Ian King The call to bfa_ioc_pf_failed is indented too far, fix this by removing a tab. Signed-off-by: Colin Ian King --- drivers/net/ethernet/brocade/bna/bfa_ioc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/brocade/bna/bfa_ioc.c b/dri

[PATCH] atl1c: fix indentation issue on an if statement

2019-02-02 Thread Colin King
From: Colin Ian King An if statement is indented one level too deep, fix this by removing the extra tabs. Also add some spaces to the dev_warn arguments to clean up checkpatch warnings. Signed-off-by: Colin Ian King --- drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 8 1 file chang

[PATCH] atheros: atl2: fix an indentaion issue on a return statement

2019-02-02 Thread Colin King
From: Colin Ian King A return statment is not indented correctly, fix this by adding an extra tab. Signed-off-by: Colin Ian King --- drivers/net/ethernet/atheros/atlx/atl2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/atheros/atlx/atl2.c b/drivers/

Re: [RESEND BUG REPORT] System hung! Due to ftrace or KASAN?

2019-02-02 Thread Zenghui Yu
On Tue, Jan 29, 2019 at 9:16 PM Dmitry Vyukov wrote: > > On Tue, Jan 29, 2019 at 1:27 AM Andrew Morton > wrote: > > > > On Mon, 21 Jan 2019 10:36:25 +0100 Dmitry Vyukov wrote: > > > > > > Thanks Dmitry! I'll try to test this commit tomorrow. > > > > > > > > BTW, I have bisect-ed and tested for

Re: [PATCH v2] Bluetooth: hci_uart: Switch pty driver to slave side in tty_set_termios()

2019-02-02 Thread Marcel Holtmann
Hi Myungho, > tty_set_termios() should be called with slave side of pty driver. So, If > tty driver is pty master, it needs to be switched to ->link. > > Reported-by: syzbot+a950165cbb86bdd02...@syzkaller.appspotmail.com > Signed-off-by: Myungho Jung > --- > drivers/bluetooth/hci_ldisc.c | 27 ++

[PATCH] powerpc: Remove trailing semicolon after curly brace

2019-02-02 Thread Mathieu Malaterre
There is not point in having a trailing semicolon after a closing curly brace. Remove it. Signed-off-by: Mathieu Malaterre --- arch/powerpc/sysdev/tsi108_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/sysdev/tsi108_dev.c b/arch/powerpc/sysdev/tsi108_dev.c

[PATCH] Move static keyword at beginning of declaration

2019-02-02 Thread Mathieu Malaterre
Move the static keyword around to remove the following warnings (W=1): arch/powerpc/platforms/ps3/os-area.c:212:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] arch/powerpc/platforms/ps3/system-bus.c:45:1: error: 'static' is not at beginning of declarati

Re: [LKP] 32bd07585d: kernel_selftests.lib.prime_numbers.sh.fail

2019-02-02 Thread Florian La Roche
Thanks for this test-result. That patch was only sent in on linux-kernel@, but got never applied to the kernel. Indeed the first half of the patch was wrong. best regards, Florian La Roche

[PATCH V2 0/3] x86/Hyper-V/IOMMU: Add Hyper-V IOMMU driver to support x2apic mode

2019-02-02 Thread lantianyu1986
From: Lan Tianyu On the bare metal, enabling X2APIC mode requires interrupt remapping function which helps to deliver irq to cpu with 32-bit APIC ID. Hyper-V doesn't provide interrupt remapping function so far and Hyper-V MSI protocol already supports to deliver interrupt to the CPU whose virtual

[PATCH V2 2/3] HYPERV/IOMMU: Add Hyper-V stub IOMMU driver

2019-02-02 Thread lantianyu1986
From: Lan Tianyu On the bare metal, enabling X2APIC mode requires interrupt remapping function which helps to deliver irq to cpu with 32-bit APIC ID. Hyper-V doesn't provide interrupt remapping function so far and Hyper-V MSI protocol already supports to deliver interrupt to the CPU whose virtual

[PATCH V2 1/3] x86/Hyper-V: Set x2apic destination mode to physical when x2apic is available

2019-02-02 Thread lantianyu1986
From: Lan Tianyu Hyper-V doesn't provide irq remapping for IO-APIC. To enable x2apic, set x2apic destination mode to physcial mode when x2apic is available and Hyper-V IOMMU driver makes sure cpus assigned with IO-APIC irqs have 8-bit APIC id. Signed-off-by: Lan Tianyu --- Change since v1:

[PATCH V2 3/3] MAINTAINERS: Add Hyper-V IOMMU driver into Hyper-V CORE AND DRIVERS scope

2019-02-02 Thread lantianyu1986
From: Lan Tianyu This patch is to add Hyper-V IOMMU driver file into Hyper-V CORE and DRIVERS scope. Signed-off-by: Lan Tianyu --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9f64f8d..5fb6306 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -701

Re: [PATCH v3 01/13] spi: atmel-quadspi: cache MR value to avoid a write access

2019-02-02 Thread Boris Brezillon
On Sat, 2 Feb 2019 08:38:40 + wrote: > On 02/02/2019 09:06 AM, Boris Brezillon wrote: > > On Sat, 2 Feb 2019 04:07:13 + > > wrote: > > > >> From: Tudor Ambarus > >> > >> Cache Serial Memory Mode (SMM) value to avoid write access when > >> setting the controller in serial memory mode.

Re: [PATCH v3 03/13] spi: atmel-quadspi: drop wrappers for iomem accesses

2019-02-02 Thread Boris Brezillon
On Sat, 2 Feb 2019 08:44:27 + wrote: > On 02/02/2019 09:11 AM, Boris Brezillon wrote: > > On Sat, 2 Feb 2019 04:07:19 + > > wrote: > > > >> From: Tudor Ambarus > >> > >> The wrappers hid that the accesses are relaxed. Drop them. > >> > >> Suggested-by: Boris Brezillon > >> Signed-of

Re: [PATCH v3 08/13] spi: atmel-quadspi: drop unused and NOP transfer macros

2019-02-02 Thread Boris Brezillon
On Sat, 2 Feb 2019 08:46:38 + wrote: > On 02/02/2019 09:13 AM, Boris Brezillon wrote: > > On Sat, 2 Feb 2019 04:07:33 + > > wrote: > > > >> From: Tudor Ambarus > >> > >> Remove NOP when setting read transfer type. Remove useless > >> setting of write transfer type when > >> op->data.

Apply

2019-02-02 Thread Loan Capital Financial
Personal/Business Loan-Apply Loan @ 3%* Interest Rate...

Re: [PATCH V5 2/7] clocksource: tegra: add Tegra210 timer support

2019-02-02 Thread Dmitry Osipenko
01.02.2019 18:37, Joseph Lo пишет: > On 2/1/19 11:13 PM, Dmitry Osipenko wrote: >> 01.02.2019 17:13, Joseph Lo пишет: >>> On 2/1/19 9:54 PM, Jon Hunter wrote: On 01/02/2019 13:11, Dmitry Osipenko wrote: > 01.02.2019 16:06, Dmitry Osipenko пишет: >> 01.02.2019 6:36, Joseph Lo пишет

Re: [PATCH v3 13/13] spi: atmel-quadspi: add support for sam9x60 qspi controller

2019-02-02 Thread Boris Brezillon
On Sat, 2 Feb 2019 08:58:25 + wrote: > >> @@ -117,6 +120,7 @@ > >> #define QSPI_IFR_CRMBIT(14) > >> #define QSPI_IFR_NBDUM_MASK GENMASK(20, 16) > >> #define QSPI_IFR_NBDUM(n) (((n) << 16) & > >> QSPI_IFR_NBDUM_MASK) > >> +#define QSPI_IFR_APBT

Re: [PATCH V5 2/7] clocksource: tegra: add Tegra210 timer support

2019-02-02 Thread Dmitry Osipenko
02.02.2019 2:53, Joseph Lo пишет: > On 2/2/19 2:08 AM, Dmitry Osipenko wrote: >> 01.02.2019 18:37, Joseph Lo пишет: >>> On 2/1/19 11:13 PM, Dmitry Osipenko wrote: 01.02.2019 17:13, Joseph Lo пишет: > On 2/1/19 9:54 PM, Jon Hunter wrote: >> >> On 01/02/2019 13:11, Dmitry Osipenko wr

Re: [PATCH] bpfilter: remove extra header search paths for bpfilter_umh

2019-02-02 Thread Masahiro Yamada
On Sat, Feb 2, 2019 at 9:00 AM Alexei Starovoitov wrote: > > On Thu, Jan 31, 2019 at 12:15:35PM +0900, Masahiro Yamada wrote: > > Currently, the header search paths -Itools/include and > > -Itools/include/uapi are not used. Let's drop the unused code. > > > > We can remove -I. too by fixing up one

Re: [PATCH] kbuild: Disable extra debugging info in .s output

2019-02-02 Thread Masahiro Yamada
On Sat, Feb 2, 2019 at 12:12 AM Borislav Petkov wrote: > > On Fri, Feb 01, 2019 at 08:58:13PM +0900, Masahiro Yamada wrote: > > Variables assigned with ':=' are evaluated just on parsing Makefile. > > > > The scripts/Makefile.build is parsed over and over again, > > so the compiler is invoked hund

Re: [PATCH V9 3/5] i2c: tegra: Add DMA support

2019-02-02 Thread Dmitry Osipenko
01.02.2019 20:07, Sowjanya Komatineni пишет: > This patch adds DMA support for Tegra I2C. > > Tegra I2C TX and RX FIFO depth is 8 words. PIO mode is used for > transfer size of the max FIFO depth and DMA mode is used for > transfer size higher than max FIFO depth to save CPU overhead. > > PIO mod

Re: [PATCH V9 3/5] i2c: tegra: Add DMA support

2019-02-02 Thread Dmitry Osipenko
01.02.2019 22:22, Dmitry Osipenko пишет: > 01.02.2019 22:20, Sowjanya Komatineni пишет: >> +static int tegra_i2c_init_dma(struct tegra_i2c_dev *i2c_dev) { + struct dma_chan *dma_chan; + u32 *dma_buf; + dma_addr_t dma_phys; + int err = 0; + + if (!IS_ENABLED(C

[PATCH v3 2/2] drm/panel: Add driver for Samsung S6E63M0 panel

2019-02-02 Thread Paweł Chmiel
This patch adds Samsung S6E63M0 AMOLED LCD panel driver, connected over spi. It's based on already removed, non dt s6e63m0 driver and panel-samsung-ld9040. It can be found for example in some of Samsung Aries based phones. Signed-off-by: Paweł Chmiel Reviewed-by: Sam Ravnborg --- Changes from v2

Re: [PATCH v2 2/2] drm/panel: Add driver for Samsung S6E63M0 panel

2019-02-02 Thread Paweł Chmiel
On piątek, 1 lutego 2019 22:36:07 CET Sam Ravnborg wrote: > Hi Paweł > > Looks good, thanks for addressing all the review feedback. > > On Fri, Feb 01, 2019 at 06:28:52PM +0100, Paweł Chmiel wrote: > > This patch adds Samsung S6E63M0 AMOLED LCD panel driver, connected over > > spi. It's based on

[PATCH v3 1/2] dt-bindings: drm: panel: Add Samsung s6e63m0 panel documentation

2019-02-02 Thread Paweł Chmiel
From: Jonathan Bakker This commit adds documentation for Samsung s6e63m0 AMOLED LCD panel driver. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- Changes from v1: - Add missing subject prefix - Rename reset-gpio to reset-gpios - Add link to spi properites documentation. Th

Re: [PATCH v3 09/11] leds: max77650: add LEDs support

2019-02-02 Thread Bartosz Golaszewski
pt., 1 lut 2019 o 21:15 Dan Murphy napisał(a): > > Hi > > On 2/1/19 1:45 PM, Jacek Anaszewski wrote: > > Hi Bartosz, > > > > Thanks for the update. > > > > On 2/1/19 10:47 AM, Bartosz Golaszewski wrote: > >> From: Bartosz Golaszewski > >> > >> This adds basic support for LEDs for the max77650 PMI

[PATCH net-next 12/12] net: hns3: MAC table entry count function increases operation 0 value protection measures

2019-02-02 Thread Huazhong Tan
From: liuzhongzhu When updating the available MAC VLAN table counts, MAC VLAN table entry count function adds operation 0 value protection measures. Signed-off-by: liuzhongzhu Signed-off-by: Peng Li Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 7 +

[PATCH net-next 09/12] net: hns3: optimize the maximum TC macro

2019-02-02 Thread Huazhong Tan
From: liuzhongzhu Multiple macros with the largest number of TCs in the system, optimized to HCLGE_MAX_TC_NUM. Signed-off-by: liuzhongzhu Signed-off-by: Peng Li Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 7 +++ drivers/net/ethernet/hisili

[PATCH net-next 10/12] net: hns3: don't allow user to change vlan filter state

2019-02-02 Thread Huazhong Tan
From: Jian Shen When user disables vlan filter, and adds vlan device, it won't notify the driver the update the vlan filter. In this case, when user enables vlan filter again, the packets with new vlan tag will be filtered by vlan filter. Signed-off-by: Jian Shen Signed-off-by: Peng Li Signed-

[PATCH net-next 02/12] net: hns3: fix an issue for hns3_update_new_int_gl

2019-02-02 Thread Huazhong Tan
From: Peng Li HNS3 supports setting rx-usecs|tx-usecs as 0, but it will not update dynamically when adaptive-tx or adaptive-rx is enable. This patch removes the Redundant check. Fixes: a95e1f8666e9 ("net: hns3: change the time interval of int_gl calculating") Signed-off-by: Peng Li Signed-off-

[PATCH net-next 07/12] net: hns3: fix a wrong checking in the hclge_tx_buffer_calc()

2019-02-02 Thread Huazhong Tan
Only the TC is enabled, we need to check whether the buffer is enough, otherwise it may lead to a wrong -ENOMEM case. Fixes: 9ffe79a9c2ee ("net: hns3: Support for dynamically assigning tx buffer to TC") Signed-off-by: Huazhong Tan Signed-off-by: Peng Li --- drivers/net/ethernet/hisilicon/hns3/

[PATCH net-next 08/12] net: hns3: fix the problem that the supported port is empty

2019-02-02 Thread Huazhong Tan
From: liuzhongzhu Run ethtool ethx when displaying device information in VF, the supported port and link mode items will be empty. This patch fixes it. Fixes: e2cb1dec9779 ("net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support") Signed-off-by: liuzhongzhu Signed-off-by: Peng Li S

[PATCH net-next 11/12] net: hns3: modify the upper limit judgment condition

2019-02-02 Thread Huazhong Tan
From: liuzhongzhu In order to prevent the variable anomaly from being larger than desc_num, the upper limit judgment condition becomes >=. Signed-off-by: liuzhongzhu Signed-off-by: Peng Li Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 4 ++-- 1 file

[PATCH net-next 06/12] net: hns3: move some set_bit statement into hclge_prepare_mac_addr

2019-02-02 Thread Huazhong Tan
From: Weihang Li This patch does not change the code logic. There are some same set_bit statements called by add/rm_uc/mc_addr_common, and move this statements into hclge_prepare_mac_addr to reduce duplicate code. Signed-off-by: Weihang Li Signed-off-by: Peng Li Signed-off-by: Huazhong Tan --

[PATCH net-next 04/12] net: hns3: code optimization for hclge_rx_buffer_calc

2019-02-02 Thread Huazhong Tan
From: Yunsheng Lin There are four steps to calcuate the rx private buffer, each step can be done in a function to avoid code duplication and aid code readability. This patch adds three separate functions do the job. Also, the function name more or less make the comment redundant, so remove some

[PATCH net-next 01/12] net: hns3: fix a code style issue for hns3_update_new_int_gl()

2019-02-02 Thread Huazhong Tan
From: Peng Li Use the same code style for rx_group and tx_group in the hns3_update_new_int_gl(). Signed-off-by: Peng Li Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/hisi

[PATCH net-next 03/12] net: hns3: Modify parameter type from int to bool in set_gro_en

2019-02-02 Thread Huazhong Tan
From: Yonglong Liu The second parameter to the hook function set_gro_en is always passed in true/false, so modify it's type from int to bool. Signed-off-by: Yonglong Liu Signed-off-by: Peng Li Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hnae3.h | 2 +- .../net/ethe

Re: [PATCH] kbuild: Disable extra debugging info in .s output

2019-02-02 Thread Borislav Petkov
On Sat, Feb 02, 2019 at 10:48:00PM +0900, Masahiro Yamada wrote: > '?=' is the same as '=' here. Sure but if the slowdown disappears, then make does something else for '?=' apparently vs for '='. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.

[PATCH net-next 05/12] net: hns3: add hclge_cmd_check_retval() to parse comman's return value

2019-02-02 Thread Huazhong Tan
From: Weihang Li For simplifying the code, this patch adds hclge_cmd_check_retval() to check the return value of the command. Also, according the IMP's description, when there are several descriptors in a command, then the IMP will save the return value on the last description, so hclge_cmd_chec

[PATCH net-next 00/12] code optimizations & bugfixes for HNS3 driver

2019-02-02 Thread Huazhong Tan
This patchset includes bugfixes and code optimizations for the HNS3 ethernet controller driver Huazhong Tan (1): net: hns3: fix a wrong checking in the hclge_tx_buffer_calc() Jian Shen (1): net: hns3: don't allow user to change vlan filter state Peng Li (2): net: hns3: fix a code style iss

[PATCH v2 1/5] dt-bindings: input: Add binding for bma150 sensor

2019-02-02 Thread Paweł Chmiel
From: Jonathan Bakker Add device tree bindings for Bosch BMA150 Accelerometer Sensor Changes from v1: - Add properties for all of bma150_cfg - Correct IRQ type in example Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- .../bindings/input/bosch,bma150.txt | 38 +

[PATCH v2 2/5] input: misc: bma150: Use managed resources helpers

2019-02-02 Thread Paweł Chmiel
From: Jonathan Bakker The driver can be cleaned up by using managed resource helpers Changes from v1: - Correct devm input unregistering Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/input/misc/bma150.c | 44 ++--- 1 file changed, 12

[PATCH v2 5/5] input: misc: bma150: Register input device after setting private data

2019-02-02 Thread Paweł Chmiel
From: Jonathan Bakker Otherwise we introduce a race condition where userspace can request input before we're ready leading to null pointer dereference such as input: bma150 as /devices/platform/i2c-gpio-2/i2c-5/5-0038/input/input3 Unable to handle kernel NULL pointer dereference at virtual addre

[PATCH v2 0/5] input: misc: bma150: Add support for device tree

2019-02-02 Thread Paweł Chmiel
This small patchset adds support for device tree to Bosch BMA150 Accelerometer Sensor driver. It was tested on s5pv210-galaxys and s5pv210-fascinate4g. Changes from v1: - Correct devm input unregistering - Correct IRQ type in DT documentation - Add DT properties for bma150_cfg and document

[PATCH v2 4/5] input: misc: bma150: Drop platform data

2019-02-02 Thread Paweł Chmiel
From: Jonathan Bakker bma150 supports DT now and as there are no in-kernel users of the platform data, remove it. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/input/misc/bma150.c | 27 +-- include/linux/bma150.h | 5 - 2 files change

  1   2   3   >