Hi Herbert,
Changes v2: use sg_page(sg) only once
---8<---
For asynchronous operation, SGs are allocated without a page mapped to
them. If the SGL is freed, the code must only call put_page for an SG if
there was a page assigned to it in the first place.
This fixes a kernel crash when using io_
Hi Herbert,
This patch was tested with up to 64 iocb submitted with one io_submit call.
If you approve of this fix, I recommend that should go to the current 4.8
development cycle and to stable.
---8<---
For asynchronous operation, SGs are allocated without a page mapped to
them. If the SGL is
Ping !!
On 8/24/2016 6:52 PM, Santosh Shilimkar wrote:
Semantically the expectation from the tasklet init/kill API
should be as below.
tasklet_init() == Init and Enable scheduling
tasklet_kill() == Disable scheduling and Destroy
tasklet_init() API exibit above behavior but not the
tasklet_kill
On 9 September 2016 at 11:31, Ard Biesheuvel wrote:
> On 9 September 2016 at 11:19, xiakaixu wrote:
>> Hi,
>>
>> After a deeply research about this crash, seems it is a specific
>> bug that only exists in armv8 board. And it occurs in this function
>> in arch/arm64/crypto/aes-glue.c.
>>
>> static
On 9 September 2016 at 11:19, xiakaixu wrote:
> Hi,
>
> After a deeply research about this crash, seems it is a specific
> bug that only exists in armv8 board. And it occurs in this function
> in arch/arm64/crypto/aes-glue.c.
>
> static int ctr_encrypt(struct blkcipher_desc *desc, struct scatterli
Hi,
After a deeply research about this crash, seems it is a specific
bug that only exists in armv8 board. And it occurs in this function
in arch/arm64/crypto/aes-glue.c.
static int ctr_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst,
struct scatterlist *src, u
Managed API eliminates error handling code, thus reduces several lines
of code.
Signed-off-by: PrasannaKumar Muralidharan
---
drivers/char/hw_random/amd-rng.c | 48 +---
1 file changed, 11 insertions(+), 37 deletions(-)
diff --git a/drivers/char/hw_random/amd