summaryrefslogtreecommitdiff
path: root/bsd-core/via
diff options
context:
space:
mode:
authorJesse Barnes <jesse.barnes@intel.com>2007-06-22 11:06:51 -0700
committerJesse Barnes <jesse.barnes@intel.com>2007-06-22 11:06:51 -0700
commit97dcd7fd25c18d5148619254229f8d94efb55b44 (patch)
treef7e1c4e47b45241027b5ceaeb726162fd82e2b56 /bsd-core/via
parent2d24455ed8b12df6d06d135cb70f02473d11f4b0 (diff)
more vblank rework
- use a timer for disabling vblank events to avoid enable/disable calls too often - make i915 work with pre-965 chips again (would like to structure this better, but this hack works on my test system)
Diffstat (limited to 'bsd-core/via')
0 files changed, 0 insertions, 0 deletions
3 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043
316 & 05 Mar 2014 & Michael S. Tsirkin & { legacy framing: scsi host
 } \\
\hline
315 & 05 Mar 2014 & Michael S. Tsirkin & { legacy message framing: console device
 } \\
\hline
314 & 05 Mar 2014 & Michael S. Tsirkin & { block: legacy message framing
 } \\
\hline
313 & 05 Mar 2014 & Michael S. Tsirkin & { message framing: rusty's comments

generic note on message framing

specific requirements listed for net device only
 } \\
\hline
312 & 05 Mar 2014 & Michael S. Tsirkin & { legacy devices: get rid of MUST assume

as Rusty points out MUST assume is not very good requirement.

clarify it.
 } \\
\hline
311 & 05 Mar 2014 & Michael S. Tsirkin & { transitional driver features: fix typos noted by Rusty
 } \\
\hline
310 & 03 Mar 2014 & Rusty Russell & { Formatting: use latex-style quoting everywhere.

Doesn't look any different, but consistent.
 } \\
\hline
309 & 03 Mar 2014 & Rusty Russell & { Use ellipsis (aka \textbackslash ldots) everywhere.

And use the ellipsis package, which makes it symmetrical.
 } \\
\hline
308 & 03 Mar 2014 & Rusty Russell & { PCI: Tighten requirements.

1) make it clear that queue_enable is 0 on reset.

2) device MUST present a  VIRTIO_PCI_CAP_DEVICE_CFG if needed for type.
 } \\
\hline
307 & 02 Mar 2014 & Michael S. Tsirkin & { initialization: minor clarification

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014

"it" could refer to failed bit or the driver.

clarify.
 } \\
\hline
306 & 02 Mar 2014 & Michael S. Tsirkin & { fix rfc2119 reference

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014

VIRTIO-68

Cc: Patrick Durusau <patrick@durusau.net>
 } \\
\hline
305 & 02 Mar 2014 & Michael S. Tsirkin & { VIRTIO-67: fix html redirects

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014

1. oasis switched to https

2. Red Hat  is www.redhat.com

Cc: Patrick Durusau <patrick@durusau.net>
 } \\
\hline
304 & 02 Mar 2014 & Michael S. Tsirkin & { feedback: clarify device status bits

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014

VIRTIO-70

Cc: Patrick Durusau <patrick@durusau.net>
 } \\
\hline
303 & 02 Mar 2014 & Michael S. Tsirkin & { legacy interface: move to terminology

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014

VIRTIO-64

Cc: Patrick Durusau <patrick@durusau.net
 } \\
\hline
302 & 02 Mar 2014 & Michael S. Tsirkin & { introduction: add link to 0.9.5 specification

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014

this version replaces it, so it's a non normative reference.

VIRTIO-69

note: the link is added here but isn't used yet: will be used

when we cleanup terminology definitions, by

addressing VIRTIO-64

Cc: Patrick Durusau <patrick@durusau.net
 } \\
