On 01/16/2017 09:39 PM, David Miller wrote:
From: Khalid Aziz
Date: Wed, 11 Jan 2017 09:12:54 -0700
diff --git a/arch/sparc/kernel/mdesc.c b/arch/sparc/kernel/mdesc.c
index 8a6982d..68b03bf 100644
--- a/arch/sparc/kernel/mdesc.c
+++ b/arch/sparc/kernel/mdesc.c
@@ -20,6 +20,7 @@
#include
#in
This is a simple DM target supporting inplace compression. Its best
suited for SSD. The underlying disk must support 512B sector size.
The target only supports 4k sector size.
Disk layout:
|super|...meta...|..data...|
Store unit is 4k (a block). Super is 1 block, which stores meta and
data size
This patch provides a generic device-mapper inplace compression
device. Originally written by Shaohua Li.
https://www.redhat.com/archives/dm-devel/2013-December/msg00143.html
I have optimized and hardened the code.
Testing:
---
This compression block device is tested in the following scen
On 01/16/2017 09:47 PM, David Miller wrote:
From: Dave Hansen
Date: Wed, 11 Jan 2017 10:13:54 -0800
For memory shared by two different processes, do they have to agree on
what the tags are, or can they differ?
Whoever allocates the memory (does the mmap()+mprotect() or whatever),
decides on
On 01/17/2017 12:42 PM, David Miller wrote:
From: Khalid Aziz
Date: Tue, 17 Jan 2017 12:32:46 -0700
On 01/16/2017 09:39 PM, David Miller wrote:
From: Khalid Aziz
Date: Wed, 11 Jan 2017 09:12:54 -0700
+ __asm__ __volatile__(
+ ".word 0xa1438000\n\t"
From: Khalid Aziz
Date: Tue, 17 Jan 2017 12:32:46 -0700
> On 01/16/2017 09:39 PM, David Miller wrote:
>> From: Khalid Aziz
>> Date: Wed, 11 Jan 2017 09:12:54 -0700
>>
>>> + __asm__ __volatile__(
>>> + ".word 0xa1438000\n\t" /* rd %mcdper, %l0 */
>>
>> Just use "rd %
On 01/16/2017 09:39 PM, David Miller wrote:
From: Khalid Aziz
Date: Wed, 11 Jan 2017 09:12:54 -0700
+ __asm__ __volatile__(
+ ".word 0xa1438000\n\t"/* rd %mcdper, %l0 */
Just use "rd %%asr14, %0" this way you don't have to play all of these
fixed
On Tue, Jan 17, 2017 at 02:01:13AM +0800, Icenowy Zheng wrote:
> Allwinner V3s is a low-end single-core Cortex-A7 SoC, with 64MB
> integrated DRAM, and several peripherals.
>
> Signed-off-by: Icenowy Zheng
> ---
> Changes in v2:
> - Used linux-sunxi.org wiki hosted address of V3s datasheet.
>
>
Hi,
On Tue, Jan 17, 2017 at 02:01:14AM +0800, Icenowy Zheng wrote:
> V3s has a similar but cut-down CCU to H3.
>
> Add support for it.
>
> Signed-off-by: Icenowy Zheng
> ---
Output from checkpatch:
total: 5 errors, 2 warnings, 3 checks, 857 lines checked
> I think I should make a comparsion b