Re: [PATCH v2 1/3] binder: fix sparse warnings on locking context

2018-12-06 Thread Greg Kroah-Hartman
On Thu, Dec 06, 2018 at 08:37:41AM -0800, Todd Kjos wrote: > On Thu, Dec 6, 2018 at 6:51 AM Greg KH wrote: > > > > On Wed, Dec 05, 2018 at 03:19:24PM -0800, Todd Kjos wrote: > > > Add __acquire()/__release() annnotations to fix warnings > > > in sparse context checking > > > > > > There is one

Re: [PATCH 00/10] staging: vc04_services: Improve driver load/unload

2018-12-06 Thread Dan Carpenter
This looks really nice. Reviewed-by: Dan Carpenter regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH] ANDROID: doc: Fix spelling

2018-12-06 Thread Joel Fernandes
On Thu, Dec 06, 2018 at 03:52:43PM +, Daniel Bovensiepen wrote: > Fixed spelling in comment section. > > Signed-off-by: Daniel Bovensiepen Acked-by: Joel Fernandes (Google) > --- > drivers/staging/android/ashmem.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff

Re: [PATCH v2] media: rockchip vpu: remove some unused vars

2018-12-06 Thread Ezequiel Garcia
On Wed, 2018-12-05 at 19:01 -0500, Mauro Carvalho Chehab wrote: > As complained by gcc: > > drivers/staging/media/rockchip/vpu/rk3288_vpu_hw_jpeg_enc.c: In > function 'rk3288_vpu_jpeg_enc_set_qtable': > drivers/staging/media/rockchip/vpu/rk3288_vpu_hw_jpeg_enc.c:70:10: > warning:

Re: [PATCH v2] staging: mt7621-mmc: Fix incompletely removed #if 0 block in sd.c

2018-12-06 Thread NeilBrown
On Thu, Dec 06 2018, Nishad Kamdar wrote: > Commit 2a54e3259e2a ("staging: mt7621-mmc: Remove #if 0 blocks in sd.c") > does not completely remove an #if 0 block in sd.c. This causes the function > msdc_select_clksrc() which was eariler not compiled, to be compiled. > That causes an error -

[PATCH 00/10] staging: vc04_services: Improve driver load/unload

2018-12-06 Thread Stefan Wahren
This patch series improves the load/unload of bcm2835 camera and audio drivers. Changes since RFC: - rebase on current staging-next - add Nicolas' reviewed-by - address Dan Carpenter's comments about error handling of device registration Stefan Wahren (10): staging: bcm2835-camera: Abort probe

[PATCH 07/10] staging: bcm2835-audio: use module_platform_driver() macro

2018-12-06 Thread Stefan Wahren
There is not much value behind this boilerplate, so use module_platform_driver() instead. Signed-off-by: Stefan Wahren Reviewed-by: Nicolas Saenz Julienne --- .../staging/vc04_services/bcm2835-audio/bcm2835.c| 20 +--- 1 file changed, 1 insertion(+), 19 deletions(-) diff

[PATCH 01/10] staging: bcm2835-camera: Abort probe if there is no camera

2018-12-06 Thread Stefan Wahren
Abort the probing of the camera driver in case there isn't a camera actually connected to the Raspberry Pi. This solution also avoids a NULL ptr dereference of mmal instance on driver unload. Fixes: 7b3ad5abf027 ("staging: Import the BCM2835 MMAL-based V4L2 camera driver.") Signed-off-by: Stefan

[PATCH 08/10] staging: bcm2835-audio: Drop DT dependency

2018-12-06 Thread Stefan Wahren
Just like the bcm2835-video make this a platform driver which is probed by vchiq. In order to change the number of channels use a module parameter instead, but use the maximum as default. Signed-off-by: Stefan Wahren Reviewed-by: Nicolas Saenz Julienne ---

[PATCH 04/10] staging: vchiq_arm: Fix camera device registration

