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


Groups > linux.kernel > #1372794

Re: [PATCHv2 net 3/3] samples/bpf: Enable powerpc support

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCHv2 net 3/3] samples/bpf: Enable powerpc support
Date 2016-04-06 22:10 +0200
Message-ID <rl1W2-Pq-15@gated-at.bofh.it> (permalink)
References <rkgaJ-6mK-5@gated-at.bofh.it> <rkgaJ-6mK-5@gated-at.bofh.it> <rkgaJ-6mK-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com>
Date: Mon,  4 Apr 2016 22:31:34 +0530

> Add the necessary definitions for building bpf samples on ppc.
> 
> Since ppc doesn't store function return address on the stack, modify how
> PT_REGS_RET() and PT_REGS_FP() work.
> 
> Also, introduce PT_REGS_IP() to access the instruction pointer.
> 
> Cc: Alexei Starovoitov <ast@fb.com>
> Cc: Daniel Borkmann <daniel@iogearbox.net>
> Cc: David S. Miller <davem@davemloft.net>
> Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
> Cc: Michael Ellerman <mpe@ellerman.id.au>
> Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>

Applied.

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


Thread

[PATCHv2 net 3/3] samples/bpf: Enable powerpc support "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> - 2016-04-04 19:10 +0200
  Re: [PATCHv2 net 3/3] samples/bpf: Enable powerpc support Alexei Starovoitov <alexei.starovoitov@gmail.com> - 2016-04-04 19:30 +0200
  Re: [PATCHv2 net 3/3] samples/bpf: Enable powerpc support David Miller <davem@davemloft.net> - 2016-04-06 22:10 +0200

csiph-web