linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 0/5] arch_topology: Minor cleanups
@ 2017-06-23  9:25 Viresh Kumar
  2017-06-23  9:25 ` [PATCH V3 1/5] arch_topology: Don't break lines unnecessarily Viresh Kumar
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Viresh Kumar @ 2017-06-23  9:25 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Greg,

You weren't included in the first [1] version of this series, as it was
targeting arch/arm*/ directories then.

Here are some cleanups for the arch_topology core.

Tested on ARM64 Hikey board by setting following in cpu nodes in DT:
        capacity-dmips-mhz = <1000>;

V2->V3:
- topology_parse_cpu_capacity() returns bool now (Juri).
- "Get rid of cap_parsing_done" is the last patch now and its
  implementation is change a bit (Juri).

V1->V2:
- based over linux-next/master (to get Juri's recent changes)
- More cleanups included. V1 only had the first patch.
- Rename of cap_parsing_failed isn't required anymore (as it is
  localized to a single routine now).

--
viresh

[1] https://marc.info/?l=linux-arm-kernel&m=149795553024005

Viresh Kumar (5):
  arch_topology: Don't break lines unnecessarily
  arch_topology: Convert switch block to if block
  arch_topology: Change return type of topology_parse_cpu_capacity() to
    bool
  arch_topology: Localize cap_parsing_failed to
    topology_parse_cpu_capacity()
  arch_topology: Get rid of cap_parsing_done

 drivers/base/arch_topology.c  | 78 +++++++++++++++++++++----------------------
 include/linux/arch_topology.h |  4 ++-
 2 files changed, 42 insertions(+), 40 deletions(-)

-- 
2.13.0.71.gd7076ec9c9cb

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-06-27 15:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-23  9:25 [PATCH V3 0/5] arch_topology: Minor cleanups Viresh Kumar
2017-06-23  9:25 ` [PATCH V3 1/5] arch_topology: Don't break lines unnecessarily Viresh Kumar
2017-06-23  9:25 ` [PATCH V3 2/5] arch_topology: Convert switch block to if block Viresh Kumar
2017-06-23  9:25 ` [PATCH V3 3/5] arch_topology: Change return type of topology_parse_cpu_capacity() to bool Viresh Kumar
2017-06-23  9:25 ` [PATCH V3 4/5] arch_topology: Localize cap_parsing_failed to topology_parse_cpu_capacity() Viresh Kumar
2017-06-23  9:25 ` [PATCH V3 5/5] arch_topology: Get rid of cap_parsing_done Viresh Kumar
2017-06-27 15:15 ` [PATCH V3 0/5] arch_topology: Minor cleanups Juri Lelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).