All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH 4/7] drm/i915/perf: Whitelist OA report trigger registers
Date: Fri, 13 Nov 2020 14:18:20 -0800	[thread overview]
Message-ID: <87v9e87vf7.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <20201113221209.GA57895@orsosgc001.ra.intel.com>

On Fri, 13 Nov 2020 14:12:09 -0800, Umesh Nerlige Ramappa wrote:
>
> > +	if (wal->engine)
> > +		spin_lock_irqsave(&wal->engine->uncore->lock, flags);
> > +
> > +	kfree(wal->list);
>
> if (wal->list)
>	kfree(wal->list);

void kfree(const void *objp)
{
	...

        if (unlikely(ZERO_OR_NULL_PTR(objp)))
                return;
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2020-11-13 22:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-13 18:03 [Intel-gfx] [PATCH 0/7] Allow privileged user to map the OA buffer Umesh Nerlige Ramappa
2020-11-13 18:03 ` [Intel-gfx] [PATCH 1/7] drm/i915/perf: Ensure observation logic is not clock gated Umesh Nerlige Ramappa
2020-11-13 18:03 ` [Intel-gfx] [PATCH 2/7] drm/i915/gt: Lock intel_engine_apply_whitelist with uncore->lock Umesh Nerlige Ramappa
2020-11-13 18:03 ` [Intel-gfx] [PATCH 3/7] drm/i915/gt: Add a reference to the engine in i915_wa_list Umesh Nerlige Ramappa
2020-11-13 18:03 ` [Intel-gfx] [PATCH 4/7] drm/i915/perf: Whitelist OA report trigger registers Umesh Nerlige Ramappa
2020-11-13 22:12   ` Umesh Nerlige Ramappa
2020-11-13 22:18     ` Dixit, Ashutosh [this message]
2020-11-13 18:03 ` [Intel-gfx] [PATCH 5/7] drm/i915/gt: Refactor _wa_add to reuse wa_index and wa_list_grow Umesh Nerlige Ramappa
2020-11-13 18:03 ` [Intel-gfx] [PATCH 6/7] drm/i915/perf: Whitelist OA counter and buffer registers Umesh Nerlige Ramappa
2020-11-13 18:03 ` [Intel-gfx] [PATCH 7/7] drm/i915/perf: Map OA buffer to user space for gen12 performance query Umesh Nerlige Ramappa
2020-11-13 23:56 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for Allow privileged user to map the OA buffer Patchwork

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=87v9e87vf7.wl-ashutosh.dixit@intel.com \
    --to=ashutosh.dixit@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=umesh.nerlige.ramappa@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.