iommu: add rmrr Xen command line option for extra rmrrs
Quoted 19 lines · ----- [email protected] wrote:
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 15.07.15 at 17:27, <[email protected]> wrote:
Quoted 6 lines · Jan Beulich
Quoted 6 lines
Review
Quoted 4 lines
Quoted 2 lines · On 14.07.15 at 12:43, <[email protected]> wrote:
Quoted 1 line · On 13.07.15 at 20:18, <[email protected]> wrote:
(quoted diff) +2
-0+/* Macro for RMRR inclusive range formatting. */ +#define PRI_RMRR(s,e) "[%lx-%lx]"Just
PRI_RMRR(i.e. no parens or parameters) please. And I'mstill
Quoted 1 line
Quoted 1 line
Quoted 1 line
missing a macro to pair the respective arguments - as said
before,
Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
as single format specifier should be accompanied by a single argument (as visible to the reader at the use sites).
Answering your IRC question here:
#define
ERU_FMT"[%lx-%lx]"
#defineERU_ARG(eru)eru.base_pfn, eru.end_pfn
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
(with the acronym "eru" open for improvement).
Great! Thanks Jan.
Can ERU be RMRRU?ERMRRU maybe - I'd like the "extra" to somehow be expressed in the name.
Does this imply that it can be used for formatting ACPI RMRRs? Or with some modification perharps?
Quoted 2 lines
Jan
Quoted 25 lines
Quoted 1 line
Quoted 1 line · On 15.07.15 at 18:15, <[email protected]> wrote:
Quoted 21 lines · ----- [email protected] wrote:
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 15.07.15 at 17:27, <[email protected]> wrote:
Quoted 6 lines · Jan Beulich
Quoted 6 lines
Review
Quoted 4 lines
Quoted 2 lines · On 14.07.15 at 12:43, <[email protected]> wrote:
Quoted 1 line · On 13.07.15 at 20:18, <[email protected]> wrote:
(quoted diff) +2
-0+/* Macro for RMRR inclusive range formatting. */ +#define PRI_RMRR(s,e) "[%lx-%lx]"Just
PRI_RMRR(i.e. no parens or parameters) please. And I'mstill
Quoted 1 line
Quoted 1 line
Quoted 1 line
missing a macro to pair the respective arguments - as said
before,
Quoted 10 lines
Quoted 9 lines
Quoted 2 lines
as single format specifier should be accompanied by a single argument (as visible to the reader at the use sites).
Answering your IRC question here:
#define
ERU_FMT"[%lx-%lx]"
#defineERU_ARG(eru)eru.base_pfn, eru.end_pfn(with the acronym "eru" open for improvement).
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Great! Thanks Jan.
Can ERU be RMRRU?ERMRRU maybe - I'd like the "extra" to somehow be expressed in the name.
Does this imply that it can be used for formatting ACPI RMRRs? Or with some modification perharps?
If you wanted that (which would be fine with me if it works as outlined), then dropping the E or any other remnants of "extra" would of course be fine. But I doubt that'll be immediately possible considering that RMRRs have their addresses tracked, while for extra RMRRs you track MFNs (i.e. you'd first need to convert one of them).
Jan