All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Stepan Moskovchenko" <stepanm@codeaurora.org>
To: David Brown <davidb@codeaurora.org>
Cc: Zhaohui Wang <zwange@gmu.edu>,
	'Daniel Walker' <dwalker@codeaurora.org>,
	linux-arm-msm@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 01/11] msm: Add CPU queries
Date: Tue, 25 Jan 2011 22:32:44 -0800 (PST)	[thread overview]
Message-ID: <65e852891f18ed0cd764fba918bb842b.squirrel@www.codeaurora.org> (raw)
In-Reply-To: <8yafwsgchlz.fsf@huya.qualcomm.com>


> On Tue, Jan 25 2011, Zhaohui Wang wrote:
>
>> Maybe it's not appropriate to cut in your discussion.
>
> It's quite appropriate.
>
>> Can anyone explain what's the difference between qsd8X50 and msm8x60?
>> No msm8x50, right?
>
> Well, they're just part numbers, and the numbering isn't all that
> consistent over time:
> http://www.qualcomm.com/products_services/chipsets/snapdragon.html
>
> The first snapdragon device was calls a QSD (8250 and 8660).  They are


David, I think you mean "8250 and 8650" here. QSD8250 and QSD8650 are
identical as far as Linux is concerned, whereas MSM8660 is different,
having two cores, etc.


> identical as far as Linux is concerned (the modem is different).  There
> is no MSM on these.  Only these two chips have used the QSD prefix.
>
> The rest of the family went back to the original MSM prefix on the
> names, most in pairs (2 and 6 in the second digit).
>
> The names of the cpu_is macros come right off of the website above
> (including the X).
>
> The confusion is that a new chip is being called MSM8960 (web search
> pulls up lots of hits about it).  Despite any possibile similarities in
> the initial kernel support for this device, it is significantally
> different than the MSM8660.  Even the CPU is different.
>
> I've been debating whether to rename the msm8x60 tests to just pick one
> of the devices (say msm8660) to avoid the confusion with the 8960.  That
> would then, however, be confusing to someone with an MSM8260 device, so
> there isn't a solid win.
>
> The cpu_is_...() tests are the tests to distinguish which particular
> chip the kernel is running on.  They are supposed to be unique, per
> chip.
>
> Classes of chips with similar features would have other tests (see
> cpu_class_is_omap2()) made on top of these checks.
>
> David
>
>> Many thanks.
>>
>>
>> Best Regards
>> David Wange
>>
>>
>> -----Original Message-----
>> From: linux-arm-msm-owner@vger.kernel.org
>> [mailto:linux-arm-msm-owner@vger.kernel.org] On Behalf Of Daniel Walker
>> Sent: Tuesday, January 25, 2011 3:06 PM
>> To: David Brown
>> Cc: linux-arm-msm@vger.kernel.org; linux-kernel@vger.kernel.org;
>> linux-arm-kernel@lists.infradead.org
>> Subject: Re: [PATCH v2 01/11] msm: Add CPU queries
>>
>> On Tue, 2011-01-25 at 11:45 -0800, David Brown wrote:
>>> On Tue, Jan 25 2011, Daniel Walker wrote:
>>>
>>> > On Tue, 2011-01-25 at 11:17 -0800, David Brown wrote:
>>>
>>> > I suggesting we do it across the board because consistency is a good
>>> > thing .. It also allows us to use 8x60 when 8660 and 8960 are
>>> > actually similar .. You can't deny that 8960 is similar to 8660
>>> > because your patches show some duplication due to it.
>>>
>>> You're completely missing the point of these tests.  If _anything_ is
>>> different, the macros need to be different.  I don't care if they're
>>> similar, I need to know when they are different.  That is the point of
>>> the macros.
>>
>> I said you would have macros specifically for 8660 and 8960, so if you
>> need to know when they're different then you have macro's to do that.
>>
>> Daniel
>
> --
> Sent by an employee of the Qualcomm Innovation Center, Inc.
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-arm-msm"
> in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.



WARNING: multiple messages have this Message-ID (diff)
From: stepanm@codeaurora.org (Stepan Moskovchenko)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 01/11] msm: Add CPU queries
Date: Tue, 25 Jan 2011 22:32:44 -0800 (PST)	[thread overview]
Message-ID: <65e852891f18ed0cd764fba918bb842b.squirrel@www.codeaurora.org> (raw)
In-Reply-To: <8yafwsgchlz.fsf@huya.qualcomm.com>


