Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1064816ybl; Fri, 10 Jan 2020 11:26:29 -0800 (PST) X-Google-Smtp-Source: APXvYqxM88/r82O72RkS7v+VYj/oCkpzgLqTERlGqP49FSon01QZFBLSWfk0d8fXDp2GAnun4yPr X-Received: by 2002:aca:f484:: with SMTP id s126mr3296397oih.48.1578684389188; Fri, 10 Jan 2020 11:26:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578684389; cv=none; d=google.com; s=arc-20160816; b=gS6xMz16IHtHSmG6nWVkZzDXl6dAYJhMSYdfT0M8BpvIVXNFKxiCTL2Nd/a/0/CCyG 6432h0CGRl4lfmOx5V/3zw3nsXj+ro9q9y/U7bG7GHdFN9Ur2QhHRW5tCFrmGd5cIxoa Cw2l1ZIHUNE/Y9tvW3TblXvQYwnKdmuNZVCoLRpBtqI76JfUxMtLG6wHMRsKcG1XTvYz cORRLAjZrcZSiP+7ppj9HpKlC7AYpUVGQhVn0dm5ApHbsFehRcAhp2GaXoI5zfWHRfCS OxWjAFs+USCQJJDxTu8nQpaA15WnwOrVTJgs1rguzV8u5kWWGIEeINOI/HdOWM9n/90R 3oeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:references:subject:cc:cc:cc :to:from:date:message-id; bh=rVjFJSZgYfwxd0ySOgaQC60qQaj+Ws9nxhRykM3F1Ag=; b=IkdyIopUyVeyBmCs0BfvhVPTgn6bABFPVsX9UOXmYizxgViVEJzZPWgOferld1I2Iu XLSTeBkGAaD7eKsBDFium2DzOtIu60EZQXL5T5p/ArRnKwixfFspTp124zMKmR8GjBxl SBM6IWGPcadrYiIW+yoGQR7U0GD0fe3Y2aUcMDD4eDENh4X6GAgS46tlzPFbtoNvMZJC aZSRUuLR0HjkrmYlqvQJjYrfE9y16lu5trJHdmNwq9MPtW4cPCU78GMGfYIz2jK6tG0D gq1vpdBbWDaJnoP3dGD4vSnKULl1QtJuWP6JHlHzGowrERhryQh8nBuO4+gSGX7SH8db 91DQ== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u8si1766727otq.262.2020.01.10.11.26.17; Fri, 10 Jan 2020 11:26:29 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728648AbgAJTZJ (ORCPT + 99 others); Fri, 10 Jan 2020 14:25:09 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:45643 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728191AbgAJTZI (ORCPT ); Fri, 10 Jan 2020 14:25:08 -0500 Received: by mail-pl1-f193.google.com with SMTP id b22so1193282pls.12; Fri, 10 Jan 2020 11:25:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:to:cc:cc:cc:subject :references:in-reply-to; bh=rVjFJSZgYfwxd0ySOgaQC60qQaj+Ws9nxhRykM3F1Ag=; b=CCJV2pmFHDJ1SToYG+HxexvYfdL2OFuF1mT2WjnepvsKA2G/hktpR6Nm+DskVeiF4l bW0ilTai+tnwrU+Z/8dREkJgy1iagtGqtqDTu9aHQqTH3eTzy0biiObvCvs0AcqQBtfX GvQzGhtijQYIYGr4Bt+T0wmowRR8zjy9SGc8bQsGSIHPvHqwobjXrI2GTyrWmNYH8AUF p2zIpKtJK9uuw6tdhD/Q6UePCdpUWj3z7E8hMTBa8/au1Tzq8hirQhDtDVq5wvvZSd+A /lFWMcRohbdWtHhcNOFnjQ9x8Sq5SHXxk4mKtRGaBtZmP0jlfxfpQmiIrnqkdTOqmuzl 0FkA== X-Gm-Message-State: APjAAAVrNYhQosjRBSzR1pdqx4NqN8i/OZ9Z3izG0yhqnP/4AiJ7yFF8 4eTG69/ra7L9uH915CGrdkA= X-Received: by 2002:a17:90a:330f:: with SMTP id m15mr6651319pjb.24.1578684307426; Fri, 10 Jan 2020 11:25:07 -0800 (PST) Received: from localhost (MIPS-TECHNO.ear1.SanJose1.Level3.net. [4.15.122.74]) by smtp.gmail.com with ESMTPSA id p18sm9543200pjo.3.2020.01.10.11.25.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2020 11:25:06 -0800 (PST) Message-ID: <5e18cf92.1c69fb81.8a8f4.d024@mx.google.com> Date: Fri, 10 Jan 2020 11:25:06 -0800 From: Paul Burton To: Thomas Bogendoerfer CC: Paul Burton CC: Ralf Baechle , James Hogan , Lee Jones , "David S. Miller" , Alessandro Zummo , Alexandre Belloni , Greg Kroah-Hartman , Jiri Slaby , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-rtc@vger.kernel.org, linux-serial@vger.kernel.org CC: linux-mips@vger.kernel.org Subject: Re: [PATCH v12 0/3] Use MFD framework for SGI IOC3 drivers References: <20200109103430.12057-1-tbogendoerfer@suse.de> In-Reply-To: <20200109103430.12057-1-tbogendoerfer@suse.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Thomas Bogendoerfer wrote: > SGI IOC3 ASIC includes support for ethernet, PS2 keyboard/mouse, > NIC (number in a can), GPIO and a byte bus. By attaching a > SuperIO chip to it, it also supports serial lines and a parallel > port. The chip is used on a variety of SGI systems with different > configurations. This patchset moves code out of the network driver, > which doesn't belong there, into its new place a MFD driver and > specific platform drivers for the different subfunctions. > > Changes in v12: > - added support for mapping all PCI interrupts as ioc3 uses INTB, > if both ethernet and superio is used > > Changes in v11: > - dropped accepted patches out of the series > - moved byte swapping patch first in series > - added ip30 system board support > > Changes in v10: > - generation of fake subdevice ID had vendor and device ID swapped > > Changes in v9: > - remove generated MFD devices, when driver is removed or in case > of a mfd device setup error > - remove irq domain, if setup of mfd devices failed > - pci_iounmap on exit/error cases > - added irq domain unmap function > > Changes in v8: > - Re-worked comments in drivers/mfd/ioc3.c > - Added select CRC16 to ioc3-eth.c > - Patches 1 and 2 are already taken to mips-next, but > for completeness of the series they are still included. > What's missing to get the remaining 3 patches via the MIPS > tree is an ack from a network maintainer > > Changes in v7: > - added patch to enable ethernet phy for Origin 200 systems > - depend on 64bit for ioc3 mfd driver > > Changes in v6: > - dropped patches accepted for v5.4-rc1 > - moved serio patch to ip30 patch series > - adapted nvmem patch > > Changes in v5: > - requested by Jakub I've splited ioc3 ethernet driver changes into > more steps to make the transition more visible; on the way there > I've "checkpatched" the driver and reduced code reorderings > - dropped all uint16_t and uint32_t > - added nvmem API extension to the documenation file > - changed to use request_irq/free_irq in serio driver > - removed wrong kfree() in serio error path > > Changes in v4: > - added w1 drivers to the series after merge in 5.3 failed because > of no response from maintainer and other parts of this series > won't work without that drivers > - moved ip30 systemboard support to the ip30 series, which will > deal with rtc oddity Lee found > - converted to use devm_platform_ioremap_resource > - use PLATFORM_DEVID_AUTO for serial, ethernet and serio in mfd driver > - fixed reverse christmas order in ioc3-eth.c > - formating issue found by Lee > - re-worked irq request/free in serio driver to avoid crashes during > probe/remove > > Changes in v3: > - use 1-wire subsystem for handling proms > - pci-xtalk driver uses prom information to create PCI subsystem > ids for use in MFD driver > - changed MFD driver to only use static declared mfd_cells > - added IP30 system board setup to MFD driver > - mac address is now read from ioc3-eth driver with nvmem framework > > Changes in v2: > - fixed issue in ioc3kbd.c reported by Dmitry Torokhov > - merged IP27 RTC removal and 8250 serial driver addition into > main MFD patch to keep patches bisectable > > Thomas Bogendoerfer (3): > MIPS: PCI: Support mapping of INTB/C/D for pci-xtalk-bridge > MIPS: SGI-IP27: fix readb/writeb addressing > mfd: ioc3: Add driver for SGI IOC3 chip > > arch/mips/include/asm/mach-ip27/mangle-port.h | 4 +- > arch/mips/include/asm/pci/bridge.h | 3 +- > arch/mips/include/asm/sn/ioc3.h | 38 +- > arch/mips/pci/pci-xtalk-bridge.c | 28 +- > arch/mips/sgi-ip27/ip27-timer.c | 20 - > drivers/mfd/Kconfig | 13 + > drivers/mfd/Makefile | 1 + > drivers/mfd/ioc3.c | 669 ++++++++++++++++++ > drivers/net/ethernet/sgi/Kconfig | 5 +- Series applied to mips-next. > MIPS: PCI: Support mapping of INTB/C/D for pci-xtalk-bridge > commit 2634e5a651e7 > https://git.kernel.org/mips/c/2634e5a651e7 > > Signed-off-by: Thomas Bogendoerfer > Signed-off-by: Paul Burton > > MIPS: SGI-IP27: fix readb/writeb addressing > commit 10cf8300ecad > https://git.kernel.org/mips/c/10cf8300ecad > > Acked-by: Alexandre Belloni > Signed-off-by: Thomas Bogendoerfer > Signed-off-by: Paul Burton > > mfd: ioc3: Add driver for SGI IOC3 chip > commit 0ce5ebd24d25 > https://git.kernel.org/mips/c/0ce5ebd24d25 > > Signed-off-by: Thomas Bogendoerfer > Signed-off-by: Paul Burton Thanks, Paul [ This message was auto-generated; if you believe anything is incorrect then please email paulburton@kernel.org to report it. ]