Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2687672rdb; Wed, 4 Oct 2023 08:32:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGDI5s8WSwbwCGKTrwmJDkmONIODznMl/SJehQk++RKoNZIM75E7VPFgb0frhkWUxVbtNkV X-Received: by 2002:a17:902:904c:b0:1c6:2ae1:dc28 with SMTP id w12-20020a170902904c00b001c62ae1dc28mr2257601plz.36.1696433571716; Wed, 04 Oct 2023 08:32:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696433571; cv=none; d=google.com; s=arc-20160816; b=ehkNsK3dUwHAudqBRZQ9bTCvrU+Y+YKLJYDZpU0bpqOmBEXTk9EoQAkPm+S74hRBRT gsP+PnFvieCM7dpzxIhHF60Mx5dmaif4nz5oYokjVvVp/I6HpPFiYYjV9cH6RlrGa6NV RogZVHJekTtuSN054pSwXb232WZ9Y9Ry4zdzcukgwmEaBVUNpg9wpXxBH7YLhVturlXF vggeZm2DpeRoPSneh/2RDKLBeVfAqYDOjxSQ64S/QCXbKyql8Lp0W/nHab+w57XwqYy4 h9X5sHgDiOZ4g3ZKRJD2T3VGRyQJA9jqGv+L5MzPvGrXo3C5l1w/TSIhknQsTeMSRQmL mBHw== 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=AKFK/pIi4knx9/rHSu2Y8xwwbFFEBKPtKmpV3FzO8M4=; fh=/o4CABga1IDboREYdTJKCQDQ5P9asWRdSvLG/9aDtaI=; b=lKo6kTQ5rw0dT8946PzOBjGMewKXqOY9Ml4XihC8BrH6nyJD4acvDLhLGrDXIBuTX4 CXwEKC+rpYqrMr7PyYipwG5lGbdcz6ZP6GgytFl95YOOUt3yoDP8UV8ASYRmGUhpI5m3 DYa90ezJY/Yl/f4cvlwv8fMHvseunhXIFHdwVL8lxeLQSun4+l9IIa1HPpn5DVO9HQRY ovFkjb6s9L3Jya+Ga72Lvt1d6E5J9FXRE/WwHiQXQms9U2n9CC4MOfS5Jh0SsXYeFbS+ Hft0IDAknmkAjHnznypHOd70YyUIpNtbLVnlqPsW6VfDEzZXywu0doHLltcwqeTj7KN6 pniA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id cp1-20020a170902e78100b001c6285295absi3737122plb.514.2023.10.04.08.32.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 08:32:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 962B3822CEDB; Wed, 4 Oct 2023 08:32:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233562AbjJDPcs (ORCPT + 99 others); Wed, 4 Oct 2023 11:32:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233593AbjJDPcn (ORCPT ); Wed, 4 Oct 2023 11:32:43 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 96598C4 for ; Wed, 4 Oct 2023 08:32:38 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EFE9EC15; Wed, 4 Oct 2023 08:33:16 -0700 (PDT) Received: from bogus (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 422893F762; Wed, 4 Oct 2023 08:32:37 -0700 (PDT) Date: Wed, 4 Oct 2023 16:32:34 +0100 From: Sudeep Holla To: Olivier Deprez Cc: Jens Wiklander , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Marc Bonnici , Sudeep Holla , Coboy Chen , Lorenzo Pieralisi Subject: Re: [PATCH v3 03/17] firmware: arm_ffa: Implement the notification bind and unbind interface Message-ID: <20231004153234.ktk6egntk7drao47@bogus> References: <20230929-ffa_v1-1_notif-v3-0-c8e4f15190c8@arm.com> <20230929-ffa_v1-1_notif-v3-3-c8e4f15190c8@arm.com> <20231004091154.GB1091193@rayden> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 04 Oct 2023 08:32:50 -0700 (PDT) On Wed, Oct 04, 2023 at 10:50:26AM +0100, Olivier Deprez wrote: > Hi Jens, > > > dst_id and drv_info->vm_id should be swapped. > > I'm curious about this because swapping like this actually makes hafnium > fail. Need to check from the spec. I did check after I had swapped this in v2(because I was convinced Jens) was correct and you reported the failure. Reading the spec again the other day, I got corrected myself and agreed with Olivier and my original implementation(v1) which matches this patch(v3). -- Regards, Sudeep