Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp715094ybk; Sat, 9 May 2020 16:28:58 -0700 (PDT) X-Google-Smtp-Source: APiQypJpMF8+RAy2UlW3V+sEirYOCkkEEGlNbWJCsKpphPbPJdgXcFHdXDbAOaZXef1KhC0Vu/Ux X-Received: by 2002:a17:906:9494:: with SMTP id t20mr7487462ejx.51.1589066937860; Sat, 09 May 2020 16:28:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589066937; cv=none; d=google.com; s=arc-20160816; b=wsVSSp3K/Rie9eopVERIb0G6JUtEfCNQOzCsaS/+Y47QZLJHIg5rTgHChHyfcTJh/B ZKR0Yc7Ee76suLY/G6K/TLlY9x781Va6Fc3+ExcIuZ3mH0Nyaq93x8eBc6lM08tq8vxK JRTzVfNQJ38r2fP/iOr43EpLrTtOesMQUYZlN14+lwByUoO8aq56GuGelpGMA0wH5IfN D3HhXKAFsVe9zHwO2/3hozd7uLYzZKAWaMh843IJh08YLjHrF1WfvzBU0NDvpLsen0RR JjdhFN5njJ7iW/vAQ3qE9gyo7s53lUnac79AmuEfxbswb6AwBMluHvn+dTQ1WwQyXWgS W6SA== 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=/526PjPnbjCwilKm7RsHfW0Ne/bEDskYmPkox9dhVf0=; b=hggfSq5QcRbLsojNFRWZyIr2GlZekI94Ph+gSDUaE2QSXBRfzL5L6amYyzn1Y7yRib zgct+CrKY0maRM0MEmi8KYj8conJGSYlH4K1ZLLmS3Hm/JN/uTKFzlrbybDcODmpMaXs etgdttPSHadIqdgxFVOBzX1Yhp/+Shumb/kfbiKar7yoxLTcJi1X79/HBaX5yR71tKbi S0/1ig78sRK1+DT40C36HYipidvlw/xOD7Ad+M7GkEaLvPusGL+IB/UD1YH4HEGFRQVC w+LLjoYFgFjrdqW9bsEN6XEfClF2IX/sXzVp4ghPhiTOmSKr7+ltogum6ilr/z7ulRYx 3oHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=J6GSYDTx; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z23si3553058edl.64.2020.05.09.16.28.35; Sat, 09 May 2020 16:28:57 -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=@linux-foundation.org header.s=google header.b=J6GSYDTx; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726521AbgEIX1N (ORCPT + 99 others); Sat, 9 May 2020 19:27:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725927AbgEIX1N (ORCPT ); Sat, 9 May 2020 19:27:13 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA9DEC061A0C for ; Sat, 9 May 2020 16:27:12 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id h4so5532624ljg.12 for ; Sat, 09 May 2020 16:27:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/526PjPnbjCwilKm7RsHfW0Ne/bEDskYmPkox9dhVf0=; b=J6GSYDTxcjkpJ68uD/bLGdCa08JXEON68qGsC5jjDyX0dXL7P1sV4tN24W7cJuDQLu dwkQCm4gYLNybNoSpRZa/NEVgkvOibr6OUuJ757fJfSIhdWS/WQJ1IByySQn/0+kf1VM 3/WoQH/EKw/gyZH0IBGeQF1jLOK27vvFeL5Yw= 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=/526PjPnbjCwilKm7RsHfW0Ne/bEDskYmPkox9dhVf0=; b=WF4QN7utl/bclOfEOf8M3c4AYqFoKiIV9Jz3AlWxfIQzpph/bDlqkGL92Ai/FZaCjB Cpya2u4FrBKXgYs0v6KYUu15ucpjC5dBhH47XPtRVJj4djnVcmEGW4fuvKWAP61e3uwv t9aAQYGRfRO1eOt9gS1PuIWdGaNOIt9Rgduc/zFZBih8ztJ4O2sbq508lGUJvItcH9GM xKxHVIH++s1wZo52vmvqP67+U7G57xh6U5xms4EBlP+sv3By7qAvonlqKt+dmRzqOoup NKcizZmXdeTaDd2uLZzESIkZIg7JoCVCyMpYe7zVj34y4tFYgAcNqCZjR7WuOjktOQFj N1Lg== X-Gm-Message-State: AOAM533nvQ0+yLkGSEMqCDLbw8quL2qSXJ8/IuFUxy6ET7MGod0R49s7 /GqLw9OP4ezh23wIMHdqsoD7PL5mrtg= X-Received: by 2002:a2e:8108:: with SMTP id d8mr5577330ljg.184.1589066830881; Sat, 09 May 2020 16:27:10 -0700 (PDT) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com. [209.85.167.41]) by smtp.gmail.com with ESMTPSA id p2sm5032261lji.40.2020.05.09.16.27.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 09 May 2020 16:27:10 -0700 (PDT) Received: by mail-lf1-f41.google.com with SMTP id s9so4387407lfp.1 for ; Sat, 09 May 2020 16:27:09 -0700 (PDT) X-Received: by 2002:ac2:418b:: with SMTP id z11mr6301034lfh.30.1589066829592; Sat, 09 May 2020 16:27:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Sat, 9 May 2020 16:26:53 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] RISC-V Fixes for 5.7-rc5 To: Palmer Dabbelt , Andreas Schwab Cc: linux-riscv@lists.infradead.org, Linux Kernel Mailing List 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 Fri, May 8, 2020 at 11:47 AM Palmer Dabbelt wrote: > > * Adding a note to the VDSO so glibc can check the kernel's version without a > uname(). Eww. I realize other architectures do this, but why add it to new architectures? glibc depending on kernel version is WRONG. It's bogus. You can't do feature detection based on kernel version, it's fundamentally broken. So I really would prefer to see glibc fixed not to do that stupid thing, instead of adding pointless vdso notes to the kernel. Andreas? Why does glibc care about that ELF note? Linus