Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3729491imm; Mon, 8 Oct 2018 08:37:01 -0700 (PDT) X-Google-Smtp-Source: ACcGV63RHh2GfuC1ZCWT5ikXPW2DdVBJQwMvYEa+Pf6H2rWAUXoEY9311070abCStYclCKV4oCPH X-Received: by 2002:a62:2741:: with SMTP id n62-v6mr18600784pfn.138.1539013021574; Mon, 08 Oct 2018 08:37:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539013021; cv=none; d=google.com; s=arc-20160816; b=IG+05azPlefJ/DuyNkUnMufA1yijHuLseY9//7+GlYy8yhPn7SjDBrgIlTZxdAptNH d2xahSfBA5x5l1y/TQMkVNb8b9MnMd6rOlQm0KwNGPN/XGiEhmsOZ936735F0/iWi1cr +J5buwM1gGFKJckznkaVXI00tLg6C5GQojZT8R/CK980J5JmoefGZTEglec1xqHubkk5 ZTHDGoA+tgTKYSK5+HzrhKV7oJKKgTwLDEB7q8Hh2Uxfbl0H9Fpa/MlkYxw9sbGVWULS Z++xHaHCbktTvGJYa314nc19QGHQ8mnXIWeERYankSj0N1kuHf1WVutwzju83zHyDtCu S6rA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bt53+167I3T/zTBF4LYtloYNNwDDYlflVUXxJ0D51tU=; b=U/dki1qUsgOSUmph1A+qiiQKD6eMNNI7SIQoQ7SC8RkcGXsAyF+/aa9YwAevKt+VL+ M153vDQ9pIyYDEe5gJI24MhbukbklyFBUMcPw/arKiDOU12bu2nSrC2k/odyOlh7jkes w/WuTic/GcObhzMA0iqsR9bDCGBvytnCJLGDRLGkFFrRgqmVrFGhdRFoFt4DIxFlwOvD E5rzNjoWd68hBVQkDPbi2/WMA1bP5tvj+ahuq+lYN61THpN3eEC9cpwihTaMlmpoQqVV 2+tCtAAarz706eUc5t4y5GfBq73pP4jxI6oG9va1SscNkz/zd4bv6cRg3qsGVvMpqqV1 hNIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=gtjjLGb7; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e129-v6si8955934pgc.318.2018.10.08.08.36.46; Mon, 08 Oct 2018 08:37:01 -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=gtjjLGb7; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728397AbeJHWrT (ORCPT + 99 others); Mon, 8 Oct 2018 18:47:19 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:40055 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727962AbeJHWrS (ORCPT ); Mon, 8 Oct 2018 18:47:18 -0400 Received: by mail-lf1-f67.google.com with SMTP id t22-v6so14250365lfb.7; Mon, 08 Oct 2018 08:34:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=bt53+167I3T/zTBF4LYtloYNNwDDYlflVUXxJ0D51tU=; b=gtjjLGb7d/cRjOlQke3dLFIVuK2+g6Bzf7ygH+vYfOe/j4NhRhSuK/GbI5BFLfrkwi dAZCQ4sVEGkeurjAn9chZUgAlQdoErs3kJL9PA/E5V+jssYmCLxxXJdQUYMutjSmeLec KseYPXmf2rgXF7xvBdmeWjx1tSQJhRlsbgl2hU9758Eui8QOlo/uAULCWb6bvvRlfq6p J+hz1JRVMCiSARQWz5eo6hqv4kkSXdR4L+usupwEXuEx5Pgw7i4kkKbMc2MGHSaPYh9z UvlXpTiI7leU97J1/TBu2zEOPQ6eAdL39u3bRwWVzupmjGfwdkvgax11NWT/v167GBWO /1/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=bt53+167I3T/zTBF4LYtloYNNwDDYlflVUXxJ0D51tU=; b=o/BxRqQGM1WjxvnDg3kQHEyrdzsjTy72b77WqUKvrKm7R2ahOx2sKUmclT/2L/za+4 i96Vp3RGAM7ynoIAQiJ09L2KO56Buy9UTmrtgMXcu97NNIuaqelPhSZ77igHO8iFW9p9 xNJuxrS5W1X6pZLKRXxZD2rm21AplAEPZkf3V3eESQyez/27kFnKnub96XvfBpnNaeKr CmO5v+lSsJiX1OlXU88EP1v4GZ7ZiwDsmPw7I9uhzaZ5I3UWJ33kcrkfoRosvsB9JKtu Q22B0ecG+uPd1K5KTCSsmQI9oZc45CUICJolT2vpJZ4ujZp9PFVyblUIzf8U3NotULT7 BCIQ== X-Gm-Message-State: ABuFfogifis6IQ9lIPQb7X/yNd9dKdlMWJz9yKV5oBvo+16Ad/L3Ivd8 D9M6H/RF+QbQz54tQ4qmGeA= X-Received: by 2002:a19:8f57:: with SMTP id r84-v6mr12550658lfd.131.1539012898904; Mon, 08 Oct 2018 08:34:58 -0700 (PDT) Received: from xi.terra (c-74bee655.07-184-6d6c6d4.bbcust.telenor.se. [85.230.190.116]) by smtp.gmail.com with ESMTPSA id 9-v6sm3968466lju.61.2018.10.08.08.34.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Oct 2018 08:34:58 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.91) (envelope-from ) id 1g9XYg-00032u-IP; Mon, 08 Oct 2018 17:34:58 +0200 Date: Mon, 8 Oct 2018 17:34:58 +0200 From: Johan Hovold To: "H. Peter Anvin" Cc: linux-kernel@vger.kernel.org, Tobias Klausmann , Greg Kroah-Hartman , Jiri Slaby , Al Viro , Richard Henderson , Ivan Kokshaysky , Matt Turner , Thomas Gleixner , Kate Stewart , Philippe Ombredanne , Eugene Syromiatnikov , linux-alpha@vger.kernel.org, linux-serial@vger.kernel.org, Johan Hovold , Alan Cox , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , stable@vger.kernel.org Subject: Re: [PATCH stable v2 0/2] termios: Alpha BOTHER/IBSHIFT, tty_baudrate fix Message-ID: <20181008153458.GY3774@localhost> References: <20181008040620.1248277-1-hpa@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181008040620.1248277-1-hpa@zytor.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Oct 07, 2018 at 09:06:18PM -0700, H. Peter Anvin wrote: > From: "H. Peter Anvin (Intel)" > > It turns out that Alpha is the only architecture that never > implemented BOTHER and IBSHIFT, which is otherwise ages old. This is > one thing that has held up glibc support for this feature (all other > architectures have supported these for about a decade, at least before > the current 3.2 glibc cutoff.) > > Furthermore, in the process of dealing with this, I discovered that > the current code in tty_baudrate.c can read past the end of the > baud_table[] on Alpha and PowerPC. The second patch in this series > fixes that, but it also cleans up the code substantially by > auto-generating the table and, since all architectures now have them, > removing all conditionals for BOTHER and IBSHIFT existing. > > Tagging for stable because these are concrete and immediate > problems. This isn't stable material in its current form. If you want to plug the alpha and powerpc info leaks in the stable trees, then you need a minimal fix for that, which you can then your clean ups and new features on. Johan