RE: [PATCH 2/4] arm64: hyperv: Add support for Hyper-V as a hypervisor

2018-12-11 Thread Michael Kelley
From: Marc Zyngier Sent: Friday, December 7, 2018 6:43 AM > > Add ARM64-specific code to enable Hyper-V. This code includes: > > * Detecting Hyper-V and initializing the guest/Hyper-V interface > > * Setting up Hyper-V's synthetic clocks > > * Making hypercalls using the HVC instruction > > * S

[PATCH 01/11] staging: iio: adt7316: fix register and bit definitions

2018-12-11 Thread Jeremy Fertic
Change two register addresses and one bit definition to match the datasheet. Signed-off-by: Jeremy Fertic --- drivers/staging/iio/addac/adt7316.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/iio/addac/adt7316.c b/drivers/staging/iio/addac/adt7316.c i

[PATCH 02/11] staging: iio: adt7316: invert the logic of the check for an ldac pin

2018-12-11 Thread Jeremy Fertic
ADT7316_DA_EN_VIA_DAC_LDCA is set when the dac and ldac registers are being used to update the dacs instead of the ldac pin. ADT7516_SEL_AIN3 is an adc input that shares the ldac pin. Only set these bits if an ldac pin is not being used. Signed-off-by: Jeremy Fertic --- drivers/staging/iio/addac

RE: [PATCH 1/4] arm64: hyperv: Add core Hyper-V include files

2018-12-11 Thread Michael Kelley
From: Will Deacon Sent: Friday, December 7, 2018 5:43 AM > > hyperv-tlfs.h defines Hyper-V interfaces from the Hyper-V Top Level > > Functional Spec (TLFS). The TLFS is distinctly oriented to x86/x64, > > and Hyper-V has not separated out the architecture-dependent parts into > > x86/x64 vs. ARM6

[PATCH 09/11] staging: iio: adt7316: remove dac vref buffer bypass from adt751x

2018-12-11 Thread Jeremy Fertic
The option to allow the external vref to bypass the reference buffer is only available for adt7316/7/8. Remove the attributes for adt751x as well as the chip->id checks from the show and store functions. Signed-off-by: Jeremy Fertic --- drivers/staging/iio/addac/adt7316.c | 14 -- 1

[PATCH 11/11] staging: iio: adt7316: correct spelling of ADT7316_DA_EN_VIA_DAC_LDCA

2018-12-11 Thread Jeremy Fertic
Change LDCA to LDAC. Signed-off-by: Jeremy Fertic --- drivers/staging/iio/addac/adt7316.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/iio/addac/adt7316.c b/drivers/staging/iio/addac/adt7316.c index 58b462ad0c83..020d695ded97 100644 --- a/driv

[PATCH 00/11] staging: iio: adt7316: dac fixes

2018-12-11 Thread Jeremy Fertic
Here are some dac related fixes for adt7316. I'm testing with an adt7516 over i2c to an orange pi pc. I've attempted to test any functionality that these patches are touching. Jeremy Fertic (11): staging: iio: adt7316: fix register and bit definitions staging: iio: adt7316: invert the logic of

[PATCH 08/11] staging: iio: adt7316: allow adt751x to use internal vref for all dacs

2018-12-11 Thread Jeremy Fertic
With adt7516/7/9, internal vref is available for dacs a and b, dacs c and d, or all dacs. The driver doesn't currently support internal vref for all dacs. Change the else if to an if so both bits are checked rather than just one or the other. Signed-off-by: Jeremy Fertic --- drivers/staging/iio/

[PATCH 07/11] staging: iio: adt7316: use correct variable in DAC_internal_Vref read

2018-12-11 Thread Jeremy Fertic
The dac internal vref settings are part of the ldac config register rather than the dac config register. Change the variable being used so the read returns the correct result. Signed-off-by: Jeremy Fertic --- drivers/staging/iio/addac/adt7316.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deleti

[PATCH 04/11] staging: iio: adt7316: fix handling of dac high resolution option

2018-12-11 Thread Jeremy Fertic
The dac high resolution option enables or disables 10 bit dac resolution for the adt7316/7 and adt7516/7 when they're set to output voltage proportional to temperature. Remove the "1 (12 bits)" output from the show function since that is not an option for this mode. Return "1 (10 bits)" if the devi

[PATCH 10/11] staging: iio: adt7316: change interpretation of write to dac update mode

