Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1666588pxy; Thu, 29 Apr 2021 11:40:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyx0G/rEbMEsxoH9F6Xjm8I5e0+LMkAyM8lCOfsdA5iRXwMsmvUBdudWRrIpAHAnVe3vbUy X-Received: by 2002:a63:a47:: with SMTP id z7mr1052324pgk.350.1619721614175; Thu, 29 Apr 2021 11:40:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619721614; cv=none; d=google.com; s=arc-20160816; b=zidFnGUVWYJ6Sj2VKS5G30wTGNpEitKFLviFN6fJR4GDG1/vwG6WXqOf34G+j5Hi6r sGx39HeYR7XRGRbscAtgJ4tNziclXFC+4nKotA/2CGXn8D2hKYKFMQPyTJ8oQAH55eCt Ghrfcx+C9JxH0nlTm7lxxCBRfzgp00mYIhmwx77I4uzVItxKbK1BRE2clpXrn9qxjReh J2H5VwnElNk5sbW2fsIIT3AncLUoEj5OXUpAU3pMj5HieOJvQ7NqhDDxr9P3se4vN4yR iE3HHGH8R/qh6h+P3Q88T7cnf+nDhQC7tEV558FFW6CTCjj0EQnwhqXfQoIEia8qnKIq OXfw== 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=FcFyf0v1qT/C1YQXGjM2gAonNFAnMg7U0aOFeLZ7M+0=; b=SScDH7uPGNzmabagIse+KLWeIBndlVadNnWSG4Rzzaw+4HcKSpmjLPeV4gL6EdjMUa 76HE+VAn6uD4X4u57mhyAq6handH9OGaD6h180D1AIidn8JFWEA9rf3jNGLt7hxWk+Y4 xzcEEJlLBwSmRI8Mn2/wnyVtidIvPrpoTa+ImrU7i6udG16nlcpU9LyosgTvsiRrgdL0 mmeQb9dY5+kOMc8Ga6YQd0/Pa1ESvQssV2TNf7rM9ZDEVSBRqpERx0E22DrLP2x0L6Op pbGFZa7RFBR2SA8as9/s3MMd5xFNCg+dEuu7skOWbgEe8/PtzKhLnYMbNruP3n6q8QNd HU7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=u9We45Pn; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r1si529391plc.130.2021.04.29.11.39.53; Thu, 29 Apr 2021 11:40:14 -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=@google.com header.s=20161025 header.b=u9We45Pn; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241091AbhD2SkG (ORCPT + 99 others); Thu, 29 Apr 2021 14:40:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241002AbhD2SkF (ORCPT ); Thu, 29 Apr 2021 14:40:05 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D76C3C06138B for ; Thu, 29 Apr 2021 11:39:15 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id b21so5193061ljf.11 for ; Thu, 29 Apr 2021 11:39:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FcFyf0v1qT/C1YQXGjM2gAonNFAnMg7U0aOFeLZ7M+0=; b=u9We45PnGjsIrZhdweakZeaWx4AIe4T2kFARCqBR/dHZGvYqbZY67pb1x4VnQH20V5 1dDcZKoOqdCZjvTLUBy5ATDyuKYy00UFBdjRcz0uf+MSP5zOryrv1qPDKCkjyQgmf3oW CLQTiUP9AkrHVN7duS+5NeEueO4+pz5DIVK5jPjL1JSNYumJmNeNBZZLd5Qlo1Yz/7Ux tTsXHi7lkRg1+RWgkwruYcMPuPZRvdpdCZ9Cv8NBEr15pY3J0Wm3lPHayja7d5QXRAyZ 5YWP1Gbn5JMwZEz/PCTqaMlkpusENf/Pys1EtLikjDWVNftaqFqePVkmnwJ/WpwTH4Be 2fhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FcFyf0v1qT/C1YQXGjM2gAonNFAnMg7U0aOFeLZ7M+0=; b=mtfo8LcccPqqVOJS8IAJkNhD9e0SCJWDVxRaQbm8icLin/zoYyI9T/4xtV/nGQU1JF DlHiRQg7K/uOmLbyq/ueMYZFwS2pC5CxZcBi0G0dEPNQeqJZEVhOCkKuBq6XerWH/ifM g05vgpPmtFW0PpnC5tc3hfoIaaAL4A1bU+8ZsHQRVJURMatcVi/mkjJ1PTzcIoKSiOfD mpCQse/OwmaHEX4Dv1Y8sKpHjVIpZwH7MURlyOAdiFmcWZhPtv3VqkWblZg1d4wIs47q zQJnlKKLOd/8ujGbROiagM31q9EfVSckYsSY07chRQoTLGL+GDC+gXlnGkma1tge86ie tYhg== X-Gm-Message-State: AOAM5307sYCGPokB2d1cg7lXNAhpQvENjtWyM6bt0M9rv50QkQnd8Yiv 3E5UuAfjZYMUWGBSsPuyiomK5ui4g1XpDqHCw/t8CQ== X-Received: by 2002:a2e:b5cd:: with SMTP id g13mr832554ljn.0.1619721554177; Thu, 29 Apr 2021 11:39:14 -0700 (PDT) MIME-Version: 1.0 References: <20210429150940.3256656-1-arnd@kernel.org> <20210429181716.2409874-1-ndesaulniers@google.com> In-Reply-To: From: Nick Desaulniers Date: Thu, 29 Apr 2021 11:39:03 -0700 Message-ID: Subject: Re: [PATCH] smp: fix smp_call_function_single_async prototype To: Arnd Bergmann 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 11:27 AM Arnd Bergmann wrote: > > Either way, I'll give it some more time on the randconfig build machine > before I send out v2. SGTM and thanks for the fix. Perhaps worth a note that this isn't just "a violation of the calling conventions" but straight up undefined behavior, full stop. UBSAN folks are working on adding a catch for this as well: https://reviews.llvm.org/D100037, see the relevant citations from the standard. -- Thanks, ~Nick Desaulniers