mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Kasindorf, Barry" <Barry.Kasindorf@amd.com>
To: "Pavel Machek" <pavel@suse.cz>
Cc: "Andi Kleen" <andi@firstfloor.org>, <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH 1/3] AMD Family10h+ IBS support for oProfile driver: Setup routines
Date: Wed, 11 Jun 2008 14:10:00 -0400	[thread overview]
Message-ID: <6096959DEF5C9447A6BF80BDC7EB9EDC08650A6C@SBOSEXMB1.amd.com> (raw)
In-Reply-To: <20080611180104.GA4072@ucw.cz>

This is a thorny problem.
A mistake was made in the name almost 2 years ago. The longer we leave
it wrong the harder it will be to change. To use IBS, the major feature
added by this patch, you HAVE to upgrade the user tools anyway. If there
was a way to have the driver send both I would have done that. So far it
is a very narrow window of time that would have a problem.

If I get too much pushback I can leave it, but the code that sends
Family10 has not been present in the kernel for very long at this point,
and it should be fixed. When the patch that added Family10 went in it
had the same issue, before it would have reported Family8 and worked
with the older userspace tools, adding this would get a cpu type unset
error.

-Barry


-----Original Message-----
From: Pavel Machek [mailto:pavel@suse.cz] 
Sent: Wednesday, June 11, 2008 2:01 PM
To: Kasindorf, Barry
Cc: Andi Kleen; linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] AMD Family10h+ IBS support for oProfile driver:
Setup routines

On Wed 2008-06-11 09:29:29, Kasindorf, Barry wrote:
> Yes,
> This is visible to userspace. The corresponding changes to the
usermode
> code have been sent to the oProfile list. The confusion is that it is
> not AMD Family 10 but it is Family 16(10h). This can be confusing so
we
> changed it.

...so we require users to upgrade userspace tools at the same moment
they upgrade kernel, and they can't go to the old kernel. Bad.

(Please mention userspace change in changelog).

I don't think potential for confusion is that big... and perhaps you
can do s/10/10h/ in userspace tools?

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures)
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html



  reply	other threads:[~2008-06-11 18:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-09 17:50 Barry Kasindorf
2008-06-09 17:50 ` [PATCH 2/3] AMD Family10h+ IBS support for oProfile driver: Interrupt routines Barry Kasindorf
2008-06-09 17:50 ` [PATCH 3/3] AMD Family10h+ IBS support for oProfile driver: buffer management Barry Kasindorf
2008-06-11 10:53   ` Pavel Machek
2008-06-11 13:25     ` Kasindorf, Barry
2008-06-11 10:51 ` [PATCH 1/3] AMD Family10h+ IBS support for oProfile driver: Setup routines Pavel Machek
2008-06-11 12:07   ` Andi Kleen
2008-06-11 13:29     ` Kasindorf, Barry
2008-06-11 18:01       ` Pavel Machek
2008-06-11 18:10         ` Kasindorf, Barry [this message]
2008-07-03  9:20 ` Ingo Molnar
2008-07-03  9:37   ` Andrew Morton
2008-07-03 10:01     ` Ingo Molnar
2008-07-03 15:36       ` [PATCH 1/3] AMD Family10h+ IBS support for oProfile driver:Setup routines Kasindorf, Barry

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=6096959DEF5C9447A6BF80BDC7EB9EDC08650A6C@SBOSEXMB1.amd.com \
    --to=barry.kasindorf@amd.com \
    --cc=andi@firstfloor.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@suse.cz \
    /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®