Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2023 17:28:31 +0200
From:      Sebastian Huber <sebastian.huber@embedded-brains.de>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        hackers@freebsd.org
Subject:   Re: Remove timecounter tc_counter_mask member?
Message-ID:  <d3e9e071-f4f9-40a9-b656-92a8853ddb08@embedded-brains.de>
In-Reply-To: <202309162044.38GKi7RZ022115@critter.freebsd.dk>
References:  <bc1a7b28-5e7b-4ee6-aae8-f95adc65fc76@embedded-brains.de> <202309162044.38GKi7RZ022115@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16.09.23 22:44, Poul-Henning Kamp wrote:
> Sebastian Huber writes:
>=20
>> the timecounter structure contains a tc_counter_mask which enables
>> support for time counters implementing less than 32-bits:
>> Is the sys/x86/isa/clock.c still used? Are there chips on the market
>> with 24-bit ACPI timers?
> ... and are there any FreeBSD platforms using narrow timecounters
> outside the src-tree ?
>=20
> My personal gut feeling, is that we can get away with it, once i386
> is out of the picture.

If it is in principle acceptable to remove the tc_counter_mask at some=20
point in time, would it make sense to issue a warning if a timecounter=20
is installed with a mask not equal to 0xffffffff?

--=20
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht M=C3=BCnchen
Registernummer: HRB 157899
Vertretungsberechtigte Gesch=C3=A4ftsf=C3=BChrer: Peter Rasmussen, Thomas=
 D=C3=B6rfler
Unsere Datenschutzerkl=C3=A4rung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d3e9e071-f4f9-40a9-b656-92a8853ddb08>