\hline
301 & 02 Mar 2014 & Michael S. Tsirkin & { non-transitional devices with legacy drivers

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014

weaken hacky requirements helpful for graceful failure

for non transitional PCI devices from MUST to SHOULD.

It's nice to have but it's not like it makes things work, and you

can avoid trouble simply by using the most recent drivers.

also move them out to a separate section
 } \\
\hline
300 & 02 Mar 2014 & Michael S. Tsirkin & { conformance: document two types of devices

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014

document that there are two conformance levels
 } \\
\hline
299 & 02 Mar 2014 & Michael S. Tsirkin & { legacy device initialization: confirmance statements

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014
 } \\
\hline
298 & 02 Mar 2014 & Michael S. Tsirkin & { legacy virtqueue layout: confirmance

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014
 } \\
\hline
297 & 02 Mar 2014 & Michael S. Tsirkin & { legacy: make all notes on endian-ness confirmance clauses

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014
 } \\
\hline
296 & 02 Mar 2014 & Michael S. Tsirkin & { legacy feature bits: confirmance statements

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014
 } \\
\hline
295 & 02 Mar 2014 & Michael S. Tsirkin & { leacy: layout detection confirmance

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014
 } \\
\hline
294 & 02 Mar 2014 & Michael S. Tsirkin & { legacy pci layout: extra confirmance statement

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014
 } \\
\hline
293 & 02 Mar 2014 & Michael S. Tsirkin & { legacy pci layout: confirmance statements

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014
 } \\
\hline
292 & 02 Mar 2014 & Michael S. Tsirkin & { legacy: make message framing normative

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014

TODO: we really should be more specific
 } \\
\hline
291 & 02 Mar 2014 & Michael S. Tsirkin & { legacy: make note on legacy VQ endian-ness normative

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014
 } \\
\hline
290 & 02 Mar 2014 & Michael S. Tsirkin & { Legacy Interface: Device Configuration Space

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014

legacy has no generation field.

add SHOULD statement to document multi-byte field

access rules.
 } \\
\hline
289 & 02 Mar 2014 & Michael S. Tsirkin & { legacy: clarify general note on endian-ness

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014

this is a non normative section.

we merely mention that details are given

for each device.
 } \\
\hline
288 & 02 Mar 2014 & Michael S. Tsirkin & { content: explain that legacy support is optional

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014
 } \\
\hline
287 & 02 Mar 2014 & Michael S. Tsirkin & { drop /* LEGACY version was not little endian */

Two issues with the comment:

	- it mixes legacy documentation in main part of the spec

	- it says what format *isn't* - instead of what it *is*

Now that we have documented that LE can mean

legacy endian, there's no need for the comment.

Resolves issues:

	VIRTIO-58

Change accepted on Virtio TC Meeting Minutes: Feb 25, 2014
 } \\
\hline
286 & 27 Feb 2014 & Rusty Russell & { Fixed path of linux version of virtio_ring.h
 } \\
\hline
285 & 26 Feb 2014 & Pawel Moll & { mmio: Clarify normative requirement on QueueNum

Minor fix: add explicit reference to QueueNumMax in the

normative paragraph describing QueueNum.
 } \\
\hline
284 & 26 Feb 2014 & Pawel Moll & { mmio: Fix double register macro
Minor fix: commit 238 wrapped register names in \textbackslash field\{\}s

and modified one of the register table macros, but missed

the other one.
 } \\
\hline
283 & 26 Feb 2014 & Pawel Moll & { mmio: Fix Device Tree example

Minor fix: the size of 0x100 was obviously wrong,

as it didn't allow for configuration space.
 } \\
\hline
282 & 26 Feb 2014 & Cornelia Huck & { introduction: typo in terminology section

s/device/driver/ for the transitional driver description.
 } \\
