From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933174AbeCPRSU (ORCPT ); Fri, 16 Mar 2018 13:18:20 -0400 Received: from foss.arm.com ([217.140.101.70]:33594 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752212AbeCPRSR (ORCPT ); Fri, 16 Mar 2018 13:18:17 -0400 Subject: Re: arm64 kvm built with clang doesn't boot To: Nick Desaulniers Cc: Andrey Konovalov , Stephen Hines , Greg Hackmann , christoffer.dall@linaro.org, Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, LKML , Mark Rutland , Sami Tolvanen , takahiro.akashi@linaro.org References: <26a25069-ea1d-5fb3-549c-ab653f454a30@arm.com> <2e84a842-96e8-aec4-8b85-9ee879bb323a@arm.com> From: Marc Zyngier Organization: ARM Ltd Message-ID: <38b3c636-38cd-2cc5-79d0-8ccf234e2b26@arm.com> Date: Fri, 16 Mar 2018 17:18:13 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/03/18 16:52, Nick Desaulniers wrote: [dropping kernel-dynamic-tools@google.com which keeps bouncing] > Is this in regards to: commit "arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP > hardening support"? Has anyone tried to upstream a fix for this? We > probably want to be very explicit with register widths here. What do you mean? The current code is as strict as it gets, and explicitly tells the compiler to use the right register width, based on the SMC call parameter types. Thanks, M. -- Jazz is not dead. It just smells funny...