[DragonFlyBSD - Submit #2377] Digest submit.v001.n201

submit-errors submit-errors via Redmine bugtracker-admin at leaf.dragonflybsd.org
Thu May 24 20:15:39 PDT 2012


Issue #2377 has been reported by submit-errors submit-errors.

----------------------------------------
Submit #2377: Digest submit.v001.n201
http://bugs.dragonflybsd.org/issues/2377

Author: submit-errors submit-errors
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 


-------------- BEGIN submit.v001.n201 --------------

    001 - Venkatesh Srinivas via Re - [DragonFlyBSD - Submit #2363] Port of FreeBSD clflush and smbi
    002 - Venkatesh Srinivas via Re - [DragonFlyBSD - Submit #2363] (Feedback) Port of FreeBSD clflu

--------------- MESSAGE submit.v001.n201.1 ---------------

From: Venkatesh Srinivas via Redmine 
Subject: [DragonFlyBSD - Submit #2363] Port of FreeBSD clflush and smbios.c
Date: Wed, 23 May 2012 19:26:01 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
References: 


Issue #2363 has been updated by Venkatesh Srinivas.


Commit 087717516887f81d5df331b8118745d0abd26161 should provide CLFLUSH and VM detection. David, good for you DRM purposes?

----------------------------------------
Submit #2363: Port of FreeBSD clflush and smbios.c
http://bugs.dragonflybsd.org/issues/2363

Author: David Shao


Category: 

Port from FreeBSD of function wrapping asm for clflush, required for latest DRM kernel graphics drivers.
(Reference: http://people.freebsd.org/~kib/drm/)

In addition smbios.c has been ported because FreeBSD uses resulting values to decide whether CLFLUSH can
be enabled on virtual machines.

Users can now report (notoriously unreliable) smbios values from kenv.

Ported ability to disable CLFLUSH using set hw.clflush_disable=1.

The function for clflush has not been tested yet.

There may be some concern that adding smbios.c to loader code may lead to unbootable systems for
code that is nonessential; however, the code has not led to unbootable systems on an Asus P4B266
Pentium 4, a Lenovo S10 netbook, an Asus M5A87 amd64, an Asus ULFT20, and Vmware Fusion 3.1.4.

The current port of accompanying vm detection code for clflush is obviously of
cargo-cult quality because some applies to xen and not to vkernels.


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


--------------- MESSAGE submit.v001.n201.2 ---------------

From: Venkatesh Srinivas via Redmine 
Subject: [DragonFlyBSD - Submit #2363] (Feedback) Port of FreeBSD clflush and smbios.c
Date: Wed, 23 May 2012 19:26:22 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
References: 


Issue #2363 has been updated by Venkatesh Srinivas.

Status changed from New to Feedback


----------------------------------------
Submit #2363: Port of FreeBSD clflush and smbios.c
http://bugs.dragonflybsd.org/issues/2363

Author: David Shao


Category: 

Port from FreeBSD of function wrapping asm for clflush, required for latest DRM kernel graphics drivers.
(Reference: http://people.freebsd.org/~kib/drm/)

In addition smbios.c has been ported because FreeBSD uses resulting values to decide whether CLFLUSH can
be enabled on virtual machines.

Users can now report (notoriously unreliable) smbios values from kenv.

Ported ability to disable CLFLUSH using set hw.clflush_disable=1.

The function for clflush has not been tested yet.

There may be some concern that adding smbios.c to loader code may lead to unbootable systems for
code that is nonessential; however, the code has not led to unbootable systems on an Asus P4B266
Pentium 4, a Lenovo S10 netbook, an Asus M5A87 amd64, an Asus ULFT20, and Vmware Fusion 3.1.4.

The current port of accompanying vm detection code for clflush is obviously of
cargo-cult quality because some applies to xen and not to vkernels.


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


--------------- END submit.v001.n201 ---------------


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account





More information about the Submit mailing list