linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Mike Leach <mike.leach@linaro.org>
To: linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org,
	mathieu.poirier@linaro.org, tingwei@codeaurora.org
Cc: Mike Leach <mike.leach@linaro.org>, suzuki.poulose@arm.com
Subject: [PATCH 0/1] Fix issue with module unload and CTI cleanup
Date: Wed, 29 Jul 2020 20:52:32 +0100	[thread overview]
Message-ID: <20200729195233.30369-1-mike.leach@linaro.org> (raw)

In the proposed Coresight module set v5 [1] from Tingwei, unloading the
ETM module before the CTI module will crash on unload of the CTI module
due to the cleanup callback from Coresight to the CTI module not working
correctly in clearing sysfs callbacks.

Patch fixes this issue. Applies on [1].

Tingwei - could you consider adding this to your set for v6?

[1] https://lists.linaro.org/pipermail/coresight/2020-July/004349.html

Mike Leach (1):
  coresight: cti: Fix bug clearing sysfs links on callback

 drivers/hwtracing/coresight/coresight-core.c     | 4 ++--
 drivers/hwtracing/coresight/coresight-cti-core.c | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2020-07-29 19:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-29 19:52 Mike Leach [this message]
2020-07-29 19:52 ` [PATCH 1/1] coresight: cti: Fix bug clearing sysfs links on callback Mike Leach
2020-07-30  2:41 ` [PATCH 0/1] Fix issue with module unload and CTI cleanup Tingwei Zhang

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=20200729195233.30369-1-mike.leach@linaro.org \
    --to=mike.leach@linaro.org \
    --cc=coresight@lists.linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=mathieu.poirier@linaro.org \
    --cc=suzuki.poulose@arm.com \
    --cc=tingwei@codeaurora.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;
as well as URLs for NNTP newsgroup(s).