Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp798685ybs; Sun, 24 May 2020 22:29:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwg+akv9AeEH5MovGr2nawa9SWUq/qmbCsit1rADsmrvNwd6eRDpGbFz5sbqCusns5Ku4jK X-Received: by 2002:a50:abe3:: with SMTP id u90mr13695570edc.278.1590384545000; Sun, 24 May 2020 22:29:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590384544; cv=none; d=google.com; s=arc-20160816; b=z5gKdMZTID0qFE+0KKdDZq3XUPWGvEnOAXRGORqDzcfBVfPcKFTlSGQmIbCFkdo6CM Ep8VeCy3FF8Ai4NjNdxEqvB9Q/yyKVp68xfcjUXUljrmq//4Qrznf5SOtP0uBx6h9Ps/ wiYxFOQeqnMySepJpv6KFeLlDR0AbILwJzeqESsukvsrsxwkvcqSTPGKWy7eJ+9SfP1A v57c6Wb1cGXEjhB+IpjkCvvPL1xeeN/uljH4qDctz82ZT+Nb1rpoY8cU6bY70RLnZflx TLTcnTBGClhO48niDGVV2rM/WpJjS/vr98TzGc+4HXVc++AshoEVI8dCDSozAMzb4SQS 5Grw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=sEkJkq/0lAltMTcwiEbpR3Nd/X6iyYkerOiDz4AJBAU=; b=Z2VAssrKb1EwymyrOQPI/aPjGm8sz1eRdoDg6rGhbRHdpdeA+rzpOcn1+xYjeKdPW6 e82x7tcyVdqL9kOcN3pc0YIt4XcssHKhSSng1ApNSC92OQ4bx6xD3U+HBWghhEfudqUC uBhPZi1E7VddhmTYbzVAuT6ccytoIvR5madUPxT5YEgt+Po/CTXpuBtpbmg8VDZWpQDJ BblWfZG8lDT48AhW9dgmKuxEkYYl7Ncq/uvRyTlrKLQEW8pywU0f9PlBinKL8zJGpS8D xJH/uhtwp1lGPnwyPIOosbjx9urnlnuTPpVsatoZRjHkk0L4gvisvrzbgLOlkz/BIrTt biIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=jBlRRIPw; 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 t6si5113431edj.110.2020.05.24.22.28.42; Sun, 24 May 2020 22:29:04 -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=@ellerman.id.au header.s=201909 header.b=jBlRRIPw; 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 S1729402AbgEYFPX (ORCPT + 99 others); Mon, 25 May 2020 01:15:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725948AbgEYFPW (ORCPT ); Mon, 25 May 2020 01:15:22 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B652DC061A0E for ; Sun, 24 May 2020 22:15:22 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 49VlfJ4hjmz9sSd; Mon, 25 May 2020 15:15:20 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1590383721; bh=GmYuIgDXbqUpvqUl8asodR/2TYm/PICGB2dDioI3BVU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=jBlRRIPwPYpu65hwSsT0ks0iJYSGvjLJeFHHFphHmRyvb9gyx8/G0xg0cKgZ3+3st mwehdxXxmOXBFmMbCkJr0x5OeA1RdjRRCgiozJpHulHDYzk8FpjlgdRPTHHt1AzPkb yVPEIHhko1jt97jUGbLRJxRPjU+HSxANa5MejU4teeVhiTzEzCFS/KboVR35/lZr05 ZLD5fIiTS/bY2ZtIi1rbmuaSuUqzPN6xMUGoXkSZ024+uW2/xVV1xfwHEqpD2i3wUP /mv7ibSdkelyced11GDmS/1SGOQXP3UW7OdzqHuaOH0L6EHhw43cBZJvAXtXRjjcJw UoQ9cR3Mscv6Q== From: Michael Ellerman To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v4 07/45] powerpc/ptdump: Limit size of flags text to 1/2 chars on PPC32 In-Reply-To: <83a7a0cfca6198e63caf7a16839bd18454961f52.1589866984.git.christophe.leroy@csgroup.eu> References: <83a7a0cfca6198e63caf7a16839bd18454961f52.1589866984.git.christophe.leroy@csgroup.eu> Date: Mon, 25 May 2020 15:15:41 +1000 Message-ID: <87h7w4fvcy.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe Leroy writes: > In order to have all flags fit on a 80 chars wide screen, > reduce the flags to 1 char (2 where ambiguous). I don't love this, the output is less readable. Is fitting on an 80 char screen a real issue for you? I just make my terminal window bigger. cheers > No cache is 'i' > User is 'ur' (Supervisor would be sr) > Shared (for 8xx) becomes 'sh' (it was 'user' when not shared but > that was ambiguous because that's not entirely right) > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/mm/ptdump/8xx.c | 33 ++++++++++++++++--------------- > arch/powerpc/mm/ptdump/shared.c | 35 +++++++++++++++++---------------- > 2 files changed, 35 insertions(+), 33 deletions(-)