Received: by 2002:a17:90a:9103:0:0:0:0 with SMTP id k3csp1206142pjo; Wed, 8 Jan 2020 13:48:25 -0800 (PST) X-Google-Smtp-Source: APXvYqymdsNHMkSKQJCwZxIiInQTcot/wmBSO9Npw216xrwEJjuy+yjVzNRB0VkKMSROAiCGdQ3z X-Received: by 2002:a05:6808:3c2:: with SMTP id o2mr599726oie.45.1578520105756; Wed, 08 Jan 2020 13:48:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578520105; cv=none; d=google.com; s=arc-20160816; b=fHtiNbM411qwwmElmfvdWpegJIjty+Kw7gz7vEWRB/AW7nDpbGIWWe1huOwMQiOO6V tfowsujUg1QI3+fO1mt+67TlIg1/nehJ8aT+uOYjB/+Bf/CI5Aj8+XRzPQbkuDSKrpH6 BabFKKMVhQh90BCGKPL4mQTvyO/PdbAa024+Z+I/5ibUmf0sTjoFa8BAmF89IHq0dnoA 6+WHkWyyILG7bY0LqZgmBLXvFlZjI3A8jGNLQVBLm08zVGdQOHaBk6zKQLHnNAe5ZB/V i4WvSTYSmNGb2OFSuKhAqnLbn9CHY9z225XA6eVAW5+DovQb9n2YpwFtHcB71XhEOnjG yNrQ== 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:message-id:subject:cc:to:from:date :dkim-signature; bh=G+i2ecXBTVdjyc316Jo2VXFamT5/Vsr/EJlp4Fs40UU=; b=T6lbccL6k9/W8byjiYtyPFf+sFYv9z+wdKkS7n+2jhlg91cbxxn6rzVoL4x7mIX4ky 2pDMIdXQmK10IZhAOTY23y+AOnADQ/b+scJpgIrKlSnatoK4xvQAqynTcpHj0MMP6JYO 34jOIgoesWmzt+ZyKi+rJFk/Rsp5pUF0UZvlmOr+8J3KRsWgQ9VjVjaV8nU7YM8kqv95 mSr60xLxEIaaDcfqbserSJ1kdFn4PiKkSEJf8O0qexNF8pkmv1iPOLG1zIn9HyF1HfB/ muRNHftEQOGiNyNVIKmZc9CZKOvVX+mlrkvGHdujsswE3VsmM6sRfzBoGq12KT+HlUPD WMwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=F2kUJO0e; 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=pass (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 u84si2361361oib.34.2020.01.08.13.48.13; Wed, 08 Jan 2020 13:48:25 -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; dkim=pass header.i=@kernel.org header.s=default header.b=F2kUJO0e; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727152AbgAHVrc (ORCPT + 99 others); Wed, 8 Jan 2020 16:47:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:33400 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbgAHVrc (ORCPT ); Wed, 8 Jan 2020 16:47:32 -0500 Received: from localhost (mobile-166-170-223-177.mycingular.net [166.170.223.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 78E5120692; Wed, 8 Jan 2020 21:47:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578520050; bh=IaGGzdrgRQajWKZsD3t0eI8I52MhXUkIdlflteIv+6Y=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=F2kUJO0eN8HqowhRuXaTxUp80jqmtV4HHjFf8S1Gp69Z4/f22cb6H8QCr2LwLBKi3 9Hb5wuOEv7ifu9k3ERWWEXLhy0E93fJYHQDSqio1jD++B4Q9SxYHVo/skgs6TUiUSK Ma8Ho8fYI4p8DlDQFPhbSaLRb4WO5TK9fZ98038g= Date: Wed, 8 Jan 2020 15:47:28 -0600 From: Bjorn Helgaas To: Logan Gunthorpe Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Kelvin.Cao@microchip.com, Eric Pilmore , Doug Meyer Subject: Re: [PATCH 00/12] Switchtec Fixes and Gen4 Support Message-ID: <20200108214728.GA209478@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200106190337.2428-1-logang@deltatee.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 Mon, Jan 06, 2020 at 12:03:25PM -0700, Logan Gunthorpe wrote: > Hi, > > Please find a bunch of patches for the switchtec driver collected over the > last few months. > > The first 2 patches fix a couple of minor bugs. Patch 3 adds support for > a new event that is available in specific firmware versions. Patches 4 and > 5 are some code cleanup changes to simplify the logic. And the last 6 > patches implement support for the new Gen4 hardware. > > This patchset is based on v5.5-rc5 and a git branch is available here: > > https://github.com/sbates130272/linux-p2pmem switchtec-next > > Thanks, > > Logan > > -- > > Kelvin Cao (3): > PCI/switchtec: Add gen4 support in struct flash_info_regs > PCI/switchtec: Add permission check for the GAS access MRPC commands > PCI/switchtec: Introduce gen4 variant IDS in the device ID table > > Logan Gunthorpe (6): > PCI/switchtec: Fix vep_vector_number ioread width > PCI/switchtec: Add support for new events > PCI/switchtec: Introduce Generation Variable > PCI/switchtec: Separate out gen3 specific fields in the sys_info_regs > structure > PCI/switchtec: Add gen4 support in struct sys_info_regs > PCI: Apply switchtec DMA aliasing quirk to GEN4 devices > > Wesley Sheng (3): > PCI/switchtec: Use dma_set_mask_and_coherent() > PCI/switchtec: Remove redundant valid PFF number count > PCI/switchtec: Move check event id from mask_event() to > switchtec_event_isr() Current order is: [PATCH 01/12] PCI/switchtec: Use dma_set_mask_and_coherent() [PATCH 02/12] PCI/switchtec: Fix vep_vector_number ioread width [PATCH 03/12] PCI/switchtec: Add support for new events [PATCH 04/12] PCI/switchtec: Remove redundant valid PFF number count [PATCH 05/12] PCI/switchtec: Move check event id from mask_event() to switchtec_event_isr() [PATCH 06/12] PCI/switchtec: Introduce Generation Variable [PATCH 07/12] PCI/switchtec: Separate out gen3 specific fields in the sys_info_regs structure [PATCH 08/12] PCI/switchtec: Add gen4 support in struct sys_info_regs [PATCH 09/12] PCI/switchtec: Add gen4 support in struct flash_info_regs [PATCH 10/12] PCI/switchtec: Add permission check for the GAS access MRPC commands 10/12 looks lonely in the middle of the gen4 stuff, and it looks like it's unrelated to gen3/gen4? Maybe it could be moved up after 05/12? [PATCH 11/12] PCI/switchtec: Introduce gen4 variant IDS in the device ID table [PATCH 12/12] PCI: Apply switchtec DMA aliasing quirk to GEN4 devices I speculatively reordered the permission check patch and applied these to my pci/switchtec branch for v5.6 (reverse order from "git log"): b96abab6314f ("PCI/switchtec: Add permission check for the GAS access MRPC commands") 5f23367bd4df ("PCI/switchtec: Move check event ID from mask_event() to switchtec_event_isr()") 6722d609bc82 ("PCI/switchtec: Remove redundant valid PFF number count") 3f3a521ecc81 ("PCI/switchtec: Add support for intercom notify and UEC Port") 9375646b4cf0 ("PCI/switchtec: Fix vep_vector_number ioread width") aa82130a22f7 ("PCI/switchtec: Use dma_set_mask_and_coherent()") If you rework any of the subsequent ones, you can just post those without reposting these first six. Bjorn