mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
To: hansg@kernel.org, ilpo.jarvinen@linux.intel.com
Cc: platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org, kapoorarnav43@gmail.com,
	Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Subject: [PATCH v2 0/2] platform/x86/intel-uncore-freq: Fix error handling
Date: Sun, 29 Nov 2026 11:44:43 -0800	[thread overview]
Message-ID: <20261129194445.2805447-1-srinivas.pandruvada@linux.intel.com> (raw)

While reviewing the driver code with AI models, identified a few corner
cases during the device probe and removal paths where error handling and
resource cleanup were insufficient or improperly ordered.

v2:
 In patch 2/2: Use scoped guard

Didn't use Tested-by: Arnav Kapoor <kapoorarnav43@gmail.com>
as there is code change.

Srinivas Pandruvada (2):
  platform/x86/intel-uncore-freq: Don't remove entries which are not
    added
  platform/x86/intel-uncore-freq: Fix deadlock when removing attributes

 .../uncore-frequency-common.c                 | 21 ++++++++++++++-----
 .../uncore-frequency/uncore-frequency-tpmi.c  |  3 ++-
 2 files changed, 18 insertions(+), 6 deletions(-)

-- 
2.56.0


             reply	other threads:[~2026-11-29 19:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29 19:44 Srinivas Pandruvada [this message]
2026-11-29 19:44 ` [PATCH v2 1/2] platform/x86/intel-uncore-freq: Don't remove entries which are not added Srinivas Pandruvada
2026-11-29 19:44 ` [PATCH v2 2/2] platform/x86/intel-uncore-freq: Fix deadlock when removing attributes Srinivas Pandruvada
2026-11-29 20:35 ` [PATCH v2 0/2] platform/x86/intel-uncore-freq: Fix error handling Arnav Kapoor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261129194445.2805447-1-srinivas.pandruvada@linux.intel.com \
    --to=srinivas.pandruvada@linux.intel.com \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=kapoorarnav43@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®