Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1165032

Re: [PATCH RESEND v4 1/3] kvm/powerpc: Export kvm exit reasons

From Paul Mackerras <paulus@samba.org>
Newsgroups linux.kernel
Subject Re: [PATCH RESEND v4 1/3] kvm/powerpc: Export kvm exit reasons
Date 2015-06-15 07:50 +0200
Message-ID <pBvrs-2G5-13@gated-at.bofh.it> (permalink)
References <pBuF3-1vo-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jun 15, 2015 at 10:26:07AM +0530, Hemant Kumar wrote:
> To analyze the kvm exits with perf, we will need to map the exit codes
> with the exit reasons. Such a mapping exists today in trace_book3s.h.
> Currently its not exported to perf.
> 
> This patch moves these kvm exit reasons and their mapping from
> "arch/powerpc/kvm/trace_book3s.h" to
> "arch/powerpc/include/uapi/asm/trace_book3s.h".
> Accordingly change the include files in "trace_hv.h" and "trace_pr.h".

These are not really exit reasons so much as Power ISA interrupt
vectors, defined externally to the kernel (in the Power ISA document)
and not subject to change (at least, kernel developers can't change
them).  So I don't see why this needs to be "exported" from the
kernel.

Paul.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH RESEND v4 1/3] kvm/powerpc: Export kvm exit reasons Hemant Kumar <hemant@linux.vnet.ibm.com> - 2015-06-15 07:00 +0200
  [PATCH RESEND v4 3/3] kvm/powerpc: Export HCALL reason codes Hemant Kumar <hemant@linux.vnet.ibm.com> - 2015-06-15 07:00 +0200
    Re: [PATCH RESEND v4 3/3] kvm/powerpc: Export HCALL reason codes Paul Mackerras <paulus@samba.org> - 2015-06-15 07:50 +0200
  [PATCH RESEND v4 2/3] kvm/powerpc: Add exit reason for return code 0x0 Hemant Kumar <hemant@linux.vnet.ibm.com> - 2015-06-15 07:10 +0200
  Re: [PATCH RESEND v4 1/3] kvm/powerpc: Export kvm exit reasons Paul Mackerras <paulus@samba.org> - 2015-06-15 07:50 +0200

csiph-web