Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-09 Thread Sudeep Holla
On Fri, Nov 09, 2018 at 04:36:19AM +0200, Nick Kossifidis wrote: > Στις 2018-11-08 18:48, Sudeep Holla έγραψε: [...] > we can keep it as is and mandate the nodes only for ARM64 as you > suggested. > Fine by me. [...] > > We have reasons why we can't assume information about cache or power >

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-09 Thread Sudeep Holla
On Fri, Nov 09, 2018 at 04:36:19AM +0200, Nick Kossifidis wrote: > Στις 2018-11-08 18:48, Sudeep Holla έγραψε: [...] > we can keep it as is and mandate the nodes only for ARM64 as you > suggested. > Fine by me. [...] > > We have reasons why we can't assume information about cache or power >

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Nick Kossifidis
Στις 2018-11-08 17:54, Mark Rutland έγραψε: On Thu, Nov 08, 2018 at 03:45:36PM +0200, Nick Kossifidis wrote: Στις 2018-11-07 14:06, Mark Rutland έγραψε: > On Wed, Nov 07, 2018 at 04:31:34AM +0200, Nick Kossifidis wrote: > > Mark and Sundeep thanks a lot for your feedback, I guess you convinced

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Nick Kossifidis
Στις 2018-11-08 17:54, Mark Rutland έγραψε: On Thu, Nov 08, 2018 at 03:45:36PM +0200, Nick Kossifidis wrote: Στις 2018-11-07 14:06, Mark Rutland έγραψε: > On Wed, Nov 07, 2018 at 04:31:34AM +0200, Nick Kossifidis wrote: > > Mark and Sundeep thanks a lot for your feedback, I guess you convinced

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Nick Kossifidis
Στις 2018-11-08 18:48, Sudeep Holla έγραψε: On Thu, Nov 08, 2018 at 04:52:30PM +0200, Nick Kossifidis wrote: Στις 2018-11-07 14:28, Sudeep Holla έγραψε: > > I agree, but we have kernel code using it(arm64/kernel/topology.c). It's > too late to remove it. But we can always keep to optional if we

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Nick Kossifidis
Στις 2018-11-08 18:48, Sudeep Holla έγραψε: On Thu, Nov 08, 2018 at 04:52:30PM +0200, Nick Kossifidis wrote: Στις 2018-11-07 14:28, Sudeep Holla έγραψε: > > I agree, but we have kernel code using it(arm64/kernel/topology.c). It's > too late to remove it. But we can always keep to optional if we

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Sudeep Holla
On Thu, Nov 08, 2018 at 04:52:30PM +0200, Nick Kossifidis wrote: > Στις 2018-11-07 14:28, Sudeep Holla έγραψε: > > > > I agree, but we have kernel code using it(arm64/kernel/topology.c). It's > > too late to remove it. But we can always keep to optional if we move the > > ARM64 binding as generic

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Sudeep Holla
On Thu, Nov 08, 2018 at 04:52:30PM +0200, Nick Kossifidis wrote: > Στις 2018-11-07 14:28, Sudeep Holla έγραψε: > > > > I agree, but we have kernel code using it(arm64/kernel/topology.c). It's > > too late to remove it. But we can always keep to optional if we move the > > ARM64 binding as generic

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Mark Rutland
On Thu, Nov 08, 2018 at 03:45:36PM +0200, Nick Kossifidis wrote: > Στις 2018-11-07 14:06, Mark Rutland έγραψε: > > On Wed, Nov 07, 2018 at 04:31:34AM +0200, Nick Kossifidis wrote: > > > Mark and Sundeep thanks a lot for your feedback, I guess you convinced > > > me that having a device tree

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Mark Rutland
On Thu, Nov 08, 2018 at 03:45:36PM +0200, Nick Kossifidis wrote: > Στις 2018-11-07 14:06, Mark Rutland έγραψε: > > On Wed, Nov 07, 2018 at 04:31:34AM +0200, Nick Kossifidis wrote: > > > Mark and Sundeep thanks a lot for your feedback, I guess you convinced > > > me that having a device tree

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Nick Kossifidis
Στις 2018-11-07 14:28, Sudeep Holla έγραψε: On Wed, Nov 07, 2018 at 04:31:34AM +0200, Nick Kossifidis wrote: [...] Mark and Sudeep thanks a lot for your feedback, I guess you convinced me that having a device tree binding for the scheduler is not a correct approach. Thanks :) It's not

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Nick Kossifidis
Στις 2018-11-07 14:28, Sudeep Holla έγραψε: On Wed, Nov 07, 2018 at 04:31:34AM +0200, Nick Kossifidis wrote: [...] Mark and Sudeep thanks a lot for your feedback, I guess you convinced me that having a device tree binding for the scheduler is not a correct approach. Thanks :) It's not

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Nick Kossifidis
Στις 2018-11-07 14:06, Mark Rutland έγραψε: On Wed, Nov 07, 2018 at 04:31:34AM +0200, Nick Kossifidis wrote: Mark and Sundeep thanks a lot for your feedback, I guess you convinced me that having a device tree binding for the scheduler is not a correct approach. It's not a device after all and I

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-08 Thread Nick Kossifidis
Στις 2018-11-07 14:06, Mark Rutland έγραψε: On Wed, Nov 07, 2018 at 04:31:34AM +0200, Nick Kossifidis wrote: Mark and Sundeep thanks a lot for your feedback, I guess you convinced me that having a device tree binding for the scheduler is not a correct approach. It's not a device after all and I

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-07 Thread Sudeep Holla
On Wed, Nov 07, 2018 at 04:31:34AM +0200, Nick Kossifidis wrote: [...] > > Mark and Sudeep thanks a lot for your feedback, I guess you convinced me > that having a device tree binding for the scheduler is not a correct > approach. > Thanks :) > It's not a device after all and I agree that the

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-07 Thread Sudeep Holla
On Wed, Nov 07, 2018 at 04:31:34AM +0200, Nick Kossifidis wrote: [...] > > Mark and Sudeep thanks a lot for your feedback, I guess you convinced me > that having a device tree binding for the scheduler is not a correct > approach. > Thanks :) > It's not a device after all and I agree that the

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-07 Thread Mark Rutland
On Wed, Nov 07, 2018 at 04:31:34AM +0200, Nick Kossifidis wrote: > Mark and Sundeep thanks a lot for your feedback, I guess you convinced > me that having a device tree binding for the scheduler is not a > correct approach. It's not a device after all and I agree that the > device tree shouldn't

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-07 Thread Mark Rutland
On Wed, Nov 07, 2018 at 04:31:34AM +0200, Nick Kossifidis wrote: > Mark and Sundeep thanks a lot for your feedback, I guess you convinced > me that having a device tree binding for the scheduler is not a > correct approach. It's not a device after all and I agree that the > device tree shouldn't

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-06 Thread Nick Kossifidis
Στις 2018-11-06 18:20, Mark Rutland έγραψε: On Tue, Nov 06, 2018 at 05:26:01PM +0200, Nick Kossifidis wrote: Στις 2018-11-06 16:13, Sudeep Holla έγραψε: > On Fri, Nov 02, 2018 at 08:58:39PM +0200, Nick Kossifidis wrote: > > Στις 2018-11-02 01:04, Atish Patra έγραψε: > > > This patch series adds

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-06 Thread Nick Kossifidis
Στις 2018-11-06 18:20, Mark Rutland έγραψε: On Tue, Nov 06, 2018 at 05:26:01PM +0200, Nick Kossifidis wrote: Στις 2018-11-06 16:13, Sudeep Holla έγραψε: > On Fri, Nov 02, 2018 at 08:58:39PM +0200, Nick Kossifidis wrote: > > Στις 2018-11-02 01:04, Atish Patra έγραψε: > > > This patch series adds

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-06 Thread Mark Rutland
On Tue, Nov 06, 2018 at 05:26:01PM +0200, Nick Kossifidis wrote: > Στις 2018-11-06 16:13, Sudeep Holla έγραψε: > > On Fri, Nov 02, 2018 at 08:58:39PM +0200, Nick Kossifidis wrote: > > > Στις 2018-11-02 01:04, Atish Patra έγραψε: > > > > This patch series adds the cpu topology for RISC-V. It

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-06 Thread Mark Rutland
On Tue, Nov 06, 2018 at 05:26:01PM +0200, Nick Kossifidis wrote: > Στις 2018-11-06 16:13, Sudeep Holla έγραψε: > > On Fri, Nov 02, 2018 at 08:58:39PM +0200, Nick Kossifidis wrote: > > > Στις 2018-11-02 01:04, Atish Patra έγραψε: > > > > This patch series adds the cpu topology for RISC-V. It

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-06 Thread Sudeep Holla
On Tue, Nov 06, 2018 at 05:26:01PM +0200, Nick Kossifidis wrote: > Στις 2018-11-06 16:13, Sudeep Holla έγραψε: > > On Fri, Nov 02, 2018 at 08:58:39PM +0200, Nick Kossifidis wrote: > > > Hello All, > > > > > > Στις 2018-11-02 01:04, Atish Patra έγραψε: > > > > This patch series adds the cpu

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-06 Thread Sudeep Holla
On Tue, Nov 06, 2018 at 05:26:01PM +0200, Nick Kossifidis wrote: > Στις 2018-11-06 16:13, Sudeep Holla έγραψε: > > On Fri, Nov 02, 2018 at 08:58:39PM +0200, Nick Kossifidis wrote: > > > Hello All, > > > > > > Στις 2018-11-02 01:04, Atish Patra έγραψε: > > > > This patch series adds the cpu

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-06 Thread Nick Kossifidis
Στις 2018-11-06 16:13, Sudeep Holla έγραψε: On Fri, Nov 02, 2018 at 08:58:39PM +0200, Nick Kossifidis wrote: Hello All, Στις 2018-11-02 01:04, Atish Patra έγραψε: > This patch series adds the cpu topology for RISC-V. It contains > both the DT binding and actual source code. It has been tested

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-06 Thread Nick Kossifidis
Στις 2018-11-06 16:13, Sudeep Holla έγραψε: On Fri, Nov 02, 2018 at 08:58:39PM +0200, Nick Kossifidis wrote: Hello All, Στις 2018-11-02 01:04, Atish Patra έγραψε: > This patch series adds the cpu topology for RISC-V. It contains > both the DT binding and actual source code. It has been tested

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-06 Thread Sudeep Holla
On Fri, Nov 02, 2018 at 08:58:39PM +0200, Nick Kossifidis wrote: > Hello All, > > Στις 2018-11-02 01:04, Atish Patra έγραψε: > > This patch series adds the cpu topology for RISC-V. It contains > > both the DT binding and actual source code. It has been tested on > > QEMU & Unleashed board. > > >

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-06 Thread Sudeep Holla
On Fri, Nov 02, 2018 at 08:58:39PM +0200, Nick Kossifidis wrote: > Hello All, > > Στις 2018-11-02 01:04, Atish Patra έγραψε: > > This patch series adds the cpu topology for RISC-V. It contains > > both the DT binding and actual source code. It has been tested on > > QEMU & Unleashed board. > > >

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-02 Thread Nick Kossifidis
Στις 2018-11-02 23:14, Atish Patra έγραψε: On 11/2/18 11:59 AM, Nick Kossifidis wrote: Hello All, Στις 2018-11-02 01:04, Atish Patra έγραψε: This patch series adds the cpu topology for RISC-V. It contains both the DT binding and actual source code. It has been tested on QEMU & Unleashed

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-02 Thread Nick Kossifidis
Στις 2018-11-02 23:14, Atish Patra έγραψε: On 11/2/18 11:59 AM, Nick Kossifidis wrote: Hello All, Στις 2018-11-02 01:04, Atish Patra έγραψε: This patch series adds the cpu topology for RISC-V. It contains both the DT binding and actual source code. It has been tested on QEMU & Unleashed

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-02 Thread Atish Patra
On 11/2/18 11:59 AM, Nick Kossifidis wrote: Hello All, Στις 2018-11-02 01:04, Atish Patra έγραψε: This patch series adds the cpu topology for RISC-V. It contains both the DT binding and actual source code. It has been tested on QEMU & Unleashed board. The idea is based on cpu-map in ARM with

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-02 Thread Atish Patra
On 11/2/18 11:59 AM, Nick Kossifidis wrote: Hello All, Στις 2018-11-02 01:04, Atish Patra έγραψε: This patch series adds the cpu topology for RISC-V. It contains both the DT binding and actual source code. It has been tested on QEMU & Unleashed board. The idea is based on cpu-map in ARM with

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-02 Thread Nick Kossifidis
Hello All, Στις 2018-11-02 01:04, Atish Patra έγραψε: This patch series adds the cpu topology for RISC-V. It contains both the DT binding and actual source code. It has been tested on QEMU & Unleashed board. The idea is based on cpu-map in ARM with changes related to how we define SMT systems.

Re: [RFC 0/2] Add RISC-V cpu topology

2018-11-02 Thread Nick Kossifidis
Hello All, Στις 2018-11-02 01:04, Atish Patra έγραψε: This patch series adds the cpu topology for RISC-V. It contains both the DT binding and actual source code. It has been tested on QEMU & Unleashed board. The idea is based on cpu-map in ARM with changes related to how we define SMT systems.

[RFC 0/2] Add RISC-V cpu topology

2018-11-01 Thread Atish Patra
This patch series adds the cpu topology for RISC-V. It contains both the DT binding and actual source code. It has been tested on QEMU & Unleashed board. The idea is based on cpu-map in ARM with changes related to how we define SMT systems. The reason for adopting a similar approach to ARM as I

[RFC 0/2] Add RISC-V cpu topology

2018-11-01 Thread Atish Patra
This patch series adds the cpu topology for RISC-V. It contains both the DT binding and actual source code. It has been tested on QEMU & Unleashed board. The idea is based on cpu-map in ARM with changes related to how we define SMT systems. The reason for adopting a similar approach to ARM as I