Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9354219ybi; Wed, 10 Jul 2019 08:51:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxb3MiYioxWmFa8w6Z8Zb/PqtB7QXTlmEmhjUixLidmxjFgY0InYagb2dC/eJjPSzwc0xHw X-Received: by 2002:a17:902:7448:: with SMTP id e8mr39719592plt.85.1562773903167; Wed, 10 Jul 2019 08:51:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562773903; cv=none; d=google.com; s=arc-20160816; b=q93L83MKJaC5ysAwTkMMN6QZsVdhnZQyrOuj1C9eW9Z621pHR33Qf1nb32z0kVo++L C485d4iPbyqLep2wTIW2s5q+63Whr2LXnx0/J9z0nIjJ2rR8l8zF0Z4LjUqY6GxWti4/ YX78SFqjknEb5kjbUQBho8fz71LWTv0lQyxoYUZgy7ThHJV6LH9S0xVdn/+yQh4sA9ds B/zQPfkym3hhDizic99CXSpLB06uB7rjHjzyqvpqJyOU+a0SDWzifWKTOudLUTEyN9P9 Bp3eEMyrbeKqq73hCHHK6BH/7RImDv53kG5RbjX+NZ5xgxaxjfjyr+imUCglYpK5R+7U PL1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=NtOOR2nEu//DGOMUejq+6mfdm7EgmWFyTPqFW/hZNEg=; b=IeXqw8bV74rt/eMKWg7NbyTPf50F69u1hDkVULjvTeT4/nBd4tdj95wgZAhZNkXNhC SDk9Hn1IlR07Bw0Yy33d4VOgFZ7S/Fbe0Ydoy0jfdo5suTMrcFZdIWMfO/lPuMD0YZiI C68nkk/edGdG6DpXpTSteXCwGJc2deWT7sIT9jbCBI7EWvLp9m3/OtE7T+OeRAXeFFYq Wl7bfFG3Me2cj6DEzb39lXj2yxsiwOfybAlcpoxiEl6uizNXcs0a/QmYn7VI53/BJB14 TnmeU9na3Q4DpUhMrEjQkBIAyF7jQnGXHqqVnS6miZ8EqPrVXrJr+pbYz3WN2dWkGUhB wlaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DY67Qqzg; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7si2399787pgp.318.2019.07.10.08.51.27; Wed, 10 Jul 2019 08:51:43 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=DY67Qqzg; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728096AbfGJPo5 (ORCPT + 99 others); Wed, 10 Jul 2019 11:44:57 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:54670 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725832AbfGJPo5 (ORCPT ); Wed, 10 Jul 2019 11:44:57 -0400 Received: by mail-wm1-f68.google.com with SMTP id p74so2802273wme.4 for ; Wed, 10 Jul 2019 08:44:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NtOOR2nEu//DGOMUejq+6mfdm7EgmWFyTPqFW/hZNEg=; b=DY67Qqzg8l5sGMLitlWOUm/qzQ2NhqQ9Db12bmwsYd4wnB6rushO8O/ab2p8CxPx0A 1WsSAHX8Z84rQ/xQUHoU5CmUje5IAYvZH0mYD1OhVkH3AeegsnCBhCoeCACxKoyZxe5H 9S7xCeV+scTCi+NWNYdfV6JzV/ALBwtiFqdGKbxIkeguyVuk/obU+WoexQo4hGkjO6+6 0Fr1hgGDjgjCLdlv+LcmtrtSGqrW9oQfc3X48T193n2XMAqFhMRVRETjEynSPHk/tvxT aMv2O4k4gFAhmL/ivOMGxt1DGbmppZeL0jGqtM2tnK9tLwU4MpDB8m1LL1YSAbWx5231 EnEg== 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=NtOOR2nEu//DGOMUejq+6mfdm7EgmWFyTPqFW/hZNEg=; b=LCJgqMZMJUz15fXwLOfPnB7i4zSzlZYt4Q9Dc6AWmrEwS59oVhKsrl/qSdplQ9VEF1 sahjSyCjhf5zemjfUtEoJZlATLvGjdQHD99AV7zr9feWUMoEqTQqPf7KEy8/SDa3rESN 56YBJzc0EV8d2u/8T7hr1dn7IgrZ6nXymW8ou5YUUkMno13ICwQg83a/QUnKD13mmulT l514wDs8cYVwckgx4taGowNUKqI+yF38s2QlcblJIKSUMLrpayD14aCoYqR8Z5V40xzu EGv+BIwcxn98RnyiKG1us1Ay5zthzb+IrZME0TFBZbWCrFk4o81yN4vFnndJlGto7JLP I0Hg== X-Gm-Message-State: APjAAAV3w2Fvb3ju450ktcjTgQyp+QZEqvidIckqyEWXpNOEmMo2zMl3 vmb5Stejzc3scpFy1fXaRAjrrpCy73uMYZs82vNbxg== X-Received: by 2002:a1c:d10c:: with SMTP id i12mr5991172wmg.152.1562773494692; Wed, 10 Jul 2019 08:44:54 -0700 (PDT) MIME-Version: 1.0 References: <20190621095252.32307-11-vincenzo.frascino@arm.com> <20190710140119.23417-1-vincenzo.frascino@arm.com> In-Reply-To: <20190710140119.23417-1-vincenzo.frascino@arm.com> From: John Stultz Date: Wed, 10 Jul 2019 08:44:43 -0700 Message-ID: Subject: Re: [PATCH v2] arm64: vdso: Fix ABI regression in compat vdso To: Vincenzo Frascino Cc: linux-arch@vger.kernel.org, linux-arm-kernel , lkml , linux-mips@vger.kernel.org, linux-kselftest@vger.kernel.org, Catalin Marinas , Will Deacon , Arnd Bergmann , Russell King - ARM Linux , Ralf Baechle , Paul Burton , Daniel Lezcano , Thomas Gleixner , Mark Salyzyn , Peter Collingbourne , Shuah Khan , Dmitry Safonov <0x7f454c46@gmail.com>, Rasmus Villemoes , Huw Davies , Shijith Thotton , Andre Przywara , Andy Lutomirski Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 10, 2019 at 7:01 AM Vincenzo Frascino wrote: > > Prior to the introduction of Unified vDSO support and compat layer for > vDSO on arm64, AT_SYSINFO_EHDR was not defined for compat tasks. > In the current implementation, AT_SYSINFO_EHDR is defined even if the > compat vdso layer is not built and this causes a regression in the > expected behavior of the ABI. > > Restore the ABI behavior making sure that AT_SYSINFO_EHDR for compat > tasks is defined only when CONFIG_COMPAT_VDSO is enabled. > > Reported-by: John Stultz > Signed-off-by: Vincenzo Frascino This seems to solve it for me! Thanks so much for the quick turnaround on a fix. I really appreciate it! Tested-by: John Stultz thanks -john