From: Segher Boessenkool <segher@kernel.crashing.org>
To: Nicholas Piggin <npiggin@gmail.com>
Cc: skiboot@lists.ozlabs.org, linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH (skiboot)] dt: add /cpus/ibm, powerpc-cpu-features device tree bindings
Date: Sat, 3 Feb 2018 09:36:20 -0600 [thread overview]
Message-ID: <20180203153620.GP21977@gate.crashing.org> (raw)
In-Reply-To: <20180203042732.27980-1-npiggin@gmail.com>
Hi! Some remarks:
On Sat, Feb 03, 2018 at 02:27:32PM +1000, Nicholas Piggin wrote:
> + /*
> + * ISAv3.0B deliver a random number instruction (darn)
> + */
> + { "random-number-generator",
That's not such a great name... "darn-instruction" maybe? Just "wait"
as a name is a bit too short too I guess (and there is "wait-v3", so
that could be "wait-v2" or so? Or "wait-instruction").
> + /*
> + * ISAv3.0B branch instruction and register additions
> + * CA32, OV32, mcrxrx, setb
> + */
> + { "branch-v3",
Those aren't branch instructions, they are integer instructions. Some
of which use the XER, some of which use CR fields.
> +- isa
> + Usage: required
> + Value type: <u32>
> + Definition:
> +
> + isa that the CPU is currently running in. This provides instruction set
> + compatibility, less the individual feature nodes. For example, an ISA v3.0
> + implementation that lacks the "transactional-memory" cpufeature node
> + should not use transactional memory facilities.
> +
> + Value corresponds to the "Power ISA Version" multiplied by 1000.
> + For example, <3000> corresponds to Version 3.0, <2070> to Version 2.07.
> + The minor digit is available for revisions.
So the 2.07B, 3.0B (in the code above) should really be 2071 and 3001
(instead of 2070 and 3000)? Or you could make it hex and have 0x207B :-)
> +The policy for seleting and configuring which features to advertise and use
Typo ("selecting").
Segher
next prev parent reply other threads:[~2018-02-03 15:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-03 4:27 [PATCH (skiboot)] dt: add /cpus/ibm, powerpc-cpu-features device tree bindings Nicholas Piggin
2018-02-03 4:31 ` [PATCH (skiboot)] dt: add /cpus/ibm,powerpc-cpu-features " Nicholas Piggin
2018-02-03 15:36 ` Segher Boessenkool [this message]
2018-02-05 1:26 ` [PATCH (skiboot)] dt: add /cpus/ibm, powerpc-cpu-features " Nicholas Piggin
2018-02-05 14:41 ` Segher Boessenkool
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180203153620.GP21977@gate.crashing.org \
--to=segher@kernel.crashing.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=npiggin@gmail.com \
--cc=skiboot@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).