[PATCH v2 2/7] soc: qcom: Add AOSS QMP communication driver

2019-01-06 Thread Bjorn Andersson
The AOSS QMP driver is used to communicate with the AOSS for certain side-channel requests, that are not enabled through the RPMh interface. The communication is a very simple synchronous mechanism of messages being written in message RAM and a doorbell in the AOSS is rung. As the AOSS has

[PATCH v2 0/7] Qualcomm AOSS QMP side channel binding and driver

2019-01-06 Thread Bjorn Andersson
Add binding and driver for the QMP based side-channel communication mechanism to the AOSS, which is used to control resources not exposed through the RPMh interface. Currently implemented is a genpd provider, but pending some improvements in the thermal framework a cooling device will be added at

Re: [PATCH 2/5] PM / hibernate: Generate and verify signature for snapshot image

2019-01-06 Thread Stephan Mueller
Am Donnerstag, 3. Januar 2019, 15:32:24 CET schrieb Lee, Chun-Yi: Hi Chun, > +int snapshot_image_verify_decrypt(void) > +{ > + int ret, i; > + > + if (!h_buf) { > + ret = -ENOMEM; > + goto error; > + } > + > + ret = snapshot_key_init(); > + if (ret) >

[PATCH v2 6/7] amba: Allow pclk to be controlled by power domain

2019-01-06 Thread Bjorn Andersson
On the Qualcomm SDM845 platform the apb_pclk is controlled as part of the QDSS power/clock domain. Handle this by allowing amba to operate without direct apb_pclk control, when a powerdomain is attached and no clock is described. Signed-off-by: Bjorn Andersson --- Changes since v1: - New patch

[PATCH v2 1/7] dt-bindings: soc: qcom: Add AOSS QMP binding

2019-01-06 Thread Bjorn Andersson
Add binding for the QMP based side-channel communication mechanism to the AOSS, which is used to control resources not exposed through the RPMh interface. Signed-off-by: Bjorn Andersson --- Changes since v1: - Don't describe power-domain as a separate child node

[PATCH v2 4/7] remoteproc: q6v5-mss: Vote for rpmh power domains

2019-01-06 Thread Bjorn Andersson
From: Rajendra Nayak With rpmh ARC resources being modelled as power domains with performance state, we need to proxy vote on these for SDM845. Add support to vote on multiple of them, now that genpd supports associating mutliple power domains to a device. Signed-off-by: Rajendra Nayak [bjorn:

[(RFC) PATCH v2 7/7] soc: qcom: aoss-qmp: Add cooling device support

2019-01-06 Thread Bjorn Andersson
The AOSS provides three cooling devices "cx", "mx" and "ebi" that must be enabled when temperature goes below a certain level to counter low temperature issues. Probe these devices, when described in DeviceTree. Signed-off-by: Bjorn Andersson --- We do not yet have the necessary support in the

[PATCH v2 5/7] remoteproc: q6v5-mss: Active powerdomain for SDM845

2019-01-06 Thread Bjorn Andersson
The SDM845 MSS needs the load_state powerdomain voted for during the duration of the MSS being powered on, to let the AOSS know that it may not perform certain power save measures. So vote for this. Signed-off-by: Bjorn Andersson --- Changes since v1: - New patch

[PATCH v2 3/7] soc: qcom: Add AOSS QMP genpd provider

2019-01-06 Thread Bjorn Andersson
The AOSS QMP genpd provider implements control over power-related resources related to low-power state associated with the remoteprocs in the system as well as control over a set of clocks related to debug hardware in the SoC. Signed-off-by: Bjorn Andersson --- Changes since v1: - Drop

Re: [PATCH 1/5 v2] PM / hibernate: Create snapshot keys handler

2019-01-06 Thread Stephan Mueller
Am Donnerstag, 3. Januar 2019, 15:32:23 CET schrieb Lee, Chun-Yi: Hi Chun, > This patch adds a snapshot keys handler for using the key retention > service api to create keys for snapshot image encryption and > authentication. > > This handler uses TPM trusted key as the snapshot master key, and

[PATCH] rtc: cmos: ignore bogus century byte

2019-01-06 Thread Eric Wong
Older versions of Libreboot and Coreboot had an invalid value (`3' in my case) in the century byte affecting the GM45 in the Thinkpad X200. Not everybody's updated their firmwares, and Linux <= 4.2 was able to read the RTC without problems, so workaround this by ignoring invalid values. Fixes:

Re: [PATCH 3/5] PM / hibernate: Encrypt snapshot image

2019-01-06 Thread Stephan Mueller
Am Donnerstag, 3. Januar 2019, 15:32:25 CET schrieb Lee, Chun-Yi: Hi Chun, > To protect the secret in memory snapshot image, this patch adds the > logic to encrypt snapshot pages by AES-CTR. Using AES-CTR is because > it's simple, fast and parallelizable. But this patch didn't implement >

Re: [PATCH 1/5 v2] PM / hibernate: Create snapshot keys handler

2019-01-06 Thread Stephan Mueller
Am Sonntag, 6. Januar 2019, 09:01:27 CET schrieb Stephan Mueller: Hi, > > + memcpy(skey.key, ukp->data, ukp->datalen); > > Where would skey.key be destroyed again? Now I see it - it is in patch 4. Please disregard my comment. Ciao Stephan

[PATCH lora-next 09/11] net: lora: sx130x: Mark AGCSTS register as volatile

2019-01-06 Thread Andreas Färber
AGC status register reads should not be cached. Sort the volatile registers by number while at it. Cc: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/lora/sx130x.c

[PATCH lora-next 11/11] net: lora: sx130x: Enable regmap caching

2019-01-06 Thread Andreas Färber
To fix performance penalties compared to pre-regmap field code, enable caching. Note: This has been tested to not regress on spi-gpio, with no improvement on spi-sun6i for clk_prepare() locking issue. Cc: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 2 +- 1 file

[PATCH lora-next 10/11] net: lora: sx130x: Mark MCU_CTRL register as volatile

2019-01-06 Thread Andreas Färber
For reasons as of yet unknown, this is necessary to unbreak ARB firmware version check. Cc: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/lora/sx130x.c b/drivers/net/lora/sx130x.c index

[PATCH lora-next 03/11] net: lora: sx130x: Revert drop of sx1301_soft_reset()

2019-01-06 Thread Andreas Färber
Ben's regmap field conversion patch silently dropped my sx1301_soft_reset() helper. Soft reset is a special operation, so restore this function as sx130x_soft_reset(). To be squashed. Cc: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 7 ++- 1 file changed, 6

[PATCH lora-next 05/11] net: lora: sx130x: Fix regmap field toggles

2019-01-06 Thread Andreas Färber
When toggling the value of a regmap field, such as for F_RADIO_RST or F_EMERGENCY_FORCE_HOST_CTRL, we need to ensure it gets written out. Sadly the timing of the writes got lost in the regmap field conversion. Introduce an sx130x_field_force_write() helper for this. While at it, make trivial

[PATCH lora-next 00/11] net: lora: sx130x: Fixes for enabling regcache

2019-01-06 Thread Andreas Färber
Hello, This series fixes a number of issues that stood in the way of enabling the regmap cache for SX130x. It goes on to enable REGCACHE_RBTREE. 1) Soft reset needs special treatment. 2) More registers need to be treated as volatile. 3) Some register field writes need to be forced. This

[PATCH lora-next 06/11] net: lora: sx130x: Force regmap field write before sleep

2019-01-06 Thread Andreas Färber
Ensure timing is as expected by forcing a register write before waiting on its outcome. Cc: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/lora/sx130x.c b/drivers/net/lora/sx130x.c index

[PATCH lora-next 07/11] net: lora: sx130x: Force regmap field writes before function boundaries

2019-01-06 Thread Andreas Färber
As a cautionary step, force writing out registers before calling helpers or returning. Cc: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/lora/sx130x.c

Re: Yes: The linux devs can rescind their license grant. GPLv2 is a bare license and is revocable by

2019-01-06 Thread vnsndalce
That may be OpenBSD policy, but it is not the law. Your OpenBSD policy cannot bind the copyright holder of the works you distribute. It's also an incorrect statement of the law. If the copyright holder did not receive consideration/payment/etc from you: you have no interest to bind him with.

[PATCH lora-next 04/11] net: lora: sx130x: Fix soft reset

2019-01-06 Thread Andreas Färber
The soft reset bit is volatile. As it lives in the frequently accessed page register, refrain from marking the register as volatile and instead bypass the cache for this one write. Mark the cache as dirty afterwards. This does not appear to clear it, so manually drop the whole cache. If we don't

[PATCH lora-next 01/11] net: lora: sx125x: Abort on wrong version

2019-01-06 Thread Andreas Färber
This helps detect issues such as the concentrator being in reset. Enhance error output while at it. Signed-off-by: Andreas Färber --- drivers/net/lora/sx125x.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/lora/sx125x.c b/drivers/net/lora/sx125x.c index

[PATCH lora-next 08/11] net: lora: sx130x: Force regmap field write before reading status

2019-01-06 Thread Andreas Färber
Ensure that the F_FORCE_HOST_RADIO_CTRL field gets written before we read the AGC status register. Otherwise it returns status 01 instead of 87. Cc: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH lora-next 02/11] net: lora: sx130x: Fix error codes

2019-01-06 Thread Andreas Färber
Use of -ENXIO results in a misleading error message from ip command: RTNETLINK answers: No such device or address Switch to -EIO for more accurate description: RTNETLINK answers: Input/output error Signed-off-by: Andreas Färber --- drivers/net/lora/sx130x.c | 10 +- 1 file

Re: [PATCH] mm: Expose lazy vfree pages to control via sysctl

2019-01-06 Thread Ashish Mhetre
Matthew, this issue was last reported in September 2018 on K4.9. I verified that the optimization patches mentioned by you were not present in our downstream kernel when we faced the issue. I will check whether issue still persist on new kernel with all these patches and come back. On

Threats of "blackballing" from industry if copyright-holders rescind.

2019-01-06 Thread vnsndalce
lol, you people are idiots. In a time where you can and will be fired and ruined for ticking the wrong box, rescinding your code from a project such as the linux kernel will just blackball you from the entire industry forever. For good reason too. I wouldn't play with someone who takes the

Re: [PATCH 0/2] parisc: Unify the system call scripts

2019-01-06 Thread Helge Deller
On 02.01.19 17:02, Firoz Khan wrote: > System call table generation support is provided for > alpha, ia64, m68k, microblaze, mips, parisc, powerpc, > sh, sparc and xtensa architectures. The implementat- > ions are almost similar across all the above archte- > ctures. In order to reduce the source

Re: [PATCH 2/2] fbdev: fbmem: add config option to center the bootup logo

2019-01-06 Thread Geert Uytterhoeven
Hi Peter, On Mon, Nov 26, 2018 at 10:59 PM Peter Rosin wrote: > If there are extra logos (CONFIG_FB_LOGO_EXTRA) the heights of these > extra logos are not considered when centering the first logo vertically. > > Signed-off-by: Peter Rosin > --- a/drivers/video/logo/Kconfig > +++

Re: [PATCH] Elantech Touchpad: Fix Elantech touchpad and trackpoint for Lenovo ThinkPad notebooks.

2019-01-06 Thread Kai Heng Feng
Hi Benjamin, > On Dec 29, 2018, at 1:53 AM, Philipp Kaelin wrote: > > Initial situation: > - The touchpad of a Lenovo ThinkPad L580 doesn't work with newer kernel > versions eg. 4.20 > - It used to work on earlier versions eg. 4.14 > > Cause: > - The elantech driver was adapted in to support

Re: [PATCH] arm64: dts: hikey: Give wifi some time after power-on

2019-01-06 Thread Jan Kiszka
On 03.01.19 22:32, Ulf Hansson wrote: On Wed, 2 Jan 2019 at 23:21, John Stultz wrote: Adding a few folks to cc from the thread here: https://patchwork.kernel.org/patch/10734021/ As this sounds like a very similar issue. thanks -john John, thanks for looping me in. On Sun, Dec 30, 2018

Re: [PATCH] iio: chemical: sps30: allow changing self cleaning period

2019-01-06 Thread Tomasz Duszynski
On Sat, Jan 05, 2019 at 04:54:47PM +, Jonathan Cameron wrote: > On Wed, 26 Dec 2018 20:30:35 +0100 > Tomasz Duszynski wrote: > > > Sensor can periodically trigger self cleaning. Period can be changed by > > writing a new value to a dedicated attribute. Upon attribute read > > triplet

Re: [PATCH v2] netfilter: account ebt_table_info to kmemcg

2019-01-06 Thread Kirill Tkhai
On 03.01.2019 06:14, Shakeel Butt wrote: > The [ip,ip6,arp]_tables use x_tables_info internally and the underlying > memory is already accounted to kmemcg. Do the same for ebtables. The > syzbot, by using setsockopt(EBT_SO_SET_ENTRIES), was able to OOM the > whole system from a restricted memcg, a

Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged

2019-01-06 Thread Kevin Easton
On Sat, Jan 05, 2019 at 01:54:03PM -0800, Linus Torvalds wrote: > On Sat, Jan 5, 2019 at 12:43 PM Jiri Kosina wrote: > > > > > Who actually _uses_ mincore()? That's probably the best guide to what > > > we should do. Maybe they open the file read-only even if they are the > > > owner, and we

Re: [PATCH] keyboard/mtk-pmic-keys.c: Remove duplicate header

2019-01-06 Thread Souptick Joarder
On Sat, Jan 5, 2019 at 10:39 AM Brajeswar Ghosh wrote: > > Remove linux/kernel.h which is included more than once > > Signed-off-by: Brajeswar Ghosh Acked-by: Souptick Joarder > --- > drivers/input/keyboard/mtk-pmic-keys.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git

Re: [PATCH] drivers/bus/fsl-mc/dpbp.c: Remove duplicate header

2019-01-06 Thread Souptick Joarder
On Sat, Jan 5, 2019 at 10:23 AM Brajeswar Ghosh wrote: > > On Wed, Dec 5, 2018 at 12:10 PM Brajeswar Ghosh > wrote: > > > > On Fri, Nov 16, 2018 at 8:47 PM Brajeswar Ghosh > > wrote: > > > > > > On Fri, Nov 9, 2018 at 3:21 PM Brajeswar Ghosh > > > wrote: > > > > > > > > Remove linux/fsl/mc.h

Re: [GIT PULL] arch/h8300 update

2019-01-06 Thread Yoshinori Sato
On Sun, 06 Jan 2019 04:40:55 +0900, Linus Torvalds wrote: > > On Sat, Jan 5, 2019 at 1:34 AM Yoshinori Sato > wrote: > > > > git://git.sourceforge.jp/gitroot/uclinux-h8/linux.git tags/for-4.21 > > New signing key? Yes. My previous key was made more than 10 years ago, and it is not strong

Re: INFO: rcu detected stall in ndisc_alloc_skb

2019-01-06 Thread Dmitry Vyukov
On Sat, Jan 5, 2019 at 11:49 AM Tetsuo Handa wrote: > > On 2019/01/03 2:06, Tetsuo Handa wrote: > > On 2018/12/31 17:24, Dmitry Vyukov wrote: > Since this involves OOMs and looks like a one-off induced memory > corruption: > > #syz dup: kernel panic: corrupted stack end in

Re: [PATCH] perf stat: Poll for monitored tasks being alive in fork mode

2019-01-06 Thread Jiri Olsa
On Sat, Jan 05, 2019 at 11:16:40AM +0800, Jin, Yao wrote: > > > On 1/4/2019 8:54 PM, Jiri Olsa wrote: > > On Fri, Jan 04, 2019 at 10:28:17AM +0800, Jin Yao wrote: > > > Following test shows the stat keeps running even if no longer > > > task to monitor (mgen exits at ~5s). > > > > > > perf stat

KASAN: stack-out-of-bounds Read in check_stack_object

2019-01-06 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:3fed6ae4b027 ia64: fix compile without swiotlb git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=161ce1d740 kernel config: https://syzkaller.appspot.com/x/.config?x=7308e68273924137 dashboard link:

[PATCH] RISCV:IRQ: Support IRQ_WORK interrupts with self IPI

2019-01-06 Thread G SatishKumar
This patch adds, IRQ Work interrupts support to RISCV arch. This patch is based on the arm32 patch ARM 7872/1 which ports cleanly. Done set of changes based on RISCV SMP process. commit bf18525fd793 ("ARM: 7872/1: Support arch_irq_work_raise()

[RFC PATCH 1/4] X.509: Parse public key parameters from x509 for akcipher

2019-01-06 Thread Vitaly Chikunov
Some public key algorithms (like ECDSA) keep in parameters field important data such as digest and curve OIDs (possibly more for different ECDSA variants). Thus, just setting a public key (as for RSA) is not enough. Introduce set_params() callback for akcipher which will be used to pass DER

[RFC PATCH 2/4] akcipher: Introduce verify2 for public key algorithms

2019-01-06 Thread Vitaly Chikunov
Current akcipher .verify() just decrypts signature to uncover message hash, which is then verified in upper level public_key_verify_signature by memcmp with the expected signature value, which is never passed into verify(). This approach is incompatible with ECDSA algorithms, because, to verify a

[RFC PATCH 4/4] crypto: Add EC-RDSA algorithm

2019-01-06 Thread Vitaly Chikunov
Add Elliptic Curve Russian Digital Signature Algorithm (GOST R 34.10-2012, RFC 7091, ISO/IEC 14888-3) is one of the Russian (and since 2018 the CIS countries) cryptographic standard algorithms (called GOST algorithms). Only signature verification is supported, with intent to be used in the IMA.

[RFC PATCH 3/4] KEYS: set correct flags for keyctl if encrypt is not supported

2019-01-06 Thread Vitaly Chikunov
Signed-off-by: Vitaly Chikunov --- crypto/asymmetric_keys/public_key.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crypto/asymmetric_keys/public_key.c b/crypto/asymmetric_keys/public_key.c index 51dc1c858c7c..382cf67f510e 100644 ---

[RFC PATCH 0/4] crypto: Add EC-RDSA algorithm

2019-01-06 Thread Vitaly Chikunov
This patchset changes akcipher api to support ECDSA style signature verification. Augments x509 parser to make it work with EC-RDSA certificates. And finally implements EC-RDSA (GOST 34.10) signature verification. It is intended to use in IMA for appraisal. Tested on x86_64 with

[GIT PULL] ext4 bug fixes for 4.21

2019-01-06 Thread Theodore Y. Ts'o
The following changes since commit 18f2c4fcebf2582f96cbd5f2238f4f354a0e4847: ext4: check for shutdown and r/o file system in ext4_write_inode() (2018-12-19 14:36:58 -0500) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git

Re: INFO: rcu detected stall in ndisc_alloc_skb

2019-01-06 Thread Tetsuo Handa
On 2019/01/06 22:24, Dmitry Vyukov wrote: >> A report at 2019/01/05 10:08 from "no output from test machine (2)" >> ( https://syzkaller.appspot.com/text?tag=CrashLog=1700726f40 ) >> says that there are flood of memory allocation failure messages. >> Since continuous memory allocation failure

Re: KASAN: stack-out-of-bounds Read in check_stack_object

2019-01-06 Thread Dmitry Vyukov
On Sun, Jan 6, 2019 at 2:31 PM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:3fed6ae4b027 ia64: fix compile without swiotlb > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=161ce1d740 > kernel config:

[GIT PULL] fscrypt update for 4.21

2019-01-06 Thread Theodore Y. Ts'o
The following changes since commit 7beb01f74415c56f5992922b5b902b45d365e694: f2fs: clean up f2fs_sb_has_##feature_name (2018-11-26 15:53:55 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/fscrypt.git tags/fscrypt_for_linus for you to

Re: [PATCH] perf stat: Poll for monitored tasks being alive in fork mode

2019-01-06 Thread Jin, Yao
On 1/6/2019 9:25 PM, Jiri Olsa wrote: On Sat, Jan 05, 2019 at 11:16:40AM +0800, Jin, Yao wrote: On 1/4/2019 8:54 PM, Jiri Olsa wrote: On Fri, Jan 04, 2019 at 10:28:17AM +0800, Jin Yao wrote: Following test shows the stat keeps running even if no longer task to monitor (mgen exits at

[PATCH 0/2] binderfs: fixes

2019-01-06 Thread Christian Brauner
Hey, This small series deals with two fix/improvements for binderfs. And both actually allows us to remove code. *Yay!* The first patch removes an unneeded and conceptually wrong kern_mount() call for binderfs. I think this even might have been pointed out at some point by Greg. I'm not sure

[PATCH 1/2] binderfs: remove wrong kern_mount() call

2019-01-06 Thread Christian Brauner
The binderfs filesystem never needs to be mounted by the kernel itself. This is conceptually wrong and should never have been done in the first place. Fixes: 3ad20fe393b ("binder: implement binderfs") Signed-off-by: Christian Brauner --- drivers/android/binderfs.c | 10 -- 1 file

[PATCH 2/2] binderfs: make each binderfs mount a new instance

2019-01-06 Thread Christian Brauner
When currently mounting binderfs in the same ipc namespace twice: mount -t binder binder /A mount -t binder binder /B then the binderfs instances mounted on /A and /B will be the same, i.e. they will have the same superblock. This was the first approach that seemed reasonable. However, this

Re: [PATCH v2] hpet: Fix missing '=' character in the __setup() code of hpet_mmap_enable

2019-01-06 Thread Buland Singh
On 12/21/18 6:16 PM, Greg KH wrote: On Fri, Dec 21, 2018 at 05:48:38PM +0530, Buland Singh wrote: On 12/20/18 7:39 PM, Greg KH wrote: On Thu, Dec 20, 2018 at 07:12:55PM +0530, Buland Singh wrote: On 12/20/18 5:59 PM, Greg KH wrote: On Thu, Dec 20, 2018 at 05:35:24PM +0530, Buland Singh

Re: [PATCH 4/4] arm64: dts: rockchip: add video codec for rk3399

2019-01-06 Thread Ezequiel Garcia
Hi Randy, Thanks a lot for this patches. They are really useful to provide more insight into the VPU hardware. This change will make the vpu encoder and vpu decoder completely independent, can they really work in parallel? Could you provide more details about what is shared between these

Re: KASAN: stack-out-of-bounds Read in check_stack_object

2019-01-06 Thread Tetsuo Handa
On 2019/01/06 22:48, Dmitry Vyukov wrote: > On Sun, Jan 6, 2019 at 2:31 PM syzbot > wrote: >> >> Hello, >> >> syzbot found the following crash on: >> >> HEAD commit:3fed6ae4b027 ia64: fix compile without swiotlb >> git tree: upstream >> console output:

Re: [RFC net-next 11/15] net: lora: Add IMST WiMOD

2019-01-06 Thread Heinrich Schuchardt
On 7/1/18 1:08 PM, Andreas Färber wrote: > The IMST WiMOD uses a SLIP based binary UART protocol. Two separate > firmwares are available. By default it ships with a LoRaWAN firmware. > The alternative firmware is a custom P2P addressing mode based on LoRa. > > Cc: Jon Ortego > Signed-off-by:

Re: [PATCH 4/4] arm64: dts: rockchip: add video codec for rk3399

2019-01-06 Thread Ayaka
> On Jan 6, 2019, at 10:22 PM, Ezequiel Garcia wrote: > > Hi Randy, > > Thanks a lot for this patches. They are really useful > to provide more insight into the VPU hardware. > > This change will make the vpu encoder and vpu decoder > completely independent, can they really work in parallel?

Re: [PATCH 4/4] arm64: dts: rockchip: add video codec for rk3399

2019-01-06 Thread Ayaka
> On Jan 6, 2019, at 10:22 PM, Ezequiel Garcia wrote: > > Hi Randy, > > Thanks a lot for this patches. They are really useful > to provide more insight into the VPU hardware. > > This change will make the vpu encoder and vpu decoder > completely independent, can they really work in parallel?

Re: KASAN: stack-out-of-bounds Read in check_stack_object

2019-01-06 Thread Dmitry Vyukov
On Sun, Jan 6, 2019 at 3:37 PM Tetsuo Handa wrote: > > On 2019/01/06 22:48, Dmitry Vyukov wrote: > > On Sun, Jan 6, 2019 at 2:31 PM syzbot > > wrote: > >> > >> Hello, > >> > >> syzbot found the following crash on: > >> > >> HEAD commit:3fed6ae4b027 ia64: fix compile without swiotlb > >> git

Re: Generic RGB LED support was Re: [PATCH 2/2] leds: lp5024: Add the LP5024/18 RGB LED driver

2019-01-06 Thread Jacek Anaszewski
Hi Pavel, On 1/5/19 11:12 PM, Pavel Machek wrote: Hi! Grab yourself an RGB LED and play with it; you'll see what the problems are. It is hard to explain colors over email... Video [0] gives some overview of lp5024 capabilities. I don't see any problems in exposing separate red,green,blue

Re: [PATCH] perf stat: Poll for monitored tasks being alive in fork mode

2019-01-06 Thread Jiri Olsa
On Sun, Jan 06, 2019 at 10:02:18PM +0800, Jin, Yao wrote: SNIP > > --- > > diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c > > index acfd48db52dd..c322cb271180 100644 > > --- a/tools/perf/builtin-stat.c > > +++ b/tools/perf/builtin-stat.c > > @@ -583,6 +583,14 @@ static int

[PATCH v4 4/6] usb: gadget: add mechanism to specify an explicit status stage

2019-01-06 Thread Paul Elder
A usb gadget function driver may or may not want to delay the status stage of a control OUT request. An instance where it might want to is to asynchronously validate the data of a class-specific request. A function driver that wants an explicit status stage should set the newly added

[PATCH v4 5/6] usb: musb: gadget: implement optional explicit status stage

2019-01-06 Thread Paul Elder
Implement the mechanism for optional explicit status stage for the MUSB driver. This allows a function driver to specify what to reply for the status stage. The functionality for an implicit status stage is retained. Signed-off-by: Paul Elder v1 Reviewed-by: Laurent Pinchart v1 Acked-by: Bin

[PATCH v4 0/6] usb: gadget: add mechanism to asynchronously validate data stage of ctrl out request

2019-01-06 Thread Paul Elder
This patch series adds a mechanism to allow asynchronously validating the data stage of a control OUT request, and for stalling or suceeding the request accordingly. This mechanism is implemented for MUSB, and is used by UVC. At the same time, UVC packages the setup stage and data stage data

[PATCH v4 3/6] usb: gadget: uvc: package setup and data for control OUT requests

2019-01-06 Thread Paul Elder
Since "usb: gadget: uvc: enqueue uvc_request_data in setup handler for control OUT requests" it is no longer necessary for userspace to call ioctl UVCIOC_SEND_RESPONSE in response to receiving a UVC_EVENT_SETUP from the uvc function driver for a control OUT request. This change means that for

[PATCH v4 2/6] usb: gadget: uvc: enqueue usb request in setup handler for control OUT

2019-01-06 Thread Paul Elder
Currently, for uvc class-specific control IN and OUT requests, in the setup handler a UVC_EVENT_SETUP with the setup control is enqueued to userspace. In response to this, the uvc function driver expects userspace to call ioctl UVCIOC_SEND_RESPONSE containing uvc request data. In the case of

[PATCH v4 1/6] usb: uvc: include videodev2.h in g_uvc.h

2019-01-06 Thread Paul Elder
V4L2_EVENT_PRIVATE_START is used in g_uvc.h but is defined in videodev2.h, which is not included and causes a compiler warning: linux/usb/g_uvc.h:15:28: error: ‘V4L2_EVENT_PRIVATE_START’ undeclared here (not in a function) #define UVC_EVENT_FIRST (V4L2_EVENT_PRIVATE_START + 0) Include

[PATCH v4 6/6] usb: gadget: uvc: allow ioctl to send response in status stage

2019-01-06 Thread Paul Elder
We now have a mechanism to signal the UDC driver to reply to a control OUT request with STALL or ACK, and we have packaged the setup stage data and the data stage data of a control OUT request into a single UVC_EVENT_DATA for userspace to consume. The ioctl UVCIOC_SEND_RESPONSE in the case of a

Re: [PATCH 4/4] arm64: dts: rockchip: add video codec for rk3399

2019-01-06 Thread Ezequiel Garcia
On Sun, 2019-01-06 at 23:05 +0800, Ayaka wrote: > > On Jan 6, 2019, at 10:22 PM, Ezequiel Garcia wrote: > > > > Hi Randy, > > > > Thanks a lot for this patches. They are really useful > > to provide more insight into the VPU hardware. > > > > This change will make the vpu encoder and vpu

Re: [PATCH 4/4] arm64: dts: rockchip: add video codec for rk3399

2019-01-06 Thread Ayaka
Sent from my iPad > On Jan 7, 2019, at 12:04 AM, Ezequiel Garcia wrote: > > On Sun, 2019-01-06 at 23:05 +0800, Ayaka wrote: >>> On Jan 6, 2019, at 10:22 PM, Ezequiel Garcia wrote: >>> >>> Hi Randy, >>> >>> Thanks a lot for this patches. They are really useful >>> to provide more insight

[PATCH] v2 staging: rtl8723bs: Clean up dead code

2019-01-06 Thread Aditya Pakki
rtw_wps_start() is part of dead code due to CONFIG_INTEL_WIDI. The fix removes the deadcode and replaces the function with NULL in rtw_private_handler. Identified as part of copy_from_user bug. Signed-off-by: Aditya Pakki --- .../staging/rtl8723bs/os_dep/ioctl_linux.c| 34

Re: [PATCH v3 2/2] drm/panel: Add Feiyang FY07024DI26A30-D MIPI-DSI LCD panel

2019-01-06 Thread Jagan Teki
On Thu, Dec 20, 2018 at 10:34 PM Sean Paul wrote: > > On Tue, Dec 18, 2018 at 05:06:38PM +0530, Jagan Teki wrote: > > On Sat, Dec 15, 2018 at 3:32 AM Sean Paul wrote: > > > > > > On Sat, Dec 15, 2018 at 02:11:01AM +0530, Jagan Teki wrote: > > > > Feiyang FY07024DI26A30-D is 1024x600, 4-lane

Re: [PATCH v5 07/17] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2019-01-06 Thread Jagan Teki
On Fri, Dec 21, 2018 at 2:26 AM Jagan Teki wrote: > > On Tue, Dec 11, 2018 at 10:19 PM Maxime Ripard > wrote: > > > > On Mon, Dec 10, 2018 at 09:47:19PM +0530, Jagan Teki wrote: > > > Video start delay can be computed by subtracting total vertical > > > timing with front porch timing and with

Re: [PATCH v5 2/6] media: sun6i: Add mod_rate quirk

2019-01-06 Thread Jagan Teki
On Mon, Dec 24, 2018 at 8:57 PM Jagan Teki wrote: > > On Fri, Dec 21, 2018 at 6:30 PM Maxime Ripard > wrote: > > > > On Thu, Dec 20, 2018 at 06:24:34PM +0530, Jagan Teki wrote: > > > Unfortunately default CSI_SCLK rate cannot work properly to > > > drive the connected sensor interface,

[PATCH] [v2] ALSA: ice1712: fix a missing check of snd_i2c_sendbytes

2019-01-06 Thread Aditya Pakki
snd_i2c_sendbytes could fail. The fix checks its return value: if it fails, issues an error message and returns with its error code. Signed-off-by: Aditya Pakki --- sound/pci/ice1712/ews.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sound/pci/ice1712/ews.c

Re: [PATCH v6 2/2] drm/panel: Add Sitronix ST7701 panel driver

2019-01-06 Thread Jagan Teki
On Sat, Dec 15, 2018 at 2:16 AM Jagan Teki wrote: > > ST7701 designed for small and medium sizes of TFT LCD display, is > capable of supporting up to 480RGBX864 in resolution. It provides > several system interfaces like MIPI/RGB/SPI. > > Currently added support for Techstar TS8550B which is

Re: [PATCH v3 0/4] input: touchscreen: Add goodix GT5553 CTP support

2019-01-06 Thread Jagan Teki
On Sat, Dec 15, 2018 at 8:48 PM Jagan Teki wrote: > > This patchset support goodix GT5553 CTP. > > Changes for v3: > - add cover-letter > - s/ADVV28/AVDD28 on commit head > - fix few typo > Changes for v2: > - Rename vcc-supply with AVDD28-supply > - disable regulator in remove > - fix to setup

Re: [PATCH net 1/4] umh: add exit routine for UMH process

2019-01-06 Thread David Miller
From: Taehee Yoo Date: Sun, 6 Jan 2019 14:34:52 +0900 > How about adding a new PF_UMH flag for task_struct->flags to identify > UMH process? > By using this flag, the exit_umh() can avoid unnecessary lookups. Yes, that might be more efficient and eliminate the high cost for non-UMH tasks.

[PATCH] [v2] ALSA: line6: fix check on snd_card_register

2019-01-06 Thread Aditya Pakki
The fix checks if snd_card_register() fails, and if so logs the error via dev_err() consistent with other patches. Signed-off-by: Aditya Pakki --- sound/usb/line6/pod.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/usb/line6/pod.c b/sound/usb/line6/pod.c index

[PATCH] [v2] ALSA: isa: fix a missing check of snd_ctl_add

2019-01-06 Thread Aditya Pakki
snd_ctl_add() could fail, so let's check its return value and return its error code upstream upon failure. Signed-off-by: Aditya Pakki --- sound/isa/sb/sb16_main.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sound/isa/sb/sb16_main.c b/sound/isa/sb/sb16_main.c

[PATCH 3/3] dt-bindings: iio: chemical: pms7003: add device tree support

2019-01-06 Thread Tomasz Duszynski
Add device tree support for Plantower PMS7003 particulate matter sensor. Signed-off-by: Tomasz Duszynski --- .../bindings/iio/chemical/plantower,pms7003.txt| 14 ++ 1 file changed, 14 insertions(+) create mode 100644

[PATCH 0/3] add support for PMS7003 PM sensor

2019-01-06 Thread Tomasz Duszynski
This patch series adds support for Plantower PMS7003 PM matter sensor. Unfortunately datasheet is not available for download from the Plantower website so one needs to find it elsewhere, for instance here:

[PATCH 1/3] iio: chemical: add support for Plantower PMS7003 sensor

2019-01-06 Thread Tomasz Duszynski
Add support for Plantower PMS7003 particulate matter sensor. Signed-off-by: Tomasz Duszynski --- drivers/iio/chemical/Kconfig | 10 + drivers/iio/chemical/Makefile | 1 + drivers/iio/chemical/pms7003.c | 411 + 3 files changed, 422 insertions(+) create

[PATCH 2/3] dt-bindings: add Plantower to the vendor prefixes

2019-01-06 Thread Tomasz Duszynski
Add Plantower to the vendor prefixes. Signed-off-by: Tomasz Duszynski --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt

Re: [GIT PULL] fscrypt update for 4.21

2019-01-06 Thread Eric Biggers
On Sun, Jan 06, 2019 at 08:49:12AM -0500, Theodore Y. Ts'o wrote: > The following changes since commit 7beb01f74415c56f5992922b5b902b45d365e694: > > f2fs: clean up f2fs_sb_has_##feature_name (2018-11-26 15:53:55 -0800) > > are available in the Git repository at: > >

Re: [PATCH 4/4] arm64: dts: rockchip: add video codec for rk3399

2019-01-06 Thread Ezequiel Garcia
On Sun, 6 Jan 2019 at 13:16, Ayaka wrote: > > > > Sent from my iPad > > > On Jan 7, 2019, at 12:04 AM, Ezequiel Garcia wrote: > > > > On Sun, 2019-01-06 at 23:05 +0800, Ayaka wrote: > >>> On Jan 6, 2019, at 10:22 PM, Ezequiel Garcia > >>> wrote: > >>> > >>> Hi Randy, > >>> > >>> Thanks a lot

[PATCH] [v2] hwrng: core: Fix missing check during driver release

2019-01-06 Thread Aditya Pakki
devres_release can return -ENOENT if the device is not freed. The fix throws a warning consistent with other invocations. Signed-off-by: Aditya Pakki --- drivers/char/hw_random/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/char/hw_random/core.c

Re: [PATCH 4/4] arm64: dts: rockchip: add video codec for rk3399

2019-01-06 Thread Ayaka
Hello Ezequiel Sent from my iPad > On Jan 7, 2019, at 1:21 AM, Ezequiel Garcia > wrote: > >> On Sun, 6 Jan 2019 at 13:16, Ayaka wrote: >> >> >> >> Sent from my iPad >> >>> On Jan 7, 2019, at 12:04 AM, Ezequiel Garcia wrote: >>> >>> On Sun, 2019-01-06 at 23:05 +0800, Ayaka wrote: >

Re: [4.19-stable PATCH 0/2] dax: Don't access a freed inode

2019-01-06 Thread Sasha Levin
On Sat, Jan 05, 2019 at 11:45:02AM -0800, Dan Williams wrote: The original upstream fix, commit 55e56f06ed71 "dax: Don't access a freed inode", prompted an immediate cleanup request. Now that the cleanup has landed, commit d8a706414af4 "dax: Use non-exclusive wait in wait_entry_unlocked()",

Re: [GIT PULL] fscrypt update for 4.21

2019-01-06 Thread Eric Biggers
On Sun, Jan 06, 2019 at 09:20:07AM -0800, Eric Biggers wrote: > On Sun, Jan 06, 2019 at 08:49:12AM -0500, Theodore Y. Ts'o wrote: > > The following changes since commit 7beb01f74415c56f5992922b5b902b45d365e694: > > > > f2fs: clean up f2fs_sb_has_##feature_name (2018-11-26 15:53:55 -0800) > > >

[PATCH] platform/x86: intel-hid: Missing power button release on some Dell models

2019-01-06 Thread Jérôme de Bretagne
Power button suspend for some Dell models was added in: commit 821b85366284 (intel-hid: Power button suspend on Dell Latitude 7275) by checking against the power button press notification (0xCE) to report the power button press event. The corresponding power button release notification (0xCF)

Re: [PATCH 0/5 v2][RFC] Encryption and authentication for hibernate snapshot image

2019-01-06 Thread Pavel Machek
Hi! > This patchset is the implementation of encryption and authentication > for hibernate snapshot image. The image will be encrypted by AES and > authenticated by HMAC. Ok, so you encrypt. > The hibernate function can be used to snapshot memory pages to an image, > then kernel restores the

Re: [RFC PATCH 4/4] crypto: Add EC-RDSA algorithm

2019-01-06 Thread Stephan Müller
Am Sonntag, 6. Januar 2019, 14:36:08 CET schrieb Vitaly Chikunov: Hi Vitaly, > Add Elliptic Curve Russian Digital Signature Algorithm (GOST R > 34.10-2012, RFC 7091, ISO/IEC 14888-3) is one of the Russian (and since > 2018 the CIS countries) cryptographic standard algorithms (called GOST >

[PATCH] [v2] Input: touchscreen: Fix a missing check on regmap_bulk_read

2019-01-06 Thread Aditya Pakki
regmap_bulk_read() can return a non zero value on failure. The fix checks if the function call succeeded before calling mod_timer. The issue was identified by a static analysis tool. Signed-off-by: Aditya Pakki --- drivers/input/touchscreen/ad7879.c | 11 +++ 1 file changed, 7

HAPPY NEW YEAR,

2019-01-06 Thread Mrs. Aisha
Dear Friend, I came across your e-mail contact prior a private search while in need of your assistance. My name is Aisha Gaddafi a single Mother and a Widow with three Children. I am the only biological Daughter of late Libyan President (Late Colonel Muammar Gaddafi). I have an investment funds

[GIT PULL] dma-mapping fixes for Linux 4.21-rc1

2019-01-06 Thread Christoph Hellwig
Hi Linus, please pull regression fixes, and code removals enabling them for 4.21-rc1. The following changes since commit 96d4f267e40f9509e8a66e2b39e8b95655617693: Remove 'type' argument from access_ok() function (2019-01-03 18:57:57 -0800) are available in the Git repository at:

Re: r8152: data corruption in various scenarios

2019-01-06 Thread Kai Heng Feng
> On Jan 5, 2019, at 10:14 PM, Mark Lord wrote: > > A couple of years back, I reported data corruption resulting from > a change in kernel 3.16 which enabled hardware checksums in the r8152 driver. > This was happening on an embedded system that was using a r8152 USB dongle. > > At the time,

  1   2   3   4   >