2018-12-06 Thread Stefan Wahren
Since the camera driver isn't probed via DT, we need to properly setup DMA. Fixes: 37b7b3087a2f ("staging/vc04_services: Register a platform device for the camera driver.") Signed-off-by: Stefan Wahren --- .../vc04_services/interface/vchiq_arm/vchiq_arm.c | 27 +++--- 1 file

[PATCH 03/10] staging: bcm2835-camera: Move module info to the end

2018-12-06 Thread Stefan Wahren
In order to have this more consistent between the vc04 services move the module information to the end of the file. Signed-off-by: Stefan Wahren Reviewed-by: Nicolas Saenz Julienne --- .../staging/vc04_services/bcm2835-camera/bcm2835-camera.c| 12 ++-- 1 file changed, 6

[PATCH 02/10] staging: bcm2835-camera: fix module autoloading

2018-12-06 Thread Stefan Wahren
In order to make the module bcm2835-camera load automatically, we need to add a module alias. Fixes: 4bebb0312ea9 ("staging/bcm2835-camera: Set ourselves up as a platform driver.") Signed-off-by: Stefan Wahren Reviewed-by: Nicolas Saenz Julienne ---

[PATCH 05/10] staging: vchiq_arm: Register a platform device for audio

2018-12-06 Thread Stefan Wahren
Following Eric's commit 37b7b3087a2f ("staging/vc04_services: Register a platform device for the camera driver.") this register the audio driver as a platform device, too. Signed-off-by: Stefan Wahren --- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 2 ++ 1 file changed, 2

[PATCH 06/10] staging: bcm2835-audio: Enable compile test

2018-12-06 Thread Stefan Wahren
Enable the compilation test for bcm2835-audio to gain more build coverage. Signed-off-by: Stefan Wahren Reviewed-by: Nicolas Saenz Julienne --- drivers/staging/vc04_services/bcm2835-audio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 09/10] staging: bcm2835-camera: Provide more specific probe error messages

2018-12-06 Thread Stefan Wahren
Currently there is only a catch-all info message which print the relevant error code without any context. So add more specific error messages in order to narrow down possible issues. Signed-off-by: Stefan Wahren Reviewed-by: Nicolas Saenz Julienne ---

[PATCH 10/10] staging: bcm2835-camera: Add hint about possible faulty config

2018-12-06 Thread Stefan Wahren
As per default the GPU memory config of the Raspberry Pi isn't sufficient for the camera usage. Even worse the bcm2835 camera driver doesn't provide a helpful error message in this case. So let's add a hint to point the user to the likely cause. Signed-off-by: Stefan Wahren Reviewed-by: Nicolas

CONGRATULATIONS!!

2018-12-06 Thread Wendy Jaroslawski
Hello, We wish to notify you that You email address was automatically generated and selected during APOLLO 11. ASTRONAUTS 48TH ANNIVERSARY: Space Gala salutes the future HELD JULY 15TH 2017, You EMAIL have won $1,000,000.00 dollars in the ongoing ASTRONAUTS readings world-wide by phone,

Re: [PATCH] binder: implement binderfs

2018-12-06 Thread Christian Brauner
On Thu, Dec 06, 2018 at 03:04:03PM +0100, Greg KH wrote: > On Wed, Dec 05, 2018 at 10:42:06PM +0100, Christian Brauner wrote: > > On Wed, Dec 05, 2018 at 09:01:45PM +0100, Greg KH wrote: > > > > /* binder-control */ > > > > Each new binderfs instance comes with a binder-control device. No other >

Re: [PATCH v2 1/3] binder: fix sparse warnings on locking context

2018-12-06 Thread Todd Kjos
On Thu, Dec 6, 2018 at 6:51 AM Greg KH wrote: > > On Wed, Dec 05, 2018 at 03:19:24PM -0800, Todd Kjos wrote: > > Add __acquire()/__release() annnotations to fix warnings > > in sparse context checking > > > > There is one case where the warning was due to a lack of > > a "default:" case in a

Re: [PATCH 2/2] staging: greybus: Added space between string concatenated

