Hi Thomas,
On 7/15/19 11:43 AM, Thomas Gleixner wrote:
> On Thu, 11 Jul 2019, Hoan Tran OS wrote:
>
>> Remove CONFIG_NODES_SPAN_OTHER_NODES as it's enabled
>> by default with NUMA.
>
> As I told you before this does not mention that the option is now enab
Hi,
On 7/30/19 1:14 AM, Michal Hocko wrote:
> [Sorry for a late reply]
>
> On Mon 15-07-19 17:55:07, Hoan Tran OS wrote:
>> Hi,
>>
>> On 7/12/19 10:00 PM, Michal Hocko wrote:
> [...]
>>> Hmm, I thought this was selectable. But I am obviously wrong h
Hi,
On 7/12/19 10:00 PM, Michal Hocko wrote:
> On Fri 12-07-19 15:37:30, Will Deacon wrote:
>> Hi all,
>>
>> On Fri, Jul 12, 2019 at 02:12:23PM +0200, Michal Hocko wrote:
>>> On Fri 12-07-19 10:56:47, Hoan Tran OS wrote:
>>> [...]
>>>> It woul
Hi,
On 7/12/19 2:02 PM, Michal Hocko wrote:
> On Thu 11-07-19 23:25:44, Hoan Tran OS wrote:
>> In NUMA layout which nodes have memory ranges that span across other nodes,
>> the mm driver can detect the memory node id incorrectly.
>>
>> For example, with layout below
&
Remove CONFIG_NODES_SPAN_OTHER_NODES as it's enabled
by default with NUMA.
Signed-off-by: Hoan Tran
---
arch/sparc/Kconfig | 9 -
1 file changed, 9 deletions(-)
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 26ab6f5..13449ea 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc
Remove CONFIG_NODES_SPAN_OTHER_NODES as it's enabled
by default with NUMA.
Signed-off-by: Hoan Tran
---
arch/s390/Kconfig | 8
1 file changed, 8 deletions(-)
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 109243f..788a8e9 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390
address:
Node 1 address:
This layout could occur on any architecture. This patch enables
CONFIG_NODES_SPAN_OTHER_NODES by default for NUMA to fix this issue.
V2:
* Revise the patch description
Hoan Tran (5):
mm: Enable CONFIG_NODES_SPAN_OTHER_NODES
Remove CONFIG_NODES_SPAN_OTHER_NODES as it's enabled
by default with NUMA.
Signed-off-by: Hoan Tran
---
arch/x86/Kconfig | 9 -
1 file changed, 9 deletions(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 2bbbd4d..fa9318c 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
Remove CONFIG_NODES_SPAN_OTHER_NODES as it's enabled by
default with NUMA.
Signed-off-by: Hoan Tran
---
arch/powerpc/Kconfig | 9 -
1 file changed, 9 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 8c1c636..bdde8bc 100644
--- a/arch/powerpc/Kconfig
+++ b
address:
Node 1 address:
This layout could occur on any architecture. This patch enables
CONFIG_NODES_SPAN_OTHER_NODES by default for NUMA to fix this issue.
Signed-off-by: Hoan Tran
---
mm/page_alloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
Hi Thomas,
On 7/10/19 12:58 PM, Thomas Gleixner wrote:
> Hoan,
>
> On Wed, 10 Jul 2019, Hoan Tran OS wrote:
>> On 6/25/19 3:45 PM, Thomas Gleixner wrote:
>>> On Tue, 25 Jun 2019, Hoan Tran OS wrote:
>>>> @@ -1567,15 +1567,6 @@ config X86_
Hi Thomas,
Thanks for you comments
On 6/25/19 3:45 PM, Thomas Gleixner wrote:
> Hoan,
>
> On Tue, 25 Jun 2019, Hoan Tran OS wrote:
>
> Please use 'x86/Kconfig: ' as prefix.
>
>> This patch removes CONFIG_NODES_SPAN_OTHER_NODES as it's
>> enabled by default wit
This patch removes CONFIG_NODES_SPAN_OTHER_NODES as it's
enabled by default with NUMA.
Signed-off-by: Hoan Tran
---
arch/s390/Kconfig | 8
1 file changed, 8 deletions(-)
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 109243f..788a8e9 100644
--- a/arch/s390/Kconfig
+++ b/arch
This patch removes CONFIG_NODES_SPAN_OTHER_NODES as it's
enabled by default with NUMA.
Signed-off-by: Hoan Tran
---
arch/sparc/Kconfig | 9 -
1 file changed, 9 deletions(-)
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 26ab6f5..13449ea 100644
--- a/arch/sparc/Kconfig
+++ b
This patch removes CONFIG_NODES_SPAN_OTHER_NODES as it's
enabled by default with NUMA.
Signed-off-by: Hoan Tran
---
arch/x86/Kconfig | 9 -
1 file changed, 9 deletions(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 2bbbd4d..fa9318c 100644
--- a/arch/x86/Kconfig
+++ b/arch
This patch removes CONFIG_NODES_SPAN_OTHER_NODES as it's
enabled by default with NUMA.
Signed-off-by: Hoan Tran
---
arch/powerpc/Kconfig | 9 -
1 file changed, 9 deletions(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 8c1c636..bdde8bc 100644
--- a/arch/powerpc
This patch set enables CONFIG_NODES_SPAN_OTHER_NODES by default
for NUMA.
The original patch [1]
[1] arm64: Kconfig: Enable NODES_SPAN_OTHER_NODES config for NUMA
https://www.spinics.net/lists/arm-kernel/msg737306.html
Hoan Tran (5):
mm: Enable CONFIG_NODES_SPAN_OTHER_NODES by default for NUMA
This patch enables CONFIG_NODES_SPAN_OTHER_NODES by default
for NUMA. As some NUMA nodes have memory ranges that span other
nodes. Even though a pfn is valid and between a node's start and
end pfns, it may not reside on that node.
Signed-off-by: Hoan Tran
---
mm/page_alloc.c | 2 +-
1 file
Hi Will,
On 6/25/19 3:12 AM, Will Deacon wrote:
> On Mon, Jun 24, 2019 at 02:38:28PM +0000, Hoan Tran OS wrote:
>> Some NUMA nodes have memory ranges that span other nodes.
>> Even though a pfn is valid and between a node's start and end pfns,
>> it may not reside on that n
Some NUMA nodes have memory ranges that span other nodes.
Even though a pfn is valid and between a node's start and end pfns,
it may not reside on that node.
This patch enables NODES_SPAN_OTHER_NODES config for NUMA to support
this type of NUMA layout.
Signed-off-by: Hoan Tran
---
arch/arm64
maintaining.
>>
>> Signed-off-by: Thomas Petazzoni
> Hoan should we simply change it to:
> Hoan Tran ?
>
> Yours,
> Linus Walleij
Hi Linus,
Sorry for the inconvenience.
We're posting a patch to change to the new email.
[1] MAINTAINERS: Update Ampere email address
https://patchwork.kernel.org/patch/10787557/
Regards
Hoan
on practices.]
>
>
> Hi Hoan,
>
> On Wed, Sep 19, 2018 at 06:44:30PM +, Hoan Tran wrote:
>> This patch adds CPU hotplug support where the PMU migrates the context to
>> another online CPU when its CPU is offline.
>>
&g
on practices.]
>
>
> Hi Hoan,
>
> On Wed, Sep 19, 2018 at 06:44:30PM +, Hoan Tran wrote:
>> This patch adds CPU hotplug support where the PMU migrates the context to
>> another online CPU when its CPU is offline.
>>
&g
ent (l3c0/cycle-count/).
/bin/dmesg may provide additional information.
No CONFIG_PERF_EVENTS=y kernel support configured?
With this patch, when CPU0 is offline, PMU migrates to another online CPU and
works on that CPU.
Signed-off-by: Hoan Tran
---
v2:
* Remove the cpuhp instance w
ent (l3c0/cycle-count/).
/bin/dmesg may provide additional information.
No CONFIG_PERF_EVENTS=y kernel support configured?
With this patch, when CPU0 is offline, PMU migrates to another online CPU and
works on that CPU.
Signed-off-by: Hoan Tran
---
v2:
* Remove the cpuhp instance w
on practices.]
>
>
> On Wed, Aug 15, 2018 at 11:31:35AM -0700, Hoan Tran wrote:
>> This patch adds CPU hotplug support where the PMU migrates the context to
>> another online CPU when its CPU is offline.
>>
>> It fixes the be
on practices.]
>
>
> On Wed, Aug 15, 2018 at 11:31:35AM -0700, Hoan Tran wrote:
>> This patch adds CPU hotplug support where the PMU migrates the context to
>> another online CPU when its CPU is offline.
>>
>> It fixes the be
ent (l3c0/cycle-count/).
/bin/dmesg may provide additional information.
No CONFIG_PERF_EVENTS=y kernel support configured?
With this patch, when CPU0 is offline, PMU migrates to another online CPU and
works on that CPU.
Signed-off-by: Hoan Tran
---
drivers/perf/xgene_pmu.c |
ent (l3c0/cycle-count/).
/bin/dmesg may provide additional information.
No CONFIG_PERF_EVENTS=y kernel support configured?
With this patch, when CPU0 is offline, PMU migrates to another online CPU and
works on that CPU.
Signed-off-by: Hoan Tran
---
drivers/perf/xgene_pmu.c |
inside the PMU name.
Signed-off-by: Hoan Tran
---
drivers/perf/xgene_pmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/perf/xgene_pmu.c b/drivers/perf/xgene_pmu.c
index 6bdb1da..0e31f13 100644
--- a/drivers/perf/xgene_pmu.c
+++ b/drivers/perf/xgene_pmu.c
@@ -1463,7 +1
inside the PMU name.
Signed-off-by: Hoan Tran
---
drivers/perf/xgene_pmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/perf/xgene_pmu.c b/drivers/perf/xgene_pmu.c
index 6bdb1da..0e31f13 100644
--- a/drivers/perf/xgene_pmu.c
+++ b/drivers/perf/xgene_pmu.c
@@ -1463,7 +1
Hi Lee,
On 5/16/18, 11:25 PM, "Lee Jones" <lee.jo...@linaro.org> wrote:
On Wed, 16 May 2018, Hoan Tran wrote:
> Hi Phil,
>
> On 5/11/18, 1:31 AM, "Phil Edworthy" <phil.edwor...@renesas.com> wrote:
>
> The De
Hi Lee,
On 5/16/18, 11:25 PM, "Lee Jones" wrote:
On Wed, 16 May 2018, Hoan Tran wrote:
> Hi Phil,
>
> On 5/11/18, 1:31 AM, "Phil Edworthy" wrote:
>
> The DesignWare GPIO IP can be configured for either 1 interr
v6:
- Treat DT and ACPI the same as much as possible. Note that we can't use
platform_get_irq() to get the DT interrupts as they are in the port
sub-node and hence do not have an associated platform device.
v5:
- Rolled ACPI companion code provided by Hoan Tran into this pa
get the DT interrupts as they are in the port
sub-node and hence do not have an associated platform device.
v5:
- Rolled ACPI companion code provided by Hoan Tran into this patch.
v4:
- Use of_irq_get() instead of of_irq_parse_one()+irq_create_of_mapping()
v3:
-
sed for single interrupt hardware.
>
> ACPI companion code provided by Hoan Tran <hot...@apm.com>. This was tested
> on X-Gene by Hoan.
>
> Signed-off-by: Phil Edworthy <phil.edwor...@renesas.com>
> Reviewed-by: Rob Herring <r...@kernel.org>
> Acked-by: Lee
re.
>
> ACPI companion code provided by Hoan Tran . This was tested
> on X-Gene by Hoan.
>
> Signed-off-by: Phil Edworthy
> Reviewed-by: Rob Herring
> Acked-by: Lee Jones
> ---
> One point to mention is that I have made it possible for users to have
> unconncted
Hi Phil,
On Thu, Apr 19, 2018 at 3:03 AM, Phil Edworthy
<phil.edwor...@renesas.com> wrote:
> Hi Hoan
>
> On 18 April 2018 08:03 Hoan Tran wrote:
>> On Fri, Apr 13, 2018 at 9:47 AM, Phil Edworthy wrote:
>> > On 13 April 2018 17:37 Hoan Tran wrote:
>> >
Hi Phil,
On Thu, Apr 19, 2018 at 3:03 AM, Phil Edworthy
wrote:
> Hi Hoan
>
> On 18 April 2018 08:03 Hoan Tran wrote:
>> On Fri, Apr 13, 2018 at 9:47 AM, Phil Edworthy wrote:
>> > On 13 April 2018 17:37 Hoan Tran wrote:
>> >> On Fri, Apr 13,
Hi Phil,
On Fri, Apr 13, 2018 at 9:47 AM, Phil Edworthy
<phil.edwor...@renesas.com> wrote:
> Hi Hoan,
>
> On 13 April 2018 17:37 Hoan Tran wrote:
>> On Fri, Apr 13, 2018 at 1:51 AM, Phil Edworthy wrote:
>> > The DesignWare GPIO IP can be configured for either
Hi Phil,
On Fri, Apr 13, 2018 at 9:47 AM, Phil Edworthy
wrote:
> Hi Hoan,
>
> On 13 April 2018 17:37 Hoan Tran wrote:
>> On Fri, Apr 13, 2018 at 1:51 AM, Phil Edworthy wrote:
>> > The DesignWare GPIO IP can be configured for either 1 interrupt or 1
>> > p
Hi Phil,
On Fri, Apr 13, 2018 at 1:51 AM, Phil Edworthy
wrote:
> The DesignWare GPIO IP can be configured for either 1 interrupt or 1
> per GPIO in port A, but the driver currently only supports 1 interrupt.
> See the DesignWare DW_apb_gpio Databook description of the
Hi Phil,
On Fri, Apr 13, 2018 at 1:51 AM, Phil Edworthy
wrote:
> The DesignWare GPIO IP can be configured for either 1 interrupt or 1
> per GPIO in port A, but the driver currently only supports 1 interrupt.
> See the DesignWare DW_apb_gpio Databook description of the
> 'GPIO_INTR_IO' parameter.
On Wed, Nov 1, 2017 at 6:15 AM, Guenter Roeck <li...@roeck-us.net> wrote:
> On Tue, Oct 31, 2017 at 01:58:07PM -0700, hotran wrote:
>> This patch removes the un-necessary ifdef CONFIG_ACPI and directly
>> uses the acpi_match_table from the driver pdev.
>>
>&
On Wed, Nov 1, 2017 at 6:15 AM, Guenter Roeck wrote:
> On Tue, Oct 31, 2017 at 01:58:07PM -0700, hotran wrote:
>> This patch removes the un-necessary ifdef CONFIG_ACPI and directly
>> uses the acpi_match_table from the driver pdev.
>>
>> Signed-off-by: Hoan Tran
This patch removes the un-necessary ifdef CONFIG_ACPI and directly
uses the acpi_match_table from the driver pdev.
Signed-off-by: Hoan Tran <hot...@apm.com>
---
drivers/hwmon/xgene-hwmon.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/hwmon/xgene-hwm
This patch removes the un-necessary ifdef CONFIG_ACPI and directly
uses the acpi_match_table from the driver pdev.
Signed-off-by: Hoan Tran
---
drivers/hwmon/xgene-hwmon.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/hwmon/xgene-hwmon.c b/drivers/hwmon
Hi Andy,
On Tue, Oct 31, 2017 at 2:14 AM, Andy Shevchenko
<andriy.shevche...@linux.intel.com> wrote:
> On Mon, 2017-10-30 at 15:24 -0700, Hoan Tran wrote:
>> This patch supports xgene-slimpro-i2c v2 which uses the non-cachable
>> memory
>> as the PCC shared memor
Hi Andy,
On Tue, Oct 31, 2017 at 2:14 AM, Andy Shevchenko
wrote:
> On Mon, 2017-10-30 at 15:24 -0700, Hoan Tran wrote:
>> This patch supports xgene-slimpro-i2c v2 which uses the non-cachable
>> memory
>> as the PCC shared memory.
>>
>
> Reviewed-by: Andy
This patch supports xgene-slimpro-i2c v2 which uses the non-cachable memory
as the PCC shared memory.
Signed-off-by: Hoan Tran <hot...@apm.com>
---
v2:
- Remove un-necessary ifdef CONFIG_ACPI
- Use acpi_match_table pointer from pdev
- Use MEMREMAP_WT for non-cachable memory
drive
This patch supports xgene-slimpro-i2c v2 which uses the non-cachable memory
as the PCC shared memory.
Signed-off-by: Hoan Tran
---
v2:
- Remove un-necessary ifdef CONFIG_ACPI
- Use acpi_match_table pointer from pdev
- Use MEMREMAP_WT for non-cachable memory
drivers/i2c/busses/i2c-xgene
Hi Andy,
On Sat, Oct 28, 2017 at 12:37 PM, Andy Shevchenko
<andriy.shevche...@linux.intel.com> wrote:
> On Sat, 2017-10-28 at 14:11 +0200, Wolfram Sang wrote:
>> Thanks for the patch!
>>
>> On Mon, Oct 23, 2017 at 03:12:20PM -0700, Hoan Tran wrote:
>> > This
Hi Andy,
On Sat, Oct 28, 2017 at 12:37 PM, Andy Shevchenko
wrote:
> On Sat, 2017-10-28 at 14:11 +0200, Wolfram Sang wrote:
>> Thanks for the patch!
>>
>> On Mon, Oct 23, 2017 at 03:12:20PM -0700, Hoan Tran wrote:
>> > This patch supports xgene-slimpro-i2c
This patch supports xgene-slimpro-i2c v2 which uses the non-cachable memory
as the PCC shared memory.
Signed-off-by: Hoan Tran <hot...@apm.com>
---
drivers/i2c/busses/i2c-xgene-slimpro.c | 45 +-
1 file changed, 34 insertions(+), 11 deletions(-)
diff
This patch supports xgene-slimpro-i2c v2 which uses the non-cachable memory
as the PCC shared memory.
Signed-off-by: Hoan Tran
---
drivers/i2c/busses/i2c-xgene-slimpro.c | 45 +-
1 file changed, 34 insertions(+), 11 deletions(-)
diff --git a/drivers/i2c/busses
Hi,
On Sat, Oct 21, 2017 at 8:56 AM, Guenter Roeck <li...@roeck-us.net> wrote:
> On Tue, Oct 17, 2017 at 11:28:34AM -0700, hotran wrote:
>> This patch supports xgene-hwmon v2 which uses the non-cachable memory
>> as the PCC shared memory.
>>
>> Signed-
Hi,
On Sat, Oct 21, 2017 at 8:56 AM, Guenter Roeck wrote:
> On Tue, Oct 17, 2017 at 11:28:34AM -0700, hotran wrote:
>> This patch supports xgene-hwmon v2 which uses the non-cachable memory
>> as the PCC shared memory.
>>
>> Signed-off-by: Hoan Tran
>> ---
>&g
This patch supports xgene-hwmon v2 which uses the non-cachable memory
as the PCC shared memory.
Signed-off-by: Hoan Tran <hot...@apm.com>
---
v4
- Initialize version variable
v3
- Use local version variable
- Use inline calls instead of the private map function
v2
- Map PCC shar
This patch supports xgene-hwmon v2 which uses the non-cachable memory
as the PCC shared memory.
Signed-off-by: Hoan Tran
---
v4
- Initialize version variable
v3
- Use local version variable
- Use inline calls instead of the private map function
v2
- Map PCC shared mem by ioremap() in case
Hi
On Fri, Oct 13, 2017 at 9:54 PM, Guenter Roeck <li...@roeck-us.net> wrote:
> On 10/13/2017 09:38 PM, Hoan Tran wrote:
>>
>> Hi Guenter,
>>
>> On Fri, Oct 13, 2017 at 9:28 PM, Guenter Roeck <li...@roeck-us.net> wrote:
>>>
>>> On 10/13/
Hi
On Fri, Oct 13, 2017 at 9:54 PM, Guenter Roeck wrote:
> On 10/13/2017 09:38 PM, Hoan Tran wrote:
>>
>> Hi Guenter,
>>
>> On Fri, Oct 13, 2017 at 9:28 PM, Guenter Roeck wrote:
>>>
>>> On 10/13/2017 04:10 PM, Hoan Tran wrote:
>>>>
>&g
Hi Guenter,
On Fri, Oct 13, 2017 at 9:28 PM, Guenter Roeck <li...@roeck-us.net> wrote:
> On 10/13/2017 04:10 PM, Hoan Tran wrote:
>>
>> This patch supports xgene-hwmon v2 which uses the non-cachable memory
>> as the PCC shared memory.
>>
>> Signed-off-by:
Hi Guenter,
On Fri, Oct 13, 2017 at 9:28 PM, Guenter Roeck wrote:
> On 10/13/2017 04:10 PM, Hoan Tran wrote:
>>
>> This patch supports xgene-hwmon v2 which uses the non-cachable memory
>> as the PCC shared memory.
>>
>> Signed-off-by: Hoan Tran
>> ---
This patch supports xgene-hwmon v2 which uses the non-cachable memory
as the PCC shared memory.
Signed-off-by: Hoan Tran <hot...@apm.com>
---
v3
- Use local version variable
- Use inline calls instead of the private map function
v2
- Map PCC shared mem by ioremap() in case hwmon
This patch supports xgene-hwmon v2 which uses the non-cachable memory
as the PCC shared memory.
Signed-off-by: Hoan Tran
---
v3
- Use local version variable
- Use inline calls instead of the private map function
v2
- Map PCC shared mem by ioremap() in case hwmon is v2
drivers/hwmon/xgene
Hi Guenter,
On Tue, Oct 10, 2017 at 8:54 PM, Guenter Roeck <li...@roeck-us.net> wrote:
> On 10/10/2017 05:10 PM, Hoan Tran wrote:
>>
>> This patch supports xgene-hwmon v2 which uses the non-cachable memory
>> as the PCC shared memory.
>>
>> S
Hi Guenter,
On Tue, Oct 10, 2017 at 8:54 PM, Guenter Roeck wrote:
> On 10/10/2017 05:10 PM, Hoan Tran wrote:
>>
>> This patch supports xgene-hwmon v2 which uses the non-cachable memory
>> as the PCC shared memory.
>>
>> Signed-off-by: Hoan Tran
>>
This patch supports xgene-hwmon v2 which uses the non-cachable memory
as the PCC shared memory.
Signed-off-by: Hoan Tran <hot...@apm.com>
---
v2
- Map PCC shared mem by ioremap() in case hwmon is v2
drivers/hwmon/xgene-hwmon.c | 52 +++--
1 file c
This patch supports xgene-hwmon v2 which uses the non-cachable memory
as the PCC shared memory.
Signed-off-by: Hoan Tran
---
v2
- Map PCC shared mem by ioremap() in case hwmon is v2
drivers/hwmon/xgene-hwmon.c | 52 +++--
1 file changed, 41 insertions
This patch adds maintainer for Synopsys DesignWare APB GPIO driver.
Signed-off-by: Hoan Tran <hot...@apm.com>
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 36cf85d..7ee8957 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1
This patch adds maintainer for Synopsys DesignWare APB GPIO driver.
Signed-off-by: Hoan Tran
---
MAINTAINERS | 6 ++
1 file changed, 6 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 36cf85d..7ee8957 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -12929,6 +12929,12 @@ F: arch
This patch supports xgene-hwmon v2 which uses the non-cachable memory
as the PCC shared memory.
Signed-off-by: Hoan Tran <hot...@apm.com>
---
drivers/hwmon/xgene-hwmon.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwmon/xgene-hwmon.c b/drivers/hwmon/xgene-hwmon.c
index 9
This patch supports xgene-hwmon v2 which uses the non-cachable memory
as the PCC shared memory.
Signed-off-by: Hoan Tran
---
drivers/hwmon/xgene-hwmon.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwmon/xgene-hwmon.c b/drivers/hwmon/xgene-hwmon.c
index 9c0dbb8..5cd327e 100644
As the PCC shared memory could be in IO region which doesn't
support caching, this patch simply uses ioremap() for IO region.
Signed-off-by: Hoan Tran <hot...@apm.com>
---
drivers/hwmon/xgene-hwmon.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/d
As the PCC shared memory could be in IO region which doesn't
support caching, this patch simply uses ioremap() for IO region.
Signed-off-by: Hoan Tran
---
drivers/hwmon/xgene-hwmon.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/drivers/hwmon/xgene-hwmon.c
This patch supports xgene-hwmon v2 which uses the non-cachable memory
as the PCC shared memory.
Hoan Tran (2):
hwmon: xgene: Support hwmon v2
hwmon: xgene: Support PCC shared memory in IO region
drivers/hwmon/xgene-hwmon.c | 15 ---
1 file changed, 12 insertions(+), 3 deletions
This patch supports xgene-hwmon v2 which uses the non-cachable memory
as the PCC shared memory.
Hoan Tran (2):
hwmon: xgene: Support hwmon v2
hwmon: xgene: Support PCC shared memory in IO region
drivers/hwmon/xgene-hwmon.c | 15 ---
1 file changed, 12 insertions(+), 3 deletions
This patch supports irq_set_wake for dwapb gpio. It allows GPIOs
to be configured as wakeup sources and wake the system from suspend.
Signed-off-by: Hoan Tran <hot...@apm.com>
---
drivers/gpio/gpio-dwapb.c | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff
This patch supports irq_set_wake for dwapb gpio. It allows GPIOs
to be configured as wakeup sources and wake the system from suspend.
Signed-off-by: Hoan Tran
---
drivers/gpio/gpio-dwapb.c | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/drivers/gpio
] [] kernel_init_freeable+0x190/0x22c
[8.031431] [] kernel_init+0x10/0xfc
[8.031432] [] ret_from_fork+0x10/0x50
[8.031434] Code: cb030e63 8b030013 b140067f 54fffda8 (f9400a61)
[8.031448] ---[ end trace 14eb48a4e1e1f9fb ]---
Signed-off-by: Hoan Tran <hot...@apm.com>
---
drivers/mailbox/pcc
] [] kernel_init_freeable+0x190/0x22c
[8.031431] [] kernel_init+0x10/0xfc
[8.031432] [] ret_from_fork+0x10/0x50
[8.031434] Code: cb030e63 8b030013 b140067f 54fffda8 (f9400a61)
[8.031448] ---[ end trace 14eb48a4e1e1f9fb ]---
Signed-off-by: Hoan Tran
---
drivers/mailbox/pcc.c | 2 +-
1 file
On Thu, Jun 22, 2017 at 11:17 AM, Mark Rutland <mark.rutl...@arm.com> wrote:
> On Thu, Jun 22, 2017 at 11:13:08AM -0700, Hoan Tran wrote:
>> On Thu, Jun 22, 2017 at 10:52 AM, Mark Rutland <mark.rutl...@arm.com> wrote:
>> > On Tue, Jun 06, 2017 at 11:02:26AM -0700, H
On Thu, Jun 22, 2017 at 11:17 AM, Mark Rutland wrote:
> On Thu, Jun 22, 2017 at 11:13:08AM -0700, Hoan Tran wrote:
>> On Thu, Jun 22, 2017 at 10:52 AM, Mark Rutland wrote:
>> > On Tue, Jun 06, 2017 at 11:02:26AM -0700, Hoan Tran wrote:
>> > > static inline void
>
Hi Mark,
On Thu, Jun 22, 2017 at 11:18 AM, Mark Rutland <mark.rutl...@arm.com> wrote:
> On Thu, Jun 22, 2017 at 06:52:56PM +0100, Mark Rutland wrote:
>> Hi Hoan,
>>
>> This largely looks good; I have one minor comment.
>>
>> On Tue, Jun 06, 2017 at 11:02:26
Hi Mark,
On Thu, Jun 22, 2017 at 11:18 AM, Mark Rutland wrote:
> On Thu, Jun 22, 2017 at 06:52:56PM +0100, Mark Rutland wrote:
>> Hi Hoan,
>>
>> This largely looks good; I have one minor comment.
>>
>> On Tue, Jun 06, 2017 at 11:02:26AM -0700, Hoan Tra
Hi Mark,
On Thu, Jun 22, 2017 at 10:52 AM, Mark Rutland <mark.rutl...@arm.com> wrote:
>
> Hi Hoan,
>
> This largely looks good; I have one minor comment.
>
> On Tue, Jun 06, 2017 at 11:02:26AM -0700, Hoan Tran wrote:
> > static inline void
> > +xgene_pmu_
Hi Mark,
On Thu, Jun 22, 2017 at 10:52 AM, Mark Rutland wrote:
>
> Hi Hoan,
>
> This largely looks good; I have one minor comment.
>
> On Tue, Jun 06, 2017 at 11:02:26AM -0700, Hoan Tran wrote:
> > static inline void
> > +xgene_pmu_write_counter64(struct xgene_pmu_
Hi Mark and All,
Do you have any comments on this patch set?
Thank you!
Hoan
On Tue, Jun 6, 2017 at 11:02 AM, Hoan Tran <hot...@apm.com> wrote:
> This patch set adds support for SoC-wide (AKA uncore) Performance Monitoring
> Unit version 3.
>
> It can support up to
>
Hi Mark and All,
Do you have any comments on this patch set?
Thank you!
Hoan
On Tue, Jun 6, 2017 at 11:02 AM, Hoan Tran wrote:
> This patch set adds support for SoC-wide (AKA uncore) Performance Monitoring
> Unit version 3.
>
> It can support up to
> - 2 IOB PMU instances
rs/i2c/busses/i2c-xgene-slimpro.c
> +++ b/drivers/i2c/busses/i2c-xgene-slimpro.c
> @@ -27,6 +27,7 @@
> #include
> #include
> #include
> +#include
> #include
> #include
> #include
> --
> 2.9.0
>
Reviewed-by: Hoan Tran <hot...@apm.com>
Thanks
Hoan
++ b/drivers/i2c/busses/i2c-xgene-slimpro.c
> @@ -27,6 +27,7 @@
> #include
> #include
> #include
> +#include
> #include
> #include
> #include
> --
> 2.9.0
>
Reviewed-by: Hoan Tran
Thanks
Hoan
This patch parses PMU Subnode from a match table.
Signed-off-by: Hoan Tran <hot...@apm.com>
---
drivers/perf/xgene_pmu.c | 40 ++--
1 file changed, 30 insertions(+), 10 deletions(-)
diff --git a/drivers/perf/xgene_pmu.c b/drivers/perf/xgene_pmu.c
This patch parses PMU Subnode from a match table.
Signed-off-by: Hoan Tran
---
drivers/perf/xgene_pmu.c | 40 ++--
1 file changed, 30 insertions(+), 10 deletions(-)
diff --git a/drivers/perf/xgene_pmu.c b/drivers/perf/xgene_pmu.c
index 35b5289..5ffd580
This patch adds support for SoC-wide (AKA uncore) Performance Monitoring
Unit version 3.
It can support up to
- 2 IOB PMU instances
- 8 L3C PMU instances
- 2 MCB PMU instances
- 8 MCU PMU instances
and these PMUs support 64 bit counter
Signed-off-by: Hoan Tran <hot...@apm.com>
---
d
This patch adds support for SoC-wide (AKA uncore) Performance Monitoring
Unit version 3.
It can support up to
- 2 IOB PMU instances
- 8 L3C PMU instances
- 2 MCB PMU instances
- 8 MCU PMU instances
and these PMUs support 64 bit counter
Signed-off-by: Hoan Tran
---
drivers/perf/xgene_pmu.c
This patch moves PMU leaf functions into a function pointer structure.
It helps code maintain and expasion easier.
Signed-off-by: Hoan Tran <hot...@apm.com>
---
drivers/perf/xgene_pmu.c | 85 +---
1 file changed, 66 insertions(+), 19 deletions(-)
for v3
* Consistent PMU event name
* Update comment
* Correct active MCU detection
v2:
* Split into separate patches
* Use the function pointers for the PMU leaf functions
* Parse PMU subnode by the match table
* Dont allow user change agent id by config1 for SoC PMU v3
Hoan Tran (3):
perf
This patch moves PMU leaf functions into a function pointer structure.
It helps code maintain and expasion easier.
Signed-off-by: Hoan Tran
---
drivers/perf/xgene_pmu.c | 85 +---
1 file changed, 66 insertions(+), 19 deletions(-)
diff --git a/drivers
for v3
* Consistent PMU event name
* Update comment
* Correct active MCU detection
v2:
* Split into separate patches
* Use the function pointers for the PMU leaf functions
* Parse PMU subnode by the match table
* Dont allow user change agent id by config1 for SoC PMU v3
Hoan Tran (3):
perf
Hi Mark,
On Fri, Jun 2, 2017 at 9:04 AM, Mark Rutland <mark.rutl...@arm.com> wrote:
> Hi Hoan,
>
> Apologies for the delay in getting to this.
>
> On Mon, Apr 03, 2017 at 09:47:57AM -0700, Hoan Tran wrote:
>> This patch adds support for SoC-wide (AKA uncore) Performance
1 - 100 of 419 matches
Mail list logo