Re: [v4 PATCH 8/8] RISC-V: Assign hwcap as per comman capabilities.

2019-02-22 Thread Atish Patra
On 2/14/19 3:49 PM, Atish Patra wrote: On 2/13/19 4:38 PM, Palmer Dabbelt wrote: On Wed, 13 Feb 2019 00:44:42 PST (-0800), jo...@kernel.org wrote: On Tue, Feb 12, 2019 at 11:58:10AM -0800, Atish Patra wrote: On 2/12/19 3:25 AM, Johan Hovold wrote: On Tue, Feb 12, 2019 at 03:10:12AM -0800, Ati

Re: [v4 PATCH 8/8] RISC-V: Assign hwcap as per comman capabilities.

2019-02-14 Thread Atish Patra
On 2/13/19 4:38 PM, Palmer Dabbelt wrote: On Wed, 13 Feb 2019 00:44:42 PST (-0800), jo...@kernel.org wrote: On Tue, Feb 12, 2019 at 11:58:10AM -0800, Atish Patra wrote: On 2/12/19 3:25 AM, Johan Hovold wrote: On Tue, Feb 12, 2019 at 03:10:12AM -0800, Atish Patra wrote: Currently, we set hwcap

Re: [v4 PATCH 8/8] RISC-V: Assign hwcap as per comman capabilities.

2019-02-13 Thread Palmer Dabbelt
On Wed, 13 Feb 2019 00:44:42 PST (-0800), jo...@kernel.org wrote: On Tue, Feb 12, 2019 at 11:58:10AM -0800, Atish Patra wrote: On 2/12/19 3:25 AM, Johan Hovold wrote: > On Tue, Feb 12, 2019 at 03:10:12AM -0800, Atish Patra wrote: >> Currently, we set hwcap based on first valid hart from DT. This

Re: [v4 PATCH 8/8] RISC-V: Assign hwcap as per comman capabilities.

2019-02-13 Thread Atish Patra
On 2/13/19 12:44 AM, Johan Hovold wrote: On Tue, Feb 12, 2019 at 11:58:10AM -0800, Atish Patra wrote: On 2/12/19 3:25 AM, Johan Hovold wrote: On Tue, Feb 12, 2019 at 03:10:12AM -0800, Atish Patra wrote: Currently, we set hwcap based on first valid hart from DT. This may not be correct always a

Re: [v4 PATCH 8/8] RISC-V: Assign hwcap as per comman capabilities.

2019-02-13 Thread Johan Hovold
On Tue, Feb 12, 2019 at 11:58:10AM -0800, Atish Patra wrote: > On 2/12/19 3:25 AM, Johan Hovold wrote: > > On Tue, Feb 12, 2019 at 03:10:12AM -0800, Atish Patra wrote: > >> Currently, we set hwcap based on first valid hart from DT. This may not > >> be correct always as that hart might not be curre

Re: [v4 PATCH 8/8] RISC-V: Assign hwcap as per comman capabilities.

2019-02-12 Thread Atish Patra
On 2/12/19 3:25 AM, Johan Hovold wrote: On Tue, Feb 12, 2019 at 03:10:12AM -0800, Atish Patra wrote: Currently, we set hwcap based on first valid hart from DT. This may not be correct always as that hart might not be current booting cpu or may have a different capability. Set hwcap as the capab

Re: [v4 PATCH 8/8] RISC-V: Assign hwcap as per comman capabilities.

2019-02-12 Thread Johan Hovold
On Tue, Feb 12, 2019 at 03:10:12AM -0800, Atish Patra wrote: > Currently, we set hwcap based on first valid hart from DT. This may not > be correct always as that hart might not be current booting cpu or may > have a different capability. > > Set hwcap as the capabilities supported by all possible