Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2578182imu; Sun, 23 Dec 2018 03:03:08 -0800 (PST) X-Google-Smtp-Source: AFSGD/UdwVKvd/xqlG5edTl0xxIc+T3ttg6pg81JrcFbx9SZJ02tWAaVYSaLafdbwDsGiOCCnmBA X-Received: by 2002:a02:734b:: with SMTP id a11mr5717103jae.62.1545562988895; Sun, 23 Dec 2018 03:03:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545562988; cv=none; d=google.com; s=arc-20160816; b=yLJ6PGiCP8e0WwEaqej/xZIDSFQ0Hb8ZWf4565qZEXO3GqtWCL84vzruOMeNotj5Cv 4SmISLI/OVez7vXDQejMxXzn5ZMpge4oAx0grz454k7iwmwHipPRTnj4G44/wyTrFjKm ZbV4+u3mPWV+zaMHcezmk5acp39wXzGli4nzyP1tBx+Pp14e4yaNmklQ1J3W4xUlMkjj fLvjNTubK87HVeNjI7eWr8y6TFuCHUp7EG7N08W5RUBx4qXc8n0w6GuW8/7Z+g+8yX29 WlHva1DD3b/pWgakiGHgQGSHTR1QIwNpnjphkE295xJYPSGpfBYM9heImWkanhPL/Vk5 WDtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to; bh=AYCMpMAO/kW59tlx6kKkPA/70584o37Mph5q8JgcvbE=; b=KeTjWVOELA+yIJkvufLZjC70gOdYPBENGRtJB20S/YnvZDOQJqv/F/mLGiPnn6gwiI aZApqjmbupvnFqGG0nNAdRXd9NVLIhKuUMcDDxhcV2WHm9FtpkUgSPusB6nZZQWTCY/I RoJRFT/JrudGZRv0NrDb1g4n/chH9d/spDHrUHkR+CIMaIN0lVLLx6TIoM8HgK/mcyNu 3Tj7dViJGt4AwerRoZbPoxoScFQFcO7O8h5GAjLBnDLZPCRlZcfMiKDIglTvkYouhOVC FAZVfCZTJQEHF/zTpHspQTMgDCEYxkT2R8EM52NI64O1li+w41bZcgk/s8mVYxiOzeA+ J2yg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12si2098788ita.133.2018.12.23.03.02.55; Sun, 23 Dec 2018 03:03:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404872AbeLVRBJ (ORCPT + 99 others); Sat, 22 Dec 2018 12:01:09 -0500 Received: from ozlabs.org ([203.11.71.1]:57379 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388911AbeLVRBE (ORCPT ); Sat, 22 Dec 2018 12:01:04 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 43MLT217xxz9sPZ; Sat, 22 Dec 2018 20:55:01 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: e213574a449f7a57d4202c1869bbc7680b6b5521 X-Patchwork-Hint: ignore In-Reply-To: <20181102004455.10157-1-joel@jms.id.au> To: Joel Stanley , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: Jinsong Ji , Nick Desaulniers , Kees Cook , Arnd Bergmann Subject: Re: [v2] raid6/ppc: Fix build for clang Message-Id: <43MLT217xxz9sPZ@ozlabs.org> Date: Sat, 22 Dec 2018 20:55:01 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-11-02 at 00:44:55 UTC, Joel Stanley wrote: > We cannot build these files with clang as it does not allow altivec > instructions in assembly when -msoft-float is passed. > > Jinsong Ji wrote: > > We currently disable Altivec/VSX support when enabling soft-float. So > > any usage of vector builtins will break. > > > > Enable Altivec/VSX with soft-float may need quite some clean up work, so > > I guess this is currently a limitation. > > > > Removing -msoft-float will make it work (and we are lucky that no > > floating point instructions will be generated as well). > > This is a workaround until the issue is resolved in clang. > > Link: https://bugs.llvm.org/show_bug.cgi?id=31177 > Link: https://github.com/ClangBuiltLinux/linux/issues/239 > Signed-off-by: Joel Stanley > Reviewed-by: Nick Desaulniers Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/e213574a449f7a57d4202c1869bbc7 cheers