Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp3047396rdb; Tue, 29 Aug 2023 03:59:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGSB3ZcT6CuIt4vxn5KoOGStZLLrDgAMxUTi1lOC3uAXOxp0k9y4G36DuC24vUj6pFBwVi9 X-Received: by 2002:a17:906:53d9:b0:9a1:aa7b:482e with SMTP id p25-20020a17090653d900b009a1aa7b482emr15750032ejo.26.1693306743476; Tue, 29 Aug 2023 03:59:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693306743; cv=none; d=google.com; s=arc-20160816; b=urrGwIXMGc1hsFQgVK+Tqyd1VYyDQM4h8Gboc7JzgBX5qV2nIX5dCAl33QoDZPJ/5y ogUtdNgtCLlqFsNjYWsWiMLB41CUPhquNCh7qGAQXLabKBvxk3qcXhXx3wEQ+P2mTano 6OzHx5CorH9BSnTpr/MuIzk1KtELEUrOQ/zc1n/+ZAYcJnybj3iJ94T//SzgUr/XQndJ r1Oss2ZhNcF6goYfEEcsr4kmz335APV7OJmK61U6Jo/IdCIXnCJHdYYW9W7SVyOxoVS8 TAvjyVW35DXSGg9jVOrOLuSyUJXC2Dg2DQPfAomtR5TVLRfEoeGxsWKaZeo/XsMeuD6A Mcxw== 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; bh=2VZ5rshXw+z6HAVWfwcF7k3UQGSPF2d6PnUf0C47nH0=; fh=1pLlEv5Ryf0idC7ELFsGL/zj66Yf63A7MFHW2djOdP0=; b=zc0Xy6HeLhs//UmIDCSl0FjqVeeJIS81V1f8c7Whlo1SYcUbtPia4pfhs5HGMRM2/0 ZJAYuOy3eL6KQuLOaZI3ilejEcEfKm4Ut4T2A/MPdlfW/m2aKMMsDAb4eyKtUMnCCNLc o+4UffiUVMmAlu9xT7oTfTVnrfIjXb8Gh01RI7cEBdaHW2DT2XZuiPsrSLeRHCnwklT7 uT/pMRkZ3pI5karC42DpZjGkcAxVWb3MBV7EvNKxVGlmTW7NqWGwzDiM5EwBhpvuvBEj 9sWIZSHmRouUnQ8WuldKBL9ScMyc/GKhbnoxF2G0wv39QrHbLQJr+TIPqURK1cQiJZrh L2Dg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m11-20020a170906234b00b0099e0daaa531si5803048eja.556.2023.08.29.03.58.26; Tue, 29 Aug 2023 03:59:03 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235106AbjH2KSu (ORCPT + 99 others); Tue, 29 Aug 2023 06:18:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235099AbjH2KSf (ORCPT ); Tue, 29 Aug 2023 06:18:35 -0400 Received: from 167-179-156-38.a7b39c.syd.nbn.aussiebb.net (167-179-156-38.a7b39c.syd.nbn.aussiebb.net [167.179.156.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD81191; Tue, 29 Aug 2023 03:18:29 -0700 (PDT) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1qavnj-008qMP-7B; Tue, 29 Aug 2023 18:18:24 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Tue, 29 Aug 2023 18:18:24 +0800 Date: Tue, 29 Aug 2023 18:18:24 +0800 From: Herbert Xu To: Andy Shevchenko Cc: Lucas Segarra Fernandez , linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, qat-linux@intel.com, alx@kernel.org, Giovanni Cabiddu Subject: Re: [PATCH v2 1/2] crypto: qat - refactor included headers Message-ID: References: <20230818102322.142582-1-lucas.segarra.fernandez@intel.com> <20230818102322.142582-2-lucas.segarra.fernandez@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=2.7 required=5.0 tests=BAYES_00,HELO_DYNAMIC_IPADDR2, PDS_RDNS_DYNAMIC_FP,RCVD_IN_DNSWL_BLOCKED,RDNS_DYNAMIC,SPF_HELO_NONE, SPF_PASS,TVD_RCVD_IP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** 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 On Mon, Aug 28, 2023 at 01:46:18PM +0300, Andy Shevchenko wrote: > > kernel.h is misleading here. It includes 98% of something which this file is > not using or going to use. Can you tell _why_ we need that 98% bulk to be > included here? For most drivers in drivers/crypto they will need multiple header files included by kernel.h. I'd hate for people to start posting patches replacing one inclusion of kernel.h with multiple inclusions. They're bound to get it wrong and we'll be forever dealing with random build failures because someone changes a random header elsewhere which then exposes a missed inclusion. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt