Received: by 10.213.65.68 with SMTP id h4csp1645894imn; Thu, 15 Mar 2018 05:51:48 -0700 (PDT) X-Google-Smtp-Source: AG47ELv8mx7p8M78YIT3DKWdUfrMIu5sB+U/SFI9y/qVUx87l0EjNKS462ulsnUrlrmC5CK44EJE X-Received: by 10.101.71.202 with SMTP id f10mr6593866pgs.91.1521118308806; Thu, 15 Mar 2018 05:51:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521118308; cv=none; d=google.com; s=arc-20160816; b=tTA9JMsuzQgurE8tNeGoz1HvUUN8Az3po8Pzr+Mx4amg4R2rna/17tifpBvmUaDrAi hBVfLl6mU0wKkP6z1F/yGEEw+TXF+Qx3yx/5psQCNcmEWhoJJ1kwjPMgN/2pm4pgZFXn mkfXUxsEMagjG75eOl/FBfQVN9Smb6gHKRMepDyWc5aIji7ZfNSbxQhc9oRJCc5mKbQp 3XjoVFoPWnEJ3ZtbGJWMyGRk1Np5XtgA1dJ1kMt+Fz152U4rXxcfIB6Jeqi2/reU4GmA v69eR7EY7FJC5u0pg3PCUiVVHuoXKIFJH7V4mzsGvobG1LzZe+61pNrJ5kbHgT7EaHGa AXQg== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=zI13KqqzfoptuMkA43BdljZ8iFi6kS3dyZLzL8F2KDY=; b=zcGcAvjlXoFMS9ji5uHnE+tCmSQZJJoLuhsACJ6INBO9X7jTEXudLhUJEgwqLTWgQh 51rs8z2VzJ9GG5mlGWNu62kNjpt/uH8bDduR8p18x8AM+rDHdNuUK8IfecvI+KVXQSrd 0xOpg9OnLidggKkB91Q3hmCEyAhRNPFokWUfXZATtkEjEY6WOADKL+dRQHx7FtWa+Ztm q1esf+TIx/Ye+Q+Qe/hX7q0NYjUbNBes5JvX+21FEKGFXHCuz04vK7VYkxXVqJGIGi6s Pf8OWL7MySqUYeXZ9z7qPZfcfYHm1V0yczODdo/kMflwE7E++ycMO2UuO+bfwbPjC/zS DXdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=KKADeZBz; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u10-v6si3804054plu.509.2018.03.15.05.51.34; Thu, 15 Mar 2018 05:51:48 -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=fail header.i=@gmail.com header.s=20161025 header.b=KKADeZBz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751921AbeCOMul (ORCPT + 99 others); Thu, 15 Mar 2018 08:50:41 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:56287 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751694AbeCOMui (ORCPT ); Thu, 15 Mar 2018 08:50:38 -0400 Received: by mail-it0-f65.google.com with SMTP id e195-v6so4247977ita.5; Thu, 15 Mar 2018 05:50:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=zI13KqqzfoptuMkA43BdljZ8iFi6kS3dyZLzL8F2KDY=; b=KKADeZBzBkmYU0t+MdTguhFnmcnd9eNZFBmR5rtpt7TUb3XWba5hFiKLr9FWdzu6GG 0wtfrd9gGQA3o4gwmAk3ROA4myYEIQ7yIX+XZv8yFIjEO49UVZuhngs66GYlxChXoD74 TH3yYNZYppM4cHH34TEF3MQHKz6AGINh2SIxj+RFA1fRgLnqPfe3HwRLV8aju0WrUytl D1y1e12l4vSvkgXa1WvsNVtkys47ekQH/kS1rPtDqRDHkMgROoOA3J5X3Ap7pNF8h6nf Dq8Reh2dyD2hvD3fvZo4BAPFd5rouhNljjvM8hRKVpT60oF9q8lpZeUL4tKD2ecpOiEV 1R2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=zI13KqqzfoptuMkA43BdljZ8iFi6kS3dyZLzL8F2KDY=; b=uOr5wtHiJC84+vqR29/Rbip5rlx6d6YX5GUS4+5imGAcnK+Ee/GDaVNnixYvWVdWuI 8JdY1OqrReojkdeJfD8uzzmjBZOMbnI9FlXGGc3OuZyNiPW9V73NNVUZ2KTveUlwzDiu cp5PmVUsmCx9WLZNahnQe4X+XWLCS526UuJJl47spLfKYCWLhUyXaD+wH8L2hheGSmj1 Foun681q+VzldNIRn4ux4BRcC58//V/G1LjzbKzTYbDd1qFrSdMV+3W96RKYmQ2h/64F 7K7vLoohCLfIaVrY8ZKw2cWSl3OuocqGqooKDS3iz9aX21V+HEiLogLruUN04fk2SQqG 6Fvw== X-Gm-Message-State: AElRT7FCWw9vCJLST+Ds3kajqpxra/5AxLC9WdtXIyvfJ+CXFOIadTuj FYphMCLhogmRnLRKFoUOg7I53Ru7hvUKoW9LA0o= X-Received: by 10.36.48.193 with SMTP id q184mr1645285itq.54.1521118237501; Thu, 15 Mar 2018 05:50:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.34.71 with HTTP; Thu, 15 Mar 2018 05:50:36 -0700 (PDT) In-Reply-To: <87o9jpbmcy.fsf@xmission.com> References: <20180314143529.1456168-1-arnd@arndb.de> <20180314144614.1632190-1-arnd@arndb.de> <20180314144614.1632190-2-arnd@arndb.de> <87po45hcuy.fsf@xmission.com> <87o9jpbmcy.fsf@xmission.com> From: Arnd Bergmann Date: Thu, 15 Mar 2018 13:50:36 +0100 X-Google-Sender-Auth: 8R3W2C6t_tlCs6r1nvmoSAQHxk0 Message-ID: Subject: Re: [PATCH 12/16] asm-generic: siginfo: remove obsolete #ifdefs To: "Eric W. Biederman" Cc: linux-arch , Linux Kernel Mailing List , Al Viro , Thomas Gleixner 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 Thu, Mar 15, 2018 at 12:37 PM, Eric W. Biederman wrote: >> On Thu, Mar 15, 2018 at 11:06 AM, Eric W. Biederman >> That seems reasonable. If you send me a patch with a proper >> changelog (I don't think I could explain this well enough), I'll >> add it to the series. > > I just realized you can also remove the #ifdefs for BUS_MCEERR_AR, > BUS_MCEERR_AO, and SEGV_BNDERR. As those si_codes are now always > defined. That description I expect you can handle. My existing patch already does this, and I've added a note to the changelog as well now. > For a description of the above change how does this sound? > > Unlike system call numbers the assignment of si_codes has never had a > reason to be made per architecture. Some architectures have had unique > conditions to report and reporting those conditions needed new si_codes. > Nothing has ever needed si_codes to have different values on different > architectures. The si_code space is vast so even with defining all > si_codes on all architectures there is no danger in running out of > si_code values. > > The history of the si_codes BUS_MCEERR_AR, BUS_MCEER_AO, SEGV_BNDERR, > and SEGV_PKUERR show that a need of one architecture frequently becomes > a need of another architecture which makes sharing si_codes between > architectures a positive benefit and something to be encouraged. > > Where there are no conflicts with the historical ia64 arch specific > si_codes and any other si_codes make them generic si_codes. We might > need them on another architecture someday. > > This leaves only the good example of arch generic si_codes in the kernel > for future architectures and architecture enhancments to follow. > Without bad examples to follow it should be easy to avoid the mistakes > of the past. Ok, done. I've listed you as 'Suggested-by' for that patch. Since the changelog is way more work than the actual change, I would have made you the author of that patch, but I don't have a Signed-off-by from you for it. Arnd