Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1626500ybm; Sat, 30 May 2020 15:17:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrJKh5KHqhW5C4A9XAhgaKunLHoLqPe8fy/HODyNvhazYVv6mu2Fmr8y0Zpvm+pH8zPtzb X-Received: by 2002:a17:906:6094:: with SMTP id t20mr14233806ejj.359.1590877039599; Sat, 30 May 2020 15:17:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590877039; cv=none; d=google.com; s=arc-20160816; b=xn3LYF/QPpIq0QBwKOfg3nLHWRI+fwJi0/3QlWS7buFi88ZpCfDy/d/Yz2W+PB/Nn1 nqBGLsan5rbzhw3n4I0Ggrip47k6nBiq0fuDIAZIjc/V0CQwMUsKxxPVvu1YCkotk2LS VABtCjkbnDblauDZBZk63/A1/w0wB0CsJvTcjFDHGYuYRLbISuiitI+YsYK+93XfLzJs Eyffqacw6MPr5drH/upmctm6mnc8orsNkKV6p15JDkl+Xhke5aNtz+KRYPeByWZ0jaqQ LGuph2cue7Pnrx7dF4/euOUQRm4UjSREDbXtGztzWZjuYCPgkfntvEmw+TS60x5Ny+l3 VHaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9V3uAtmsq/h0ubP+/MybwndD7z4sK/wWxjhl/xTDgts=; b=ge4RMKLf/Y9zSD7TASzJx5FXmm+BEUlAkcLO7Q4BQ/QfHp/bKKTDhlv5kfIyV6jEK3 Cl7DLQt1XyXkO5/AgWb4UNI3Eu0BFDSJlsClolbBhV/2xzn6GZBExx4bpcZQRCDuN9nm YCWROA2rjBYek08mr/xCzlxiQ0xyttq3N77nmVcvXiuJc19Mz06vn7qlSV15JOsm5by0 vDM6wncaeO1zh/7i0n5amND5nwYzi19ut4x8aoCfhTTrPea0V9IGuNHKsiiO0O9xvpcH AclDB5hFs9+FzHaOecjvTqcLLu4v2/jdu3fhHdDPBUbFHM6WEABIq66nMCXo3exVQmUi CpfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tVrVYDIU; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i13si567003ejc.659.2020.05.30.15.16.57; Sat, 30 May 2020 15:17:19 -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=@gmail.com header.s=20161025 header.b=tVrVYDIU; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729502AbgE3WMQ (ORCPT + 99 others); Sat, 30 May 2020 18:12:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729428AbgE3WLp (ORCPT ); Sat, 30 May 2020 18:11:45 -0400 Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8315AC03E969 for ; Sat, 30 May 2020 15:11:45 -0700 (PDT) Received: by mail-il1-x142.google.com with SMTP id d1so5918328ila.8 for ; Sat, 30 May 2020 15:11:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9V3uAtmsq/h0ubP+/MybwndD7z4sK/wWxjhl/xTDgts=; b=tVrVYDIU6w3SB67yl+L7KkwONC86HX9knQBOEmey51JrQVi/Io9C+aH19RP/Eip++Q vSHT3O4Kcmxz9XbrklY8JLpc8dyW7/MQnWpBt64IKS+btLK4CjjWu2CU5H57a2mI2/2u p79TOj9QLWsbtX1oEb+b7RBrMmOSw/TW6oYvw33kbpKs5/mKqtzoG43OIyHlVtDRg7OA V6JEDPY0nj1excN/0UdPByv3CLE2p0bqWN6e2nIxI/HfoUvyrLP2bKV12IVCXPdjE1Ie wcONLFCtPDuGvgiW3hJAp3UUusV+ks9acs6WVQLJlCExB41phhjVrfzj245+FhZpI4Iq oPwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9V3uAtmsq/h0ubP+/MybwndD7z4sK/wWxjhl/xTDgts=; b=i+Dzpe2GgTrFK4sHr6jn7NCAM2wtuWfHDOoV1NDRlZ7cJ43r+Cp5MqpZETOCQUXCt/ ImrMl6rOXiMBQIUPOMNLs1Oiui9gch4FKjkSn2Sb6Yb/g7VVb4qCRgBqK5uVVNQAjd3K ZJRMQdCndisS6eKgg5+QB+xeTBN17o7wbc6IXUDu6MM7Mn96oP84i+RLG8+UrXpe2I7y GtPL8jEBLfhdp+LO2XcgKBaXi57lcvefDWgMc9cHD8e1rwnofwQnwNzjztF8DbZ6SBmM guDMK6CoogJvHT7m81uGWdJ+CoTTUunzZIgXoRPW2XKrndHV87HiAh30fP8Mq6uJav4q tdxw== X-Gm-Message-State: AOAM530QpnzljyFFJJwn0dzbIDuMDRawOc4lYnE6KChMjfozTAoL6Ftr +LOoRpczhMPxi7JoZGK9WmLziqJgkg== X-Received: by 2002:a92:850c:: with SMTP id f12mr14495929ilh.86.1590876704870; Sat, 30 May 2020 15:11:44 -0700 (PDT) Received: from localhost.localdomain (174-084-153-250.res.spectrum.com. [174.84.153.250]) by smtp.gmail.com with ESMTPSA id w78sm2735698ilk.14.2020.05.30.15.11.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 May 2020 15:11:44 -0700 (PDT) From: Brian Gerst To: linux-kernel@vger.kernel.org, x86@kernel.org Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , Andy Lutomirski , Peter Zijlstra , Nick Desaulniers , Brian Gerst Subject: [PATCH v2 05/10] x86/percpu: Remove "e" constraint from XADD Date: Sat, 30 May 2020 18:11:22 -0400 Message-Id: <20200530221127.459704-6-brgerst@gmail.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200530221127.459704-1-brgerst@gmail.com> References: <20200530221127.459704-1-brgerst@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The "e" constraint represents a constant, but the XADD instruction doesn't accept immediate operands. Signed-off-by: Brian Gerst --- arch/x86/include/asm/percpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/percpu.h b/arch/x86/include/asm/percpu.h index 2a24f3c795eb..9bb5440d98d3 100644 --- a/arch/x86/include/asm/percpu.h +++ b/arch/x86/include/asm/percpu.h @@ -220,7 +220,7 @@ do { \ break; \ case 8: \ asm qual ("xaddq %0, "__percpu_arg(1) \ - : "+re" (paro_ret__), "+m" (var) \ + : "+r" (paro_ret__), "+m" (var) \ : : "memory"); \ break; \ default: __bad_percpu_size(); \ -- 2.25.4