Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4445905imu; Fri, 30 Nov 2018 17:54:49 -0800 (PST) X-Google-Smtp-Source: AFSGD/WcsdidjfK+dMJ9HGx0MbUNWcJqh3IjOqqs4YR7QPXKdefHZgocKTzETW861ca55HyZ0j+Q X-Received: by 2002:a17:902:6681:: with SMTP id e1-v6mr7666946plk.173.1543629289397; Fri, 30 Nov 2018 17:54:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543629289; cv=none; d=google.com; s=arc-20160816; b=Fw5CKQpfgNin3+Go0IOjLRvyglzmMt8jzvFqvgk6JRyv8/xuiVCAsvQR365lohDgj3 xL6PjdkdCa/cO2/NaHogwAmpUU876fPuJzN+he7T5aSm3uqL23XApSxED94vS4lAL1wu EQLrzPPTD2a4s9XGc6F7Nq7yYb8/0p36VlxL2OTRyhJNaXTqZac3EtDWBrBBQhRrj7KJ FX66jQre5/TszdP4f+5eUAp4HEa0xYaL+idBHYE/XGdz4Gn8VTM0Va6uK+QVSSQSHvcF JEXY4XQ16+dTU6Tp4ufvKMoqMBceS266b142OjXgnW5yuyzdE1eoPB7TyJmOvvceQzhY oMaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:openpgp:from:references:cc:to:subject; bh=6Rly2uIoPKtTO8tSbEn8zj8FEhg84TsjHM7vd0WLA9E=; b=ZXQBdAl6DK4BNYrwKb95v9vFmAxvZpP84b8gCoBB92X+gxlcwU2c5qM6W+sNIhK3J2 9oIqb/rDfb4F0pjhNizKTtMrWael+kzQS8SxJxi0poD1r8P5R8iRWdqR9pJMpWAw9e2+ /GIvrGhYbl/3jwp6dvTl55f77t9FPElA6xQqsJvR8QcXCGbBZ4g/1+LAJABsX1t3cghY ZqensKLGRfJ70yrScyckDPUFq9Rj9TXL+7izVCBqkpcVEHN9skESJFsE8wP2QJwBm5/T PY9P5HtaBQ/aO0IfekpKagmO5jYX9guSNTaVnF0MC7/RT6memzjDDEvkFWSH2YB0bxxf WAng== ARC-Authentication-Results: i=1; mx.google.com; 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=gentoo.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p4si5580375pga.514.2018.11.30.17.54.34; Fri, 30 Nov 2018 17:54:49 -0800 (PST) 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; 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=gentoo.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726766AbeLANDr (ORCPT + 99 others); Sat, 1 Dec 2018 08:03:47 -0500 Received: from smtp.gentoo.org ([140.211.166.183]:48536 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726139AbeLANDr (ORCPT ); Sat, 1 Dec 2018 08:03:47 -0500 Received: from [192.168.1.13] (c-73-132-37-144.hsd1.md.comcast.net [73.132.37.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kumba) by smtp.gentoo.org (Postfix) with ESMTPSA id 92576335C39; Sat, 1 Dec 2018 01:52:27 +0000 (UTC) Subject: Re: [PATCH RFC 01/15] MIPS: replace **** with a hug To: Jarkko Sakkinen , linux-kernel@vger.kernel.org Cc: Ralf Baechle , Paul Burton , James Hogan , "open list:MIPS" References: <20181130192737.15053-1-jarkko.sakkinen@linux.intel.com> <20181130192737.15053-2-jarkko.sakkinen@linux.intel.com> From: Joshua Kinard Openpgp: preference=signencrypt Message-ID: <7468f626-13c0-a53f-bf02-675c7218dd06@gentoo.org> Date: Fri, 30 Nov 2018 20:52:25 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181130192737.15053-2-jarkko.sakkinen@linux.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/30/2018 2:27 PM, Jarkko Sakkinen wrote: > In order to comply with the CoC, replace **** with a hug. > > Signed-off-by: Jarkko Sakkinen > --- > arch/mips/pci/ops-bridge.c | 24 ++++++++++++------------ > arch/mips/sgi-ip22/ip22-setup.c | 2 +- > 2 files changed, 13 insertions(+), 13 deletions(-) > > diff --git a/arch/mips/pci/ops-bridge.c b/arch/mips/pci/ops-bridge.c > index a1d2c4ae0d1b..c755c4c92fa9 100644 > --- a/arch/mips/pci/ops-bridge.c > +++ b/arch/mips/pci/ops-bridge.c > @@ -56,7 +56,7 @@ static int pci_conf0_read_config(struct pci_bus *bus, unsigned int devfn, > return PCIBIOS_DEVICE_NOT_FOUND; > > /* > - * IOC3 is fucking fucked beyond belief ... Don't even give the > + * IOC3 is hugging hugged beyond belief ... Don't even give the > * generic PCI code a chance to look at it for real ... > */ > if (cf == (PCI_VENDOR_ID_SGI | (PCI_DEVICE_ID_SGI_IOC3 << 16))) > @@ -76,7 +76,7 @@ static int pci_conf0_read_config(struct pci_bus *bus, unsigned int devfn, > oh_my_gawd: > > /* > - * IOC3 is fucking fucked beyond belief ... Don't even give the > + * IOC3 is hugging hugged beyond belief ... Don't even give the > * generic PCI code a chance to look at the wrong register. > */ > if ((where >= 0x14 && where < 0x40) || (where >= 0x48)) { > @@ -85,7 +85,7 @@ static int pci_conf0_read_config(struct pci_bus *bus, unsigned int devfn, > } > > /* > - * IOC3 is fucking fucked beyond belief ... Don't try to access > + * IOC3 is hugging hugged beyond belief ... Don't try to access > * anything but 32-bit words ... > */ > addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; > @@ -118,7 +118,7 @@ static int pci_conf1_read_config(struct pci_bus *bus, unsigned int devfn, > return PCIBIOS_DEVICE_NOT_FOUND; > > /* > - * IOC3 is fucking fucked beyond belief ... Don't even give the > + * IOC3 is hugging hugged beyond belief ... Don't even give the > * generic PCI code a chance to look at it for real ... > */ > if (cf == (PCI_VENDOR_ID_SGI | (PCI_DEVICE_ID_SGI_IOC3 << 16))) > @@ -139,7 +139,7 @@ static int pci_conf1_read_config(struct pci_bus *bus, unsigned int devfn, > oh_my_gawd: > > /* > - * IOC3 is fucking fucked beyond belief ... Don't even give the > + * IOC3 is hugging hugged beyond belief ... Don't even give the > * generic PCI code a chance to look at the wrong register. > */ > if ((where >= 0x14 && where < 0x40) || (where >= 0x48)) { > @@ -148,7 +148,7 @@ static int pci_conf1_read_config(struct pci_bus *bus, unsigned int devfn, > } > > /* > - * IOC3 is fucking fucked beyond belief ... Don't try to access > + * IOC3 is hugging hugged beyond belief ... Don't try to access > * anything but 32-bit words ... > */ > bridge->b_pci_cfg = (busno << 16) | (slot << 11); > @@ -189,7 +189,7 @@ static int pci_conf0_write_config(struct pci_bus *bus, unsigned int devfn, > return PCIBIOS_DEVICE_NOT_FOUND; > > /* > - * IOC3 is fucking fucked beyond belief ... Don't even give the > + * IOC3 is hugging hugged beyond belief ... Don't even give the > * generic PCI code a chance to look at it for real ... > */ > if (cf == (PCI_VENDOR_ID_SGI | (PCI_DEVICE_ID_SGI_IOC3 << 16))) > @@ -213,14 +213,14 @@ static int pci_conf0_write_config(struct pci_bus *bus, unsigned int devfn, > oh_my_gawd: > > /* > - * IOC3 is fucking fucked beyond belief ... Don't even give the > + * IOC3 is hugging hugged beyond belief ... Don't even give the > * generic PCI code a chance to touch the wrong register. > */ > if ((where >= 0x14 && where < 0x40) || (where >= 0x48)) > return PCIBIOS_SUCCESSFUL; > > /* > - * IOC3 is fucking fucked beyond belief ... Don't try to access > + * IOC3 is hugging hugged beyond belief ... Don't try to access > * anything but 32-bit words ... > */ > addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; > @@ -257,7 +257,7 @@ static int pci_conf1_write_config(struct pci_bus *bus, unsigned int devfn, > return PCIBIOS_DEVICE_NOT_FOUND; > > /* > - * IOC3 is fucking fucked beyond belief ... Don't even give the > + * IOC3 is hugging hugged beyond belief ... Don't even give the > * generic PCI code a chance to look at it for real ... > */ > if (cf == (PCI_VENDOR_ID_SGI | (PCI_DEVICE_ID_SGI_IOC3 << 16))) > @@ -281,14 +281,14 @@ static int pci_conf1_write_config(struct pci_bus *bus, unsigned int devfn, > oh_my_gawd: > > /* > - * IOC3 is fucking fucked beyond belief ... Don't even give the > + * IOC3 is hugging hugged beyond belief ... Don't even give the > * generic PCI code a chance to touch the wrong register. > */ > if ((where >= 0x14 && where < 0x40) || (where >= 0x48)) > return PCIBIOS_SUCCESSFUL; > > /* > - * IOC3 is fucking fucked beyond belief ... Don't try to access > + * IOC3 is hugging hugged beyond belief ... Don't try to access > * anything but 32-bit words ... > */ > addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; [snip] NAK'ed to all of the proposed changes to ops-bridge.c. The SGI IOC3 chip is an abomination out of some dark, Lovecraftian nightmare, and the code comment is, truthfully, being somewhat nice in its description of things. They need to remain as-is as a warning to future generations of how not to design multifunction/multidevice chipsets. -- Joshua Kinard Gentoo/MIPS kumba@gentoo.org rsa6144/5C63F4E3F5C6C943 2015-04-27 177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943 "The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between." --Emperor Turhan, Centauri Republic