2018-12-11 Thread Jeremy Fertic
Based on the output of adt7316_show_all_DAC_update_modes() and adt7316_show_DAC_update_mode(), adt7316_store_DAC_update_mode() should expect the user to enter an integer input from 0 to 3. The user input is currently expected to account for the actual bit positions in the register. For example, cho

[PATCH 06/11] staging: iio: adt7316: fix the dac write calculation

2018-12-11 Thread Jeremy Fertic
The lsb calculation is not masking the correct bits from the user input. Subtract 1 from (1 << offset) to correctly set up the mask to be applied to user input. The lsb register stores its value starting at the bit 7 position. adt7316_store_DAC() currently assumes the value is at the other end of

[PATCH 05/11] staging: iio: adt7316: fix the dac read calculation

2018-12-11 Thread Jeremy Fertic
The calculation of the current dac value is using the wrong bits of the dac lsb register. Create two macros to shift the lsb register value into lsb position, depending on whether the dac is 10 or 12 bit. Initialize data to 0 so, with an 8 bit dac, the msb register value can be bitwise ORed with da

[PATCH 03/11] staging: iio: adt7316: fix dac_bits assignment

2018-12-11 Thread Jeremy Fertic
The only assignment to dac_bits is in adt7316_store_da_high_resolution(). This function enables or disables 10 bit dac resolution for the adt7316/7 and adt7516/7 when they're set to output voltage proportional to temperature. Remove these assignments since they're unnecessary for the dac high resol

[PATCH 33/33] staging: vc04_services: Remove VCHIU_QUEUE_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../interface/vchiq_arm/vchiq_shim.c | 2 +- .../interfa

[PATCH 25/33] staging: vc04_services: Remove VCHIQ_SERVICE_QUOTA_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../interface/vchiq_arm/vchiq_core.c | 19 ++-

[PATCH 30/33] staging: vc04_services: Remove VCHIQ_SLOT_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../staging/vc04_services/interface/vchiq_arm/vchiq_core.c | 2 +-

[PATCH 28/33] staging: vc04_services: Remove VCHIQ_SHARED_STATE_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../interface/vchiq_arm/vchiq_core.c | 26 +--

[PATCH 17/33] staging: vc04_services: Remove VCHIQ_DEQUEUE_MESSAGE_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 4 ++

[PATCH 18/33] staging: vc04_services: Remove VCHIQ_DUMP_MEM_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h | 6 ++

[PATCH 22/33] staging: vc04_services: Remove VCHIQ_QUEUE_MESSAGE_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 4 ++

[PATCH 23/33] staging: vc04_services: Remove VCHIQ_SERVICE_BASE_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../staging/vc04_services/interface/vchiq_arm/vchiq_core.h| 2

[PATCH 27/33] staging: vc04_services: Remove VCHIQ_SET_SERVICE_OPTION_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 2 +-

[PATCH 21/33] staging: vc04_services: Remove VCHIQ_QUEUE_BULK_TRANSFER_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 6 +++-

[PATCH 26/33] staging: vc04_services: Remove VCHIQ_SERVICE_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../interface/vchiq_arm/vchiq_arm.c | 52 --- .../i

[PATCH 29/33] staging: vc04_services: Remove VCHIQ_SLOT_INFO_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../vc04_services/interface/vchiq_arm/vchiq_core.c| 11 ++-

[PATCH 24/33] staging: vc04_services: Remove VCHIQ_SERVICE_PARAMS_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 6 +++-

[PATCH 32/33] staging: vc04_services: Remove VCHIQ_STATE_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../interface/vchiq_arm/vchiq_2835_arm.c | 23 ++-- .../inte

[PATCH 20/33] staging: vc04_services: Remove VCHIQ_HEADER_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../interface/vchiq_arm/vchiq_arm.c | 21 +++--- .../int

[PATCH 19/33] staging: vc04_services: Remove VCHIQ_GET_CONFIG_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 4 ++

[PATCH 15/33] staging: vc04_services: Remove VCHIQ_CREATE_SERVICE_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 6 ++

[PATCH 16/33] staging: vc04_services: Remove VCHIQ_DEBUGFS_NODE_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 4

[PATCH 31/33] staging: vc04_services: Remove VCHIQ_SLOT_ZERO_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../interface/vchiq_arm/vchiq_2835_arm.c | 2 +- .../int

[PATCH 04/33] staging: vc04_services: Remove SERVICE_CREATION_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c | 2 +-