> On Tue, Jan 25 2011, Zhaohui Wang wrote:
>
>> Maybe it's not appropriate to cut in your discussion.
>
> It's quite appropriate.
>
>> Can anyone explain what's the difference between qsd8X50 and msm8x60?
>> No msm8x50, right?
>
> Well, they're just part numbers, and the numbering isn't all that
> consistent over time:
> http://www.qualcomm.com/products_services/chipsets/snapdragon.html
>
> The first snapdragon device was calls a QSD (8250 and 8660).  They are


David, I think you mean "8250 and 8650" here. QSD8250 and QSD8650 are
identical as far as Linux is concerned, whereas MSM8660 is different,
having two cores, etc.


> identical as far as Linux is concerned (the modem is different).  There
> is no MSM on these.  Only these two chips have used the QSD prefix.
>
> The rest of the family went back to the original MSM prefix on the
> names, most in pairs (2 and 6 in the second digit).
>
> The names of the cpu_is macros come right off of the website above
> (including the X).
>
> The confusion is that a new chip is being called MSM8960 (web search
> pulls up lots of hits about it).  Despite any possibile similarities in
> the initial kernel support for this device, it is significantally
> different than the MSM8660.  Even the CPU is different.
>
> I've been debating whether to rename the msm8x60 tests to just pick one
> of the devices (say msm8660) to avoid the confusion with the 8960.  That
> would then, however, be confusing to someone with an MSM8260 device, so
> there isn't a solid win.
>
> The cpu_is_...() tests are the tests to distinguish which particular
> chip the kernel is running on.  They are supposed to be unique, per
> chip.
>
> Classes of chips with similar features would have other tests (see
> cpu_class_is_omap2()) made on top of these checks.
>
> David
>
>> Many thanks.
>>
>>
>> Best Regards
>> David Wange
>>
>>
>> -----Original Message-----
>> From: linux-arm-msm-owner at vger.kernel.org
>> [mailto:linux-arm-msm-owner at vger.kernel.org] On Behalf Of Daniel Walker
>> Sent: Tuesday, January 25, 2011 3:06 PM
>> To: David Brown
>> Cc: linux-arm-msm at vger.kernel.org; linux-kernel at vger.kernel.org;
>> linux-arm-kernel at lists.infradead.org
>> Subject: Re: [PATCH v2 01/11] msm: Add CPU queries
>>
>> On Tue, 2011-01-25 at 11:45 -0800, David Brown wrote:
>>> On Tue, Jan 25 2011, Daniel Walker wrote:
>>>
>>> > On Tue, 2011-01-25 at 11:17 -0800, David Brown wrote:
>>>
>>> > I suggesting we do it across the board because consistency is a good
>>> > thing .. It also allows us to use 8x60 when 8660 and 8960 are
>>> > actually similar .. You can't deny that 8960 is similar to 8660
>>> > because your patches show some duplication due to it.
>>>
>>> You're completely missing the point of these tests.  If _anything_ is
>>> different, the macros need to be different.  I don't care if they're
>>> similar, I need to know when they are different.  That is the point of
>>> the macros.
>>
>> I said you would have macros specifically for 8660 and 8960, so if you
>> need to know when they're different then you have macro's to do that.
>>
>> Daniel
>
> --
> Sent by an employee of the Qualcomm Innovation Center, Inc.
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-arm-msm"
> in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

  reply	other threads:[~2011-01-26  6:33 UTC|newest]

