On 2016/6/20 14:48, Joonsoo Kim wrote:
> On Fri, Jun 17, 2016 at 03:38:49PM +0800, Chen Feng wrote:
>> Hi Kim & feng,
>>
>> Thanks for the share. In our platform also has the same use case.
>>
>> We only let the alloc with GFP_HIGHUSER_MOVABLE in memory.c t
It's useful to show the current memory in detail when alloc failed.
And, there may be a lot of high order alloc failed, just show memory
when an order 0 alloc failed.
Signed-off-by: Chen Feng
---
drivers/staging/android/ion/ion_system_heap.c | 2 +-
1 file changed, 1 insertion(+), 1 del
10.423784] hi6220_reset: Unknown symbol __platform_driver_register (err
> 0)
>
> Add a MODULE_LICENSE() to fix this.
>
> Fixes: 70b3590f639f ("reset: hi6220: fix modular build")
> Cc: Arnd Bergmann
> Cc: Chen Feng
> Signed-off-by: Andreas Färber
> ---
>
On 2017/10/24 17:09, Greg KH wrote:
> On Tue, Oct 24, 2017 at 03:44:17PM +0800, Chen Feng wrote:
>> [pid:11940,cpu6,syz-executor][flp_ioctl]cmd[0x1]
>> Restart is not permit
>> =
>> UBSAN: Undefined behav
Hi Ted,
On 2017/10/24 18:25, Theodore Ts'o wrote:
> On Tue, Oct 24, 2017 at 11:09:27AM +0200, Greg KH wrote:
>> On Tue, Oct 24, 2017 at 03:44:17PM +0800, Chen Feng wrote:
>>> [pid:11940,cpu6,syz-executor][flp_ioctl]cmd[0x1]
&g
On 2017/10/25 14:56, Greg KH wrote:
> On Wed, Oct 25, 2017 at 02:30:56PM +0800, Chen Feng wrote:
>> Hi Ted,
>>
>> On 2017/10/24 18:25, Theodore Ts'o wrote:
>>> On Tue, Oct 24, 2017 at 11:09:27AM +0200, Greg KH wrote:
>>>> On Tue, Oct 24, 2017 a
On 2017/10/25 16:49, Theodore Ts'o wrote:
> Other people who have sent me fuzzer test reproducers are able to
> reproduce syzkaller logs into a simple C program. Can you explain to
> me what the heck:
>
>> r3 = syz_open_dev$urandom(&(0x7f00a000)="2f6465762f7572616e646f6d00",
>> 0x0, 0x0)
>
Hi ted,
On 2017/10/26 23:04, Theodore Ts'o wrote:
> On Thu, Oct 26, 2017 at 04:25:15PM +0800, Chen Feng wrote:
>>
>>
>> On 2017/10/25 16:49, Theodore Ts'o wrote:
>>> Other people who have sent me fuzzer test reproducers are able to
>>> reproduce
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 3f03380..3ef33b4 100644
--- a/arch
Documentation for system mmu in hi6220 platform.
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
.../bindings/iommu/hisi,hi6220-iommu.txt | 52 ++
1 file changed, 52 insertions(+)
create mode 100644
Documentation/devicetree/bindings/iommu/hisi,hi6220
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
drivers/staging/android/ion/Kconfig| 7 +
drivers/staging/android/ion/Makefile | 1 +
drivers/staging/android/ion/hisilicon/Kconfig | 5 +
drivers/staging/android/ion/hisilicon/Makefile | 1
Documentation for hi6220 SoC ION node
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
.../devicetree/bindings/staging/ion/hi6220-ion.txt | 27 ++
1 file changed, 27 insertions(+)
create mode 100644 Documentation/devicetree/bindings/staging/ion/hi6220-ion.txt
diff
Add ION node to enable ION on hi6220 SoC platform
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 +
arch/arm64/boot/dts/hisilicon/hi6220-ion.dtsi | 23 +++
2 files changed, 24 insertions(+)
create mode 100644
Enable iommu on hi6220 SoC platform.
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
drivers/iommu/Kconfig| 8 +
drivers/iommu/Makefile | 1 +
drivers/iommu/hi6220_iommu.c | 503 +++
3 files changed, 512 insertions(+)
create
iommu/hisilicon: Add hi6220-SoC smmu driver
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
drivers/iommu/Kconfig| 8 +
drivers/iommu/Makefile | 1 +
drivers/iommu/hi6220_iommu.c | 482 +++
3 files changed, 491 insertions
arm64: dts: Add dts node for hi6220 smmu driver
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
b/arch/arm64/boot/dts/hisilicon
docs: iommu: Documentation for smmu in hi6220 SoC.
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
.../bindings/iommu/hisi,hi6220-iommu.txt | 52 ++
1 file changed, 52 insertions(+)
create mode 100644
Documentation/devicetree/bindings/iommu/hisi,hi6220
arm64: dts: Add dts node for hi6220 smmu driver
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
b/arch/arm64/boot/dts/hisilicon/hi6220
iommu/hisilicon: Add hi6220-SoC smmu driver
The smmu on hi6220 SoC is for media system.And the
media IP use the same page-table. It supports only
one-to-one mapping from iova to phys address.
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
drivers/iommu/Kconfig| 11 +
drivers
docs: iommu: Documentation for iommu in hi6220 SoC.
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
.../bindings/iommu/hisi,hi6220-iommu.txt | 56 ++
1 file changed, 56 insertions(+)
create mode 100644
Documentation/devicetree/bindings/iommu/hisi,hi6220
docs: iommu: Documentation for iommu in hi6220 SoC.
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
.../bindings/iommu/hisi,hi6220-iommu.txt | 56 ++
1 file changed, 56 insertions(+)
create mode 100644
Documentation/devicetree/bindings/iommu/hisi,hi6220
arm64: dts: Add dts node for hi6220 smmu driver
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
b/arch/arm64/boot/dts/hisilicon/hi6220
iommu/hisilicon: Add hi6220-SoC smmu driver
The smmu on hi6220 SoC is for media system.And the
media IP use the same page-table. It supports only
one-to-one mapping from iova to phys address.
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
drivers/iommu/Kconfig| 11 +
drivers
reset: add driver for hi6220 reset controller
Signed-off-by: Chen Feng
---
drivers/reset/Kconfig | 1 +
drivers/reset/Makefile | 1 +
drivers/reset/hisilicon/Kconfig| 5 ++
drivers/reset/hisilicon/Makefile
reset: add driver for hi6220 reset controller
Signed-off-by: Chen Feng
---
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 3f03380..3f055e2 100644
docs: dts: Added documentation for hi6220 Reset Controller
Signed-off-by: Chen Feng
---
.../bindings/reset/hisilicon,hi6220-reset.txt | 32 ++
1 file changed, 32 insertions(+)
create mode 100644
Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt
diff
On 2018/1/27 1:48, Liam Mark wrote:
> Since commit 204f672255c2 ("staging: android: ion: Use CMA APIs directly")
> the CMA API is now used directly and therefore the allocated memory is no
> longer automatically zeroed.
>
> Explicitly zero CMA allocated memory to ensure that no data is exposed t
On 2018/1/9 18:43, Zeng Tao wrote:
> This issue is introduced by the commit ("ION: Sys_heap:
> Add cached pool to spead up cached buffer alloc"), the gfp_mask low
> order pool is overlapped by the high order inside the loop, so the
> gfp_mask of all pools are set to high_order_gfp_flags.
>
Tha
On 2016/5/6 1:09, Laura Abbott wrote:
> On 05/04/2016 08:27 PM, Chen Feng wrote:
>> Makes the ion buffer always alloced from page pool, no matter
>> it's cached or not. In this way, it can improve the efficiency
>> of it.
>>
>> Currently, there is no diffe
Add ion cached pool in system heap.
Signed-off-by: Chen Feng
Signed-off-by: Xia Qing
---
drivers/staging/android/ion/ion_system_heap.c | 120 +-
1 file changed, 79 insertions(+), 41 deletions(-)
diff --git a/drivers/staging/android/ion/ion_system_heap.c
b/drivers
Sorry,the order here is not right, please ignore this patch.
I will RESEND it.
On 2016/5/9 14:24, Chen Feng wrote:
> Add ion cached pool in system heap.
>
> Signed-off-by: Chen Feng
> Signed-off-by: Xia Qing
> ---
> drivers/staging/android/ion/ion_s
Add ion cached pool in system heap.
Signed-off-by: Chen Feng
Signed-off-by: Xia Qing
Reviewed-by: Fu Jun
---
drivers/staging/android/ion/ion_system_heap.c | 145 +-
1 file changed, 95 insertions(+), 50 deletions(-)
diff --git a/drivers/staging/android/ion
Add ion cached pool in system heap. This patch add a cached pool
in system heap. It has a great improvement of alloc for cached
buffer.
v1: Makes the cached buffer zeroed before going to pool
Signed-off-by: Chen Feng
Signed-off-by: Xia Qing
Reviewed-by: Fu Jun
---
drivers/staging/android
Hi Greg,
Please see my v1 version for detail.
Thank you.
On 2016年05月09日 17:02, Greg KH wrote:
> On Mon, May 09, 2016 at 04:37:34PM +0800, Chen Feng wrote:
>> Add ion cached pool in system heap.
>>
>> Signed-off-by: Chen Feng
>> Signed-off-by: Xia Q
Hi Laura,
On 2016/5/10 7:50, Laura Abbott wrote:
> On 05/09/2016 01:37 AM, Chen Feng wrote:
>> Add ion cached pool in system heap.
>>
>> Signed-off-by: Chen Feng
>> Signed-off-by: Xia Qing
>> Reviewed-by: Fu Jun
>> ---
>> driver
Makes the ion buffer always alloced from page pool, no matter
it's cached or not. In this way, it can improve the efficiency
of it.
Currently, there is no difference from cached or non-cached buffer
for the page pool.
Signed-off-by: Chen Feng
---
drivers/staging/android/ion/ion_system_h
On 2016/5/11 6:48, Laura Abbott wrote:
> On 05/09/2016 04:35 AM, Chen Feng wrote:
>> Add ion cached pool in system heap. This patch add a cached pool
>> in system heap. It has a great improvement of alloc for cached
>> buffer.
>>
>
> Can you give some benchmark
There are two paths calling this function.
For direct compact, there is no need to check the zone watermark here.
For kswapd wakeup kcompactd, since there is a reclaim before this.
It makes sense to do compact even the watermark is ok at this time.
Signed-off-by: Chen Feng
---
mm/compaction.c
uffer zeroed before going to pool
v2: Add cached param in pool to distinguish wheather need to flush
cache at a fresh alloc.
Rework the shrink function.
Signed-off-by: Chen Feng
Signed-off-by: Xia Qing
Reviewed-by: Fu Jun
---
drivers/staging/android/ion/ion_page_pool.c | 10 +-
dr
While testing the kcompactd in my platform 3G MEM only DMA ZONE.
I found the kcompactd never wakeup. It seems the zoneindex
has already minus 1 before. So the traverse here should be <=.
Signed-off-by: Chen Feng
---
mm/compaction.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
On 2016/5/20 1:45, Vlastimil Babka wrote:
> On 19.5.2016 19:23, Hugh Dickins wrote:
>> On Thu, 19 May 2016, Vlastimil Babka wrote:
>>> On 05/19/2016 02:11 PM, Vlastimil Babka wrote:
>>>> On 05/19/2016 01:58 PM, Chen Feng wrote:
>>>>> While testing
On 2016/5/20 1:45, Vlastimil Babka wrote:
> On 19.5.2016 19:23, Hugh Dickins wrote:
>> On Thu, 19 May 2016, Vlastimil Babka wrote:
>>> On 05/19/2016 02:11 PM, Vlastimil Babka wrote:
>>>> On 05/19/2016 01:58 PM, Chen Feng wrote:
>>>>> While testing
Hi Joonsoo,
On 2016/5/26 14:22, js1...@gmail.com wrote:
> From: Joonsoo Kim
>
> Now, all reserved pages for CMA region are belong to the ZONE_CMA
> and there is no other type of pages. Therefore, we don't need to
> use MIGRATE_CMA to distinguish and handle differently for CMA pages
> and ordinar
No need to use use continuous memory, it may be fail
when memory deeply fragmented.
Signed-off-by: Chen Feng
Signed-off-by: Xia Qing
---
drivers/base/firmware_class.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/base/firmware_class.c b/drivers/base
No need to use use continuous memory, it may be fail
when memory deeply fragmented.
Signed-off-by: Chen Feng
Signed-off-by: Xia Qing
---
drivers/base/firmware_class.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/base/firmware_class.c b/drivers/base
Add DT bindings documentation for hi6220 SoC reset controller.
Signed-off-by: Chen Feng
---
.../bindings/reset/hisilicon,hi6220-reset.txt | 34 +++
include/dt-bindings/reset/hisi,hi6220-resets.h | 67 ++
2 files changed, 101 insertions(+)
create mode 100644
Add reset controller for hi6220 hikey-board.
Signed-off-by: Chen Feng
---
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 82d2488..ad1f1eb 100644
--- a/arch
Add reset driver for hi6220-hikey board,this driver supply deassert
of IP on hi6220 SoC.
Signed-off-by: Chen Feng
---
drivers/reset/Kconfig | 1 +
drivers/reset/Makefile | 1 +
drivers/reset/hisilicon/Kconfig| 5 ++
drivers/reset/hisilicon/Makefile
Documentation for hi6220 iommu driver.
Signed-off-by: Chen Feng
---
.../bindings/iommu/hisi,hi6220-iommu.txt | 32 ++
1 file changed, 32 insertions(+)
create mode 100644
Documentation/devicetree/bindings/iommu/hisi,hi6220-iommu.txt
diff --git a/Documentation
->archdata.iommu;
struct iova * t_iova = alloc_iova(iovad, size, limit_pfn, align);
iommu_map(domain, t_iova->pfn_lo << 12, phy_addr, size, port);
The patch sets are based on 4.4-RC1
V2: Fix tlb flush when unmap
V3: Fix format issue and iova address range
V5: Add cover-letter and resend to dt ma
Add iommu driver for hi6220 SoC platform.The smmu on hi6220
SoC is for media system.And the media IP use the same page-table.
It supports only one-to-one mapping from iova to phys address.
Signed-off-by: Chen Feng
---
drivers/iommu/Kconfig| 11 +
drivers/iommu/Makefile | 1
Add iommu node for hi6220 SoC platform
Signed-off-by: Chen Feng
---
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 82d2488..589424a 100644
Add driver support for HiSilicon Hi655x voltage regulators.
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
Tested-by: Xinwei Kong
---
drivers/regulator/Kconfig | 8 +
drivers/regulator/Makefile | 1 +
drivers/regulator/hi655x-regulator.c | 246
|
||-| |
||(REGMAP_MMIO)| |
++ +-+
V2: Code refactoring of regulator
V3: Drop mtcmos from this patch and use regmap-irq
The patch sets are based on 4.4-rc5.
Chen Feng (5):
doc: bindings: Add
Add dts node for hi665x MFD and regulator driver
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
Tested-by: Xinwei Kong
---
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 178 ++
1 file changed, 178 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220
Add document for mfd driver hi655x pmic driver
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
Tested-by: Xinwei Kong
---
.../devicetree/bindings/mfd/hisilicon,hi655x.txt| 17 +
1 file changed, 17 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd
Add mfd driver to support hisilicon hi665x PMIC.
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
Tested-by: Xinwei Kong
---
drivers/mfd/Kconfig | 9 +++
drivers/mfd/Makefile| 1 +
drivers/mfd/hi655x-pmic.c | 170
Add Document for hi655x pmic regulator driver
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
Tested-by: Xinwei Kong
---
.../regulator/hisilicon,hi655x-regulator.txt | 43 ++
1 file changed, 43 insertions(+)
create mode 100644
Documentation/devicetree/bindings
Add reset controller for hi6220 hikey-board.
Signed-off-by: Chen Feng
---
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 3f03380..09bb9d1 100644
Add DT bindings documentation for hi6220 SoC reset controller.
Signed-off-by: Chen Feng
---
.../bindings/reset/hisilicon,hi6220-reset.txt | 97 ++
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 2 +-
2 files changed, 98 insertions(+), 1 deletion(-)
create mode
Add reset driver for hi6220-hikey board,this driver supply deassert
of IP. on hi6220 SoC.
Signed-off-by: Chen Feng
---
drivers/reset/Kconfig | 1 +
drivers/reset/Makefile | 1 +
drivers/reset/hisilicon/Kconfig| 5 +++
drivers/reset/hisilicon/Makefile
Add reset controller for hi6220 hikey-board.
Signed-off-by: Chen Feng
---
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 3f03380..09bb9d1 100644
Add DT bindings documentation for hi6220 SoC reset controller.
Signed-off-by: Chen Feng
---
.../bindings/reset/hisilicon,hi6220-reset.txt | 97 ++
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 2 +-
2 files changed, 98 insertions(+), 1 deletion(-)
create mode
Add reset driver for hi6220-hikey board,this driver supply deassert
of IP. on hi6220 SoC.
Signed-off-by: Chen Feng
---
drivers/reset/Kconfig | 1 +
drivers/reset/Makefile | 1 +
drivers/reset/hisilicon/Kconfig| 5 +++
drivers/reset/hisilicon/Makefile
Add reset controller for hi6220 hikey-board.
Signed-off-by: Chen Feng
---
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 3f03380..3bbc846 100644
Add reset driver for hi6220-hikey board,this driver supply deassert
of IP. on hi6220 SoC.
Signed-off-by: Chen Feng
---
drivers/reset/Kconfig | 1 +
drivers/reset/Makefile | 1 +
drivers/reset/hisilicon/Kconfig| 5 ++
drivers/reset/hisilicon
Add DT bindings documentation for hi6220 SoC reset controller.
Signed-off-by: Chen Feng
---
.../bindings/reset/hisilicon,hi6220-reset.txt | 97 ++
1 file changed, 97 insertions(+)
create mode 100644
Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt
docs: iommu: Documentation for iommu in hi6220 SoC.
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
.../bindings/iommu/hisi,hi6220-iommu.txt | 56 ++
1 file changed, 56 insertions(+)
create mode 100644
Documentation/devicetree/bindings/iommu/hisi,hi6220
iommu/hisilicon: Add hi6220-SoC smmu driver
The smmu on hi6220 SoC is for media system.And the
media IP use the same page-table. It supports only
one-to-one mapping from iova to phys address.
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
drivers/iommu/Kconfig| 11 +
drivers
arm64: dts: Add dts node for hi6220 smmu driver
Signed-off-by: Chen Feng
Signed-off-by: Yu Dongbin
---
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
b/arch/arm64/boot/dts/hisilicon/hi6220
docs: dts: Added documentation for hi6220 Reset Controller
Signed-off-by: Chen Feng
---
.../bindings/reset/hisilicon,hi6220-reset.txt | 32 ++
1 file changed, 32 insertions(+)
create mode 100644
Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt
diff
reset: add driver for hi6220 reset controller
Signed-off-by: Chen Feng
---
drivers/reset/Kconfig | 1 +
drivers/reset/Makefile | 1 +
drivers/reset/hisilicon/Kconfig| 5 ++
drivers/reset/hisilicon/Makefile
arm64: dts: Add dts node for reset controller
Signed-off-by: Chen Feng
---
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 3f03380..e45dbb1 100644
--- a
|
||-| |
||(REGMAP_MMIO)| |
++ +-+
V2: Code refactoring of regulator.
V3: Drop mtcmos from this patch and use regmap-irq.
V4: Move the vset-table to driver code and donot open code for it.
Chen
Add document for mfd driver hi655x pmic driver
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
Signed-off-by: Xinwei Kong
---
.../devicetree/bindings/mfd/hisilicon,hi655x.txt| 17 +
1 file changed, 17 insertions(+)
create mode 100644 Documentation/devicetree/bindings
Add Document for hi655x pmic regulator driver
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
Signed-off-by: Xinwei Kong
---
.../regulator/hisilicon,hi655x-regulator.txt | 24 ++
1 file changed, 24 insertions(+)
create mode 100644
Documentation/devicetree/bindings
Add the mfd hi655x dts node and regulator support
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
Signed-off-by: Xinwei Kong
---
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 5 ++
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 99 ++
2 files changed, 104
Add pmic mfd driver to support hisilicon hi665x.
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
Signed-off-by: Xinwei Kong
---
drivers/mfd/Kconfig | 10 +++
drivers/mfd/Makefile| 1 +
drivers/mfd/hi655x-pmic.c | 160
Add regulator support for hi655x pmic
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
Signed-off-by: Xinwei Kong
---
drivers/regulator/Kconfig| 8 ++
drivers/regulator/Makefile | 1 +
drivers/regulator/hi655x-regulator.c | 232 +++
3
Lee,
Thanks for your review.
On 2016/2/15 16:32, Lee Jones wrote:
> On Sun, 14 Feb 2016, Chen Feng wrote:
>
>> DT bindings for hisilicon hi655x MFD PMIC chip.
>>
>> Signed-off-by: Chen Feng
>> Signed-off-by: Fei Wang
>> Signed-off-by: Xinwei
Hi Catalin,
Thanks for your reply.
On 2016/4/12 22:59, Catalin Marinas wrote:
> On Mon, Apr 11, 2016 at 12:31:53PM +0200, Ard Biesheuvel wrote:
>> On 11 April 2016 at 11:59, Chen Feng wrote:
>>> On 2016/4/11 16:00, Ard Biesheuvel wrote:
>>>> On 11 April 2016 at 09:
Hi Matainers,
In the file mm/migrate.c
316 int migrate_page_move_mapping(struct address_space *mapping,
317 struct page *newpage, struct page *page,
318 struct buffer_head *head, enum migrate_mode mode,
319 int extra_count)
320 {
321 s
Hi will,
Thanks for review.
On 2016/4/7 22:21, Will Deacon wrote:
> On Tue, Apr 05, 2016 at 04:22:51PM +0800, Chen Feng wrote:
>> We can reduce the memory allocated at mem-map
>> by flatmem.
>>
>> currently, the default memory-model in arm64 is
>> sparse memory.
Hi Ard,
On 2016/4/11 15:35, Ard Biesheuvel wrote:
> On 11 April 2016 at 04:49, Chen Feng wrote:
>> Hi will,
>> Thanks for review.
>>
>> On 2016/4/7 22:21, Will Deacon wrote:
>>> On Tue, Apr 05, 2016 at 04:22:51PM +0800, Chen Feng wrote:
>>>> We ca
Hi lee,
Mark already took the regulator set.
Please help take the mfd part.
mfd: hi655x: Add document for mfd hi665x PMIC
and
mfd: hi655x: Add MFD driver for hi655x
thanks a lot.
On 2016/4/11 16:14, Lee Jones wrote:
> On Sun, 14 Feb 2016, Chen Feng wrote:
>
>> The patch sets add
Hi Ard,
On 2016/4/11 16:00, Ard Biesheuvel wrote:
> On 11 April 2016 at 09:55, Chen Feng wrote:
>> Hi Ard,
>>
>> On 2016/4/11 15:35, Ard Biesheuvel wrote:
>>> On 11 April 2016 at 04:49, Chen Feng wrote:
>>>> Hi will,
>>>> Thanks for
On 2016/4/11 17:59, Chen Feng wrote:
> Hi Ard,
>
> On 2016/4/11 16:00, Ard Biesheuvel wrote:
>> On 11 April 2016 at 09:55, Chen Feng wrote:
>>> Hi Ard,
>>>
>>> On 2016/4/11 15:35, Ard Biesheuvel wrote:
>>>> On 11 April 2016 at 04:49, Ch
Hi Will,
On 2016/4/11 18:40, Will Deacon wrote:
> On Mon, Apr 11, 2016 at 12:31:53PM +0200, Ard Biesheuvel wrote:
>> On 11 April 2016 at 11:59, Chen Feng wrote:
>>> Please see the pg-tables below.
>>>
>>>
>>> With sparse and vmemmap enable.
>>&
Make the pfn always valid when using flat memory.
If the reserved memory is not align to memblock-size,
there will be holes in zone.
This patch makes the memory in buddy always in the
array of mem-map.
Signed-off-by: Chen Feng
Signed-off-by: Fu Jun
---
arch/arm64/mm/init.c | 7 ---
1 file
We can reduce the memory allocated at mem-map
by flatmem.
currently, the default memory-model in arm64 is
sparse memory. The mem-map array is not freed in
this scene. If the physical address is too long,
it will reserved too much memory for the mem-map
array.
Signed-off-by: Chen Feng
Signed-off
add Mel Gorman
On 2016/4/5 16:22, Chen Feng wrote:
> We can reduce the memory allocated at mem-map
> by flatmem.
>
> currently, the default memory-model in arm64 is
> sparse memory. The mem-map array is not freed in
> this scene. If the physical address is too long,
> it w
add Mel Gorman
On 2016/4/5 16:22, Chen Feng wrote:
> Make the pfn always valid when using flat memory.
> If the reserved memory is not align to memblock-size,
> there will be holes in zone.
>
> This patch makes the memory in buddy always in the
> array of mem-map.
>
>
Add dts node for hi665x pmic and hi6220 mtcmos driver
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
---
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 210 ++
1 file changed, 210 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
b/arch/arm64
Add pmic driver to support hisilicon hi665x pmic.
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
---
drivers/mfd/Kconfig | 9 ++
drivers/mfd/Makefile| 1 +
drivers/mfd/hi655x-pmic.c | 315
include/linux/mfd/hi655x
Add document for mfd driver hi655x pmic driver
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
---
.../devicetree/bindings/mfd/hisilicon,hi655x.txt | 18 ++
1 file changed, 18 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/hisilicon,hi655x.txt
|
||-| |
||(REGMAP_MMIO)| |
++ +-+
The patch sets are based on 4.3-rc7.
Chen Feng (7):
doc:bindings:Add document for mfd hi665x PMIC
doc:bindings:Document for mtcmos regulator on hi6220 SoC
Add Document for hi655x pmic driver
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
---
.../regulator/hisilicon,hi655x-regulator.txt | 50 ++
1 file changed, 50 insertions(+)
create mode 100644
Documentation/devicetree/bindings/regulator/hisilicon,hi655x
Add driver to support mtcmos on hi6220
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
---
drivers/regulator/hi6220-mtcmos.c | 245 ++
1 file changed, 245 insertions(+)
create mode 100644 drivers/regulator/hi6220-mtcmos.c
diff --git a/drivers/regulator
Add driver support for HiSilicon Hi655x voltage regulators.
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
---
drivers/regulator/Kconfig | 13 ++
drivers/regulator/Makefile | 2 +
drivers/regulator/hi655x-regulator.c | 246
Add Document for mtcmos driver on hi6220 SoC
Signed-off-by: Chen Feng
Signed-off-by: Fei Wang
---
.../bindings/regulator/hisilicon,hi6220-mtcmos.txt | 32 ++
1 file changed, 32 insertions(+)
create mode 100644
Documentation/devicetree/bindings/regulator/hisilicon,hi6220
1 - 100 of 184 matches
Mail list logo