Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1465970pxb; Fri, 26 Feb 2021 11:21:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJzpsQOvlocEj5R0m1Lw4bdQdAjmjuSLpTJxyp7jO3AKih4n6YhJzBve9vOZWLkM+yaXmM8f X-Received: by 2002:aa7:cf95:: with SMTP id z21mr4991398edx.76.1614367293440; Fri, 26 Feb 2021 11:21:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614367293; cv=none; d=google.com; s=arc-20160816; b=MCQ0wbA2AMxT5INMBNXv+KtimJwgXrf66d4zRwBwq1VsQrj/vU9UrqHKgvukrco1Xf i8+KeReVDBWWtvRq9wcKyvDscGyMbKAdXFbFjqHth+Qq7xaZPrL09h2ATZmt1FcYMJTk pPQxQPiidTWdNervdzgoMQ8SrBwRzJwK5Y+nNfg1Yek+OxZqq9j8ulJbOF6fPb79U1NB b1Eh3FJWj3ZN+CRwBQTZUnYRZdmU77T01tyRZZu9Qr2kE5dHRdTOhLXI0x2B4QlIYUU6 1/nJ/95HI4032wYeTvXM0E5p8isxRvXqibPMTnWquwsUAqw4CtAtyVfGpC7ziVc1psPx tEfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UiPwUYS4OLshKJNuQdf8mtfBvEZ0cktObGYVSp6VP8A=; b=XlSvH88GywWMJvOXwNSgjzZYAOU4t5vdGpwtg1yyduLJDkENl8XzAzDxb0d+xhmzsx ozoJBwZz2hgxNig7mlkXf9XsRaRL7wOJnT2MNNTHYwgjYp+KbcgoDj/EXvKi8gt7iTBC 5Rskhhzo0h6OLLt63UVvSMB+/FYS1OQE/u3H015efLpL0DF1OypFG82DFz+FbOGk2InW lAhAbpUjAaLVLuHsCFiqJgs6XSGgn32cDPIatOGv+QBshcA04Fpel/4ORjzCgw/OyFCi HHGDUkShEV0PiyK2r3hbMq1Mt9PGDS7MVTBCI7+pqqTudQLIhFvWsxIuD+SrQMomsM0w W2bA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="HuYX/DEr"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w26si6648620ejf.489.2021.02.26.11.21.10; Fri, 26 Feb 2021 11:21:33 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="HuYX/DEr"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229751AbhBZTUi (ORCPT + 99 others); Fri, 26 Feb 2021 14:20:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:43470 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229545AbhBZTUh (ORCPT ); Fri, 26 Feb 2021 14:20:37 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id D881164ED2; Fri, 26 Feb 2021 19:19:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614367197; bh=il9kfX1dgfbPUosjMAlkDkqi/PSY4/KlfwhENFmsHBQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HuYX/DErn3f1X23GT6zUAEXQ85/rIKobIALZjw5gHmM2VxO4DWUOFc3bKzc9mPYTY 2L99i/S+wbP24xcM1uUjQQYlwRCRu8OSJ87waFg9SjW6lRJDTOoGze99m8QTb1prG9 PRmiuEeNGFqGwy2sdTmYauTIEKUiOKz7dyIyAHwzJ5g1vvqNhY0qVSXJp1OIHLx5zM LLG8FJ0F5MGjkZ/JRoPaVK+3jgFLxFYaOG9v5mKp23mNVs3UjjIw6QN1yKPdHw3ReC vnAGAQpYCyhBbAsKEwB0omUd5kyC5U5tPtsh8WkEFsZWC5M8Vb3fTbaaKb/lDAb99Q t6p4wLqf4My8g== Date: Fri, 26 Feb 2021 20:19:51 +0100 From: Robert Richter To: Dejin Zheng Cc: corbet@lwn.net, jarkko.nikula@linux.intel.com, andriy.shevchenko@linux.intel.com, mika.westerberg@linux.intel.com, bhelgaas@google.com, wsa@kernel.org, linux-doc@vger.kernel.org, linux-i2c@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 4/4] i2c: thunderx: Use pcim_alloc_irq_vectors() to allocate IRQ vectors Message-ID: References: <20210226155056.1068534-1-zhengdejin5@gmail.com> <20210226155056.1068534-5-zhengdejin5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210226155056.1068534-5-zhengdejin5@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26.02.21 23:50:56, Dejin Zheng wrote: > The pcim_alloc_irq_vectors() function, an explicit device-managed version > of pci_alloc_irq_vectors(). If pcim_enable_device() has been called > before, then pci_alloc_irq_vectors() is actually a device-managed > function. It is used here as a device-managed function, So replace it > with pcim_alloc_irq_vectors(). > > Signed-off-by: Dejin Zheng Acked-by: Robert Richter