Thread overview: 156+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-15  3:49 [PATCH 0/7] msm: Support for Qualcomm MSM8960 Stepan Moskovchenko
2010-12-15  3:49 ` Stepan Moskovchenko
2010-12-15  3:49 ` [PATCH 1/7] msm: io: I/O register definitions for MSM8960 Stepan Moskovchenko
2010-12-15  3:49   ` Stepan Moskovchenko
2010-12-15 15:31   ` Arnd Bergmann
2010-12-15 15:31     ` Arnd Bergmann
2010-12-15 15:35     ` David Brown
2010-12-15 15:35       ` David Brown
2010-12-15 16:40       ` Arnd Bergmann
2010-12-15 16:40         ` Arnd Bergmann
2010-12-15 22:03         ` David Brown
2010-12-15 22:03           ` David Brown
2010-12-15 22:37           ` Arnd Bergmann
2010-12-15 22:37             ` Arnd Bergmann
2010-12-17  0:16             ` David Brown
2010-12-17  0:16               ` David Brown
2010-12-24 13:29               ` Arnd Bergmann
2010-12-24 13:29                 ` Arnd Bergmann
2010-12-25 16:04                 ` Nicolas Pitre
2010-12-25 16:04                   ` Nicolas Pitre
2011-01-03  0:33                   ` Russell King - ARM Linux
2011-01-03  0:33                     ` Russell King - ARM Linux
2011-01-03  1:04                     ` Nicolas Pitre
2011-01-03  1:04                       ` Nicolas Pitre
2010-12-25 18:40                 ` David Brown
2010-12-25 18:40                   ` David Brown
2010-12-15  3:49 ` [PATCH 2/7] msm: Physical offset " Stepan Moskovchenko
2010-12-15  3:49   ` Stepan Moskovchenko
2010-12-15 13:17   ` Sergei Shtylyov
2010-12-15 13:17     ` Sergei Shtylyov
2010-12-15 13:55     ` David Brown
2010-12-15 13:55       ` David Brown
2010-12-15 14:40       ` Daniel Walker
2010-12-15 14:40         ` Daniel Walker
2010-12-15 15:38         ` David Brown
2010-12-15 15:38           ` David Brown
2010-12-15 17:53           ` Steve Muckle
2010-12-15 17:53             ` Steve Muckle
2010-12-15 17:55           ` Daniel Walker
2010-12-15 17:55             ` Daniel Walker
2010-12-15 18:07             ` Steve Muckle
2010-12-15 18:07               ` Steve Muckle
2010-12-15 18:21               ` Daniel Walker
2010-12-15 18:21                 ` Daniel Walker
2010-12-15  3:49 ` [PATCH 3/7] msm: irqs-8960: Interrupt map " Stepan Moskovchenko
2010-12-15  3:49   ` Stepan Moskovchenko
2010-12-15  3:49 ` [PATCH 4/7] msm: Board file for MSM8960 simulator Stepan Moskovchenko
2010-12-15  3:49   ` Stepan Moskovchenko
2010-12-15 15:36   ` Arnd Bergmann
2010-12-15 15:36     ` Arnd Bergmann
2010-12-15  3:49 ` [PATCH 5/7] msm: timer: Timer support for MSM8960 Stepan Moskovchenko
2010-12-15  3:49   ` Stepan Moskovchenko
2010-12-15  3:49 ` [PATCH 6/7] msm: Makefile cleanup Stepan Moskovchenko
2010-12-15  3:49   ` Stepan Moskovchenko
2010-12-15  3:49 ` [PATCH 7/7] msm: Build support for the MSM8960 target Stepan Moskovchenko
2010-12-15  3:49   ` Stepan Moskovchenko
2010-12-15 15:34   ` Arnd Bergmann
2010-12-15 15:34     ` Arnd Bergmann
2011-01-19 20:25 ` [PATCH v2 00/11] msm: Add initial support for MSM8960 David Brown
2011-01-19 20:25   ` [PATCH v2 01/11] msm: Add CPU queries David Brown
2011-01-19 20:25     ` David Brown
2011-01-25  0:09     ` Daniel Walker
2011-01-25  0:09       ` Daniel Walker
2011-01-25  0:20       ` David Brown
2011-01-25  0:20         ` David Brown
2011-01-25  0:23         ` Daniel Walker
2011-01-25  0:23           ` Daniel Walker
2011-01-25  0:57           ` David Brown
2011-01-25  0:57             ` David Brown
2011-01-25 17:35             ` Daniel Walker
2011-01-25 17:35               ` Daniel Walker
2011-01-25 19:17               ` David Brown
2011-01-25 19:17                 ` David Brown
2011-01-25 19:25                 ` Daniel Walker
2011-01-25 19:25                   ` Daniel Walker
2011-01-25 19:45                   ` David Brown
2011-01-25 19:45                     ` David Brown
2011-01-25 20:06                     ` Daniel Walker
2011-01-25 20:06                       ` Daniel Walker
2011-01-26  4:29                       ` Zhaohui Wang
2011-01-26  4:29                         ` Zhaohui Wang
2011-01-26  6:19                         ` David Brown
2011-01-26  6:19                           ` David Brown
2011-01-26  6:32                           ` Stepan Moskovchenko [this message]
2011-01-26  6:32                             ` Stepan Moskovchenko
2011-01-26  6:52                             ` David Brown
2011-01-26  6:52                               ` David Brown
2011-01-19 20:25   ` [PATCH v2 02/11] msm: Generalize timer register mappings David Brown
2011-01-19 20:25     ` David Brown
2011-01-24 22:36     ` Daniel Walker
2011-01-24 22:36       ` Daniel Walker
2011-01-24 22:44       ` David Brown
2011-01-24 22:44         ` David Brown
2011-01-24 22:57         ` Daniel Walker
2011-01-24 22:57           ` Daniel Walker
2011-01-24 23:19           ` David Brown
2011-01-24 23:19             ` David Brown
2011-01-26 22:12         ` Dima Zavin
2011-01-26 22:12           ` Dima Zavin
2011-01-26 22:12           ` Dima Zavin
2011-01-26 22:41           ` David Brown
2011-01-26 22:41             ` David Brown
2011-01-26 22:50             ` Dima Zavin
2011-01-26 22:50               ` Dima Zavin
2011-01-26 22:50               ` Dima Zavin
2011-01-26 22:46           ` Russell King - ARM Linux
2011-01-26 22:46             ` Russell King - ARM Linux
2011-01-25 18:12     ` Carl Vanderlip
2011-01-25 18:12       ` Carl Vanderlip
2011-01-25 19:18       ` David Brown
2011-01-25 19:18         ` David Brown
2011-01-19 20:25   ` [PATCH v2 03/11] msm: Generalize QGIC registers David Brown
2011-01-19 20:25     ` David Brown
2011-01-19 20:25   ` [PATCH v2 04/11] msm: io: I/O register definitions for MSM8960 David Brown
2011-01-19 20:25     ` David Brown
2011-01-24 20:49     ` Daniel Walker
2011-01-24 20:49       ` Daniel Walker
2011-01-24 21:31       ` David Brown
2011-01-24 21:31         ` David Brown
2011-01-24 21:36         ` Daniel Walker
2011-01-24 21:36           ` Daniel Walker
2011-01-19 20:25   ` [PATCH v2 05/11] msm: Physical offset " David Brown
2011-01-19 20:25     ` David Brown
2011-01-19 20:25     ` David Brown
2011-01-24 23:31     ` Russell King - ARM Linux
2011-01-24 23:31       ` Russell King - ARM Linux
2011-01-19 20:25   ` [PATCH v2 06/11] msm: irqs-8960: Interrupt map " David Brown
2011-01-19 20:25     ` David Brown
2011-01-24 22:45     ` Daniel Walker
2011-01-24 22:45       ` Daniel Walker
2011-01-24 22:49       ` David Brown
2011-01-24 22:49         ` David Brown
2011-01-19 20:25   ` [PATCH v2 07/11] msm: Add MSM 8960 cpu_is check David Brown
2011-01-19 20:25     ` David Brown
2011-01-24 20:46     ` Daniel Walker
2011-01-24 20:46       ` Daniel Walker
2011-01-24 21:30       ` David Brown
2011-01-24 21:30         ` David Brown
2011-01-24 21:35         ` Daniel Walker
2011-01-24 21:35           ` Daniel Walker
2011-01-24 22:13           ` David Brown
2011-01-24 22:13             ` David Brown
2011-01-24 22:16             ` Daniel Walker
2011-01-24 22:16               ` Daniel Walker
2011-01-19 20:25   ` [PATCH v2 08/11] msm: timer: Timer support for MSM8960 David Brown
2011-01-19 20:25     ` David Brown
2011-01-19 20:25   ` [PATCH v2 09/11] msm: Makefile cleanup David Brown
2011-01-19 20:25     ` David Brown
2011-01-19 20:25   ` [PATCH v2 10/11] msm: Support for the MSM8960 Simulator target David Brown
2011-01-19 20:25     ` David Brown
2011-01-19 20:25   ` [PATCH v2 11/11] msm: Support for the MSM8960 RUMI3 target David Brown
2011-01-19 20:25     ` David Brown
2011-01-24 23:28     ` Russell King - ARM Linux
2011-01-24 23:28       ` Russell King - ARM Linux
2011-01-19 22:40 ` [PATCH v2 00/11] msm: Add initial support for MSM8960 David Brown
2011-01-19 22:40   ` David Brown

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=65e852891f18ed0cd764fba918bb842b.squirrel@www.codeaurora.org \
    --to=stepanm@codeaurora.org \
    --cc=davidb@codeaurora.org \
    --cc=dwalker@codeaurora.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=zwange@gmu.edu \
    /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.