2018-12-06 Thread Bryan O'Donoghue
On 06/12/2018 16:23, Greg Kroah-Hartman wrote: On Thu, Dec 06, 2018 at 04:14:53PM +, Bryan O'Donoghue wrote: On 06/12/2018 15:05, Greg Kroah-Hartman wrote: On Thu, Dec 06, 2018 at 09:43:46AM +, Bryan O'Donoghue wrote: On 05/12/2018 21:00, Sicilia Cristian wrote: It doesn't change the

Re: [PATCH 2/2] staging: greybus: Added space between string concatenated

2018-12-06 Thread Greg Kroah-Hartman
On Thu, Dec 06, 2018 at 04:14:53PM +, Bryan O'Donoghue wrote: > On 06/12/2018 15:05, Greg Kroah-Hartman wrote: > > On Thu, Dec 06, 2018 at 09:43:46AM +, Bryan O'Donoghue wrote: > > > On 05/12/2018 21:00, Sicilia Cristian wrote: > > > > It doesn't change the result string > > > > > > So

Re: [PATCH 2/2] staging: greybus: Added space between string concatenated

2018-12-06 Thread Bryan O'Donoghue
On 06/12/2018 15:05, Greg Kroah-Hartman wrote: On Thu, Dec 06, 2018 at 09:43:46AM +, Bryan O'Donoghue wrote: On 05/12/2018 21:00, Sicilia Cristian wrote: It doesn't change the result string So why do it then ? Because it is easier to read this way and odds are checkpatch is happier.

[PATCH] ANDROID: doc: Fix spelling

2018-12-06 Thread Daniel Bovensiepen
Fixed spelling in comment section. Signed-off-by: Daniel Bovensiepen --- drivers/staging/android/ashmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c index a880b5c6c6c3..90a8a9f1ac7d 100644 ---

[PATCH v2] staging: mt7621-mmc: Fix incompletely removed #if 0 block in sd.c

2018-12-06 Thread Nishad Kamdar
Commit 2a54e3259e2a ("staging: mt7621-mmc: Remove #if 0 blocks in sd.c") does not completely remove an #if 0 block in sd.c. This causes the function msdc_select_clksrc() which was eariler not compiled, to be compiled. That causes an error - MSDC_CLKSRC_REG is not defined. This patch completely

Re: [PATCH] staging: mt7621-mmc: Remove missed lines of the #if 0 block in sd.c

2018-12-06 Thread Nishad Kamdar
On Thu, Dec 06, 2018 at 08:08:24AM +1100, NeilBrown wrote: > On Wed, Dec 05 2018, Nishad Kamdar wrote: > > > The below patch > > https://lore.kernel.org/patchwork/patch/995533/ > > does not completely remove an #if 0 block in sd.c. > > Standard practice is to identify patches by their commit id.

Re: [PATCH 2/2] staging: greybus: Added space between string concatenated

2018-12-06 Thread Greg Kroah-Hartman
On Thu, Dec 06, 2018 at 09:43:46AM +, Bryan O'Donoghue wrote: > On 05/12/2018 21:00, Sicilia Cristian wrote: > > It doesn't change the result string > > So why do it then ? Because it is easier to read this way and odds are checkpatch is happier. thanks, greg k-h

Re: [PATCH v2 1/3] binder: fix sparse warnings on locking context

2018-12-06 Thread Greg KH
On Wed, Dec 05, 2018 at 03:19:24PM -0800, Todd Kjos wrote: > Add __acquire()/__release() annnotations to fix warnings > in sparse context checking > > There is one case where the warning was due to a lack of > a "default:" case in a switch statement where a lock was > being released in each of

[PATCH] iio: dac: ad5686: fix bit shift read register

2018-12-06 Thread Mircea Caprioru
This patch solves the register readback issue with the bit shift. When the dac resolution was lower than the register size (ex. 12 bits out of 16 bits) the readback value was not shifted with the difference in bits and the value was higher. Also a mask is applied on the read value in order to get

Re: [PATCH] binder: implement binderfs

