Re: [PATCH v4 2/3] usb: gadget: f_uac2: split out audio core

2017-05-29 Thread Ruslan Bilovol
On Mon, May 22, 2017 at 6:58 PM, Jassi Brar wrote: > On Thu, May 18, 2017 at 4:07 AM, Ruslan Bilovol > wrote: >> Abstract the peripheral side ALSA sound card code from >> the f_uac2 function into a component that can be called >> by various

Re: [PATCH v3 06/10] pinctrl: sunxi: add support of R40 to A10 pinctrl driver

2017-05-29 Thread Linus Walleij
On Sat, May 27, 2017 at 12:23 PM, Icenowy Zheng wrote: > R40 is said to be an upgrade of A20, and its pin configuration is also > similar to A20 (and thus similar to A10). > > Add support for R40 to the A10 pinctrl driver. > > Signed-off-by: Icenowy Zheng

Re: [PATCH v13 0/9] coresight: enable debug module

2017-05-29 Thread Mathieu Poirier
On 25 May 2017 at 09:57, Leo Yan wrote: > ARMv8 architecture reference manual (ARM DDI 0487A.k) Chapter H7 "The > Sample-based Profiling Extension" has description for sampling > registers, we can utilize these registers to check program counter > value with combined CPU

Re: [PATCH v3 05/10] dt-bindings: add compatible string for Allwinner R40 pinctrl

2017-05-29 Thread Linus Walleij
On Sat, May 27, 2017 at 12:23 PM, Icenowy Zheng wrote: > Allwinner R40 has a pin controller like the ones in older Allwinner SoCs > (especially A20), and can use modified version of the A10/A20 pinctrl > driver. > > Add a compatible string for it. > > Signed-off-by: Icenowy

Re: [PATCH v3 04/10] pinctrl: sunxi: drop dedicated A20 driver

2017-05-29 Thread Linus Walleij
On Sat, May 27, 2017 at 12:23 PM, Icenowy Zheng wrote: > As we added A20 support to A10 pinctrl driver, now we can delete the > dedicated A20 pinctrl driver, which is duplicated code. > > Signed-off-by: Icenowy Zheng > --- > Changes in v3: > - Only remove the

Re: [PATCH v3 03/10] pinctrl: sunxi: add A20 support to A10 driver

2017-05-29 Thread Linus Walleij
On Sat, May 27, 2017 at 12:23 PM, Icenowy Zheng wrote: > As A20 is designed as a pin-compatible upgrade of A10, their pin > controller are very similar, and can share one driver. > > Add A20 support to the A10 driver. > > Signed-off-by: Icenowy Zheng > --- >

Re: [PATCH v3 02/10] pinctrl: sunxi: Add SoC ID definitions for A10, A20 and R40 SoCs

2017-05-29 Thread Linus Walleij
On Sat, May 27, 2017 at 12:23 PM, Icenowy Zheng wrote: > Allwinner A10, A20 and R40 SoCs have similar GPIO layout. > > Add SoC definitions in pinctrl-sunxi.h, in order to merge A20 support > into A10 driver, and add R40 support into it. > > Signed-off-by: Icenowy Zheng

Re: [PATCH 20/29] sync_file.txt: standardize document format

2017-05-29 Thread Mauro Carvalho Chehab
Em Wed, 24 May 2017 22:36:36 -0300 Gustavo Padovan escreveu: > Hi Mauro, > > 2017-05-18 Mauro Carvalho Chehab : > > > Each text file under Documentation follows a different > > format. Some doesn't even have titles! > > > > Change its

Re: [PATCH v3 06/10] pinctrl: sunxi: add support of R40 to A10 pinctrl driver

2017-05-29 Thread Chen-Yu Tsai
On Mon, May 29, 2017 at 9:19 PM, wrote: > 在 2017-05-29 21:11,Chen-Yu Tsai 写道: >> >> On Sat, May 27, 2017 at 06:23:04PM +0800, Icenowy Zheng wrote: >>> >>> R40 is said to be an upgrade of A20, and its pin configuration is also >>> similar to A20 (and thus similar to A10). >>> >>>

Re: [PATCH v3 06/10] pinctrl: sunxi: add support of R40 to A10 pinctrl driver

2017-05-29 Thread icenowy
在 2017-05-29 21:11,Chen-Yu Tsai 写道: On Sat, May 27, 2017 at 06:23:04PM +0800, Icenowy Zheng wrote: R40 is said to be an upgrade of A20, and its pin configuration is also similar to A20 (and thus similar to A10). Add support for R40 to the A10 pinctrl driver. Signed-off-by: Icenowy Zheng

Re: [PATCH v3 06/10] pinctrl: sunxi: add support of R40 to A10 pinctrl driver

2017-05-29 Thread Chen-Yu Tsai
On Sat, May 27, 2017 at 06:23:04PM +0800, Icenowy Zheng wrote: > R40 is said to be an upgrade of A20, and its pin configuration is also > similar to A20 (and thus similar to A10). > > Add support for R40 to the A10 pinctrl driver. > > Signed-off-by: Icenowy Zheng > --- >

Re: [PATCH 1/8] i2c: rename core source file to allow refactorization

