Re: [RFC] arm64: kexec_file_load support

2016-07-11 Thread Dave Young
On 07/11/16 at 04:19pm, AKASHI Takahiro wrote: > On Fri, Jul 08, 2016 at 11:48:44AM -0300, Thiago Jung Bauermann wrote: > > Am Donnerstag, 07 Juli 2016, 14:12:45 schrieb Dave Young: > > > If so maybe change a bit from your precious mentioned 7 args proposal like > > > below? > > > > > > struct

Re: [RFC] arm64: kexec_file_load support

2016-07-11 Thread Dave Young
On 07/11/16 at 04:19pm, AKASHI Takahiro wrote: > On Fri, Jul 08, 2016 at 11:48:44AM -0300, Thiago Jung Bauermann wrote: > > Am Donnerstag, 07 Juli 2016, 14:12:45 schrieb Dave Young: > > > If so maybe change a bit from your precious mentioned 7 args proposal like > > > below? > > > > > > struct

Re: [RFC] arm64: kexec_file_load support

2016-07-11 Thread AKASHI Takahiro
On Fri, Jul 08, 2016 at 11:48:44AM -0300, Thiago Jung Bauermann wrote: > Am Donnerstag, 07 Juli 2016, 14:12:45 schrieb Dave Young: > > If so maybe change a bit from your precious mentioned 7 args proposal like > > below? > > > > struct kexec_file_fd { > > enum kexec_file_type; > > int fd;

Re: [RFC] arm64: kexec_file_load support

2016-07-11 Thread AKASHI Takahiro
On Fri, Jul 08, 2016 at 11:48:44AM -0300, Thiago Jung Bauermann wrote: > Am Donnerstag, 07 Juli 2016, 14:12:45 schrieb Dave Young: > > If so maybe change a bit from your precious mentioned 7 args proposal like > > below? > > > > struct kexec_file_fd { > > enum kexec_file_type; > > int fd;

Re: [RFC] arm64: kexec_file_load support

2016-07-10 Thread Dave Young
On 07/08/16 at 11:48am, Thiago Jung Bauermann wrote: > Am Donnerstag, 07 Juli 2016, 14:12:45 schrieb Dave Young: > > If so maybe change a bit from your precious mentioned 7 args proposal like > > below? > > > > struct kexec_file_fd { > > enum kexec_file_type; > > int fd; > > } > > > >

Re: [RFC] arm64: kexec_file_load support

2016-07-10 Thread Dave Young
On 07/08/16 at 11:48am, Thiago Jung Bauermann wrote: > Am Donnerstag, 07 Juli 2016, 14:12:45 schrieb Dave Young: > > If so maybe change a bit from your precious mentioned 7 args proposal like > > below? > > > > struct kexec_file_fd { > > enum kexec_file_type; > > int fd; > > } > > > >

Re: [RFC] arm64: kexec_file_load support

2016-07-08 Thread Thiago Jung Bauermann
Am Donnerstag, 07 Juli 2016, 14:12:45 schrieb Dave Young: > If so maybe change a bit from your precious mentioned 7 args proposal like > below? > > struct kexec_file_fd { > enum kexec_file_type; > int fd; > } > > struct kexec_fdset { > int nr_fd; > struct kexec_file_fd

Re: [RFC] arm64: kexec_file_load support

2016-07-08 Thread Thiago Jung Bauermann
Am Donnerstag, 07 Juli 2016, 14:12:45 schrieb Dave Young: > If so maybe change a bit from your precious mentioned 7 args proposal like > below? > > struct kexec_file_fd { > enum kexec_file_type; > int fd; > } > > struct kexec_fdset { > int nr_fd; > struct kexec_file_fd

Re: [RFC] arm64: kexec_file_load support

2016-07-07 Thread Dave Young
On 07/05/16 at 05:03pm, AKASHI Takahiro wrote: > Hi Dave, > > On Tue, Jul 05, 2016 at 09:25:56AM +0800, Dave Young wrote: > > On 07/04/16 at 03:58pm, AKASHI Takahiro wrote: > > > Hi, > > > > > > On Fri, Jul 01, 2016 at 12:46:31PM -0300, Thiago Jung Bauermann wrote: > > > > Am Freitag, 01 Juli

Re: [RFC] arm64: kexec_file_load support

2016-07-07 Thread Dave Young
On 07/05/16 at 05:03pm, AKASHI Takahiro wrote: > Hi Dave, > > On Tue, Jul 05, 2016 at 09:25:56AM +0800, Dave Young wrote: > > On 07/04/16 at 03:58pm, AKASHI Takahiro wrote: > > > Hi, > > > > > > On Fri, Jul 01, 2016 at 12:46:31PM -0300, Thiago Jung Bauermann wrote: > > > > Am Freitag, 01 Juli

Re: [RFC] arm64: kexec_file_load support

2016-07-05 Thread AKASHI Takahiro
On Mon, Jul 04, 2016 at 07:50:19PM -0300, Thiago Jung Bauermann wrote: > Hello, > > Am Montag, 04 Juli 2016, 15:58:15 schrieb AKASHI Takahiro: > > On Fri, Jul 01, 2016 at 12:46:31PM -0300, Thiago Jung Bauermann wrote: > > > I agree that it would be better if we could have a system call where a >

Re: [RFC] arm64: kexec_file_load support

2016-07-05 Thread AKASHI Takahiro
On Mon, Jul 04, 2016 at 07:50:19PM -0300, Thiago Jung Bauermann wrote: > Hello, > > Am Montag, 04 Juli 2016, 15:58:15 schrieb AKASHI Takahiro: > > On Fri, Jul 01, 2016 at 12:46:31PM -0300, Thiago Jung Bauermann wrote: > > > I agree that it would be better if we could have a system call where a >

Re: [RFC] arm64: kexec_file_load support

2016-07-05 Thread AKASHI Takahiro
Hi Dave, On Tue, Jul 05, 2016 at 09:25:56AM +0800, Dave Young wrote: > On 07/04/16 at 03:58pm, AKASHI Takahiro wrote: > > Hi, > > > > On Fri, Jul 01, 2016 at 12:46:31PM -0300, Thiago Jung Bauermann wrote: > > > Am Freitag, 01 Juli 2016, 14:11:12 schrieb AKASHI Takahiro: > > > > I'm not sure

Re: [RFC] arm64: kexec_file_load support

2016-07-05 Thread AKASHI Takahiro
Hi Dave, On Tue, Jul 05, 2016 at 09:25:56AM +0800, Dave Young wrote: > On 07/04/16 at 03:58pm, AKASHI Takahiro wrote: > > Hi, > > > > On Fri, Jul 01, 2016 at 12:46:31PM -0300, Thiago Jung Bauermann wrote: > > > Am Freitag, 01 Juli 2016, 14:11:12 schrieb AKASHI Takahiro: > > > > I'm not sure

Re: [RFC] arm64: kexec_file_load support

2016-07-04 Thread Dave Young
On 07/04/16 at 03:58pm, AKASHI Takahiro wrote: > Hi, > > On Fri, Jul 01, 2016 at 12:46:31PM -0300, Thiago Jung Bauermann wrote: > > Am Freitag, 01 Juli 2016, 14:11:12 schrieb AKASHI Takahiro: > > > I'm not sure whether there is any demand for kexec_file_load > > > support on arm64, but anyhow I'm

Re: [RFC] arm64: kexec_file_load support

2016-07-04 Thread Dave Young
On 07/04/16 at 03:58pm, AKASHI Takahiro wrote: > Hi, > > On Fri, Jul 01, 2016 at 12:46:31PM -0300, Thiago Jung Bauermann wrote: > > Am Freitag, 01 Juli 2016, 14:11:12 schrieb AKASHI Takahiro: > > > I'm not sure whether there is any demand for kexec_file_load > > > support on arm64, but anyhow I'm

Re: [RFC] arm64: kexec_file_load support

2016-07-04 Thread Thiago Jung Bauermann
Hello, Am Montag, 04 Juli 2016, 15:58:15 schrieb AKASHI Takahiro: > On Fri, Jul 01, 2016 at 12:46:31PM -0300, Thiago Jung Bauermann wrote: > > I agree that it would be better if we could have a system call where a > > > custom device tree could be passed. One suggestion is: > For powerpc, you

Re: [RFC] arm64: kexec_file_load support

2016-07-04 Thread Thiago Jung Bauermann
Hello, Am Montag, 04 Juli 2016, 15:58:15 schrieb AKASHI Takahiro: > On Fri, Jul 01, 2016 at 12:46:31PM -0300, Thiago Jung Bauermann wrote: > > I agree that it would be better if we could have a system call where a > > > custom device tree could be passed. One suggestion is: > For powerpc, you

Re: [RFC] arm64: kexec_file_load support

2016-07-04 Thread AKASHI Takahiro
Hi, On Fri, Jul 01, 2016 at 12:46:31PM -0300, Thiago Jung Bauermann wrote: > Am Freitag, 01 Juli 2016, 14:11:12 schrieb AKASHI Takahiro: > > I'm not sure whether there is any demand for kexec_file_load > > support on arm64, but anyhow I'm working on this and now > > my early prototype code does

Re: [RFC] arm64: kexec_file_load support

2016-07-04 Thread AKASHI Takahiro
Hi, On Fri, Jul 01, 2016 at 12:46:31PM -0300, Thiago Jung Bauermann wrote: > Am Freitag, 01 Juli 2016, 14:11:12 schrieb AKASHI Takahiro: > > I'm not sure whether there is any demand for kexec_file_load > > support on arm64, but anyhow I'm working on this and now > > my early prototype code does

Re: [RFC] arm64: kexec_file_load support

2016-07-01 Thread Thiago Jung Bauermann
Am Freitag, 01 Juli 2016, 14:11:12 schrieb AKASHI Takahiro: > I'm not sure whether there is any demand for kexec_file_load > support on arm64, but anyhow I'm working on this and now > my early prototype code does work fine. It is necessary if you want to support loading only signed kernels, and

Re: [RFC] arm64: kexec_file_load support

2016-07-01 Thread Thiago Jung Bauermann
Am Freitag, 01 Juli 2016, 14:11:12 schrieb AKASHI Takahiro: > I'm not sure whether there is any demand for kexec_file_load > support on arm64, but anyhow I'm working on this and now > my early prototype code does work fine. It is necessary if you want to support loading only signed kernels, and

[RFC] arm64: kexec_file_load support

2016-06-30 Thread AKASHI Takahiro
Hi, I'm not sure whether there is any demand for kexec_file_load support on arm64, but anyhow I'm working on this and now my early prototype code does work fine. There is, however, one essential issue: While arm64 kernel requires a device tree blob to be set up correctly at boot time, the

[RFC] arm64: kexec_file_load support

2016-06-30 Thread AKASHI Takahiro
Hi, I'm not sure whether there is any demand for kexec_file_load support on arm64, but anyhow I'm working on this and now my early prototype code does work fine. There is, however, one essential issue: While arm64 kernel requires a device tree blob to be set up correctly at boot time, the