\hline
281 & 26 Feb 2014 & Rusty Russell & { ccw: Fix requirements for processing adapter interrupts.

We currently mandate that the driver clears the summary indicator

before processing the queue indicator; this is bogus, as the requirement

for interrupt avoidance is rather that the driver unsets the summary

indicator before before it stops looking at the queue indicator.

In fact, the best way to get a race-free implementation of the interrupt

handler is to process the queue indicators twice; let's add a recommondation

to do that.
 } \\
\hline
280 & 26 Feb 2014 & Rusty Russell & { VIRTIO-45: Add a reserved ID for Timer/Clock device

Just add a reserved ID for Timer/Clock device. There is no work

on it yet but it is nice to have the ID which could be used safely

in preliminary implementations.
 } \\
\hline
279 & 26 Feb 2014 & Rusty Russell & { VIRTIO-28: Deprecate balloon device, add number for new one.
 } \\
\hline
278 & 26 Feb 2014 & Rusty Russell & { Feedback: VIRTIO-77 Conformance clause.

Now we have grouped all the normative statements, the conformance

clauses for drivers and devices can simply reference them.
 } \\
\hline
277 & 26 Feb 2014 & Rusty Russell & { Feedback: Separate normative requirements for Reserved Feature Bits.
 } \\
\hline
276 & 26 Feb 2014 & Rusty Russell & { Feedback: SCSI: Separate normative and descriptive texts.

This could use some more rigour, I think: there are still many

implied requirements which could be called out.
 } \\
\hline
275 & 26 Feb 2014 & Rusty Russell & { Feedback: console \& entropy: separate normative and descriptive texts.
 } \\
\hline
274 & 26 Feb 2014 & Rusty Russell & { Feedback: block: separate normative and descriptive text.
 } \\
\hline
273 & 26 Feb 2014 & Rusty Russell & { Feedback: net: separate normative and instructional text.
 } \\
\hline
272 & 26 Feb 2014 & Rusty Russell & { Feedback: CCW: Separate normative and descriptive sections.
 } \\
\hline
271 & 26 Feb 2014 & Rusty Russell & { Feedback: MMIO: Separate normative and descriptive text.

The section on initialization is now non-normative.
 } \\
\hline
270 & 26 Feb 2014 & Rusty Russell & { Feedback: PCI: Separate explanatory and normative text.

Rather than treat selectors 0 and 1 as special, the wording for features

is made more general (though still the same effect).

I split the interrupt handler into a separate subsection: it was

misleading because it didn't handle configuration interrupts until

the next section.  It's also non-normative.
 } \\
\hline
269 & 26 Feb 2014 & Rusty Russell & { Feedback: Separate the rest of chapter 2 into normative vs explanatory.

The big change here is in introducing new subsections for interrupt and notification

suppression, and moving all requirements into them.

The example processing loop is also moved into a note, to show clearly

that it's not normative.
 } \\
\hline
268 & 26 Feb 2014 & Rusty Russell & { Feedback: Normative split for Basic Facilities of a Virtio Device / Virtqueues / Message Framing
 } \\
\hline
267 & 26 Feb 2014 & Rusty Russell & { Feedback: Normative split in Basic Facilities of a Virtio Device / Virtqueues
 } \\
\hline
266 & 26 Feb 2014 & Rusty Russell & { Feedback: split Basic Facilities feature bits and config space into normative.

Split text into descriptive and normative.
 } \\
\hline
265 & 26 Feb 2014 & Rusty Russell & { Feedback: add normative marker.
From \url{http://docs.oasis-open.org/templates/TCHandbook/ConformanceGuidelines.html:}

   Normative statements MUST be referenceable so that a statement may be

   referenced from another part of a specification, but more importantly

   so they can be referenced from Conformance Clauses.
 } \\
\hline
264 & 26 Feb 2014 & Rusty Russell & { Feedback: 2.1 Device Status field: Separate description from normative.

Start with explanation, progress to normative requirements.
 } \\
\hline
263 & 26 Feb 2014 & Rusty Russell & { Feedback: move legacy/transitional definitions into terminology.
 } \\