Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1323014 > unrolled thread

[PATCH] hpet: drop stale link

Started by"Michael S. Tsirkin" <mst@redhat.com>
First post2016-02-01 12:40 +0100
Last post2016-02-03 13:00 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] hpet: drop stale link "Michael S. Tsirkin" <mst@redhat.com> - 2016-02-01 12:40 +0100
    Re: [PATCH] hpet: drop stale link Ingo Molnar <mingo@kernel.org> - 2016-02-03 12:00 +0100
      Re: [PATCH] hpet: drop stale link "Michael S. Tsirkin" <mst@redhat.com> - 2016-02-03 13:00 +0100

#1323014 — [PATCH] hpet: drop stale link

From"Michael S. Tsirkin" <mst@redhat.com>
Date2016-02-01 12:40 +0100
Subject[PATCH] hpet: drop stale link
Message-ID<qXkZQ-1UH-17@gated-at.bofh.it>
Looks like the HPET spec at intel.com got moved.
It isn't hard to find so drop the link, just mention
the revision assumed.

Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 drivers/char/hpet.c           | 2 +-
 Documentation/timers/hpet.txt | 2 +-
 arch/x86/Kconfig              | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
index 240b6cf..86c5f4d 100644
--- a/drivers/char/hpet.c
+++ b/drivers/char/hpet.c
@@ -42,7 +42,7 @@
 /*
  * The High Precision Event Timer driver.
  * This driver is closely modelled after the rtc.c driver.
- * http://www.intel.com/hardwaredesign/hpetspec_1.pdf
+ * http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/software-developers-hpet-spec-1-0a.pdf
  */
 #define	HPET_USER_FREQ	(64)
 #define	HPET_DRIFT	(500)
diff --git a/Documentation/timers/hpet.txt b/Documentation/timers/hpet.txt
index 767392f..f24e978 100644
--- a/Documentation/timers/hpet.txt
+++ b/Documentation/timers/hpet.txt
@@ -3,7 +3,7 @@
 The High Precision Event Timer (HPET) hardware follows a specification
 by Intel and Microsoft which can be found at
 
-	http://www.intel.com/hardwaredesign/hpetspec_1.pdf
+http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/software-developers-hpet-spec-1-0a.pdf
 
 Each HPET has one fixed-rate counter (at 10+ MHz, hence "High Precision")
 and up to 32 comparators.  Normally three or more comparators are provided,
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 9af2e63..f32faba 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -778,7 +778,7 @@ config HPET_TIMER
 	  The HPET provides a stable time base on SMP
 	  systems, unlike the TSC, but it is more expensive to access,
 	  as it is off-chip.  You can find the HPET spec at
-	  <http://www.intel.com/hardwaredesign/hpetspec_1.pdf>.
+	  <http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/software-developers-hpet-spec-1-0a.pdf>.
 
 	  You can safely choose Y here.  However, HPET will only be
 	  activated if the platform and the BIOS support this feature.
-- 
MST

[toc] | [next] | [standalone]


#1325193

FromIngo Molnar <mingo@kernel.org>
Date2016-02-03 12:00 +0100
Message-ID<qY3ke-QW-3@gated-at.bofh.it>
In reply to#1323014
* Michael S. Tsirkin <mst@redhat.com> wrote:

> Looks like the HPET spec at intel.com got moved.
> It isn't hard to find so drop the link, just mention
> the revision assumed.
> 
> Suggested-by: Thomas Gleixner <tglx@linutronix.de>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
>  drivers/char/hpet.c           | 2 +-
>  Documentation/timers/hpet.txt | 2 +-
>  arch/x86/Kconfig              | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
> index 240b6cf..86c5f4d 100644
> --- a/drivers/char/hpet.c
> +++ b/drivers/char/hpet.c
> @@ -42,7 +42,7 @@
>  /*
>   * The High Precision Event Timer driver.
>   * This driver is closely modelled after the rtc.c driver.
> - * http://www.intel.com/hardwaredesign/hpetspec_1.pdf
> + * http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/software-developers-hpet-spec-1-0a.pdf
>   */
>  #define	HPET_USER_FREQ	(64)
>  #define	HPET_DRIFT	(500)
> diff --git a/Documentation/timers/hpet.txt b/Documentation/timers/hpet.txt
> index 767392f..f24e978 100644
> --- a/Documentation/timers/hpet.txt
> +++ b/Documentation/timers/hpet.txt
> @@ -3,7 +3,7 @@
>  The High Precision Event Timer (HPET) hardware follows a specification
>  by Intel and Microsoft which can be found at
>  
> -	http://www.intel.com/hardwaredesign/hpetspec_1.pdf
> +http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/software-developers-hpet-spec-1-0a.pdf
>  
>  Each HPET has one fixed-rate counter (at 10+ MHz, hence "High Precision")
>  and up to 32 comparators.  Normally three or more comparators are provided,
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 9af2e63..f32faba 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -778,7 +778,7 @@ config HPET_TIMER
>  	  The HPET provides a stable time base on SMP
>  	  systems, unlike the TSC, but it is more expensive to access,
>  	  as it is off-chip.  You can find the HPET spec at
> -	  <http://www.intel.com/hardwaredesign/hpetspec_1.pdf>.
> +	  <http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/software-developers-hpet-spec-1-0a.pdf>.
>  
>  	  You can safely choose Y here.  However, HPET will only be
>  	  activated if the platform and the BIOS support this feature.

