Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2502546rda; Wed, 25 Oct 2023 04:56:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG/tQd1GZBW+1iXZnjZV7tvjT9ZLgN2H3ajsUDA8xYwdiNrxYRxR/Op7rjAXQUZCgo5PtNW X-Received: by 2002:a05:6808:1995:b0:3ae:1d7:9c9 with SMTP id bj21-20020a056808199500b003ae01d709c9mr17504072oib.50.1698234971246; Wed, 25 Oct 2023 04:56:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698234971; cv=none; d=google.com; s=arc-20160816; b=yjQr2BI+yRBEmxTyEElOtIR02PSVfZxt2Bah8chX8/mrzq4ybW+nNjxZIL619OD5pi 5ZiXv2oodMTdXv0KTfx4CdHnn7zESgJwjW1RDCa6nSRsZBv+ZDslQyBeLK2YFCvfZw4j cVESCu1lhmcDXtnCyNjQ1hL3TWQGkhdDnB6h/VzXHqUDEZjNIeFpAcXaIQxrC25tsZ4g 8gmcWwt9DmTM87lNgJiMANHNXhbjy/2YyLcP4qTk6FcW2HMfuVaRIZYB60muORPZT655 btP47iQ8fj8B/aTzclXNhnn2EaEzoF/TAmlSGaF5KBVdXD/R6Vn2Xf5XB8MjOAGdQkP0 ABxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=S7KZa/qCszE/qP7vkqP3vueJq/YTW0r01PBUz0b3K2Q=; fh=aeEuLCLSU7YRCcAjl1fQeUk0146B8pna9OX+bfVvQcU=; b=PaAKp5436LXBg1s9rsEcQGKWN02Ga2sQDDKNhLNbiPXLOdjIGJFZjym6mMYQY5bDol QERpta/JLCknqbJm78UmCe+whJpIBITkGv2pSVsVmjVk6q/WQkUhxfi9zyY0ckDCVYkS dQA1b5n/YhSV0seZKPXMFf1t5RWs0M6wTzTJV5Ay3jeskL9upBgPK/Fpam3G8eRaGuQA UilaIOF6mSr0QW9051BpUnnObXPf1BaeXN5ydkOKwM9NNfxi7HbYY8oZsVffI5Pyoy/y Q3rmJ8DAnVEC+hvl7hgDpIL1lsx42xmblnjrv+rG94VggLv9lujIs/c6PiNYo7xN1o3n UXRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nognSAgj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id l9-20020a25ad49000000b00d817e2ae7c8si10838601ybe.214.2023.10.25.04.56.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 04:56:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nognSAgj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 5A35580BB523; Wed, 25 Oct 2023 04:56:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343662AbjJYLzy (ORCPT + 99 others); Wed, 25 Oct 2023 07:55:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234983AbjJYLzw (ORCPT ); Wed, 25 Oct 2023 07:55:52 -0400 Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0FCA18B for ; Wed, 25 Oct 2023 04:55:50 -0700 (PDT) Received: by mail-qv1-xf35.google.com with SMTP id 6a1803df08f44-66d12b3b479so34289466d6.1 for ; Wed, 25 Oct 2023 04:55:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698234949; x=1698839749; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=S7KZa/qCszE/qP7vkqP3vueJq/YTW0r01PBUz0b3K2Q=; b=nognSAgjrkYnM6M9FhSzC38LlNk0Dw7Et/hfQ5FlXE7QePrOs65TZbAFg+z+81Xnky bEzuj8GIFPFNUCz8BL/ejDmOETobQQOEFefLdc5wIttZZ9IZsyEV/SUwRyH4sZo2Qyfa DkX6Y5CSQxzzWvrfZppawbgttCIHs8Jpka9MUx5gt8HYj/CCOpnI5LkCebG+kqkwiVtB zZAwEq79A2GD8EvEp62RIzsa/bkRN5TopiUf6BVLoWQvhI4+PHEVnFySFCA8HTu5xz/q 5S+CFhgVVlVvCfCXIyrYHWY9N4oqgt1yaWqVFlUjZGnBd0/DjuzLeiRq4MKlfVzXAj9S y8wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698234949; x=1698839749; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S7KZa/qCszE/qP7vkqP3vueJq/YTW0r01PBUz0b3K2Q=; b=Jbbrk/2Wrh/QUR6yW3SiIO7HrWT2RowDwOFcpR0GmZV2XyPx2xfjgoAFqsHDvcQI7g CUzV6cy1wDrOi51JBIbm7vvvExdzFc+CwgYVnrYuKL/1gBTnCEXTGYEyzHl/K3cQqVCc vbriVrab/Q/zBxh6I874VuUpSgPVGj7Hpp7bej7ixA7T9d4KHyYyVcdYSmbJeMgyV/+3 d8DKr751ipO7dVZhElmUWTjQBa9ty7BLR5kc8ltz0Cn0sE6aoBvtFfA+DAGPcN847F6x fCVxsxxfDB4iSu9uz5nkxwgrf3yi3bWd3kUF8McTIEmenLcyfG0I6kELJncGMnTYZekw DPYQ== X-Gm-Message-State: AOJu0YwoLY/uLArjXfIEGwg5Jd3Fso/ijCCVGRguBsk9dPVVMafLlDz+ w/uHk3O84HeQSDIr2nhSjhUv0aXkiAlgCl2WBWtR6w== X-Received: by 2002:a05:6214:29e3:b0:66d:2435:b3f8 with SMTP id jv3-20020a05621429e300b0066d2435b3f8mr18433118qvb.4.1698234949644; Wed, 25 Oct 2023 04:55:49 -0700 (PDT) MIME-Version: 1.0 References: <20231024-ffa-notification-fixes-v1-0-d552c0ec260d@arm.com> In-Reply-To: <20231024-ffa-notification-fixes-v1-0-d552c0ec260d@arm.com> From: Jens Wiklander Date: Wed, 25 Oct 2023 13:55:38 +0200 Message-ID: Subject: Re: [PATCH 0/4] firmware: arm_ffa: Few fixes for FF-A notification support To: Sudeep Holla Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Coboy Chen , Lorenzo Pieralisi Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Wed, 25 Oct 2023 04:56:08 -0700 (PDT) Hi Sudeep, On Tue, Oct 24, 2023 at 12:56=E2=80=AFPM Sudeep Holla wrote: > > Hi, > > These are set of small fixes around FF-A notification support that are > currently queued in -next. It is mostly to take care of absence of > the notification support in the firmware as well as allowing them to be > optional and continue initialisation even when the notification fails. > > Regards, > Sudeep > > Signed-off-by: Sudeep Holla > --- > Sudeep Holla (4): > firmware: arm_ffa: Allow FF-A initialisation even when notification= fails > firmware: arm_ffa: Setup the partitions after the notification init= ialisation > firmware: arm_ffa: Add checks for the notification enabled state > firmware: arm_ffa: Fix FFA notifications cleanup path > > drivers/firmware/arm_ffa/driver.c | 65 ++++++++++++++++++++++++++-------= ------ > 1 file changed, 44 insertions(+), 21 deletions(-) Works as expected with and without FF-A notifications enabled in the secure world. Tested-by: Jens Wiklander Cheers, Jens > --- > base-commit: bcefd1bf63b1ec9bb08067021cf47f0fad96f395 > change-id: 20231024-ffa-notification-fixes-9d5cf1e131ef > > Best regards, > -- > Regards, > Sudeep >