Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9F867C43463 for ; Sun, 20 Sep 2020 02:44:41 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4632D208C3 for ; Sun, 20 Sep 2020 02:44:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="zXE/tSoJ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="ctLUI/81" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4632D208C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:Reply-To:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:To:Subject:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nbICJ2dyZzChyuJIxcjhgnil9o4JmgS2w6y/7jaJ/88=; b=zXE/tSoJ6bw3zB /LyCipIguRx41JkHa6qRT6prJ6SYXrIOtKNRqzlUQmtEk59tNIKJ3gwMXShWhXW3JQJyv1t7G8/R2 NZ7REgYkzlZurlZ1xUCQr7dPdBP9vu4iX6F/6CbNhyTi+NbiaA8vnwVuhoxjwc+km895xKKBxovOe 5iZVS9YzlWcRn8xYSW8n5d5hXWAA2MGXuXhBTirkfgnaP4c7xMaGu4Q+OciXY7GsKUyCmY5GYX5QV RoWb2ACoDCmjaxpkLWoqqQl3YvmZBxTQa+gHkmfTqqI1PrMvzvfnw/z2o1lSC6kGTrV/hPNVG9vT3 xpebpBmDK7uuJRVb/uOg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJpJV-0007Ve-9b; Sun, 20 Sep 2020 02:42:53 +0000 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJpJS-0007Uw-3L for linux-arm-kernel@lists.infradead.org; Sun, 20 Sep 2020 02:42:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600569768; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=f14YC5KwMBcuK3Cwm4ICZT0N3fnibITZcO0TtEe5a50=; b=ctLUI/81NSfrW2hFq04Z1y8n1EBqw3klT3Z9Y29yLNFW7jgeE91eXYjhOv6ruEhqxEvUAi JZ50nJbhZrlXe0xIXUEvMf3puz8wEWoOedzjOb02wGrPrJ7k2O4FE2lvnzoFIgC121jhOZ JqBvkE7NU386s5QvVlgTi0tTeg2SCeM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-326--Rai6VazPGuZThojL-mj_Q-1; Sat, 19 Sep 2020 22:42:43 -0400 X-MC-Unique: -Rai6VazPGuZThojL-mj_Q-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 21E6A10060C4; Sun, 20 Sep 2020 02:42:42 +0000 (UTC) Received: from [10.64.54.34] (vpn2-54-34.bne.redhat.com [10.64.54.34]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 559A460C84; Sun, 20 Sep 2020 02:42:39 +0000 (UTC) Subject: Re: [PATCH v4 14/15] drivers/firmware/sdei: Expose struct sdei_event To: James Morse , linux-arm-kernel@lists.infradead.org References: <20200730014531.310465-1-gshan@redhat.com> <20200730014531.310465-15-gshan@redhat.com> <5456d0aa-d9e8-a052-38c1-ca4c2e93c698@arm.com> From: Gavin Shan Message-ID: <925ed609-274a-715c-da30-4e1a1ab789c4@redhat.com> Date: Sun, 20 Sep 2020 12:42:36 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 MIME-Version: 1.0 In-Reply-To: <5456d0aa-d9e8-a052-38c1-ca4c2e93c698@arm.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=gshan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200919_224250_167388_30387F7F X-CRM114-Status: GOOD ( 19.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Gavin Shan Cc: mark.rutland@arm.com, catalin.marinas@arm.com, will@kernel.org, shan.gavin@gmail.com, Jonathan.Cameron@huawei.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi James, On 9/19/20 2:15 AM, James Morse wrote: > On 30/07/2020 02:45, Gavin Shan wrote: >> This splits struct sdei_event into two structs: sdei_event and >> sdei_internal_event. The former one can be dereferenced from external >> module like arm64/kvm when SDEI virtualization is supported. The later >> one is used by the client driver only. > > This should be part of the series that need its. > > I don't see any reason to share this as it risks muddling events the OS has as a client, > with those its offering as a hypervisor. > > I doubt any KVM support would need to have anything to do with the client support. > > The same argument goes for patch 15. > I'll drop PATCH[14/15] and PATCH[15/15] from this series and fold them into the series of "Support SDEI virtualization". Lets have more discussion when that series is reviewed. The primary reason is to export "struct sdei_event" to KVM so that the information about the SDEI event, like priority/signaled etc, can be fetched from the struct. It's only meaningful if the corresponding SDEI event is exported by underly firmware and passed through to the guest. Cheers, Gavin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel