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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 CB64DC433EF for ; Wed, 15 Jun 2022 22:59:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZgUdSnYTkbpDwywmjTx1CHB9c4Zkz1akpiMd18UiQMU=; b=xNUyuGLOFmljF4 MHeDPwJ1vFh++gPOO37ZBKL9T/szSzcPbvsVadRPaWMgaDDygiKcoBfmRRoQ7e6ok26xVmonDwsLY eDS1RnzVSZF2fV2uKsC7PM0U3FhMY8as4KJ5rCfQizWuUpsAndpWNKMQxaWoVChCMievCj5J0AkdF iH9VerxnkcVsQqaNVt3Tm1pntUVbLHi/WyovlTFuqLiqQURd8wXFUtkEQT1y/VTCdWl+5sYgqvlhw VfgRNhDGoykYY3Rx/6ei9KjLBa5N1P7MwjfO/ppW1MkQcOWNIVAAnPfCoMqA+DQsN5pvZe+nCOpy+ lINATOZTsN9TlIPPakvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1byR-00GlUr-E2; Wed, 15 Jun 2022 22:58:55 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1byO-00GlUG-QN for linux-arm-kernel@lists.infradead.org; Wed, 15 Jun 2022 22:58:54 +0000 Received: by mail-pl1-x630.google.com with SMTP id d5so9023576plo.12 for ; Wed, 15 Jun 2022 15:58:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=Ld59Qfu20d2ESfU2Lxz+USUdXMklgpmY/S6pk/mnFLY=; b=gBwPsVatjxS9weLN66T4RryZfn5kIP607soCOV5eWG5WJN654g2C5f1ZghN+wj+XB4 rHRIaeEj69bfku2LYHMzg5+VEK21A5dDckPf6nMOFpdCmPB3ZjwfkV6jxfMI2Eo+xhuW U78fT6NQhv/ujXEkbwVNT4J1gb7EyFrgr26qmCFQNRHV+6881XeyiZfGi3t2iRlpbsfN xiEmgMc7WPxp5JEW3ntRNbLzB6JN3jL3n59kN70ofCrmx5PieDQGE+stNBzjyoTJOhUD MJvcgLV+78tc20eG/AZ9UV13DnVSY0HMrgfnU1D45uSMogNe+9lkqyTB8WD4+xoF8oYX UU9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=Ld59Qfu20d2ESfU2Lxz+USUdXMklgpmY/S6pk/mnFLY=; b=S8+5GcUHoO68RptjwURraxSlchFvf5oJXnIjjokZTZs65lwjRxo2OXiuzp9gMo1ggw vjz5SDIsW4NLggUG08FS59rF78z85XnFmSf/b/KfyqkMJJkimXQQQdXDa+YJUfEKIThv bSJ/nCW4Qh53cPWoSFofuu3aQr7KxNoG5Ac1H+3k3vhRcAv+fx4EyNml5asRMKbTsxR9 CowolLIF7a664KOmSThkTbklo4q7gVMKm/0bUXkP2O/5pJB50PZPdSQebe0quY7BN6i2 gWqoBN4RRr2KtK54kfn5Ud0lQI/tZscuU2uKcEA+WACL68fKd07t6NeYWewD4BtGbYyZ L6oA== X-Gm-Message-State: AJIora9bKQeadug179pX2SecAZWaKrXn5+PjF9cjUHA+ynK89xxfSDX5 hOmC5k69gFFoi49OqOvNuDE= X-Google-Smtp-Source: AGRyM1vgbsrQhqMpkMSviBhKgcYYvOXD0y7diJYaFLa8rfozMNLuRVJbPo/7Fz/1gVp+LKsHA5J3Xw== X-Received: by 2002:a17:90b:4acb:b0:1e8:67df:6c61 with SMTP id mh11-20020a17090b4acb00b001e867df6c61mr12658419pjb.224.1655333931437; Wed, 15 Jun 2022 15:58:51 -0700 (PDT) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id u15-20020a170902714f00b00168c1668a49sm164631plm.85.2022.06.15.15.58.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Jun 2022 15:58:50 -0700 (PDT) Message-ID: Date: Wed, 15 Jun 2022 15:58:49 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH 11/22] firmware: arm_scmi: Add SCMIv3.1 extended names protocols support Content-Language: en-US To: Cristian Marussi Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, sudeep.holla@arm.com, james.quinlan@broadcom.com, Jonathan.Cameron@huawei.com, etienne.carriere@linaro.org, vincent.guittot@linaro.org, souvik.chakravarty@arm.com References: <20220330150551.2573938-1-cristian.marussi@arm.com> <20220330150551.2573938-12-cristian.marussi@arm.com> <6f865d7f-fde8-d923-3c7e-d12bfbc370a6@gmail.com> From: Florian Fainelli In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220615_155852_922653_5DD0267A X-CRM114-Status: GOOD ( 13.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 On 6/15/22 10:32, Cristian Marussi wrote: > > Ok, this was another place where a reply carrying a consistent number of > non-segmented entries could trigger an jumbo-request to kmalloc... > > ..maybe this is where a transient fw issue can reply with a dramatic > numbers of possible (non-segmented) levels (num_returned+num_remaining) > > (I filter out replies carrying descriptors for segmented voltage-levels > that does not come in triplets (returned:3 remaining:0) since they are out > of spec...but I just hit today on another fw sending such out of spec > reply for clocks and I will relax such req probably not to break too > many out-of-spec blobs out in the wild :P) > > So let me know if got new splats... This turned out to be a nice firmware bug, someone *cough* *cough* decided to add some extra "protection" using a temporary buffer and they completely forgot the newly added voltage domain service, so we would just return stale information, wonderful. This is now fixed. Thanks a lot for your responsiveness and support. -- Florian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel