From patchwork Tue Oct 22 00:47:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghavendra Rao Ananta X-Patchwork-Id: 13844950 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AF386D1714E for ; Tue, 22 Oct 2024 01:14:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:Cc:To:From: Subject:Message-ID:Mime-Version:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=eKlqNI7codORggOmuakZnfoKtsVxCBFbd76VCr1Cfs4=; b=S1kZ5BFkjlyGZbUckqXW+PwmeN kLQz86jxZIxRlA5lV+7j6BePiIvMmIn+EPlm1Lkcix2Nmb//ipVWYO90O5OEeh3To/32yMi9h0xE+ B+Tv60y+EFuj/cyy3uTgZ1BDjKb9aB9UihpFVNLdnbXbfuB0CCoCMTypj/S1248ESpx+Gi+x16H8T qcKnJzqR0reR5YXljnzSi6khw2bF8xhDZhppSRIoHg3ZQ6QkoRRgfbhxs/mRqLNaEoUk5GY84+4wt ez7rL9q5pG0amKP3lcIPBI0keZpVQ3+TJPoqYaM+eD3iKvbar9cECkxtfw9kNrIJbZrfFimyator0 C9bho43A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t33TA-00000009AJ8-47yI; Tue, 22 Oct 2024 01:13:56 +0000 Received: from mail-yw1-x1149.google.com ([2607:f8b0:4864:20::1149]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t333T-000000096z4-0Ewo for linux-arm-kernel@lists.infradead.org; Tue, 22 Oct 2024 00:47:24 +0000 Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-6e32e8436adso71411267b3.0 for ; Mon, 21 Oct 2024 17:47:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1729558036; x=1730162836; darn=lists.infradead.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=eKlqNI7codORggOmuakZnfoKtsVxCBFbd76VCr1Cfs4=; b=sSjsaqH6plX9N7CZdrcCkOvkZi6X4jXgya9Jf3FpBYi31hVzZsxQDYhD0QesSNh27k A7/J2VE1aC00wBiL2yeBserA4VtRbkzZ20Mf3QYCnHE4xaCRLK01XHNOCcf9jRc0uFwn mMKcGseRsBXZ829YKe5VpsBeHiCtQt/34zu+9LWe1ZTZOQ0jyQweUKp+BEy5O+Xo15O2 lzkYEGmm3yVrjS447msrsY8SDBo+bWZvVyyJ+x5YSHhCQ0Id6I6d9Cv7HJAQcxyFrDDO uy9myohow2d4IdjSylu/yyEiqCqUFQWyCFspXK9SUzVJzuV/kUGtfzg43RKRFow0nvb6 AkMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729558036; x=1730162836; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=eKlqNI7codORggOmuakZnfoKtsVxCBFbd76VCr1Cfs4=; b=qM5NQ4Wu7eolLnLQzk76x4IczXMn9v8iNVfYvc7w+hh4ryNTDMBMSdLGB1N1nDQFyC AUnKOjU6vwVNS6e6UG3o8Lr93jXgJP5FPlib2SIT87vcetOk76LT+QO9OqT+T/x7yPwZ lplq0iepy4sYNo/cEklBxiH1ZGhqS1Adui88h08eSc6A37pO4f7CDGgYW8JvTZ8XTTzT ts/iKLI0YEdJmq0ETNpqa5hQALieVG453NRIEAYL3zvKIfBnNCgVuKqcEFlK71KBLMrw 1tkHZpCxT+HM4pfK5m5RBVQ227CDQEQklmmg1ODdLFPZF2Tnh40DoIt0QJ/8iI8G8pXM aT1g== X-Forwarded-Encrypted: i=1; AJvYcCURGKHfIKbcQ/3PILwddUzZQyM8GvKFHbuc7iFO8KbIntmRGo/YBgj8VQJtI4lJzfnWb9rShkVw6xWzlbZust9A@lists.infradead.org X-Gm-Message-State: AOJu0YwsdhxKbIrhIYCuITNFldNCVd+a/AXJIhwr8HU9JQPEg/b/Skwk RKr401eAby7iXnBgnIJhppg1bTYatDR4/iplyb4sx/fUS2d0pSDe4z2GJI3ipni8Qn619f5PE4L sb3ZvJg== X-Google-Smtp-Source: AGHT+IHOQrd1jIWY9X7tdhL/R0YUgEB2OIskxOwSIWT5phgxs/Ny0301xMZAECFC/6CJbI+nE0pfGWzv7OGK X-Received: from rananta-linux.c.googlers.com ([fda3:e722:ac3:cc00:11b:3898:ac11:fac1]) (user=rananta job=sendgmr) by 2002:a05:690c:25c7:b0:6e3:eab:18b1 with SMTP id 00721157ae682-6e5bf622fdfmr2750087b3.1.1729558036138; Mon, 21 Oct 2024 17:47:16 -0700 (PDT) Date: Tue, 22 Oct 2024 00:47:07 +0000 Mime-Version: 1.0 X-Mailer: git-send-email 2.47.0.105.g07ac214952-goog Message-ID: <20241022004710.1888067-1-rananta@google.com> Subject: [kvm-unit-tests PATCH 0/3] Fix arm64 clang errors on fpu tests From: Raghavendra Rao Ananta To: Subhasish Ghosh , Joey Gouly , Andrew Jones Cc: Oliver Upton , Marc Zyngier , Raghavendra Rao Anata , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org, kvm@vger.kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241021_174723_122971_35EF5D65 X-CRM114-Status: UNSURE ( 7.89 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org When compiled with clang for arm64, some build errors were observed along the fpu code. Moreover, data aborts were seen while running the arm/fpu test due to misconfigured input/output args in the inline assembly. The series tries to addresses these issues. - Raghavendra Raghavendra Rao Ananta (3): arm: Fix clang error in sve_vl() arm: fpu: Convert 'q' registers to 'v' to satisfy clang arm: fpu: Fix the input/output args for inline asm in fpu.c arm/fpu.c | 46 +++++++++++++++++++-------------------- lib/arm64/asm/processor.h | 2 +- 2 files changed, 24 insertions(+), 24 deletions(-) base-commit: f246b16099478a916eab37b9bd1eb07c743a67d5