From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E06EDC32771 for ; Sat, 24 Sep 2022 12:16:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 499BB10EBF0; Sat, 24 Sep 2022 12:16:36 +0000 (UTC) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1585810E606; Sat, 24 Sep 2022 12:16:23 +0000 (UTC) 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 89C9D60E8F; Sat, 24 Sep 2022 12:16:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99D98C433C1; Sat, 24 Sep 2022 12:16:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664021782; bh=eqt29u6F7sasfKOpgDtfMFLVRpWUkNMnU240aTNHiss=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VhvpYu+zJqnKOXFsE606TTt6pmEgkwyyY/er+UjCaMIbPxI1uKo0RlHa48GgvRXFz Oobur3LSoMb3q4MEy/rElfyyqSWshT+RaGAvOe4qXKJ7wSW88O9+6wKMSPfp5QdaST P6DbcnblvSoaK3wZgUPbEgtkNMCTKG/i1FdUHUys= Date: Sat, 24 Sep 2022 14:16:19 +0200 From: Greg Kroah-Hartman To: Daniele Ceraolo Spurio Subject: Re: [PATCH v5 04/15] mei: bus: extend bus API to support command streamer API Message-ID: References: <20220913005739.798337-1-daniele.ceraolospurio@intel.com> <20220913005739.798337-5-daniele.ceraolospurio@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220913005739.798337-5-daniele.ceraolospurio@intel.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org, Tomas Winkler , Vitaly Lubart , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Mon, Sep 12, 2022 at 05:57:28PM -0700, Daniele Ceraolo Spurio wrote: > From: Vitaly Lubart > > Add mei bus API for sending gsc commands: mei_cldev_send_gsc_command() > > The GSC commands are originated in the graphics stack > and are in form of SGL DMA buffers. > The GSC commands are synchronous, the response is received > in the same call on the out sg list buffers. > The function setups pointers for in and out sg lists in the > mei sgl extended header and sends it to the firmware. > > Signed-off-by: Vitaly Lubart > Signed-off-by: Tomas Winkler > Signed-off-by: Daniele Ceraolo Spurio > Cc: Greg Kroah-Hartman > --- Reviewed-by: Greg Kroah-Hartman From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 35EFBC32771 for ; Sat, 24 Sep 2022 12:16:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5194810E606; Sat, 24 Sep 2022 12:16:27 +0000 (UTC) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1585810E606; Sat, 24 Sep 2022 12:16:23 +0000 (UTC) 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 89C9D60E8F; Sat, 24 Sep 2022 12:16:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99D98C433C1; Sat, 24 Sep 2022 12:16:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664021782; bh=eqt29u6F7sasfKOpgDtfMFLVRpWUkNMnU240aTNHiss=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VhvpYu+zJqnKOXFsE606TTt6pmEgkwyyY/er+UjCaMIbPxI1uKo0RlHa48GgvRXFz Oobur3LSoMb3q4MEy/rElfyyqSWshT+RaGAvOe4qXKJ7wSW88O9+6wKMSPfp5QdaST P6DbcnblvSoaK3wZgUPbEgtkNMCTKG/i1FdUHUys= Date: Sat, 24 Sep 2022 14:16:19 +0200 From: Greg Kroah-Hartman To: Daniele Ceraolo Spurio Message-ID: References: <20220913005739.798337-1-daniele.ceraolospurio@intel.com> <20220913005739.798337-5-daniele.ceraolospurio@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220913005739.798337-5-daniele.ceraolospurio@intel.com> Subject: Re: [Intel-gfx] [PATCH v5 04/15] mei: bus: extend bus API to support command streamer API X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org, Tomas Winkler , Vitaly Lubart , dri-devel@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Mon, Sep 12, 2022 at 05:57:28PM -0700, Daniele Ceraolo Spurio wrote: > From: Vitaly Lubart > > Add mei bus API for sending gsc commands: mei_cldev_send_gsc_command() > > The GSC commands are originated in the graphics stack > and are in form of SGL DMA buffers. > The GSC commands are synchronous, the response is received > in the same call on the out sg list buffers. > The function setups pointers for in and out sg lists in the > mei sgl extended header and sends it to the firmware. > > Signed-off-by: Vitaly Lubart > Signed-off-by: Tomas Winkler > Signed-off-by: Daniele Ceraolo Spurio > Cc: Greg Kroah-Hartman > --- Reviewed-by: Greg Kroah-Hartman