Date: Fri, 10 Mar 2017 16:10:49 +0000 From: Andrew Gierth <andrew@tao11.riddles.org.uk> To: Warner Losh <imp@bsdimp.com> Cc: "freebsd-arm\@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: Is CPUTYPE=cortex-A7 supposed to work? Message-ID: <87wpbxw3yd.fsf@news-spur.riddles.org.uk> In-Reply-To: <CANCZdfpftVHaPahTOP0vxB-FR%2BKtpqY9JMJr=F2DGifD0fhKMQ@mail.gmail.com> (Warner Losh's message of "Fri, 10 Mar 2017 07:32:45 -0700") References: <871suc3nv8.fsf@news-spur.riddles.org.uk> <CANCZdfq4EwH%2B_9FVNai8s6Y-gdTjHJ8dNkJwSrnF%2BSAkdwvYdg@mail.gmail.com> <8737ely05c.fsf@news-spur.riddles.org.uk> <CANCZdfpftVHaPahTOP0vxB-FR%2BKtpqY9JMJr=F2DGifD0fhKMQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Warner" == Warner Losh <imp@bsdimp.com> writes: Warner> I've not had good luck getting it to work. (cortex-a7 is the Warner> proper type name, btw). It kinda works, but ports are kinda Warner> wonky. >> Well, I can now report that with a local fix for #217611 in place >> and everything recompiled for cortex-a7, I'm not seeing any >> wonkiness at all even with a lot of ports in use. Warner> Awesome. What's the local fix? Is it in FreeBSD yet? No, it's not in FreeBSD yet; I attached it as a patch to the bugzilla report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217611 https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180669&action=diff My fix requires breaking the ABI, since the definition of mcontext_t simply does not have enough space to store all the registers, so I'm assuming it won't go into stable/11 (though that really needs _some_ kind of fix, since the bug can be demonstrated with ordinary floating-point code and no compile options). It needs attention from someone with more kernel/arm experience than I have to see whether I've missed something obvious (or subtle). (Maybe I should have filed it under "kern" rather than "arm"?) -- Andrew.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87wpbxw3yd.fsf>