From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 376EC3914E0 for ; Mon, 23 Mar 2026 10:56:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774263392; cv=none; b=LredjZ8XeVNVROGtH2j9VoJLuffSRHpLy2Ox3sVTS7pfRMtQHk409YOe5NsMdZkNyxZ7XTvjbhx+s2EXB0EalzDEBUh74tGPiEi9tUT0tfE622YFXSozVaz90ymYXaxvjCserK/+Ao0nvI8zLDiN1Cxz3swgm58zibtWSK0JswA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774263392; c=relaxed/simple; bh=3ND2U9WUVzc8Lv0ev2KT23OqMrD2HAyt6A+/DGBkYww=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lzBQaLRTltAf/zkeo8HPmPPYc56pZte2jochGYiQN/Avf9eQfIGcY6X8mUffer4k/QOFQd6WmMEBZ/flIFfsmB/oW5DZ1mXpr1CDiKbgmIUaUZqpbhtlBdp7leTZUVhFrmIZvEZJo3O2yvlP9QbqRryFs/0qeNM+kpeE/GjgwfE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=WyJmjn7x; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=TfPCTOBc; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="WyJmjn7x"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="TfPCTOBc" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1774263390; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=W8PnNxrF6RAnd6AXtVYuBoGbmL+cIw2K+KfBdA2DfjA=; b=WyJmjn7xn9Km7GO/UXc+FXFMeg1vHjP1x7t0xH2rAb9awx9NFzD3asZI3fi5pf5tRn4hij ESZH7dgRFkP5F9NERWGOgc+AvZY5VQ9FxRh8L7FJOFNu9Lbd7potTYbN3bqxViNVeBhwMG gvCo5BgJbI59IvIwouJSqa8EPfxah9I= Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-657-GYKsczkfNsafya-cMpMQ3g-1; Mon, 23 Mar 2026 06:56:26 -0400 X-MC-Unique: GYKsczkfNsafya-cMpMQ3g-1 X-Mimecast-MFC-AGG-ID: GYKsczkfNsafya-cMpMQ3g_1774263386 Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-5091782ab06so88734731cf.0 for ; Mon, 23 Mar 2026 03:56:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1774263386; x=1774868186; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=W8PnNxrF6RAnd6AXtVYuBoGbmL+cIw2K+KfBdA2DfjA=; b=TfPCTOBczF5n11yj5pmZvoODQk9L6EqoLGgK5asQwc4iiVwPI+3Dfn0QxQBX9Gp5ec AKR/kYPP0ME/HkQtv0km4uvIA+e+DQtkiHdiyKhaNZVdUIp6kaz0PRyOy/hNlpBD+Dcg NGY7jAphea3pqkLKuaMdLkin0ng7SxCMVMggZ4CT2zlS3pNd8Jc96QpvDFYzcH6wZVJT 3kmxijnRnY+r7vRU9UOST4Muv8Ma13BLELAQ44jeqYimnelmb2E9vlEL/V3g60rYmSM1 reG+3hHvc/Lpn5haclr5RnABLEMPAcfF0lXgsNtpirfwRlxeZDp51qhtFtz3r2TtUFKd hoUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774263386; x=1774868186; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=W8PnNxrF6RAnd6AXtVYuBoGbmL+cIw2K+KfBdA2DfjA=; b=dhxGfxZ7XmxTCfZIiXq6iIto9rdiUEYd1/J3X8sznJt/t0qImrd6bSbUTg2rXdlvzk XJ40/8xAuqVUpEmba7O0hkOffackguK/359OcRBbLqA25n2P6npchfJhpajfdOvxrKwr 97YlNahxjgYc/E4y/1+G/BxafZ/mqSKyYzwibJsXOffdmd8/MSdjCZxfxAk5F/pIMD21 4qdZ1eHddgTr9bEaKtH28rM93qx0B4wYVSwjczEHtaWtll0iWEl4afxeu/in1z2XWrx1 M0OfarzZq5je2qPTeB759e8B/Uxcb8afm9q7fY3yJHGasb/0JVEZ5fXWemBJkyfdnLC4 MK6A== X-Forwarded-Encrypted: i=1; AJvYcCXgMVtTN3owLGwXb4+1QZYO6RrDbimg6frM7+UByJnjOQpkdzxFfvlv/A+KCCZNlJc/fPM3GK9IVp1gmHA=@vger.kernel.org X-Gm-Message-State: AOJu0Ywb17acqmnkT/fpoHu1lz/FHOQvbrjDM3hC3sXOrK7pO4ywokPM xRgSAn6AxjuORNDd6b76gW8DRLoFySsXGk26PF4HxPN+V8rjT8neZxVA7EwvDSHqygnhu1aii/K sYgFau1eXuzV8j5tnUhbCa4hI0IavEREXvvHjkmFKGDKoSid7Qr7cP4ZwPV3GiD0a6Q== X-Gm-Gg: ATEYQzwB7RsGIBImQOjxeGZw+iQVzfXs/Qu3YUcbh6tifzYeNRBHDfnBbZQB12N5pa8 HvoV+BUr9P64g43tesmx7hqCaTmxFaA+YBoyzNLSpxalwX/iVWwc4k43HHYZV/t44dwn9Pji/rz ZQ+Aoa8rPuvQXLOJoTO3xPhXaoYpqFU3eHcf+0dZNa7e2/7T91PkJX5GYZTtaj4MtNvzESv6Dtv 8Tv06i6b1Q1b6R7kDIqdtA3WDAfGAFjBeJLNydRtLNpUG3sQqsOiAsIxJT99vR+fRKOlZqOZwR/ tULzaItICuxZAYmeIhW32PHrekRjUgTaaLgEfSncWHL5bcTg53n4iaZgE3uI3qp5FoQQlPkVPuX 5gl42J9OxPPjg6Xc1ZKw2h4I1Po9hWKBVzod0fZnQAEVq9YF8PWcsHkKG X-Received: by 2002:a05:622a:1e8b:b0:50b:2d93:97bd with SMTP id d75a77b69052e-50b374268bdmr206504731cf.24.1774263386451; Mon, 23 Mar 2026 03:56:26 -0700 (PDT) X-Received: by 2002:a05:622a:1e8b:b0:50b:2d93:97bd with SMTP id d75a77b69052e-50b374268bdmr206504631cf.24.1774263386125; Mon, 23 Mar 2026 03:56:26 -0700 (PDT) Received: from redhat.com (c-73-183-52-120.hsd1.pa.comcast.net. [73.183.52.120]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-50b36e350b6sm83525921cf.14.2026.03.23.03.56.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Mar 2026 03:56:25 -0700 (PDT) Date: Mon, 23 Mar 2026 06:56:23 -0400 From: Brian Masney To: Dmitry Baryshkov Cc: Georgi Djakov , Konrad Dybcio , Bjorn Andersson , Luca Weiss , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Brian Masney , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 6/9] interconnect: qcom: let platforms declare their bugginess Message-ID: References: <20260323-msm8974-icc-v1-0-7892b8d5f2ea@oss.qualcomm.com> <20260323-msm8974-icc-v1-6-7892b8d5f2ea@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260323-msm8974-icc-v1-6-7892b8d5f2ea@oss.qualcomm.com> User-Agent: Mutt/2.3.0 (2026-01-25) On Mon, Mar 23, 2026 at 03:17:22AM +0200, Dmitry Baryshkov wrote: > On MSM8974 programming some of the RPM resources results in the > "resource does not exist" messages from the firmware. This occurs even > with the downstream bus driver, which happily ignores the errors. My > assumption is that these resources existed in the earlier firmware > revisions but were later switched to be programmed differently (for the > later platforms corresponding nodes use qos.ap_owned, which prevents > those resources from being programmed. > > In preparation for conversion of the MSM8974 driver (which doesn't have > QoS code yet) to the main icc-rpm set of helpers, let the driver declare > that those -ENXIO errors must be ignored (for now). Later, when the QoS > programming is sorted out (and more interconnects are added to the DT), > this quirk might be removed. > > Signed-off-by: Dmitry Baryshkov Reviewed-by: Brian Masney When I wrote the msm8974 icc driver, I spent a fair bit of time trying to make it so that we didn't have to ignore those errors. As you mentioned, the downstream msm bus code gives the same errors. That downstream code was the only reference material that I had access to when I wrote this driver.