Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1657834pxy; Thu, 29 Apr 2021 11:28:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaLNyYl8XyrEfZfucZpXj2YRpwKbOJ3Aj1Cs5szWX+8CoBlF6vqdc2TwtqcnFnuJh0y+Tv X-Received: by 2002:a62:ee09:0:b029:211:1113:2e7c with SMTP id e9-20020a62ee090000b029021111132e7cmr1284037pfi.49.1619720893450; Thu, 29 Apr 2021 11:28:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619720893; cv=none; d=google.com; s=arc-20160816; b=e/Y8W5WlJN/Sp4ZoJygmCqQWReYyFRb9CWjDKt+jPq01zRcnIsoYFJKmvYSI+NgkOX XoNnalbBEMjUjL8WdhjYXE1fwzjbQBKxt4STgg6F02ol2xsi0RPkHWtGaPNz86vZ98Lp DcoVG1Pqxxa7xnFFUFIy8nBKR2S2ESwvIecjJYeWN3eLyqYCNDjHFuPYSCAc9kqIgfBM B7YGV8kSSXOerTM+AgZ8rheVb56yFqzKAEe3wmIBah7h2ykm6TSE5CawMly5tKgGuXMW vLlrToyN5A6YlKHA4Ra2TaD9Qpfsw37BUP3PPBz1iHjmFcP9X450oBTSmwPiPtP7a6uN teHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=jeySVn+2hOKNFVFci5HCbbmdxTSp11lgHxPEZh6MdM4=; b=ZzLWNwy8yaMHyCauG5PO8F3Y7brgpYAJQ27XPSbmsLxMOamrekmSJJtDIzA7Ivg77D VtOj1Fgf8kPH25pb61f1EhZ39ufEaqbAkk+H5qkpTidFABFUcvx3UfAqF6aOnHvdhQVT ZmA0gyba+s65bIypAb6Pje8KYiEkIldtwHgOxlATJToQWXGYDtFaS2iA5YEz+A6Nahdg imn4pQuwmfLAcpp+dtjLOkjceth4hBoFdNv8vbBnHkDYq3xmlMcI1/ik09gABSnetaFj mhPIm29kbZ9XWmzMRJy9BBRMpq+EM0IJ+0Ez6EN1gk6+W8jwYosF8RZ3o+0IfVs1rEnV ++IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nrw6p1vO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id fh23si4090068pjb.91.2021.04.29.11.27.56; Thu, 29 Apr 2021 11:28:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nrw6p1vO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234047AbhD2S2K (ORCPT + 99 others); Thu, 29 Apr 2021 14:28:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:53614 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233338AbhD2S2K (ORCPT ); Thu, 29 Apr 2021 14:28:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 384E96145A for ; Thu, 29 Apr 2021 18:27:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619720843; bh=1dZL19SfAvPWGNrE++ag9v5BV8bXH6/Msa+N94lCj90=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=nrw6p1vOaYuOyrm4FKbSq1E7BLtBFErpmvElV7bIGxmf2FQzXhQV7o3M5qrwxvaAG WEyyq4uGQ5l18v9M2/igBLVEf9DlUlFZ6lsJ7Q4swZIFJEGmK7+9LrnihsJKoXtVgr zqEhfE1RyzZ89Lox2f7mdNfGPfzI5qw6qeC2GUOO9t0NJomQczWt/O21z5QjJDZ7MW QTbzKVvAKqXhbIV8lQNKsY72cxNN2ocxk8JWtMfHerFsV8EyvYG2bFD9h/ePv2qMCq mSxI6PwqRIk1rgyBYTqjQ0rk4uHzIMZf6HT0EnuPMCbM3rGd0hO9dVGHYipUkhys1r gSHgFlhdxJTJg== Received: by mail-wm1-f42.google.com with SMTP id k128so36429765wmk.4 for ; Thu, 29 Apr 2021 11:27:23 -0700 (PDT) X-Gm-Message-State: AOAM532njDKwkYdho1YKWGu+XI+4CcfkWzND/i5Qv1Tm29xZT61OdQxX KO4yVYa+oJ8Z1cPVek7gYO33BxWOn7HM33BTV7Y= X-Received: by 2002:a1c:a949:: with SMTP id s70mr12305016wme.84.1619720841576; Thu, 29 Apr 2021 11:27:21 -0700 (PDT) MIME-Version: 1.0 References: <20210429150940.3256656-1-arnd@kernel.org> <20210429181716.2409874-1-ndesaulniers@google.com> In-Reply-To: From: Arnd Bergmann Date: Thu, 29 Apr 2021 20:26:45 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] smp: fix smp_call_function_single_async prototype To: Nick Desaulniers Cc: Jens Axboe , Borislav Petkov , Eric Dumazet , Juergen Gross , Jian Cai , LKML , Guenter Roeck , Michael Ellerman , Peter Zijlstra , Thomas Gleixner , Huang Ying , Nathan Chancellor , clang-built-linux Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 29, 2021 at 8:24 PM 'Nick Desaulniers' via Clang Built Linux wrote: > > On Thu, Apr 29, 2021 at 11:17 AM Nick Desaulniers > wrote: > > > > (replying manually to > > https://lore.kernel.org/lkml/20210429150940.3256656-1-arnd@kernel.org/) > > > > Thanks for the patch; with this applied I observe the following new warnings > > though (for x86_64 defconfig; make LLVM=1 LLVM_IAS=1 -j72) > > > > kernel/smp.c:515:19: warning: passing 8-byte aligned argument to 32-byte > > aligned parameter 1 of 'csd_lock_record' may result in an unaligned pointer > > access [-Walign-mismatch] > > csd_lock_record(csd); > > ^ > > kernel/smp.c:516:14: warning: passing 8-byte aligned argument to 32-byte > > aligned parameter 1 of 'csd_unlock' may result in an unaligned pointer access > > [-Walign-mismatch] > > csd_unlock(csd); > > ^ > > kernel/smp.c:525:14: warning: passing 8-byte aligned argument to 32-byte > > aligned parameter 1 of 'csd_unlock' may result in an unaligned pointer access > > [-Walign-mismatch] > > csd_unlock(csd); > > ^ > > Perhaps roll this into a v2? > Right, I just did the same thing. I wonder if I failed to hit those because of differences in configuration or because I tested the wrong way. Either way, I'll give it some more time on the randconfig build machine before I send out v2. Arnd