Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4412950pxv; Mon, 5 Jul 2021 23:45:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxK7wrZIwoqdlA3iBePhdU2GTBawFYZTePQvLVQPGaJPHj/vypeYo0Jh8BZLvOGAKifN65g X-Received: by 2002:a17:907:9256:: with SMTP id kb22mr16930101ejb.498.1625553934269; Mon, 05 Jul 2021 23:45:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625553934; cv=none; d=google.com; s=arc-20160816; b=dZ5CcrcvhcIF8C7yI7tq0sHDHcErMvmyg999F55h0mtVxmvkfKtUE3Q2KX5jNrhVuX jP5tPXrnD8rF7ErF81ZRXtRJzJZ7py/uuF6RdcFqFGNBKHnNlUc4dJvDMX+CCqMQ1WNn LMr2eLADfEyb/YbxMBZNsfq/PeiUaS3hfySWvAh5ReLlAU3MEQSKniHW4vz53j0yi9Fm 3p0sfgSLWLqtsOHrdNFg9fxJpLUjaDPEi/fzoM4VphKiiVC8TlFrRddSsHHWzw6xemKx 1CdhIjUu6GL6KnF2e+oKxpLGk23OdLISV63Yjpnr0JyY2qVQ1hE2ufuizgNpPzWhS1wn +oyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=U0YlgxVPjHYJwVu0d9pI0xKjT4mw8F01iOHennWDm0s=; b=dspnjkytLayr2gECKJlRoipka3Hc3QPeSxC5g5bRyFkq/Cdh+SJZugaUBMmV1NZ9Y9 DNkWyg7vD66QOVmkBLnd9vcm4/zGQ/hZckOPwY56ALfrcDOu7VGv2SuXDu8pifQoedIh B3o7XxWz6lukgLdjWNmpNmQMNXssTi+/BUD6kpd6xgLP0v2Vz8EIAj9jzsxCfFPb1LBG lPgh2L1FzpE6MYa5HPYG9Yrnrc2/FNk5kAA2+YjOxoBy5MVOjTlBJdj15M3lLMdED9x2 UFtNdjS1ueadqlrfMpRv5PgBcSVNuQg1V/+ub7dO89CCz0j+npKGCJa30S/G4rSUk+bb 6vFg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hg22si13149256ejc.382.2021.07.05.23.45.09; Mon, 05 Jul 2021 23:45:34 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230145AbhGFGov (ORCPT + 99 others); Tue, 6 Jul 2021 02:44:51 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:48373 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230086AbhGFGot (ORCPT ); Tue, 6 Jul 2021 02:44:49 -0400 Received: from [222.129.38.159] (helo=[192.168.1.18]) by youngberry.canonical.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1m0emX-0006MK-IK; Tue, 06 Jul 2021 06:42:09 +0000 Subject: Re: [PATCH 1/2] igc: don't rd/wr iomem when PCI is removed To: Dave Airlie Cc: jesse.brandeburg@intel.com, anthony.l.nguyen@intel.com, David Miller , Jakub Kicinski , intel-wired-lan@lists.osuosl.org, Network Development , LKML References: <20210702045120.22855-1-aaron.ma@canonical.com> From: Aaron Ma Message-ID: <53691935-daee-9acc-93d2-414fb11ce2bc@canonical.com> Date: Tue, 6 Jul 2021 14:42:01 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/5/21 3:47 PM, Dave Airlie wrote: > Drive-by, but won't this add a lot of overhead on every register > access? has this been benchmarked with lots of small network transfers > or anything? > iperf3 is tested, the result is the same as before. Due to the registers are rd/wr even after error_handler and remove. Didn't find better fix. Please let me know if you have any idea. Thanks, Aaron > Dave.