Re: [git pull] uaccess comedi compat

2020-06-03 Thread pr-tracker-bot
The pull request you sent on Wed, 3 Jun 2020 20:31:27 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git uaccess.comedi has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2e63f6ce7ed2c4ff83ba30ad9ccad422289a6c63 Thank you! -- Deet-doot-dot, I am a bot.

[PATCH v3 09/13] device core: Introduce multiple dma pfn offsets

2020-06-03 Thread Jim Quinlan
The new field in struct device 'dma_pfn_offset_map' is used to facilitate the use of multiple pfn offsets between cpu addrs and dma addrs. It subsumes the role of dev->dma_pfn_offset -- a uniform offset -- and designates the single offset a special case. of_dma_configure() is the typical manner

[PATCH v3 00/13] PCI: brcmstb: enable PCIe for STB chips

2020-06-03 Thread Jim Quinlan
v3: Commit "device core: Introduce multiple dma pfn offsets" Commit "arm: dma-mapping: Invoke dma offset func if needed" -- The above two commits have been squashed. More importantly, the code has been modified so that the functionality for multiple pfn offsets subsumes the use of

[git pull] uaccess comedi compat

2020-06-03 Thread Al Viro
comedi compat ioctls done saner (killing the single biggest pile of __get_user/__put_user outside of arch/* in process). The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136: Linux 5.7-rc1 (2020-04-12 12:35:55 -0700) are available in the git repository at:

Re: [RESEND PATCH v1 6/6] staging: greybus: audio: Enable GB codec, audio module compilation.

2020-06-03 Thread Vaibhav Agarwal
On Tue, Jun 02, 2020 at 03:57:15PM +0300, Dan Carpenter wrote: > On Tue, Jun 02, 2020 at 10:51:15AM +0530, Vaibhav Agarwal wrote: > > Currently, GB codec and audio module is conditionally compiled based on > > GREYBUS_AUDIO_MSM8994. However, audio module is not dependent on MSM8994 > > platform

HELLO: I AM MRS SUSAN JONES

2020-06-03 Thread Mrs.Susan Jones
-- OUR GOLDEN OPPORTUNITY Hello Dear Friend, Complement of the day, i hope you are doing great today. However, I am Mrs.Susan Jones, an auditor with one of the new generation banks here in Burkina Faso. I am writing you this letter based on the latest development at my Department. i discovered

HELLO: I AM MRS SUSAN JONES

2020-06-03 Thread Mrs.Susan Jones
-- OUR GOLDEN OPPORTUNITY Hello Dear Friend, Complement of the day, i hope you are doing great today. However, I am Mrs.Susan Jones, an auditor with one of the new generation banks here in Burkina Faso. I am writing you this letter based on the latest development at my Department. i discovered

[PATCH] Staging: rtl8723bs: prevent buffer overflow in update_sta_support_rate()

2020-06-03 Thread Dan Carpenter
The "ie_len" variable is in the 0-255 range and it comes from the network. If it's over NDIS_802_11_LENGTH_RATES_EX (16) then that will lead to memory corruption. Fixes: 554c0a3abf21 ("staging: Add rtl8723bs sdio wifi driver") Signed-off-by: Dan Carpenter ---

[PATCH 08/15] media: atomisp: get rid of a detection hack for a BYT Andorid-based tablet

2020-06-03 Thread Mauro Carvalho Chehab
There's a hack at the driver that selects a different table for a BYT tablet, which sets the maximum frequency to 320 MHz, instead of 400 MHz. After looking at the Intel Aero Yocto's version from: https://download.01.org/aero/deb/pool/main/l/linux-4.4.76-aero-1.3/ It was noticed that

[PATCH 12/15] media: atomisp: use different dfs failed messages

2020-06-03 Thread Mauro Carvalho Chehab
There are several parts of the driver that could produce a "dfs failed!" message. Change the texts, in order to help identifying from where they're coming. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/media/atomisp/pci/atomisp_cmd.c | 4 ++--

[PATCH 03/15] media: atomisp: get rid of a duplicated file

2020-06-03 Thread Mauro Carvalho Chehab
The contents of hive_isp_css_2401_irq_types_hrt.h and hive_isp_css_common/irq_global.h are identical, except for one unused enum: On isp2401, this IRQ line has this name: hrt_isp_css_irq_is2401 = HIVE_GP_DEV_IRQ_ISP_PMEM_ERROR_BIT_ID, While the same bit is named as:

[PATCH 00/15] More atomisp fixes and cleanups

2020-06-03 Thread Mauro Carvalho Chehab
Most of the code here is meant to make the IRQ handling code clearer, and the ISP frequency setting (DFS). There's a fix there at the DFS setting: right now, if the sensor doesn't provide the number of frames per second, DFS is kept on its minimal value, with will likely fail. The logic at patch

[PATCH 10/15] media: atomisp: use macros from intel-family.h

2020-06-03 Thread Mauro Carvalho Chehab
Instead of hardcoding the intel family values there, use the already defined ones from asm/intel-family.h. Signed-off-by: Mauro Carvalho Chehab --- .../media/atomisp/include/linux/atomisp_platform.h | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git

[PATCH 01/15] media: atomisp: improve IRQ handling debug messages

2020-06-03 Thread Mauro Carvalho Chehab
When an IRQ is not handled, it is nice to know what's the reason. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/media/atomisp/pci/atomisp_cmd.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c

[PATCH 13/15] media: atomisp: set DFS to MAX if sensor doesn't report fps

2020-06-03 Thread Mauro Carvalho Chehab
If the sensor doesn't implement support for g_frame_interval, it won't return the expected fps rate. Instead of keeping DFS on its minimal value (which will likely not work), set it to the max. Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/media/atomisp/pci/atomisp_cmd.c | 8

[PATCH 11/15] media: atomisp: change the detection of ISP2401 at runtime

2020-06-03 Thread Mauro Carvalho Chehab
Instead of having a static var to detect it, let's use the already-existing arch-specific bytes, as this is how other parts of the code also checks when it needs to do something different, depending on an specific chipset version. Signed-off-by: Mauro Carvalho Chehab ---

[PATCH 05/15] media: atomisp: simplify IRQ ifdef logic

2020-06-03 Thread Mauro Carvalho Chehab
There are lots of mess with IRQ ifdef settings. As the *_global.h will already detect the type of IRQ system at compile time, we can get rid of them, replacing by just one ifdef for ISP2401. Signed-off-by: Mauro Carvalho Chehab --- .../pci/hive_isp_css_common/isp_global.h | 10 ++

[PATCH 14/15] media: atomisp: use strscpy() instead of less secure variants

2020-06-03 Thread Mauro Carvalho Chehab
Replace usages of strcpy(), strlcpy() and strncpy() in favor of strscpy(). Suggested-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- drivers/staging/media/atomisp/pci/atomisp_file.c | 2 +- .../media/atomisp/pci/atomisp_gmin_platform.c| 2 +-

[PATCH 06/15] media: atomisp: remove some unused defines from *mamoiada_params.h

2020-06-03 Thread Mauro Carvalho Chehab
There are some parameters that are different between isp2400 and isp2401. None of those are actually used. So, get rid of them. Signed-off-by: Mauro Carvalho Chehab --- .../hrt/isp2400_mamoiada_params.h | 20 +-- .../atomisp/pci/isp2401_mamoiada_params.h | 20

[PATCH 15/15] media: atomisp: get rid of a string_support.h abstraction layer

2020-06-03 Thread Mauro Carvalho Chehab
Some parts of the driver have their own implementation of memcpy() & friends. Replace all of them by strscpy(). Signed-off-by: Mauro Carvalho Chehab --- .../pci/hive_isp_css_include/string_support.h | 165 -- .../ctc/ctc_1.0/ia_css_ctc_table.host.c | 3 +-

[PATCH 02/15] media: atomisp: do some cleanup at irq_local.h

2020-06-03 Thread Mauro Carvalho Chehab
- Get rid of typedefs; - Get rid of a duplicated enum type with different names for ISP2400 and ISP2401; - adjust indentation on the touched code. Signed-off-by: Mauro Carvalho Chehab --- .../pci/hive_isp_css_common/host/irq.c| 29 +--

[PATCH 04/15] media: atomisp: get rid of ifdef nonsense

2020-06-03 Thread Mauro Carvalho Chehab
There are some ifdefs there that end doing the same thing. Get rid of them. Signed-off-by: Mauro Carvalho Chehab --- .../atomisp/pci/isp2400_input_system_local.h | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git

[PATCH 09/15] media: atomisp: don't set hpll_freq twice with different values

2020-06-03 Thread Mauro Carvalho Chehab
The logic which sets the hpll_freq for BYT sets hpll_freq to 1600MHz, but ignores it, and sets it again after reading from-device-specific EFI vars (this time, using a default of 2000MHz). Remove the first set, as this will be overriden anyway. While here, do minor adjustments on comments and on

[PATCH 07/15] media: atomisp: use just one mamoiada_params.h

2020-06-03 Thread Mauro Carvalho Chehab
As both isp2400 and isp2401 files are identical, remove one of them and remove the test for ISP variant. Signed-off-by: Mauro Carvalho Chehab --- .../pci/hive_isp_css_common/isp_global.h | 6 +- .../atomisp/pci/isp2401_mamoiada_params.h | 211 --