t too long. This patch releases spinlock before request_irq()
and free_irq() to fix this issue as spinlock is only needed to
protect the channel data.
Signed-off-by: Hoan Tran
---
v2
* Release spinlock before request_irq() and free_irq() instead of
using mutex
drivers/mailbox/pcc.c | 8 --
Hi Prashanth,
On Fri, Oct 14, 2016 at 4:44 PM, Prakash, Prashanth
wrote:
> Hi Hoan,
>
> On 10/14/2016 4:52 PM, Hoan Tran wrote:
>> This patch fixes the lockdep warning below
>>
>> [7.229767] DEBUG_LOCKS_WARN_ON(irqs_disabled_flags(flags))
>> [
When CONFIG_PCC is disabled, pcc_mbox_request_channel() needs to
return ERR_PTR(-ENODEV), not a NULL pointer, as the callers of
this function use IS_ERR() to check for error code.
Signed-off-by: Duc Dang
Signed-off-by: Hoan Tran
---
include/acpi/pcc.h | 2 +-
1 file changed, 1 insertion(+), 1
t too long. Adding a mutex to protect critical section of this
function. Beside of that, spinlock is still used to protect the
data of channel.
Signed-off-by: Hoan Tran
---
drivers/mailbox/pcc.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/mailbox/pcc.c b/dr
On Thu, Oct 13, 2016 at 2:12 PM, Rafael J. Wysocki wrote:
> On Thu, Oct 13, 2016 at 9:37 PM, Prakash, Prashanth
> wrote:
>> On 10/13/2016 11:33 AM, Hoan Tran wrote:
>>> The desired_perf is an abstract performance number. Its value should
>>> be in the range of [lowe
old perf.
Signed-off-by: Hoan Tran
---
v2
* Return if desired_perf is the same with the old one (Prashanth's suggestion)
drivers/cpufreq/cppc_cpufreq.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/cpufreq/cppc_cpufreq.c b/drivers/cpufreq/cppc_cpuf
[Resend with plain text mode]
Hi Prashanth,
On Wed, Oct 12, 2016 at 8:36 AM, Prakash, Prashanth
wrote:
> Hi Hoan,
>
> On 10/11/2016 3:12 PM, Hoan Tran wrote:
>> The desired_perf is an abstract performance number. Its value should
>> be in the range of [lowest perf, highest
Hi Rafael,
On Tue, Oct 11, 2016 at 2:50 PM, Rafael J. Wysocki wrote:
> On Tuesday, October 11, 2016 02:12:00 PM Hoan Tran wrote:
>> The desired_perf is an abstract performance number. Its value should
>> be in the range of [lowest perf, highest perf] of CPPC.
>> The c
The desired_perf is an abstract performance number. Its value should
be in the range of [lowest perf, highest perf] of CPPC.
The correct calculation is
desired_perf = freq * cppc_highest_perf / cppc_dmi_max_khz
Signed-off-by: Hoan Tran
---
drivers/cpufreq/cppc_cpufreq.c | 2 +-
1 file changed
SMBus block command uses the first byte of buffer for the data length.
The dma_buffer should be increased by 1 to avoid the overrun issue.
Reported-by: Phil Endecott
Signed-off-by: Hoan Tran
---
drivers/i2c/busses/i2c-xgene-slimpro.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Hi Rafael,
On Wed, Sep 14, 2016 at 5:50 PM, Rafael J. Wysocki wrote:
> On Wednesday, September 14, 2016 04:08:28 PM Hoan Tran wrote:
>> This patch fixes overflow issue when calculating the desired_perf.
>>
>> Signed-off-by: Hoan Tran
>> ---
>> drivers/cpufreq/
This patch fixes overflow issue when calculating the desired_perf.
Signed-off-by: Hoan Tran
---
drivers/cpufreq/cppc_cpufreq.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/cpufreq/cppc_cpufreq.c b/drivers/cpufreq/cppc_cpufreq.c
index 894e465..3e0961e 100644
On Wed, Sep 14, 2016 at 1:55 PM, Stephen Boyd wrote:
> On 09/12, Hoan Tran wrote:
>> Add X-Gene PMD clock support.
>>
>> PMD clock is implemented for a single register field.
>> Output rate = parent_rate * (denominator - scale) / denominator
>> with
>>
Hi Stephen,
On Wed, Sep 14, 2016 at 1:55 PM, Stephen Boyd wrote:
> On 09/12, Hoan Tran wrote:
>> Add DT nodes to enable APM X-Gene 2 CPU clocks.
>>
>> Signed-off-by: Hoan Tran
>> ---
>
> This can go through arm-soc? I'm not applying this.
Yes,
On Wed, Sep 14, 2016 at 9:49 AM, Rafael J. Wysocki wrote:
> On Wednesday, September 14, 2016 08:45:14 AM Hoan Tran wrote:
>> On Tue, Aug 30, 2016 at 11:20 AM, Hoan Tran wrote:
>> > On Thu, Jul 21, 2016 at 2:07 PM, Hoan Tran wrote:
>> >> For PCC mailbox with in
For PCC mailbox with interrupt flag, CPPC should call mbox_chan_txdone()
function to notify the mailbox framework about TX completion.
Signed-off-by: Hoan Tran
Reviewed-by: Prashanth Prakash
---
drivers/acpi/cppc_acpi.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a
On Tue, Aug 30, 2016 at 11:20 AM, Hoan Tran wrote:
> On Thu, Jul 21, 2016 at 2:07 PM, Hoan Tran wrote:
>> For PCC mailbox with interrupt flag, CPPC should call mbox_chan_txdone()
>> function to notify the mailbox framework about TX completion.
>>
>> Signed-off-by: Hoan
On Mon, Sep 12, 2016 at 3:07 PM, Rafael J. Wysocki wrote:
> On Monday, August 15, 2016 05:14:05 PM Hoan Tran wrote:
>> ACPI 6.1 has a PCC HW-Reduced Communication Subspace type 2 intended for
>> use on HW-Reduce ACPI Platform, which requires read-modify-write sequence
>> to
and scale
will be computed and programmed accordingly.
Signed-off-by: Hoan Tran
---
drivers/clk/clk-xgene.c | 221
1 file changed, 221 insertions(+)
diff --git a/drivers/clk/clk-xgene.c b/drivers/clk/clk-xgene.c
index 3433132..5daddf5 100644
--- a
Add APM X-Gene clock binding documentation for PMD clock.
Signed-off-by: Hoan Tran
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/clock/xgene.txt | 18 ++
1 file changed, 18 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/xgene.txt
b
and scale
will be computed and programmed accordingly.
v3
* Minor changes on dt binding document.
v2
* Imply clock shift and width by the compatible string as Rob's comments
v1
* Initial
Hoan Tran (3):
Documentation: dtb: xgene: Add PMD clock binding
clk: xgene: Add PMD clock
arm64
Add DT nodes to enable APM X-Gene 2 CPU clocks.
Signed-off-by: Hoan Tran
---
arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 56 ++
1 file changed, 56 insertions(+)
diff --git a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
On Mon, Sep 12, 2016 at 8:37 AM, Rob Herring wrote:
> On Fri, Sep 02, 2016 at 05:40:53PM -0700, Hoan Tran wrote:
>> Add APM X-Gene clock binding documentation for PMD clock.
>>
>> Signed-off-by: Hoan Tran
>> ---
>> Documentation/devicetree/bindings/clock/xgene.
On Fri, Sep 9, 2016 at 1:50 PM, Arnd Bergmann wrote:
> On Friday, September 9, 2016 1:43:17 PM CEST Hoan Tran wrote:
>>
>> > * Are you sure you don't need any smp_rmb()/smp_wmb() barriers
>> > between the accesses?
>>
>> No, we don't need a s
cppc_ss->length);
> + ctx->pcc_comm_addr = memremap(ctx->comm_base_addr,
> + cppc_ss->length,
> + MEMREMAP_WB);
> } else {
> dev_err(&pdev->dev, "Failed to get PCC comm
> region\n");
> rc = -ENODEV;
>
Acked-by: Hoan Tran
Tested-by: Hoan Tran
Thanks
Hoan
On Fri, Sep 9, 2016 at 12:58 PM, Arnd Bergmann wrote:
> On Friday, September 9, 2016 12:24:32 PM CEST Hoan Tran wrote:
>> On Fri, Sep 9, 2016 at 8:38 AM, Arnd Bergmann wrote:
>> > The newly added hwmon driver fails to build in an allmodconfig
>> > index bc78a5
Hi Arnd,
On Fri, Sep 9, 2016 at 8:38 AM, Arnd Bergmann wrote:
> The newly added hwmon driver fails to build in an allmodconfig
> kernel:
>
> 1 ERROR: "memblock_is_memory" [drivers/hwmon/xgene-hwmon.ko] undefined!
>
> According to comments in the code, the mailbox is a shared memory region,
On Fri, Sep 9, 2016 at 9:58 AM, Guenter Roeck wrote:
> Hi Arnd,
>
> On Fri, Sep 09, 2016 at 05:38:58PM +0200, Arnd Bergmann wrote:
>> The newly added hwmon driver fails to build in an allmodconfig
>> kernel:
>>
>> 1 ERROR: "memblock_is_memory" [drivers/hwmon/xgene-hwmon.ko]
>> undefined!
>
valid resourse as unmapped PCC shared memory.
This patch fixes this issue by saving this alarm message and scheduling a
bottom handler after xgene_hwmon_probe() finish.
Signed-off-by: Hoan Tran
Reported-by: Itaru Kitayama
---
v3
* Replace IS_ERR by IS_ERR_OR_NULL
v2
* Check hwmon_de
Hi All,
Please discard this patch. I'll resend another one soon.
Thanks
Hoan
On Thu, Sep 8, 2016 at 8:31 AM, Hoan Tran wrote:
> The system crashes during probing xgene-hwmon driver when temperature
> alarm interrupt occurs before.
> It's because
> - xgene_hwmon_pr
valid resourse as unmapped PCC shared memory.
This patch fixes this issue by saving this alarm message and scheduling a
bottom handler after xgene_hwmon_probe() finish.
Signed-off-by: Hoan Tran
Reported-by: Itaru Kitayama
---
v2
* Check hwmon_dev and resp_pending to determine the driver is not
Hi Guenter,
On Wed, Sep 7, 2016 at 12:24 PM, Guenter Roeck wrote:
> On Wed, Sep 07, 2016 at 11:55:06AM -0700, Hoan Tran wrote:
>> Hi Guenter,
>>
>> On Tue, Sep 6, 2016 at 11:39 PM, Guenter Roeck wrote:
>> > On 09/06/2016 11:07 PM, Hoan Tran wrote:
>> >>
Hi Guenter,
On Tue, Sep 6, 2016 at 11:39 PM, Guenter Roeck wrote:
> On 09/06/2016 11:07 PM, Hoan Tran wrote:
>>
>> Hi Guenter,
>>
>> On Tue, Sep 6, 2016 at 10:50 PM, Guenter Roeck wrote:
>>>
>>> On 09/06/2016 10:21 PM, Hoan Tran wrote:
>>>
Hi Guenter,
On Tue, Sep 6, 2016 at 10:50 PM, Guenter Roeck wrote:
> On 09/06/2016 10:21 PM, Hoan Tran wrote:
>>
>> Hi Guenter,
>>
>> Thank for your quick review !
>>
>> On Tue, Sep 6, 2016 at 9:35 PM, Guenter Roeck wrote:
>>>
>>> On
Hi Guenter,
Thank for your quick review !
On Tue, Sep 6, 2016 at 9:35 PM, Guenter Roeck wrote:
> On 09/06/2016 08:46 PM, Hoan Tran wrote:
>>
>> The system crashes during probing xgene-hwmon driver when temperature
>> alarm interrupt occurs before.
>> It's
into invalid resource as unmapped PCC shared memory.
This patch fixes this issue by saving this alarm message and scheduling a
bottom handler after xgene_hwmon_probe() finish.
Signed-off-by: Hoan Tran
Reported-by: Itaru Kitayama
---
drivers/hwmon/xgene-hwmon.c
and scale
will be computed and programmed accordingly.
v2
* Imply clock shift and width by the compatible string as Rob's comments
v1
* Initial
Hoan Tran (3):
Documentation: dtb: xgene: Add PMD clock binding
clk: xgene: Add PMD clock
arm64: dts: xgene: Add DT node for APM X-Gene
and scale
will be computed and programmed accordingly.
Signed-off-by: Hoan Tran
---
drivers/clk/clk-xgene.c | 221
1 file changed, 221 insertions(+)
diff --git a/drivers/clk/clk-xgene.c b/drivers/clk/clk-xgene.c
index 3433132..5daddf5 100644
--- a
Add DT nodes to enable APM X-Gene 2 CPU clocks.
Signed-off-by: Hoan Tran
---
arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 56 ++
1 file changed, 56 insertions(+)
diff --git a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
Add APM X-Gene clock binding documentation for PMD clock.
Signed-off-by: Hoan Tran
---
Documentation/devicetree/bindings/clock/xgene.txt | 18 ++
1 file changed, 18 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/xgene.txt
b/Documentation/devicetree/bindings
On Thu, Jul 21, 2016 at 2:07 PM, Hoan Tran wrote:
> For PCC mailbox with interrupt flag, CPPC should call mbox_chan_txdone()
> function to notify the mailbox framework about TX completion.
>
> Signed-off-by: Hoan Tran
> ---
> This patch is tested on top and depends on pa
Hi Rob,
On Mon, Aug 29, 2016 at 8:42 AM, Rob Herring wrote:
> On Tue, Aug 23, 2016 at 08:52:39AM -0700, Hoan Tran wrote:
>> Add APM X-Gene clock binding documentation for PMD clock.
>>
>> Signed-off-by: Hoan Tran
>> ---
>> Documentation/devicet
Add APM X-Gene clock binding documentation for PMD clock.
Signed-off-by: Hoan Tran
---
Documentation/devicetree/bindings/clock/xgene.txt | 22 ++
1 file changed, 22 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/xgene.txt
b/Documentation/devicetree
and scale
will be computed and programmed accordingly.
Hoan Tran (3):
Documentation: dtb: xgene: Add PMD clock binding
clk: xgene: Add PMD clock
arm64: dts: xgene: Add DT node for APM X-Gene 2 CPU clocks
Documentation/devicetree/bindings/clock/xgene.txt | 22 +++
arch/arm64/boot/dts/apm/apm
Add DT nodes to enable APM X-Gene 2 CPU clocks.
Signed-off-by: Hoan Tran
---
arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 64 ++
1 file changed, 64 insertions(+)
diff --git a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
b/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
and scale
will be computed and programmed accordingly.
Signed-off-by: Hoan Tran
---
drivers/clk/clk-xgene.c | 223
1 file changed, 223 insertions(+)
diff --git a/drivers/clk/clk-xgene.c b/drivers/clk/clk-xgene.c
index 3433132..66ce200 100644
--- a
On Mon, Aug 15, 2016 at 5:14 PM, Stephen Boyd wrote:
> Sorry I was away for some time.
>
> On 08/08, Hoan Tran wrote:
>> On Wed, Jul 20, 2016 at 11:36 AM, Hoan Tran wrote:
>> > On Fri, Jul 1, 2016 at 5:09 PM, Hoan Tran wrote:
>> >>
>> >> Hi Step
On Tue, Aug 16, 2016 at 4:56 AM, Rafael J. Wysocki wrote:
> On Monday, August 15, 2016 04:41:22 PM Hoan Tran wrote:
>> Hi Rafael,
>>
>> On Mon, Aug 15, 2016 at 4:18 PM, Rafael J. Wysocki
>> wrote:
>> > On Monday, August 15, 2016 09:45:24 AM Hoan Tran wrote:
&
ACPI 6.1 has a PCC HW-Reduced Communication Subspace type 2 intended for
use on HW-Reduce ACPI Platform, which requires read-modify-write sequence
to acknowledge doorbell interrupt. This patch provides the implementation
for the Communication Subspace Type 2.
Signed-off-by: Hoan Tran
Reviewed-by
Hi Rafael,
On Mon, Aug 15, 2016 at 4:18 PM, Rafael J. Wysocki wrote:
> On Monday, August 15, 2016 09:45:24 AM Hoan Tran wrote:
>> On Mon, Jun 27, 2016 at 2:32 PM, Rafael J. Wysocki
>> wrote:
>> >
>> > On Monday, June 27, 2016 11:27:42 AM Hoan Tran
On Mon, Jun 27, 2016 at 2:32 PM, Rafael J. Wysocki wrote:
>
> On Monday, June 27, 2016 11:27:42 AM Hoan Tran wrote:
> > Hi Jassi and Rafael,
> >
> > On Wed, Jun 15, 2016 at 9:19 AM, Prakash, Prashanth
> > wrote:
> > >
> > >
> > >
On Wed, Jul 20, 2016 at 11:36 AM, Hoan Tran wrote:
> On Fri, Jul 1, 2016 at 5:09 PM, Hoan Tran wrote:
>>
>> Hi Stephen,
>>
>> On Fri, Jul 1, 2016 at 11:38 AM, Stephen Boyd wrote:
>> > Sorry I replied offlist before. Pressed the wrong key.
>> >
>
lp improve the system]
>
> url:
> https://github.com/0day-ci/linux/commits/Hoan-Tran/hwmon-xgene-Add-support-for-X-Gene-hwmon-driver/20160725-015356
> base:
> https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
> hwmon-next
> config: arm64-allmodconfig
need a newer version of Tianocore.
> Also, if you or your folks can fold your patch set into APM's xgene-next
> GitHub repo, that would help me to keep up with the development.
xgene-next is currently used for device tree patch only.
Thanks
Hoan
>
> Itaru
>
>
> On 7/24/16
Hi Itaru,
> On Jul 23, 2016, at 16:51, Itaru Kitayama wrote:
>
> Hi Hoan,
>
> I've been testing your patch set on a Rev B0 system with ACPI, in dmesg
> I see:
>
> [1.546444] xgene-slimpro-i2c APMC0D40:00: i2c mailbox channel request
> failed
> [1.570062] xgene-slimpro-hwmon APMC0D29:
Hi Guenter,
On Thu, Jul 21, 2016 at 6:30 PM, Guenter Roeck wrote:
> On 07/21/2016 03:37 PM, Hoan Tran wrote:
>>
>> This patch set adds hardware temperature and power reading support for
>> APM X-Gene SoC using the mailbox communication interface.
>> For device tree, it
This patch adds hardware temperature and power reading support for
APM X-Gene SoC using the mailbox communication interface.
Signed-off-by: Hoan Tran
Reviewed-by: Guenter Roeck
---
Documentation/hwmon/xgene-hwmon | 30 ++
drivers/hwmon/Kconfig | 7 +
drivers/hwmon/Makefile
This patch adds the APM X-Gene hwmon device tree node documentation.
Signed-off-by: Hoan Tran
Acked-by: Rob Herring
---
.../devicetree/bindings/hwmon/apm-xgene-hwmon.txt | 14 ++
1 file changed, 14 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon
This patch adds DT node to enable hwmon driver for APM X-Gene SoC.
Signed-off-by: Hoan Tran
Acked-by: Guenter Roeck
---
arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 5 +
arch/arm64/boot/dts/apm/apm-storm.dtsi | 5 +
2 files changed, 10 insertions(+)
diff --git a/arch/arm64/boot
for milli-Watt)
- Remove power reading for SoC
- Fix review comments from Guenter
v1
- Initial
Hoan Tran (3):
Documentation: dtb: xgene: Add hwmon dts binding documentation
hwmon: xgene: Add hwmon driver
arm64: dts: apm: Add X-Gene SoC hwmon to device tree
.../devicetree/bindings/hwmon/
Hi Guenter,
On Thu, Jul 21, 2016 at 3:09 PM, Guenter Roeck wrote:
> On Thu, Jul 21, 2016 at 01:55:56PM -0700, Hoan Tran wrote:
>> This patch adds hardware temperature and power reading support for
>> APM X-Gene SoC using the mailbox communication interface.
>>
>&g
For PCC mailbox with interrupt flag, CPPC should call mbox_chan_txdone()
function to notify the mailbox framework about TX completion.
Signed-off-by: Hoan Tran
---
This patch is tested on top and depends on patch[1]:
[1] http://www.spinics.net/lists/linux-acpi/msg66041.html
- [PATCH v3] mailbox
This patch adds hardware temperature and power reading support for
APM X-Gene SoC using the mailbox communication interface.
Signed-off-by: Hoan Tran
---
Documentation/hwmon/xgene-hwmon | 30 ++
drivers/hwmon/Kconfig | 7 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon
This patch adds the APM X-Gene hwmon device tree node documentation.
Signed-off-by: Hoan Tran
Acked-by: Rob Herring
---
.../devicetree/bindings/hwmon/apm-xgene-hwmon.txt | 14 ++
1 file changed, 14 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon
This patch adds DT node to enable hwmon driver for APM X-Gene SoC.
Signed-off-by: Hoan Tran
---
arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 5 +
arch/arm64/boot/dts/apm/apm-storm.dtsi | 5 +
2 files changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
Fix review comments from Guenter
v1
- Initial
Hoan Tran (3):
Documentation: dtb: xgene: Add hwmon dts binding documentation
hwmon: xgene: Add hwmon driver
arm64: dts: apm: Add X-Gene SoC hwmon to device tree
.../devicetree/bindings/hwmon/apm-xgene-hwmon.txt | 14 +
Documentation/hw
On Fri, Jul 1, 2016 at 5:09 PM, Hoan Tran wrote:
>
> Hi Stephen,
>
> On Fri, Jul 1, 2016 at 11:38 AM, Stephen Boyd wrote:
> > Sorry I replied offlist before. Pressed the wrong key.
> >
> > On 06/30, Hoan Tran wrote:
> >> On Thu, Jun 30, 2016 at 1:23 PM, St
Hi Guenter,
On Sat, Jul 16, 2016 at 9:35 AM, Guenter Roeck wrote:
> On 07/11/2016 05:30 PM, Hoan Tran wrote:
>>
>> This patch adds hardware temperature and power reading support for
>> APM X-Gene SoC using the mailbox communication interface.
>>
Hi Rafael,
On Mon, Jun 27, 2016 at 2:32 PM, Rafael J. Wysocki wrote:
> On Monday, June 27, 2016 11:27:42 AM Hoan Tran wrote:
>> Hi Jassi and Rafael,
>>
>> On Wed, Jun 15, 2016 at 9:19 AM, Prakash, Prashanth
>> wrote:
>> >
>> >
>> > On
This patch adds the APM X-Gene hwmon device tree node documentation.
Signed-off-by: Hoan Tran
---
.../devicetree/bindings/hwmon/apm-xgene-hwmon.txt | 14 ++
1 file changed, 14 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt
This patch adds hardware temperature and power reading support for
APM X-Gene SoC using the mailbox communication interface.
Signed-off-by: Hoan Tran
---
Documentation/hwmon/xgene-hwmon | 30 ++
drivers/hwmon/Kconfig | 7 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon
This patch adds DT node to enable hwmon driver for APM X-Gene SoC.
Signed-off-by: Hoan Tran
---
arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 5 +
arch/arm64/boot/dts/apm/apm-storm.dtsi | 5 +
2 files changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi
- Initial
Hoan Tran (3):
Documentation: dtb: xgene: Add hwmon dts binding documentation
hwmon: xgene: Add hwmon driver
arm64: dts: apm: Add X-Gene SoC hwmon to device tree
.../devicetree/bindings/hwmon/apm-xgene-hwmon.txt | 14 +
Documentation/hwmon/xgene-hwmon| 30
Based on 8.4.7.1 section of ACPI 6.1 specification, if the platform
supports CPPC, the _CPC object must exist under all processor objects.
If cpc_desc_ptr pointer is invalid on any CPUs, acpi_get_psd_map()
should return error and CPPC cpufreq driver can not be registered.
Signed-off-by: Hoan Tran
Hi Prashanth,
On Wed, Jun 15, 2016 at 8:55 AM, Prakash, Prashanth
wrote:
> Hi Hoan,
>
> On 6/14/2016 5:12 PM, Hoan Tran wrote:
>> As PCC will be used by other clients not only CPPC.
>> This change exports pcc_mbox_request_channel() and pcc_mbox_free_channel()
>> decla
Hi Prashanth,
On Thu, Jun 9, 2016 at 3:25 PM, Prakash, Prashanth
wrote:
>
>
> On 6/9/2016 2:47 PM, Hoan Tran wrote:
>> Hi Ashwin and Prashanth,
>>
>> On Wed, Jun 8, 2016 at 5:41 PM, Hoan Tran wrote:
>>> Hi Prashanth,
>>>
>>>
>>>
Hi Ashwin and Prashanth,
On Wed, Jun 8, 2016 at 5:41 PM, Hoan Tran wrote:
> Hi Prashanth,
>
>
> On Wed, Jun 8, 2016 at 5:32 PM, Prakash, Prashanth
> wrote:
>>
>>
>> On 6/8/2016 10:24 AM, Hoan Tran wrote:
>>> Hi Ashwin,
>>>
>>>
As PCC will be used by other clients not only CPPC.
This change exports pcc_mbox_request_channel() and pcc_mbox_free_channel()
declarations
Signed-off-by: Hoan Tran
---
include/acpi/cppc_acpi.h | 4
include/linux/mailbox_client.h | 4
2 files changed, 4 insertions(+), 4
Hi Jassi and Rafael,
On Wed, Jun 15, 2016 at 9:19 AM, Prakash, Prashanth
wrote:
>
>
> On 6/9/2016 4:43 PM, Hoan Tran wrote:
>> Hi Prashanth,
>>
>> On Thu, Jun 9, 2016 at 3:25 PM, Prakash, Prashanth
>> wrote:
>>>
>>> On 6/9/2016 2:4
On Tue, May 31, 2016 at 12:29 PM, Ashwin Chaugule
wrote:
>
> On 27 May 2016 at 12:41, Hoan Tran wrote:
> > Hi Ashwin,
>
> Hi,
>
> >
> > Yes, I saw kernel crash.
> > As cpc_desc_ptr is not NULL, cppc_cpufreq_init() still can pass then
> > crash d
Exports pcc_mbox_request_channel() and pcc_mbox_free_channel()
declarations into a pcc.h header file.
v2
* Introduce pcc.h header file for pcc client methods
v1
* Initial
Signed-off-by: Hoan Tran
---
include/acpi/cppc_acpi.h | 7 +--
include/acpi/pcc.h | 29
Hi Stephen,
On Fri, Jul 1, 2016 at 11:38 AM, Stephen Boyd wrote:
> Sorry I replied offlist before. Pressed the wrong key.
>
> On 06/30, Hoan Tran wrote:
>> On Thu, Jun 30, 2016 at 1:23 PM, Stephen Boyd wrote:
>> >
>> > How is this different from clk-fractiona
Hi Jassi and Rafael,
On Wed, Jun 15, 2016 at 9:19 AM, Prakash, Prashanth
wrote:
>
>
> On 6/9/2016 4:43 PM, Hoan Tran wrote:
>> Hi Prashanth,
>>
>> On Thu, Jun 9, 2016 at 3:25 PM, Prakash, Prashanth
>> wrote:
>>>
>>> On 6/9/2016 2:4
On Tue, May 31, 2016 at 12:29 PM, Ashwin Chaugule
wrote:
>
> On 27 May 2016 at 12:41, Hoan Tran wrote:
> > Hi Ashwin,
>
> Hi,
>
> >
> > Yes, I saw kernel crash.
> > As cpc_desc_ptr is not NULL, cppc_cpufreq_init() still can pass then
> > crash d
On Tue, Jun 7, 2016 at 11:05 AM, Hoan Tran wrote:
> Hi Jassi,
>
> Thanks for your reply !
>
> On Tue, Jun 7, 2016 at 10:20 AM, Jassi Brar wrote:
>> On Tue, May 24, 2016 at 6:31 AM, Hoan Tran wrote:
>>> Hi Rob,
>>>
>>> Thanks for your review !
>
compile error by using DIV_ROUND_UP_ULL() macro
* Remove DT binding document
* Remove DT clk_fractional_scale_init() function
v1
* Initial
Signed-off-by: Hoan Tran
Signed-off-by: Loc Ho
---
drivers/clk/Makefile | 1 +
drivers/clk/clk-fractional-scale.c | 195
Based on 8.4.7.1 section of ACPI 6.1 specification, if the platform
supports CPPC, the _CPC object must exist under all processor objects.
If cpc_desc_ptr pointer is invalid on any CPUs, acpi_get_psd_map()
should return error and CPPC cpufreq driver can not be registered.
Signed-off-by: Hoan Tran
Hi Geert,
On Thu, Jun 16, 2016 at 11:43 PM, Geert Uytterhoeven
wrote:
> On Fri, Jun 17, 2016 at 1:40 AM, Hoan Tran wrote:
>> This patch adds fractional scale clock support.
>> Fractional scale clock is implemented for a single register field.
>> Output rate = parent_rate
Add fractional scale clock DTS binding.
Signed-off-by: Hoan Tran
Signed-off-by: Loc Ho
---
.../bindings/clock/fractional-scale-clock.txt | 31 ++
1 file changed, 31 insertions(+)
create mode 100644
Documentation/devicetree/bindings/clock/fractional-scale-clock.txt
: Hoan Tran
Signed-off-by: Loc Ho
---
drivers/clk/Makefile | 1 +
drivers/clk/clk-fractional-scale.c | 253 +
include/linux/clk-provider.h | 41 ++
3 files changed, 295 insertions(+)
create mode 100644 drivers/clk/clk-fractional
This patch adds fractional scale clock support.
Fractional scale clock is implemented for a single register field.
Output rate = parent_rate * scale / denominator
For example, for 1 / 8 fractional scale, denominator will be 8 and scale
will be computed and programmed accordingly.
Hoan Tran (2
Exports pcc_mbox_request_channel() and pcc_mbox_free_channel()
declarations into a pcc.h header file.
v2
* Introduce pcc.h header file for pcc client methods
v1
* Initial
Signed-off-by: Hoan Tran
---
include/acpi/cppc_acpi.h | 7 +--
include/acpi/pcc.h | 29
Hi Prashanth,
On Wed, Jun 15, 2016 at 8:55 AM, Prakash, Prashanth
wrote:
> Hi Hoan,
>
> On 6/14/2016 5:12 PM, Hoan Tran wrote:
>> As PCC will be used by other clients not only CPPC.
>> This change exports pcc_mbox_request_channel() and pcc_mbox_free_channel()
>> decla
As PCC will be used by other clients not only CPPC.
This change exports pcc_mbox_request_channel() and pcc_mbox_free_channel()
declarations
Signed-off-by: Hoan Tran
---
include/acpi/cppc_acpi.h | 4
include/linux/mailbox_client.h | 4
2 files changed, 4 insertions(+), 4
Hi Prashanth,
On Thu, Jun 9, 2016 at 3:25 PM, Prakash, Prashanth
wrote:
>
>
> On 6/9/2016 2:47 PM, Hoan Tran wrote:
>> Hi Ashwin and Prashanth,
>>
>> On Wed, Jun 8, 2016 at 5:41 PM, Hoan Tran wrote:
>>> Hi Prashanth,
>>>
>>>
>>>
Hi Ashwin and Prashanth,
On Wed, Jun 8, 2016 at 5:41 PM, Hoan Tran wrote:
> Hi Prashanth,
>
>
> On Wed, Jun 8, 2016 at 5:32 PM, Prakash, Prashanth
> wrote:
>>
>>
>> On 6/8/2016 10:24 AM, Hoan Tran wrote:
>>> Hi Ashwin,
>>>
>>>
Hi Prashanth,
On Wed, Jun 8, 2016 at 5:32 PM, Prakash, Prashanth
wrote:
>
>
> On 6/8/2016 10:24 AM, Hoan Tran wrote:
>> Hi Ashwin,
>>
>> On Wed, Jun 8, 2016 at 5:18 AM, Ashwin Chaugule
>> wrote:
>>> + Prashanth (Can you please have a look as well?)
Hi Ashwin,
On Wed, Jun 8, 2016 at 5:18 AM, Ashwin Chaugule
wrote:
> + Prashanth (Can you please have a look as well?)
>
> On 31 May 2016 at 15:35, Hoan Tran wrote:
>> Hi Ashwin,
>
> Hi,
>
> Sorry about the delay. I'm in the middle of switching jobs and
>
Hi Jassi,
Thanks for your reply !
On Tue, Jun 7, 2016 at 10:20 AM, Jassi Brar wrote:
> On Tue, May 24, 2016 at 6:31 AM, Hoan Tran wrote:
>> Hi Rob,
>>
>> Thanks for your review !
>>
>> On Mon, May 23, 2016 at 1:30 PM, Rob Herring wrote:
>>>
>>
This change adds request mailbox channel by index. It allows the mailbox
client to request a channel without create a DT node.
It's based on Rob's suggestion at
http://www.spinics.net/lists/linux-doc/msg37060.html
Signed-off-by: Hoan Tran
---
drivers/mailbox/mailbox.c
101 - 200 of 220 matches
Mail list logo