2017-05-29 Thread Jarkko Nikula
On 05/26/2017 11:20 AM, Wolfram Sang wrote: --- a/drivers/i2c/busses/i2c-designware-core.c +++ b/drivers/i2c/busses/i2c-designware-core.c @@ -583,7 +583,7 @@ i2c_dw_xfer_msg(struct dw_i2c_dev *dev) */ /* -* i2c-core.c

Re: [PATCH v3 10/10] ARM: dts: sun8i: Add board dts file for Banana Pi M2 Ultra

2017-05-29 Thread Chen-Yu Tsai
On Sat, May 27, 2017 at 6:23 PM, Icenowy Zheng wrote: > From: Chen-Yu Tsai > > The Banana Pi M2 Ultra is an SBC based on the Allwinner R40 SoC. The > form factor and position of various connectors, leds and buttons is > similar to the Banana Pi M1+, Banana Pi M3,

[PATCH v2 00/11] introduce crypto wait for async op

2017-05-29 Thread Gilad Ben-Yossef
Many users of kernel async. crypto services have a pattern of starting an async. crypto op and than using a completion to wait for it to end, resulting of the same code repeating itself in multiple places, sometime with coding errors. This patch aims to introduce a generic "wait for async. crypto

[PATCH v2 05/11] crypto: move gcm to generic async completion

2017-05-29 Thread Gilad Ben-Yossef
gcm is starting an async. crypto op and waiting for it complete. Move it over to generic code doing the same. Signed-off-by: Gilad Ben-Yossef --- crypto/gcm.c | 32 ++-- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/crypto/gcm.c

[PATCH v2 02/11] crypto: move algif to generic async completion

2017-05-29 Thread Gilad Ben-Yossef
algif starts several async crypto ops and waits for their completion. Move it over to generic code doing the same. Signed-off-by: Gilad Ben-Yossef --- crypto/af_alg.c | 27 --- crypto/algif_aead.c | 14 +++--- crypto/algif_hash.c

[PATCH v2 03/11] crypto: move pub key to generic async completion

2017-05-29 Thread Gilad Ben-Yossef
public_key_verify_signature() is starting an async crypto op and waiting for it to complete. Move it over to generic code doing the same. Signed-off-by: Gilad Ben-Yossef --- crypto/asymmetric_keys/public_key.c | 28 1 file changed, 4

[PATCH v2 04/11] crypto: move drbg to generic async completion

2017-05-29 Thread Gilad Ben-Yossef
DRBG is starting an async. crypto op and waiting for it complete. Move it over to generic code doing the same. The code now also passes CRYPTO_TFM_REQ_MAY_SLEEP flag indicating crypto request memory allocation may use GFP_KERNEL which should be perfectly fine as the code is obviously sleeping for

[PATCH v2 06/11] crypto: move testmgr to generic async completion

2017-05-29 Thread Gilad Ben-Yossef
testmgr is starting async. crypto ops and waiting for them to complete. Move it over to generic code doing the same. This also provides a test of the generic crypto async. wait code. Signed-off-by: Gilad Ben-Yossef --- crypto/testmgr.c | 184

[PATCH v2 08/11] fscrypt: move to generic async completion

2017-05-29 Thread Gilad Ben-Yossef
fscrypt starts several async. crypto ops and waiting for them to complete. Move it over to generic code doing the same. Signed-off-by: Gilad Ben-Yossef --- fs/crypto/crypto.c | 28 fs/crypto/fname.c | 36

[PATCH v2 11/11] crypto: adapt api sample to use async. op wait

2017-05-29 Thread Gilad Ben-Yossef
The code sample is waiting for an async. crypto op completion. Adapt sample to use the new generic infrastructure to do the same. This also fixes a possible data coruption bug created by the use of wait_for_completion_interruptible() without dealing correctly with an interrupt aborting the wait

[PATCH v2 07/11] dm: move dm-verity to generic async completion

2017-05-29 Thread Gilad Ben-Yossef
dm-verity is starting async. crypto ops and waiting for them to complete. Move it over to generic code doing the same. This also fixes a possible data coruption bug created by the use of wait_for_completion_interruptible() without dealing correctly with an interrupt aborting the wait prior to the

[PATCH v2 09/11] cifs: move to generic async completion

2017-05-29 Thread Gilad Ben-Yossef
cifs starts an async. crypto op and waits for their completion. Move it over to generic code doing the same. Signed-off-by: Gilad Ben-Yossef Acked-by: Pavel Shilovsky --- fs/cifs/smb2ops.c | 30 -- 1 file changed, 4

[PATCH v2 10/11] ima: move to generic async completion

2017-05-29 Thread Gilad Ben-Yossef
ima starts several async crypto ops and waits for their completions. Move it over to generic code doing the same. Signed-off-by: Gilad Ben-Yossef Acked-by: Mimi Zohar --- security/integrity/ima/ima_crypto.c | 56

[PATCH v2 01/11] crypto: introduce crypto wait for async op

2017-05-29 Thread Gilad Ben-Yossef
Invoking a possibly async. crypto op and waiting for completion while correctly handling backlog processing is a common task in the crypto API implementation and outside users of it. This patch adds a generic implementation for doing so in preparation for using it across the board instead of hand

Re: [PATCH v3 09/10] ARM: dts: sun8i: Add basic dtsi file for Allwinner R40

2017-05-29 Thread Chen-Yu Tsai
Hi, On Sat, May 27, 2017 at 6:23 PM, Icenowy Zheng wrote: > From: Chen-Yu Tsai > > The Allwinner R40 SoC is marketed as the successor to the A20 SoC. > The R40 is a smaller chip than the A20, but features the same set > of programmable pins, with a couple extra

Re: [PATCH v3 08/10] clk: sunxi-ng: support R40 SoC

2017-05-29 Thread Chen-Yu Tsai
Hi, On Sat, May 27, 2017 at 06:23:06PM +0800, Icenowy Zheng wrote: > Allwinner R40 SoC have a clock controller module in the style of the > SoCs beyond sun6i, however, it's more rich and complex. > > Add support for it. > > Signed-off-by: Icenowy Zheng > --- > Changes in v3: >