Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp456431pxb; Tue, 29 Mar 2022 06:26:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxp6j2B+QFc/llHflf/eUk8imvYKq6qRB2VL1sXt8XQ5ZVzYvNUaobQYzixySXAhnPU6GwT X-Received: by 2002:a5e:aa0b:0:b0:649:4cff:38e3 with SMTP id s11-20020a5eaa0b000000b006494cff38e3mr9301214ioe.78.1648560374125; Tue, 29 Mar 2022 06:26:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648560374; cv=none; d=google.com; s=arc-20160816; b=Y5surldNx6iVKnZl0qimsLcs1VPivI1lZ9Mv6vM8KijI0IBFrQ98MK0gjcbo1JRBtx le5C6TEBlwIE07oYcOAZjHElNGR3oOxfM5Mz7WmffXpr5D+aK9msnf/g3IgX5TM3jLvz EAeLl4Ge5VQ6n2+JUye1EnO/rgdC5aZz1m5KnfcBrW7CH98l7x7w/g4tZ+dVyQMNSwBC RfPj445J+7jElAFkCktlIGRbCpldbsATcQ/tG2nGtPU1rYwapTMurydnvN9GmCfbQqNk BEDx1bv0YmBEYTNfIj/1szIeaIqcnzuSgke+toK28WXUE/vn3ENuTq2DNz5LzBm6Khg8 nA7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=PDWWz2FvYsmPPpMQfWtqRe/F5339QYlPvsOFYtUGTi0=; b=ADOcM+ld3ZlA9gCBEH352icJuCEe0KrzoNmy7BIy5vvl1wDqBC+0y+9JOPvaRCNvEn 58px1Ukfsj88bh1eJnTJsv9qQMpnmU/s2QJN1dwE2XCyMDACRQ/of16JMJiRyJhHtcjR /1NeprgkpuJZixNblUFhsoCOOHrJBJHGAbQ5WyOF1Y92LG3uGkbV/erOj78YIauWnTAN fg5kca1HFUlmffh0wuCvbDYsz53oDuCHR2H6/OrT6R/G3KE5DgufsrIVcQBejBkAUkny A1h3B3jZD3sJvSYvBGeOSP4HbzKsWaPbTdMm2+AnYwegFI7n5R7doepa6/A8fVqgEfGc J9dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=URVPWEjp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h9-20020a022b09000000b003213f95179bsi14738356jaa.62.2022.03.29.06.25.58; Tue, 29 Mar 2022 06:26:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=URVPWEjp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235339AbiC2KpM (ORCPT + 99 others); Tue, 29 Mar 2022 06:45:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232979AbiC2KpK (ORCPT ); Tue, 29 Mar 2022 06:45:10 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7F4B1066DF; Tue, 29 Mar 2022 03:43:27 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id p189so10013681wmp.3; Tue, 29 Mar 2022 03:43:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id; bh=PDWWz2FvYsmPPpMQfWtqRe/F5339QYlPvsOFYtUGTi0=; b=URVPWEjpkYRMzHEI1XW0hNYSLDOtK5jAMS/LWrZ9aTf8gnxJkH7LYHQgWKvnogqdEN xRV7AlJ5+U0BG2MkHQlr0nUuoBYv6dJlcMg7YXOSzRQct7ayJYs0K+D0ovGi44v2s7be /X81ZkvfCgJKCm4zcUSs33GC//oyWO7JZ95ba9D/LnXGTjQ5S5TewV5DdefIYOEP/MYX 7jZqx0+clMzX5Rvj5SMMyWWm+jIZYU2E4mouHwVOROxfWlfBiVRSRv5vVvYIEXFUgdIv f0FIRgbCnhk3lo6QD/hbEO89/6fpBOdtdAcUozTGdLkrVAfWWG8zg0JEIdUdAGxZm9R5 HZkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=PDWWz2FvYsmPPpMQfWtqRe/F5339QYlPvsOFYtUGTi0=; b=L3Y+rfkDOOnJ5oI8q5v/wcXMXvTvN5uBTFE9oTePPkLwpbGbksyuKxPvbfUUcM8OrM Iw9sqrLUWTGe4ATa/Yq8U9PCnyl3sIM7JbA1p+yUXt5V2lzPL/Dqx9MosgA1TwstOT9l oTX9O2Kpotpuw34OY/05GMlYITpWW/LYNU98o7IP5f4O/iDbyupk9Z3ojZrmKzCt+DBQ MvdCnOhyCzHgYnofD/Woc7SnrpZzkNQyDtWI48XjmtI0u9X8GKjh7JSRtw92ERIscT7N zpOlpf4sYkTj0LKoXWme4pItuFOfmZerltf2GF9UgFhettHHbkGkcS25jOQtw9Y6h0NY u2bg== X-Gm-Message-State: AOAM533+arDEieqeCpyQftZyFGyW47Qm1jctMYWj2BdgFoHaH8xOmWRf yIrUWaLLBGoM7I7E7aWksXRqs/vIFKiPOw== X-Received: by 2002:a05:600c:3016:b0:38c:8786:d3b6 with SMTP id j22-20020a05600c301600b0038c8786d3b6mr6032209wmh.135.1648550605848; Tue, 29 Mar 2022 03:43:25 -0700 (PDT) Received: from Dev-shlomop.pliops.ent (bzq-219-32-62.isdn.bezeqint.net. [62.219.32.62]) by smtp.googlemail.com with ESMTPSA id 3-20020a5d47a3000000b0020412ba45f6sm16919344wrb.8.2022.03.29.03.43.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Mar 2022 03:43:25 -0700 (PDT) From: Shlomo Pongratz X-Google-Original-From: Shlomo Pongratz To: linux-pci@vger.kernel.org Cc: linux-kernel@vger.kernel.org, andrew.maier@eideticom.com, logang@deltatee.com, bhelgaas@google.com, jgg@nvidia.com, Shlomo Pongratz Subject: [PATCH V3 0/1] Intel Sky Lake-E host root ports check. Date: Tue, 29 Mar 2022 13:43:20 +0300 Message-Id: <20220329104321.4712-1-shlomop@pliops.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes in v3: Use Jason Gunthorpe suggestion, that is add a flag 'IS_ROOT_PORT' instead of 'port' and then just ignore the slot number entirely for root ports. Changes in v2: Change comment and description based on Logan Gunthorpe comments. Shlomo Pongratz (1): Intel Sky Lake-E host root ports check. drivers/pci/p2pdma.c | 42 +++++++++++++++++++++++++++++++++++++----- 1 file changed, 37 insertions(+), 5 deletions(-) -- 2.17.1