[PATCH 09/33] staging: vc04_services: Remove VCHIQ_ARM_STATE_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../interface/vchiq_arm/vchiq_2835_arm.c | 4 +- .../interfa

[PATCH 11/33] staging: vc04_services: Remove VCHIQ_BULK_QUEUE_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../vc04_services/interface/vchiq_arm/vchiq_core.c | 13 +++--

[PATCH 02/33] staging: vc04_services: Remove PAGELIST_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../interface/vchiq_arm/vchiq_2835_arm.c | 12 ++--

[PATCH 06/33] staging: vc04_services: Remove VCHI_HELD_MSG_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../vc04_services/bcm2835-camera/mmal-vchiq.c | 28 +--

[PATCH 12/33] staging: vc04_services: Remove VCHIQ_BULK_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../interface/vchiq_arm/vchiq_2835_arm.c| 5 +++-- ..

[PATCH 10/33] staging: vc04_services: Remove VCHIQ_AWAIT_COMPLETION_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 8

[PATCH 14/33] staging: vc04_services: Remove VCHIQ_CONFIG_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 2 +-

[PATCH 03/33] staging: vc04_services: Remove REMOTE_EVENT_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../interface/vchiq_arm/vchiq_2835_arm.c | 2 +- .../vc

[PATCH 13/33] staging: vc04_services: Remove VCHIQ_COMPLETION_DATA_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../interface/vchiq_arm/vchiq_arm.c | 23 +++

[PATCH 05/33] staging: vc04_services: Remove USER_SERVICE_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../interface/vchiq_arm/vchiq_arm.c | 48 +++

[PATCH 07/33] staging: vc04_services: Remove VCHI_MSG_ITER_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- drivers/staging/vc04_services/interface/vchi/vchi.h | 12 ++--

[PATCH 08/33] staging: vc04_services: Remove VCHI_MSG_VECTOR_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../staging/vc04_services/interface/vchi/vchi_common.h| 8

[PATCH 00/33] staging: vc04_services: Remove most struct typedefs

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Dominic Braun (33): staging: vc04_services: Remove DUMP_CONTEXT_T typedef staging: vc04_services: Remove PAGELIST_T typedef st

[PATCH 01/33] staging: vc04_services: Remove DUMP_CONTEXT_T typedef

2018-12-11 Thread Dominic Braun
Typedefing structs is not encouraged in the kernel. The removal of typedefs was requested in interface/vchi/TODO in commit 7626e002225a4c1b9455689b1f22909dfeff43ca. Signed-off-by: Dominic Braun Signed-off-by: Tobias Büttner --- .../vc04_services/interface/vchiq_arm/vchiq_arm.c| 9 +

Re: [PATCH] MAINTAINERS: Patch monkey for the Hyper-V code

2018-12-11 Thread Sasha Levin
On Tue, Dec 11, 2018 at 07:09:59PM +0100, Greg KH wrote: On Tue, Dec 11, 2018 at 12:09:49PM -0500, Sasha Levin wrote: Now the Hyper-V code has it's own monkey on a tree! Make it easier to manage patch flow to upper level maintainers. Acked-by: Haiyang Zhang Acked-by: K. Y. Srinivasan Signed-

Re: [PATCH] MAINTAINERS: Patch monkey for the Hyper-V code

2018-12-11 Thread Greg KH
On Tue, Dec 11, 2018 at 12:09:49PM -0500, Sasha Levin wrote: > Now the Hyper-V code has it's own monkey on a tree! > > Make it easier to manage patch flow to upper level maintainers. > > Acked-by: Haiyang Zhang > Acked-by: K. Y. Srinivasan > Signed-off-by: Sasha Levin > --- > MAINTAINERS | 4

[PATCH] staging: erofs: remove __EROFS_BIT

2018-12-11 Thread Gao Xiang
It's better to use pre-calculated values to make on-disk definition more straight-forward and human-readable. Since there is the only one user, let's remove __EROFS_BIT entirely. Suggested-by: Joe Perches Signed-off-by: Gao Xiang --- drivers/staging/erofs/erofs_fs.h | 8 +++- 1 file change

Re: [PATCH v4 1/2] staging: iio: ad7606: Move out of staging

2018-12-11 Thread Jonathan Cameron
On Mon, 10 Dec 2018 13:03:33 +0200 Stefan Popa wrote: > Move ad7606 ADC driver out of staging and into the mainline. > > Signed-off-by: Stefan Popa Hi Stefan, I've been a bit silly here and only been looking at the 'new code' and assuming this was a straight copy. Please could you split the p

Re: [PATCH 4/5] drivers: staging: erofs: Fix parentheses error in macro

2018-12-11 Thread Gao Xiang
Hi Joe, On 2018/12/11 23:48, Joe Perches wrote: > This macro is used only once and is merely obfuscation > for that one use. Please remove the macro and expand > it in the one place it is used. I am also considering to replace it in a plain way, it will be more straight-forward to describe its o

[PATCH] MAINTAINERS: Patch monkey for the Hyper-V code

2018-12-11 Thread Sasha Levin
Now the Hyper-V code has it's own monkey on a tree! Make it easier to manage patch flow to upper level maintainers. Acked-by: Haiyang Zhang Acked-by: K. Y. Srinivasan Signed-off-by: Sasha Levin --- MAINTAINERS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS

Re: [PATCH 4/5] drivers: staging: erofs: Fix parentheses error in macro

2018-12-11 Thread Joe Perches
On Tue, 2018-12-11 at 19:06 +0800, Gao Xiang wrote: > Hi Aaron, > > On 2018/12/11 18:54, Aaron Strahlberger wrote: > > Fix of ERROR: Macros with complex values should be enclosed in parentheses > > from checkpatch.pl [] > > diff --git a/drivers/staging/erofs/erofs_fs.h > > b/drivers/staging/erofs

Re: [PATCH 2/2] comedi/ni_pcidio: make all defines uppercase

2018-12-11 Thread Spencer Olson
On Tue, Dec 11, 2018 at 3:50 AM Alexander Schroth wrote: > > According to the Linux coding guidelines, defines should be written > in uppercase. This patch converts all define-statements in the > ni_pcidio.c file to uppercase, thus matching the coding style of the > kernel. > > Signed-off-by: Alex

Re: [PATCH 1/2] comedi/ni_pcidio: remove unused defines

2018-12-11 Thread Spencer Olson
On Tue, Dec 11, 2018 at 3:50 AM Alexander Schroth wrote: > > Define-statements, which are not used within the file, are being removed > as they add clutter to the code. > Because the file is not being included from anywhere else, this has no > negative side-effects. This is somewhat coincidental,

Re: [PATCH] staging: vchiq: rework remove_event handling

2018-12-11 Thread Arnd Bergmann
On Tue, Dec 11, 2018 at 1:36 PM Nicolas Saenz Julienne wrote: > On Mon, 2018-12-10 at 22:11 +0100, Arnd Bergmann wrote: > > @@ -447,26 +444,26 @@ remote_event_wait(VCHIQ_STATE_T *state, > > REMOTE_EVENT_T *event) > > } > > > > static inline void > > -remote_event_signal_local(VCHIQ_STATE_T *sta

Re: [PATCH] staging: vchiq: rework remove_event handling

2018-12-11 Thread Arnd Bergmann
On Tue, Dec 11, 2018 at 1:31 PM Nicolas Saenz Julienne wrote: > > On Tue, 2018-12-11 at 13:07 +0300, Dan Carpenter wrote: > > On Mon, Dec 10, 2018 at 10:11:58PM +0100, Arnd Bergmann wrote: > > > Note that I'm changing it back to 'killable' after the previous > > > patch > > > changed 'killable' to

Re: [PATCH 1/5] drivers: staging: erofs: Fix alignment.

2018-12-11 Thread Dan Carpenter
On Tue, Dec 11, 2018 at 11:54:39AM +0100, Aaron Strahlberger wrote: > Fix of 17 `CHECK: Alignment should match open parenthesis` checkpatch.pl > issues. > > Signed-off-by: Aaron Strahlberger > Signed-off-by: Julius Wiedmann > Signed-off-by: Dominik Huber > > LocalWords: Alighnment ^

Re: [PATCH] drivers: staging: erofs: Fix styling issues

2018-12-11 Thread Dan Carpenter
Remove the "drivers: " from the patch prefix. You're not working from the latest code. Write your patches on top of staging-next or linux-next. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproj

Re: [PATCH 1/3] staging: rtl8723bs: change semaphores to completions

2018-12-11 Thread Hans de Goede
Hi Arnd, Thank you for the patches. On 10-12-18 22:40, Arnd Bergmann wrote: This driver uses many semaphores, most of them are equivalent to completions. The other copies of this driver got moved over to completions a while ago, so do the same here. In this usage scenario, the two are equivale

Re: [PATCH] staging: vchiq: rework remove_event handling

2018-12-11 Thread Nicolas Saenz Julienne
Hi Arnd, thanks for the patch! On Mon, 2018-12-10 at 22:11 +0100, Arnd Bergmann wrote: > I had started the removal of semaphores in this driver without > knowing > that Nicolas Saenz Julienne also worked on this. In case of the > "remote > event" infrastructure, my solution seemed significantly be

Re: [PATCH] staging: vchiq: rework remove_event handling

2018-12-11 Thread Nicolas Saenz Julienne
On Tue, 2018-12-11 at 13:07 +0300, Dan Carpenter wrote: > On Mon, Dec 10, 2018 at 10:11:58PM +0100, Arnd Bergmann wrote: > > Note that I'm changing it back to 'killable' after the previous > > patch > > changed 'killable' to 'interruptible', apparently based on a > > misunderstanding > > of the sub

Re: [PATCH 3/5] drivers: staging: erofs: Fix spelling issue

2018-12-11 Thread Gao Xiang
On 2018/12/11 18:54, Aaron Strahlberger wrote: > Changed "stoped" to "stopped". > > Signed-off-by: Aaron Strahlberger > Signed-off-by: Julius Wiedmann > Signed-off-by: Dominik Huber A typo fix... I'm not a native English speaker, help me if it has more typo errors... Reviewed-by: Gao Xiang

Re: [PATCH 2/5] drivers: staging: erofs: Fix comparison to NULL issues.

2018-12-11 Thread Gao Xiang
Hi Aaron, On 2018/12/11 18:54, Aaron Strahlberger wrote: > Fix of 7 `CHECK: Comparison to NULL could be written ...` issues. > > Signed-off-by: Aaron Strahlberger > Signed-off-by: Julius Wiedmann > Signed-off-by: Dominik Huber > --- > drivers/staging/erofs/data.c | 23 ---

Re: [PATCH 1/5] drivers: staging: erofs: Fix alignment.

2018-12-11 Thread Gao Xiang
Hi Aaron, On 2018/12/11 18:54, Aaron Strahlberger wrote: > Fix of 17 `CHECK: Alignment should match open parenthesis` checkpatch.pl > issues. > > Signed-off-by: Aaron Strahlberger > Signed-off-by: Julius Wiedmann > Signed-off-by: Dominik Huber > > LocalWords: Alighnment What's this? > ---

Re: [PATCH 4/5] drivers: staging: erofs: Fix parentheses error in macro

2018-12-11 Thread Gao Xiang
Hi Aaron, On 2018/12/11 18:54, Aaron Strahlberger wrote: > Fix of ERROR: Macros with complex values should be enclosed in parentheses > from checkpatch.pl > > Signed-off-by: Aaron Strahlberger > Signed-off-by: Julius Wiedmann > Signed-off-by: Dominik Huber > --- > drivers/staging/erofs/erofs_

Re: [PATCH 0/3] Add devicetree support for ad5933

2018-12-11 Thread Ardelean, Alexandru
On Mon, 2018-12-10 at 21:27 +, Jonathan Cameron wrote: > On Sat, 8 Dec 2018 22:10:43 +0100 > Greg KH wrote: > > > On Sat, Dec 08, 2018 at 04:56:45PM -0200, Marcelo Schmitt wrote: > > > Parts of this work came from contributions of Alexandru Ardelean and > > > Dragos Bogdan, I and Gabriel woul

[PATCH 1/2] comedi/ni_pcidio: remove unused defines

2018-12-11 Thread Alexander Schroth
Define-statements, which are not used within the file, are being removed as they add clutter to the code. Because the file is not being included from anywhere else, this has no negative side-effects. Signed-off-by: Alexander Schroth Signed-off-by: Marco Ammon --- drivers/staging/comedi/drivers/

[PATCH 2/2] comedi/ni_pcidio: make all defines uppercase

2018-12-11 Thread Alexander Schroth
According to the Linux coding guidelines, defines should be written in uppercase. This patch converts all define-statements in the ni_pcidio.c file to uppercase, thus matching the coding style of the kernel. Signed-off-by: Alexander Schroth Signed-off-by: Marco Ammon --- drivers/staging/comedi/

[no subject]

2018-12-11 Thread Alexander Schroth
This patch series improves the conformance of comedi/drivers/ni_pcidio.c to the Linux coding guidelines. It focuses on the usage of #define and is based on the next-20181207 tag. Signed-off-by: Alexander Schroth Signed-off-by: Marco Ammon ___ devel m

[PATCH 3/5] drivers: staging: erofs: Fix spelling issue

2018-12-11 Thread Aaron Strahlberger
Changed "stoped" to "stopped". Signed-off-by: Aaron Strahlberger Signed-off-by: Julius Wiedmann Signed-off-by: Dominik Huber --- drivers/staging/erofs/dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/erofs/dir.c b/drivers/staging/erofs/dir.c index 4

[PATCH 5/5] drivers: staging: erofs: Add blank line after function

2018-12-11 Thread Aaron Strahlberger
Fix of checkpatch.pl issue: CHECK: Please use a blank line after ... declarations Signed-off-by: Aaron Strahlberger Signed-off-by: Julius Wiedmann Signed-off-by: Dominik Huber --- drivers/staging/erofs/erofs_fs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/erofs/erofs_

[PATCH 4/5] drivers: staging: erofs: Fix parentheses error in macro

2018-12-11 Thread Aaron Strahlberger
Fix of ERROR: Macros with complex values should be enclosed in parentheses from checkpatch.pl Signed-off-by: Aaron Strahlberger Signed-off-by: Julius Wiedmann Signed-off-by: Dominik Huber --- drivers/staging/erofs/erofs_fs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 1/5] drivers: staging: erofs: Fix alignment.

