Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp506475imw; Wed, 13 Jul 2022 02:45:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tTL5aLKb0eWG1i0LnIo6Y7144TqjZwvpasGCrMPUHHiFCgDLs7QTBeDmE15GQcGTIev/VE X-Received: by 2002:a05:6a00:2992:b0:52b:14b6:2149 with SMTP id cj18-20020a056a00299200b0052b14b62149mr381178pfb.64.1657705556801; Wed, 13 Jul 2022 02:45:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657705556; cv=none; d=google.com; s=arc-20160816; b=ELmFY1b1rJxZe3qazA3AgEO12Ya8klsKSZfM+TvpzAixDInImnmP4Srw6hYWqYS7Fz qZa6RWoQdUdfHrZptMIy49QuBHybYaDfwAu3Wg6Z5zweX3cCIhohexe4q+gN7iLgCCcr whZCvoMjIfntRzzjUQG7l0eUD59V4nWjyPzgoGxVYTkC+sA1yEdbzOSGntfisx8Pv1MG mEOgyANBL7MYM193Zn89xvoJbUr9Xj0lqAU7YUwyuvfKn2dZDXWNdb7A5QTG7Gdm3YxJ LmL0+RUbzoW/7bs9GxWGQ21+3SpT4G2uRWVyH9g61vLqvRFLUFu5Yvh9/L4Zqm+1zh9a gv7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=SSoXDkEuK0PRgI4PJmNcM35NUnvXTqJNSuRhVQk8f0M=; b=k5E6REqdYTlL0WPmeXygCmmrV/5IXBXUFj+AwJgWRDBtOuL1CyCwmhkLWbBUnP+oQU IWOo0e7BfzZEC76jlnJ1ysuhs8rxyNoFJGRvb6kJQjrK4ipbmZGwPvVX0S7CGjZuLiHE QZosDSB4auuavcJhjbQmLpIH2iaLMk0VZoTij8gPzX/1wSc1L4Nw3SFa0Eqf5mo/LHpF saAQiAj+ERmmlRjGBS/nzKh6AV0NcpKowT63WwpRQ/c/I+yv2ylWeZ3nYhdgEku57879 GoqUtjncJLP0nt29tUMtOFU/Wm4stkjO0LR8gVYC62Yyy3cezoKFK77Kt8FIgTFiyxt9 sikg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=uTJLFfDr; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b1-20020a637141000000b0040df75dfee9si16541105pgn.561.2022.07.13.02.45.43; Wed, 13 Jul 2022 02:45:56 -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=fail header.i=@kernel.org header.s=k20201202 header.b=uTJLFfDr; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235768AbiGMJak (ORCPT + 99 others); Wed, 13 Jul 2022 05:30:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235315AbiGMJaZ (ORCPT ); Wed, 13 Jul 2022 05:30:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 547C2F2E0F for ; Wed, 13 Jul 2022 02:30:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CE08661CBB for ; Wed, 13 Jul 2022 09:30:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74B90C341E6; Wed, 13 Jul 2022 09:30:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657704622; bh=CCKKzwB0qHXF+WGVUFGTqABjxYBM8eht5j02XIx4jVY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uTJLFfDrWmXusPvlk/y7wR2q/VA5ySyre0cG0m02FfgFLLaJ5BrBmOK7FqmakpLJS xYVl9PR4l2pc/7fAeiOqKtV17Jx6+jBmlvDzKuRGhYHZyfZ1yaONRl9GyhIJv+USmx nOub+MnFujdOK7+c1oh21empX7bgoMedy0TclG2SLbMpSZGbu6P57Oaz6saHaYp8QW ZOMi1JMwjeYCR55Z9VEGP+aeUYlnozoMRLjNUjIa9pxNcQCrp3JeZf5bgSTeCpA2Fa 8UDVuTgFBEOfJXuxw7gg9JfHzm8HER+L562SdDQl8O4iLnZwg5+1vEyB8ybY9c8gnL YYenUXTz8VkUg== Received: from mchehab by mail.kernel.org with local (Exim 4.95) (envelope-from ) id 1oBYhI-0050MF-04; Wed, 13 Jul 2022 10:30:20 +0100 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , Alan Previn , Borislav Petkov , Daniel Vetter , David Airlie , Jani Nikula , John Harrison , Joonas Lahtinen , Matthew Brost , Michal Wajdeczko , Prathap Kumar Valsan , Rodrigo Vivi , Tvrtko Ursulin , Vinay Belgaumkar , dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 20/21] drm/i915/guc: describe enum intel_guc_tlb_invalidation_type Date: Wed, 13 Jul 2022 10:30:17 +0100 Message-Id: <73d51e0580ba98a466f951473902eda3cfa97053.1657703926.git.mchehab@kernel.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a description for intel_guc_tlb_invalidation_type enum. Signed-off-by: Mauro Carvalho Chehab --- See [PATCH 00/21] at: https://lore.kernel.org/all/cover.1657703926.git.mchehab@kernel.org/ drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h b/drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h index 5c019856a269..e97065c62d28 100644 --- a/drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h +++ b/drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h @@ -187,6 +187,18 @@ enum intel_guc_state_capture_event_status { /* Flush PPC or SMRO caches along with TLB invalidation request */ #define INTEL_GUC_TLB_INVAL_FLUSH_CACHE (1 << 31) +/** + * enum intel_guc_tlb_invalidation_type - type of TLB cache invalidation + * + * @INTEL_GUC_TLB_INVAL_FULL: + * Global TLB invalidation + * @INTEL_GUC_TLB_INVAL_PAGE_SELECTIVE: + * Page-selective TLB cache invalidation + * @INTEL_GUC_TLB_INVAL_PAGE_SELECTIVE_CTX: + * Context-selective TLB cache invalidation + * @INTEL_GUC_TLB_INVAL_GUC: + * Invalidate TLB on GuC itself + */ enum intel_guc_tlb_invalidation_type { INTEL_GUC_TLB_INVAL_FULL = 0x0, INTEL_GUC_TLB_INVAL_PAGE_SELECTIVE = 0x1, -- 2.36.1