Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1292916
| From | Mark Rutland <mark.rutland@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC PATCH v3 4/8] arm64: Handle early CPU boot failures |
| Date | 2015-12-16 12:40 +0100 |
| Message-ID | <qGiB4-1aZ-13@gated-at.bofh.it> (permalink) |
| References | <qDJHs-6FW-3@gated-at.bofh.it> <qDJR8-6Yw-11@gated-at.bofh.it> <qFWqS-3yI-19@gated-at.bofh.it> <qGhF0-zW-21@gated-at.bofh.it> <qGirn-175-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Dec 16, 2015 at 11:29:15AM +0000, Will Deacon wrote:
> On Wed, Dec 16, 2015 at 10:39:50AM +0000, Suzuki K. Poulose wrote:
> > On 15/12/15 11:55, Will Deacon wrote:
> > >On Wed, Dec 09, 2015 at 09:57:15AM +0000, Suzuki K. Poulose wrote:
> >
> > >> /*
> > >> * Initial data for bringing up a secondary CPU.
> > >>+ * @stack - sp for the secondary CPU
> > >>+ * @status - Result passed back from the secondary CPU to
> > >>+ * indicate failure.
> > >> */
> > >> struct secondary_data {
> > >> void *stack;
> > >>-};
> > >>+ unsigned long status;
> > >>+} ____cacheline_aligned;
> > >
> > >Why is this necessary?
> >
> > That was based on a suggestion from Mark Rutland here:
> >
> > https://lkml.org/lkml/2015/12/1/580
>
> That thread is talking about the CWG, which is not the same thing as
> ____cacheline_aligned. Given that the architectural maximum for the CWG
> is 2K, we can probably get away with allocating the status field amongst
> the head.S text instead (which we know will be clean).
>
> Since SMP boot is serialised, that should be sufficient, right?
Assuming you mean in .head.text (rather than .text), that should work
given that we don't currently free .head.text.
Mark.
--
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
Re: [RFC PATCH v3 4/8] arm64: Handle early CPU boot failures Will Deacon <will.deacon@arm.com> - 2015-12-15 13:00 +0100
Re: [RFC PATCH v3 4/8] arm64: Handle early CPU boot failures "Suzuki K. Poulose" <Suzuki.Poulose@arm.com> - 2015-12-16 11:40 +0100
Re: [RFC PATCH v3 4/8] arm64: Handle early CPU boot failures Will Deacon <will.deacon@arm.com> - 2015-12-16 12:30 +0100
Re: [RFC PATCH v3 4/8] arm64: Handle early CPU boot failures Mark Rutland <mark.rutland@arm.com> - 2015-12-16 12:40 +0100
csiph-web