2018-12-11 Thread Aaron Strahlberger
Fix of 17 `CHECK: Alignment should match open parenthesis` checkpatch.pl issues. Signed-off-by: Aaron Strahlberger Signed-off-by: Julius Wiedmann Signed-off-by: Dominik Huber LocalWords: Alighnment --- drivers/staging/erofs/data.c | 42 ++-- drivers/staging/er

[PATCH 2/5] drivers: staging: erofs: Fix comparison to NULL issues.

2018-12-11 Thread Aaron Strahlberger
Fix of 7 `CHECK: Comparison to NULL could be written ...` issues. Signed-off-by: Aaron Strahlberger Signed-off-by: Julius Wiedmann Signed-off-by: Dominik Huber --- drivers/staging/erofs/data.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/drivers

[PATCH 0/5] drivers: staging: erofs: Fix styling issues

2018-12-11 Thread Aaron Strahlberger
Fixed several styling issues and one error, reported by checkpatch.pl. Signed-off-by: Aaron Strahlberger Signed-off-by: Julius Wiedmann Signed-off-by: Dominik Huber Aaron Strahlberger (5): drivers: staging: erofs: Fix alignment. drivers: staging: erofs: Fix comparison to NULL issues. dri

Re: [PATCH] staging: vchiq: rework remove_event handling

2018-12-11 Thread Dan Carpenter
On Mon, Dec 10, 2018 at 10:11:58PM +0100, Arnd Bergmann wrote: > Note that I'm changing it back to 'killable' after the previous patch > changed 'killable' to 'interruptible', apparently based on a misunderstanding > of the subtle down_interruptible() macro override in vchiq_killable.h. Oh wow...

Re: [PATCH v3 2/3] Staging: iio: adt7316: Move interrupt related code

2018-12-11 Thread Dan Carpenter
On Sat, Dec 08, 2018 at 08:46:37PM +0530, Shreeya Patel wrote: > - return irq_type; > + ret = devm_request_threaded_irq(&indio_dev->dev, chip->bus.irq, > + NULL, adt7316_event_handler, > + irq_type | IRQF_ONESHOT, > +

Re: [PATCH] drivers: staging: erofs: Fix styling issues

2018-12-11 Thread Gao Xiang
Hi Aaron, On 2018/12/11 17:06, Aaron Strahlberger wrote: > Fixed following checkpatch.pl styling issues: > > - 17x CHECK: Alignment should match open parenthesis > - 7x CHECK: Comparison to NULL could be written ... > - 1x CHECK: Lines should not end with a '(' > - 1x CHECK: Please use a blank

[PATCH] drivers: staging: erofs: Fix styling issues

2018-12-11 Thread Aaron Strahlberger
Fixed following checkpatch.pl styling issues: - 17x CHECK: Alignment should match open parenthesis - 7x CHECK: Comparison to NULL could be written ... - 1x CHECK: Lines should not end with a '(' - 1x CHECK: Please use a blank line after ... Signed-off-by: Aaron Strahlberger Signed-off-by: Jul