2018-12-06 Thread Greg KH
On Wed, Dec 05, 2018 at 10:42:06PM +0100, Christian Brauner wrote: > On Wed, Dec 05, 2018 at 09:01:45PM +0100, Greg KH wrote: > > > /* binder-control */ > > > Each new binderfs instance comes with a binder-control device. No other > > > devices will be present at first. The binder-control device

[PATCH] iio:dac:ad5686: Add AD5310R support

2018-12-06 Thread Mircea Caprioru
From: Stefan Popa The AD5310R is a single channel DAC with 10-bit precision, which is part of the same family as AD5311R, except that it uses the spi interface instead of i2c. The device has a built-in 2.5V reference which is enabled by default. Another important difference is that the SPI

[Resend PATCH V5 0/10] x86/KVM/Hyper-v: Add HV ept tlb range flush hypercall support in KVM

2018-12-06 Thread lantianyu1986
From: Lan Tianyu For nested memory virtualization, Hyper-v doesn't set write-protect L1 hypervisor EPT page directory and page table node to track changes while it relies on guest to tell it changes via HvFlushGuestAddressLlist hypercall. HvFlushGuestAddressLlist hypercall provides a way to

[Resend PATCH V5 1/10] KVM: Add tlb_remote_flush_with_range callback in kvm_x86_ops

2018-12-06 Thread lantianyu1986
From: Lan Tianyu Add flush range call back in the kvm_x86_ops and platform can use it to register its associated function. The parameter "kvm_tlb_range" accepts a single range and flush list which contains a list of ranges. Signed-off-by: Lan Tianyu --- Change since v1: Change "end_gfn"

[Resend PATCH V5 3/10] x86/Hyper-v: Add trace in the hyperv_nested_flush_guest_mapping_range()

2018-12-06 Thread lantianyu1986
From: Lan Tianyu This patch is to trace log in the hyperv_nested_flush_ guest_mapping_range(). Signed-off-by: Lan Tianyu --- arch/x86/hyperv/nested.c| 1 + arch/x86/include/asm/trace/hyperv.h | 14 ++ 2 files changed, 15 insertions(+) diff --git

[Resend PATCH V5 2/10] x86/hyper-v: Add HvFlushGuestAddressList hypercall support

2018-12-06 Thread lantianyu1986
From: Lan Tianyu Hyper-V provides HvFlushGuestAddressList() hypercall to flush EPT tlb with specified ranges. This patch is to add the hypercall support. Reviewed-by: Michael Kelley Signed-off-by: Lan Tianyu --- Change sincd v4: - Expose function hyperv_fill_flush_guest_mapping_list()

[PATCH v3 2/2] staging: mt7621-spi: drop support for SPI mode 1/2/3

2018-12-06 Thread Chuanhong Guo
As explained in previous patch, this SPI controller seems to be tested on SPI flash only before mass production and some bits are swizzled under other SPI modes probably due to incorrect wiring inside the silicon. Drop implementation of SPI mode 1/2/3 since they are broken. Also drop

[PATCH v3 0/2] staging: mt7621-spi: drop broken SPI modes

2018-12-06 Thread Chuanhong Guo
This SPI controller seems to be tested on SPI flash only and SPI mode 1/2/3 and full-duplex mode is broken. (Details are in commit messages for the two patches.) This patchset drops those broken modes. Changes since v2: Send the two commit as a patchset fix code style complained by

[PATCH v3 1/2] staging: mt7621-spi: drop the broken full-duplex mode

2018-12-06 Thread Chuanhong Guo
According to John Crispin (aka blogic) on IRC on Nov 26 2018: so basically i made cs1 work for MTK/labs when i built the linkit smart for them. the req-sheet said that cs1 should be proper duplex spi. however 1) the core will always send 1 byte before any transfer, this is the

Re: [PATCH] Revert "Staging: iio: adt7316: Add an extra check for 'ret' equals to 0"