In fact we can also remove the link from this Kconfig entry, as it's highly 
unlikely that a user doing kernel configuration would want to start reading a 
spec.

Thanks,

	Ingo

[toc] | [prev] | [next] | [standalone]


#1325300

From"Michael S. Tsirkin" <mst@redhat.com>
Date2016-02-03 13:00 +0100
Message-ID<qY4gi-1sv-17@gated-at.bofh.it>
In reply to#1325193
On Wed, Feb 03, 2016 at 11:53:07AM +0100, Ingo Molnar wrote:
> 
> * Michael S. Tsirkin <mst@redhat.com> wrote:
> 
> > Looks like the HPET spec at intel.com got moved.
> > It isn't hard to find so drop the link, just mention
> > the revision assumed.
> > 
> > Suggested-by: Thomas Gleixner <tglx@linutronix.de>
> > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> > ---
> >  drivers/char/hpet.c           | 2 +-
> >  Documentation/timers/hpet.txt | 2 +-
> >  arch/x86/Kconfig              | 2 +-
> >  3 files changed, 3 insertions(+), 3 deletions(-)
> > 
> > diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
> > index 240b6cf..86c5f4d 100644
> > --- a/drivers/char/hpet.c
> > +++ b/drivers/char/hpet.c
> > @@ -42,7 +42,7 @@
> >  /*
> >   * The High Precision Event Timer driver.
> >   * This driver is closely modelled after the rtc.c driver.
> > - * http://www.intel.com/hardwaredesign/hpetspec_1.pdf
> > + * http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/software-developers-hpet-spec-1-0a.pdf
> >   */
> >  #define	HPET_USER_FREQ	(64)
> >  #define	HPET_DRIFT	(500)
> > diff --git a/Documentation/timers/hpet.txt b/Documentation/timers/hpet.txt
> > index 767392f..f24e978 100644
> > --- a/Documentation/timers/hpet.txt
> > +++ b/Documentation/timers/hpet.txt
> > @@ -3,7 +3,7 @@
> >  The High Precision Event Timer (HPET) hardware follows a specification
> >  by Intel and Microsoft which can be found at
> >  
> > -	http://www.intel.com/hardwaredesign/hpetspec_1.pdf
> > +http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/software-developers-hpet-spec-1-0a.pdf
> >  
> >  Each HPET has one fixed-rate counter (at 10+ MHz, hence "High Precision")
> >  and up to 32 comparators.  Normally three or more comparators are provided,
> > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> > index 9af2e63..f32faba 100644
> > --- a/arch/x86/Kconfig
> > +++ b/arch/x86/Kconfig
> > @@ -778,7 +778,7 @@ config HPET_TIMER
> >  	  The HPET provides a stable time base on SMP
> >  	  systems, unlike the TSC, but it is more expensive to access,
> >  	  as it is off-chip.  You can find the HPET spec at
> > -	  <http://www.intel.com/hardwaredesign/hpetspec_1.pdf>.
> > +	  <http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/software-developers-hpet-spec-1-0a.pdf>.
> >  
> >  	  You can safely choose Y here.  However, HPET will only be
> >  	  activated if the platform and the BIOS support this feature.
> 
> In fact we can also remove the link from this Kconfig entry, as it's highly 
> unlikely that a user doing kernel configuration would want to start reading a 
> spec.
> 
> Thanks,
> 
> 	Ingo

Hmm looks like the patch does not match the description.
Maybe I forgot to commit, or something.
Sorry - will repost.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web