Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7038064rwd; Tue, 6 Jun 2023 05:42:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ50cmnmmGMybShrpCxCVXpKBEtLfDBWZ2TdL6tpBcSEwakZwbyc1SdtmVSmkVJOCCpu+Cdv X-Received: by 2002:a05:6a20:4320:b0:100:c3fe:a653 with SMTP id h32-20020a056a20432000b00100c3fea653mr2543852pzk.29.1686055339509; Tue, 06 Jun 2023 05:42:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686055339; cv=none; d=google.com; s=arc-20160816; b=m8bKQAvxLxfFDJ0iN4rwWm8D6LMuhXm3VlUlTGxrJem1glAhqkVk1hCWpuSPxVVXPY +QPLkrjMIZo1Op/LVQ2s/0powij3HjpHlQLqdOHR6h2+7gbKG8ssg0mMTeK7tTOouBi1 s9oMaF7QSCYi+ghAhRShGYgwhOHaNabWJM0MEUjfYGNQQctGCBifZwEkeAd5NM6/u+if nysWKwToh9P7dWAmM2C0mWEe2HTDMPaWfeNdg6C/K0EXnIywLeoXjyJdYvrukFEcYeT8 7CQQRRYFpDaZcA4tRNu2taM0hL8EbOoUE0tTpfJFHon8rPu83BmSUEWGNs/UPzuvI+vt L9HA== 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=GIU1mWWbqpLfjtN1RBiBNQBdyUuljb0kyQurykYJ2wk=; b=b27lLdpVzgP5An0BlsiSCjQ4QZkhAaXdipzgHe39by0QIuDKu8zLJJC0ZcFHa1ihrd fuzCpefIXnSk3E0xHfVDgk8AVBbl7iwHxO/8CCHkkA66RPHBBtmoEd3EX6OUUouoSKzq 9SHQWjBvK16UszaIsyZZ2ufdj1VVfKfQytMvfB07jIJtXjQ1Z0u3QxQg08pMQn/S3pda uFrUSQjqmu+Od1V3sOefi8tpOxMWVb3/BjM+6mcDklHhk7qRAh7SzLpf/HDOUlig4fql edmI5CsglzPjXrEyhFo+7Anv3sCinLUq4FoEH5fFCeWlKHCJZ7BmzYM4nwG3xdwDw9fP twyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Bmm2wDpx; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r18-20020aa79ed2000000b0064d6124b014si7087101pfq.211.2023.06.06.05.42.07; Tue, 06 Jun 2023 05:42:19 -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=@intel.com header.s=Intel header.b=Bmm2wDpx; 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=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232989AbjFFMfk (ORCPT + 99 others); Tue, 6 Jun 2023 08:35:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229835AbjFFMfi (ORCPT ); Tue, 6 Jun 2023 08:35:38 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C77FD10CA for ; Tue, 6 Jun 2023 05:35:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686054937; x=1717590937; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=tA7wwf/t/7qt0yTKz623VV7kJiNe41UtCjTEvJ+qhiQ=; b=Bmm2wDpxx1QM+Fzvvzf9kFAj36oo2rqdi8If4hN1oFRvBguPh9xxkyX+ QpHFHhai4BmpHLhXbfyRql7YZG9NyRy83Pb2p17YEUqzVmd9hPcpr+tBZ VRoykhAes+/ANe+c7ppRj37yWKR7RN52kLwA8ztOsH5PrM0TiQ8lL9a4V VBungVwlsAvAN4rvNFtPmIyESxjqwCwbtQkf/OchORkoBVZgLSaXw6zJr jH3oVVfxVSRw0gnfwDcA//Sf8wMDljRt42ROMJ/QlKDKXjrQ/aYjE1HFn mF2ez/pBXQNnsAevDy6Kwp7jrctluNM/jfqULouvbjdtO+TsCbKjabbYP g==; X-IronPort-AV: E=McAfee;i="6600,9927,10732"; a="346254611" X-IronPort-AV: E=Sophos;i="6.00,221,1681196400"; d="scan'208";a="346254611" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2023 05:35:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10732"; a="833208288" X-IronPort-AV: E=Sophos;i="6.00,221,1681196400"; d="scan'208";a="833208288" Received: from joe-255.igk.intel.com (HELO localhost) ([10.91.220.57]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2023 05:35:33 -0700 Date: Tue, 6 Jun 2023 14:35:32 +0200 From: Stanislaw Gruszka To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, kernel test robot , Oded Gabbay , dri-devel@lists.freedesktop.org, Jacek Lawrynowicz , Andrzej Kacprowski , Krystian Pradzynski , Jeffrey Hugo , Daniel Vetter Subject: Re: [PATCH] accel/ivpu: ivpu_ipc needs GENERIC_ALLOCATOR Message-ID: <20230606123532.GA324119@linux.intel.com> References: <20230526044519.13441-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230526044519.13441-1-rdunlap@infradead.org> X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Thu, May 25, 2023 at 09:45:19PM -0700, Randy Dunlap wrote: > Drivers that use the gen_pool*() family of functions should > select GENERIC_ALLOCATOR to prevent build errors like these: > > ld: drivers/accel/ivpu/ivpu_ipc.o: in function `gen_pool_free': > include/linux/genalloc.h:172: undefined reference to `gen_pool_free_owner' > ld: drivers/accel/ivpu/ivpu_ipc.o: in function `gen_pool_alloc_algo': > include/linux/genalloc.h:138: undefined reference to `gen_pool_alloc_algo_owner' > ld: drivers/accel/ivpu/ivpu_ipc.o: in function `gen_pool_free': > include/linux/genalloc.h:172: undefined reference to `gen_pool_free_owner' > ld: drivers/accel/ivpu/ivpu_ipc.o: in function `ivpu_ipc_init': > drivers/accel/ivpu/ivpu_ipc.c:441: undefined reference to `devm_gen_pool_create' > ld: drivers/accel/ivpu/ivpu_ipc.o: in function `gen_pool_add_virt': > include/linux/genalloc.h:104: undefined reference to `gen_pool_add_owner' > > Fixes: 5d7422cfb498 ("accel/ivpu: Add IPC driver and JSM messages") > Signed-off-by: Randy Dunlap > Reported-by: kernel test robot > Link: https://lore.kernel.org/all/202305221206.1TaugDKP-lkp@intel.com/ > Cc: Oded Gabbay > Cc: dri-devel@lists.freedesktop.org > Cc: Jacek Lawrynowicz > Cc: Stanislaw Gruszka > Cc: Andrzej Kacprowski > Cc: Krystian Pradzynski > Cc: Jeffrey Hugo > Cc: Daniel Vetter Applied to drm-misc-fixes Thanks Stanislaw