2018-12-06 Thread Dan Carpenter
On Wed, Dec 05, 2018 at 02:59:53PM -0700, Jeremy Fertic wrote: > On Thu, Dec 06, 2018 at 01:25:55AM +0530, Shreeya Patel wrote: > > On Tue, 2018-12-04 at 18:49 -0700, Jeremy Fertic wrote: > > > This reverts commit 00426e99789357dbff7e719a092ce36a3ce49d94. > > > > > > i2c_smbus_read_byte() returns

Re: [PATCH v2] staging: mt7621-spi: drop support for SPI mode 1/2/3

2018-12-06 Thread Chuanhong Guo
Chuanhong Guo 于2018年12月6日周四 下午7:19写道: > > As explained in previous patch, this SPI controller seems to be > tested on SPI flash only before mass production and some bits are > swizzled under other SPI modes probably due to incorrect wiring > inside the silicon. Drop implementation of SPI mode

Re: [PATCH v2] staging: mt7621-spi: drop support for SPI mode 1/2/3

2018-12-06 Thread John Crispin
On 06/12/2018 12:18, Chuanhong Guo wrote: As explained in previous patch, this SPI controller seems to be tested on SPI flash only before mass production and some bits are swizzled under other SPI modes probably due to incorrect wiring inside the silicon. Drop implementation of SPI mode 1/2/3

Re: [PATCH v2] staging: mt7621-spi: drop the broken full-duplex mode

2018-12-06 Thread Chuanhong Guo
Chuanhong Guo 于2018年12月6日周四 下午7:19写道: > > According to John Crispin (aka blogic) on IRC on Nov 26 2018: > so basically i made cs1 work for MTK/labs when i built > the linkit smart for them. the req-sheet said that cs1 should be proper > duplex spi. however >1) the core will always

[PATCH v2] staging: mt7621-spi: drop support for SPI mode 1/2/3

2018-12-06 Thread Chuanhong Guo
As explained in previous patch, this SPI controller seems to be tested on SPI flash only before mass production and some bits are swizzled under other SPI modes probably due to incorrect wiring inside the silicon. Drop implementation of SPI mode 1/2/3 since they are broken. Also drop

[PATCH v2] staging: mt7621-spi: drop the broken full-duplex mode

2018-12-06 Thread Chuanhong Guo
According to John Crispin (aka blogic) on IRC on Nov 26 2018: so basically i made cs1 work for MTK/labs when i built the linkit smart for them. the req-sheet said that cs1 should be proper duplex spi. however 1) the core will always send 1 byte before any transfer, this is the

[PATCH 2/2] staging: iio: adc: ad7192: Add clock output option

2018-12-06 Thread Mircea Caprioru
When using the internal clock the device has an option in which the clock output is available on MCLK2 pin. This patch adds a dt binding for enabling this property. Signed-off-by: Mircea Caprioru --- drivers/staging/iio/adc/ad7192.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-)

[PATCH 1/2] staging: iio: adc: ad7192: Add clock for external clock reference

2018-12-06 Thread Mircea Caprioru
This patch adds a clock to the state structure of ad7192 for getting the external clock frequency. This modifications is in accordance with clock framework dt bindings documentation. Signed-off-by: Mircea Caprioru --- drivers/staging/iio/adc/ad7192.c | 74 +---

Re: [PATCH 2/2] staging: greybus: Added space between string concatenated

2018-12-06 Thread Bryan O'Donoghue
On 05/12/2018 21:00, Sicilia Cristian wrote: It doesn't change the result string So why do it then ? ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Industrial automation goods

2018-12-06 Thread Contact
Dear friend, Good day. How are you? This is crystal from Kollewin Technology Co.,Limited. Glad to hear that you are on the market for the Siemens HMI, we specialize in this field for over 14 years, with full new original,1 year warranty. Also we resell some other well-known automation

HMI

2018-12-06 Thread Contact
Dear friend, Good day. How are you? This is crystal from Kollewin Technology Co.,Limited. Glad to hear that you are on the market for the Siemens HMI, we specialize in this field for over 14 years, with full new original,1 year warranty. Also we resell some other well-known automation