aboutsummaryrefslogtreecommitdiffstats
BranchCommit messageAuthorAge
archive/unc-master-3.0P-FP: fix BUG_ON releated to priority inheritanceBjoern Brandenburg12 years
archived-2013.1uncachedev: mmap memory that is not cached by CPUsGlenn Elliott11 years
archived-private-masterMerge branch 'wip-2.6.34' into old-private-masterAndrea Bastoni15 years
archived-semi-partMerge branch 'wip-semi-part' of ssh://cvs/cvs/proj/litmus/repo/litmus2010 int...Andrea Bastoni14 years
demoFurther refinementsJonathan Herman13 years
ecrts-pgm-finalMerge branch 'wip-ecrts14-pgm' of ssh://rtsrv.cs.unc.edu/home/litmus/litmus-r...Glenn Elliott11 years
ecrts14-pgm-finalMerge branch 'wip-ecrts14-pgm' of ssh://rtsrv.cs.unc.edu/home/litmus/litmus-r...Glenn Elliott11 years
gpusync-rtss12Final GPUSync implementation.Glenn Elliott12 years
gpusync/stagingRename IKGLP R2DGLP.Glenn Elliott11 years
linux-tipMerge branch 'slab/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds14 years
litmus2008-patch-seriesadd i386 feather-trace implementationBjoern B. Brandenburg15 years
masterPSN-EDF: use inferred_sporadic_job_release_atBjoern Brandenburg9 years
pgmmake it compileGlenn Elliott12 years
prop/litmus-signalsInfrastructure for Litmus signals.Glenn Elliott12 years
prop/robust-tie-breakFixed bug in edf_higher_prio().Glenn Elliott12 years
stagingFix tracepoint compilation errorFelipe Cerqueira12 years
test9/23/2016Namhoon Kim8 years
tracing-develTest kernel tracing events capabilitiesAndrea Bastoni15 years
v2.6.34-with-arm-patchessmsc911x: Add spinlocks around registers accessCatalin Marinas15 years
v2015.1Add ARM syscall def for get_current_budgetBjoern Brandenburg9 years
wip-2011.2-bbbLitmus core: simplify np-section protocolBjoern B. Brandenburg13 years
wip-2011.2-bbb-traceRefactor sched_trace_log_message() -> debug_trace_log_message()Andrea Bastoni13 years
wip-2012.3-gpuSOBLIV draining support for C-EDF.Glenn Elliott12 years
wip-2012.3-gpu-preportpick up last C-RM fileGlenn Elliott11 years
wip-2012.3-gpu-rtss13Fix critical bug in GPU tracker.Glenn Elliott11 years
wip-2012.3-gpu-sobliv-budget-w-ksharkProper sobliv draining and many bug fixes.Glenn Elliott12 years
wip-aedzl-finalMake it easier to compile AEDZL interfaces in liblitmus.Glenn Elliott14 years
wip-aedzl-revisedAdd sched_trace data for Apative EDZLGlenn Elliott14 years
wip-arbit-deadlineFix compilation bug.Glenn Elliott13 years
wip-aux-tasksDescription of refined aux task inheritance.Glenn Elliott12 years
wip-bbbGSN-EDF & Core: improve debug TRACE'ing for NP sectionsBjoern B. Brandenburg13 years
wip-bbb-prio-donuse correct timestampBjoern B. Brandenburg13 years
wip-better-breakImplement hash-based EDF tie-breaking.Glenn Elliott12 years
wip-binary-heapMake C-EDF work with simplified binheap_deleteGlenn Elliott13 years
wip-budgetAdded support for choices in budget policy enforcement.Glenn Elliott15 years
wip-colorSummarize schedulability with final recordJonathan Herman13 years
wip-color-jlhsched_color: Fixed two bugs causing crashing on experiment restart and a rare...Jonathan Herman13 years
wip-d10-hz1000Enable HZ=1000 on District 10Bjoern B. Brandenburg14 years
wip-default-clusteringFeature: Make default C-EDF clustering compile-time configurable.Glenn Elliott14 years
wip-dissipation-jericksoUpdate from 2.6.36 to 2.6.36.4Jeremy Erickson11 years
wip-dissipation2-jericksoUpdate 2.6.36 to 2.6.36.4Jeremy Erickson11 years
wip-ecrts14-pgmMerge branch 'wip-ecrts14-pgm' of ssh://rtsrv.cs.unc.edu/home/litmus/litmus-r...Glenn Elliott11 years
wip-edf-hsblast tested versionJonathan Herman13 years
wip-edf-osLookup table EDF-osJeremy Erickson12 years
wip-edf-tie-breakMerge branch 'wip-edf-tie-break' of ssh://rtsrv.cs.unc.edu/home/litmus/litmus...Glenn Elliott12 years
wip-edzl-critiqueUse hr_timer's active checks instead of having own flag.Glenn Elliott14 years
wip-edzl-finalImplementation of the EDZL scheduler.Glenn Elliott14 years
wip-edzl-revisedClean up comments.Glenn Elliott14 years
wip-eventsAdded support for tracing arbitrary actions.Jonathan Herman14 years
wip-extra-debugDBG: add additional tracingBjoern B. Brandenburg14 years
wip-fix-switch-jericksoAttempt to fix race condition with plugin switchingJeremy Erickson14 years
wip-fix3sched: show length of runqueue clock deactivation in /proc/sched_debugBjoern B. Brandenburg14 years
wip-fmlp-dequeueImprove FMLP queue management.Glenn Elliott14 years
wip-ft-irq-flagFeather-Trace: keep track of interrupt-related interference.Bjoern B. Brandenburg13 years
wip-gpu-cleanupEnable sched_trace log injection from userspaceGlenn Elliott12 years
wip-gpu-interruptsRemove option for threading of all softirqs.Glenn Elliott13 years
wip-gpu-rtas12Generalized GPU cost predictors + EWMA. (untested)Glenn Elliott12 years
wip-gpu-rtss12Final GPUSync implementation.Glenn Elliott13 years
wip-gpu-rtss12-srpexperimental changes to support GPUs under SRPGlenn Elliott13 years
wip-gpusync-mergeCleanup priority tracking for budget enforcement.Glenn Elliott11 years
wip-ikglpMove RSM and IKGLP imp. to own .c filesGlenn Elliott13 years
wip-k-fmlpMerge branch 'mpi-master' into wip-k-fmlpGlenn Elliott13 years
wip-kernel-coloringAdded recolor syscallNamhoon Kim7 years
wip-kernthreadsKludge work-queue processing into klitirqd.Glenn Elliott14 years
wip-klmirqd-to-auxAllow klmirqd threads to be given names.Glenn Elliott12 years
wip-ksharkMerge branch 'mpi-staging' into wip-ksharkJonathan Herman12 years
wip-litmus-3.2Merge commit 'v3.2' into litmus-stagingAndrea Bastoni12 years
wip-litmus2011.2Cleanup: Coding conformance for affinity stuff.Glenn Elliott14 years
wip-litmus3.0-2011.2Feather-Trace: keep track of interrupt-related interference.Bjoern B. Brandenburg13 years
wip-master-2.6.33-rtAvoid deadlock when switching task policy to BACKGROUND (ugly)Andrea Bastoni15 years
wip-mcRemoved ARM-specific hacks which disabled less common mixed-criticality featu...Jonathan Herman12 years
wip-mc-bipasaMC-EDF addedbipasa chattopadhyay13 years
wip-mc-jericksoSplit C/D queuesJeremy Erickson14 years
wip-mc2-cache-slackManually patched mc^2 related codeMing Yang9 years
wip-mcrit-maccosmeticMac Mollison14 years
wip-merge-3.0Prevent Linux to send IPI and queue tasks on remote CPUs.Andrea Bastoni13 years
wip-merge-v3.0Prevent Linux to send IPI and queue tasks on remote CPUs.Andrea Bastoni13 years
wip-migration-affinityNULL affinity dereference in C-EDF.Glenn Elliott14 years
wip-mmap-uncacheshare branch with othersGlenn Elliott12 years
wip-modechangeRTSS 2017 submissionNamhoon Kim8 years
wip-nested-lockingAppears to be working.Bryan Ward12 years
wip-omlp-gedfFirst implementation of G-OMLP.Glenn Elliott14 years
wip-paiSome cleanup of PAIGlenn Elliott13 years
wip-percore-lib9/21/2016Namhoon Kim8 years
wip-performanceCONFIG_DONT_PREEMPT_ON_TIE: Don't preeempt a scheduled task on priority tie.Glenn Elliott14 years
wip-pgmAdd PGM support to C-FLGlenn Elliott11 years
wip-pgm-splitFirst draft of C-FL-splitNamhoon Kim11 years
wip-pm-ovdAdd preemption-and-migration overhead tracing supportAndrea Bastoni15 years
wip-prio-inhP-EDF updated to use the generic pi framework.Glenn Elliott14 years
wip-prioq-dglBUG FIX: Support DGLs with PRIOQ_MUTEXGlenn Elliott12 years
wip-refactored-gedfGeneralizd architecture for GEDF-style scheduelrs to reduce code redundancy.Glenn Elliott14 years
wip-release-master-fixbugfix: release master CPU must signal task was pickedBjoern B. Brandenburg14 years
wip-robust-tie-breakEDF priority tie-breaks.Glenn Elliott12 years
wip-rt-ksharkMove task time accounting into the complete_job method.Jonathan Herman12 years
wip-rtas12-pgmScheduling of PGM jobs.Glenn Elliott13 years
wip-semi-partFix compile error with newer GCCJeremy Erickson12 years
wip-semi-part-edfos-jericksoUse initial CPU set by clientJeremy Erickson12 years
wip-shared-libTODO: Fix condition checks in replicate_page_move_mapping()Namhoon Kim8 years
wip-shared-lib2RTAS 2017 Submission ver.Namhoon Kim8 years
wip-shared-memInitial commit for shared libraryNamhoon Kim8 years
wip-splitting-jericksoFix release behaviorJeremy Erickson12 years
wip-splitting-omlp-jericksoBjoern's Dissertation Code with Priority DonationJeremy Erickson12 years
wip-stage-binheapAn efficient binary heap implementation.Glenn Elliott13 years
wip-sun-portDynamic memory allocation and clean exit for FeatherTraceChristopher Kenna14 years
wip-timer-tracebugfix: C-EDF, clear scheduled field of the correct CPU upon task_exitAndrea Bastoni14 years
wip-tracepointsAdd kernel-style events for sched_trace_XXX() functionsAndrea Bastoni13 years
 
TagDownloadAuthorAge
2015.1commit 8e51b37822...Bjoern Brandenburg9 years
2013.1commit bcaacec1ca...Glenn Elliott11 years
2012.3commit c158b5fbe4...Jonathan Herman12 years
2012.2commit b53c479a0f...Glenn Elliott12 years
2012.1commit 83b11ea1c6...Bjoern B. Brandenburg13 years
rtas12-mc-beta-expcommit 8e236ee20f...Christopher Kenna13 years
2011.1commit d11808b5c6...Christopher Kenna14 years
v2.6.37-rc4commit e8a7e48bb2...Linus Torvalds14 years
v2.6.37-rc3commit 3561d43fd2...Linus Torvalds14 years
v2.6.37-rc2commit e53beacd23...Linus Torvalds14 years
v2.6.37-rc1commit c8ddb2713c...Linus Torvalds14 years
v2.6.36commit f6f94e2ab1...Linus Torvalds14 years
2010.2commit 5c5456402d...Bjoern B. Brandenburg14 years
v2.6.36-rc8commit cd07202cc8...Linus Torvalds14 years
v2.6.36-rc7commit cb655d0f3d...Linus Torvalds14 years
v2.6.36-rc6commit 899611ee7d...Linus Torvalds14 years
v2.6.36-rc5commit b30a3f6257...Linus Torvalds14 years
v2.6.36-rc4commit 49553c2ef8...Linus Torvalds14 years
v2.6.36-rc3commit 2bfc96a127...Linus Torvalds14 years
v2.6.36-rc2commit 76be97c1fc...Linus Torvalds14 years
v2.6.36-rc1commit da5cabf80e...Linus Torvalds14 years
v2.6.35commit 9fe6206f40...Linus Torvalds14 years
v2.6.35-rc6commit b37fa16e78...Linus Torvalds15 years
v2.6.35-rc5commit 1c5474a65b...Linus Torvalds15 years
v2.6.35-rc4commit 815c4163b6...Linus Torvalds15 years
v2.6.35-rc3commit 7e27d6e778...Linus Torvalds15 years
v2.6.35-rc2commit e44a21b726...Linus Torvalds15 years
v2.6.35-rc1commit 67a3e12b05...Linus Torvalds15 years
2010.1commit 7c1ff4c544...Andrea Bastoni15 years
v2.6.34commit e40152ee1e...Linus Torvalds15 years
v2.6.33.4commit 4640b4e7d9...Greg Kroah-Hartman15 years
v2.6.34-rc7commit b57f95a382...Linus Torvalds15 years
v2.6.34-rc6commit 66f41d4c5c...Linus Torvalds15 years
v2.6.33.3commit 3e7ad8ed97...Greg Kroah-Hartman15 years
v2.6.34-rc5commit 01bf0b6457...Linus Torvalds15 years
v2.6.34-rc4commit 0d0fb0f9c5...Linus Torvalds15 years
v2.6.33.2commit 19f00f070c...Greg Kroah-Hartman15 years
v2.6.34-rc3commit 2eaa9cfdf3...Linus Torvalds15 years
v2.6.34-rc2commit 220bf991b0...Linus Torvalds15 years
v2.6.33.1commit dbdafe5ccf...Greg Kroah-Hartman15 years
v2.6.34-rc1commit 57d54889cd...Linus Torvalds15 years
v2.6.33commit 60b341b778...Linus Torvalds15 years
v2.6.33-rc8commit 724e6d3fe8...Linus Torvalds15 years
v2.6.33-rc7commit 29275254ca...Linus Torvalds15 years
v2.6.33-rc6commit abe94c756c...Linus Torvalds15 years
v2.6.33-rc5commit 92dcffb916...Linus Torvalds15 years
v2.6.33-rc4commit 7284ce6c9f...Linus Torvalds15 years
v2.6.33-rc3commit 74d2e4f8d7...Linus Torvalds15 years
v2.6.33-rc2commit 6b7b284958...Linus Torvalds15 years
v2.6.33-rc1commit 55639353a0...Linus Torvalds15 years
v2.6.32commit 22763c5cf3...Linus Torvalds15 years
v2.6.32-rc8commit 648f4e3e50...Linus Torvalds15 years
v2.6.32-rc7commit 156171c71a...Linus Torvalds15 years
v2.6.32-rc6commit b419148e56...Linus Torvalds15 years
v2.6.32-rc5commit 012abeea66...Linus Torvalds15 years
v2.6.32-rc4commit 161291396e...Linus Torvalds15 years
v2.6.32-rc3commit 374576a8b6...Linus Torvalds15 years
v2.6.32-rc1commit 17d857be64...Linus Torvalds15 years
v2.6.32-rc2commit 17d857be64...Linus Torvalds15 years
v2.6.31commit 74fca6a428...Linus Torvalds15 years
v2.6.31-rc9commit e07cccf404...Linus Torvalds15 years
v2.6.31-rc8commit 326ba5010a...Linus Torvalds15 years
v2.6.31-rc7commit 422bef879e...Linus Torvalds15 years
v2.6.31-rc6commit 64f1607ffb...Linus Torvalds15 years
v2.6.31-rc5commit ed680c4ad4...Linus Torvalds15 years
v2.6.31-rc4commit 4be3bd7849...Linus Torvalds16 years
v2.6.31-rc3commit 6847e154e3...Linus Torvalds16 years
v2.6.31-rc2commit 8e4a718ff3...Linus Torvalds16 years
v2.6.31-rc1commit 28d0325ce6...Linus Torvalds16 years
v2.6.30commit 07a2039b8e...Linus Torvalds16 years
v2.6.30-rc8commit 9fa7eb283c...Linus Torvalds16 years
v2.6.30-rc7commit 59a3759d0f...Linus Torvalds16 years
v2.6.30-rc6commit 1406de8e11...Linus Torvalds16 years
v2.6.30-rc5commit 091bf7624d...Linus Torvalds16 years
v2.6.30-rc4commit 091438dd56...Linus Torvalds16 years
v2.6.30-rc3commit 0910697403...Linus Torvalds16 years
v2.6.30-rc2commit 0882e8dd3a...Linus Torvalds16 years
v2.6.30-rc1commit 577c9c456f...Linus Torvalds16 years
v2.6.29commit 8e0ee43bc2...Linus Torvalds16 years
v2.6.29-rc8commit 041b62374c...Linus Torvalds16 years
v2.6.29-rc7commit fec6c6fec3...Linus Torvalds16 years
v2.6.29-rc6commit 20f4d6c3a2...Linus Torvalds16 years
v2.6.29-rc5commit d2f8d7ee1a...Linus Torvalds16 years
v2.6.29-rc4commit 8e4921515c...Linus Torvalds16 years
v2.6.29-rc3commit 18e352e4a7...Linus Torvalds16 years
v2.6.29-rc2commit 1de9e8e70f...Linus Torvalds16 years
v2.6.29-rc1commit c59765042f...Linus Torvalds16 years
v2.6.28commit 4a6908a3a0...Linus Torvalds16 years
v2.6.28-rc9commit 929096fe9f...Linus Torvalds16 years
v2.6.28-rc8commit 8b1fae4e42...Linus Torvalds16 years
v2.6.28-rc7commit 061e41fdb5...Linus Torvalds16 years
v2.6.28-rc6commit 13d428afc0...Linus Torvalds16 years
v2.6.28-rc5commit 9bf1a2445f...Linus Torvalds16 years
v2.6.28-rc4commit f7160c7573...Linus Torvalds16 years
v2.6.28-rc3commit 45beca08dd...Linus Torvalds16 years
v2.6.28-rc2commit 0173a3265b...Linus Torvalds16 years
v2.6.28-rc1commit 57f8f7b60d...Linus Torvalds16 years
v2.6.27commit 3fa8749e58...Linus Torvalds16 years
v2.6.27-rc9commit 4330ed8ed4...Linus Torvalds16 years
v2.6.27-rc8commit 94aca1dac6...Linus Torvalds16 years
v2.6.27-rc7commit 72d31053f6...Linus Torvalds16 years
v2.6.27-rc6commit adee14b2e1...Linus Torvalds16 years
v2.6.27-rc5commit 24342c34a0...Linus Torvalds16 years
v2.6.27-rc4commit 6a55617ed5...Linus Torvalds16 years
v2.6.27-rc3commit 30a2f3c60a...Linus Torvalds16 years
v2.6.27-rc2commit 0967d61ea0...Linus Torvalds16 years
v2.6.27-rc1commit 6e86841d05...Linus Torvalds16 years
v2.6.26commit bce7f793da...Linus Torvalds17 years
v2.6.26-rc9commit b7279469d6...Linus Torvalds17 years
v2.6.26-rc8commit 543cf4cb3f...Linus Torvalds17 years
v2.6.26-rc7commit d70ac829b7...Linus Torvalds17 years
v2.6.26-rc6commit 5dd34572ad...Linus Torvalds17 years
v2.6.26-rc5commit 53c8ba9540...Linus Torvalds17 years
v2.6.26-rc4commit e490517a03...Linus Torvalds17 years
v2.6.26-rc3commit b8291ad07a...Linus Torvalds17 years
v2.6.26-rc2commit 492c2e476e...Linus Torvalds17 years
v2.6.26-rc1commit 2ddcca36c8...Linus Torvalds17 years
v2.6.25commit 4b119e21d0...Linus Torvalds17 years
v2.6.25-rc9commit 120dd64cac...Linus Torvalds17 years
v2.6.25-rc8commit 0e81a8ae37...Linus Torvalds17 years
v2.6.25-rc7commit 05dda977f2...Linus Torvalds17 years
v2.6.25-rc6commit a978b30af3...Linus Torvalds17 years
v2.6.25-rc5commit cdeeeae056...Linus Torvalds17 years
v2.6.25-rc4commit 29e8c3c304...Linus Torvalds17 years
v2.6.25-rc3commit bfa274e243...Linus Torvalds17 years
v2.6.25-rc2commit 101142c37b...Linus Torvalds17 years
v2.6.25-rc1commit 19af35546d...Linus Torvalds17 years
v2.6.24commit 49914084e7...Linus Torvalds17 years
v2.6.24-rc8commit cbd9c88369...Linus Torvalds17 years
v2.6.24-rc7commit 3ce5445046...Linus Torvalds17 years
v2.6.24-rc6commit ea67db4cdb...Linus Torvalds17 years
v2.6.24-rc5commit 82d29bf6dc...Linus Torvalds17 years
v2.6.24-rc4commit 09b56adc98...Linus Torvalds17 years
v2.6.24-rc3commit d9f8bcbf67...Linus Torvalds17 years
v2.6.24-rc2commit dbeeb816e8...Linus Torvalds17 years
v2.6.24-rc1commit c9927c2bf4...Linus Torvalds17 years
v2.6.23commit bbf25010f1...Linus Torvalds17 years
v2.6.23-rc9commit 3146b39c18...Linus Torvalds17 years
v2.6.23-rc8commit 4942de4a0e...Linus Torvalds17 years
v2.6.23-rc7commit 81cfe79b9c...Linus Torvalds17 years
v2.6.23-rc6commit 0d4cbb5e7f...Linus Torvalds17 years
v2.6.23-rc5commit 40ffbfad6b...Linus Torvalds17 years
v2.6.23-rc4commit b07d68b5ca...Linus Torvalds17 years
v2.6.23-rc3commit 39d3520c92...Linus Torvalds17 years
v2.6.23-rc2commit d4ac2477fa...Linus Torvalds17 years
v2.6.23-rc1commit f695baf2df...Linus Torvalds18 years
v2.6.22commit 7dcca30a32...Linus Torvalds18 years
v2.6.22-rc7commit a38d6181ff...Linus Torvalds18 years
v2.6.22-rc6commit 189548642c...Linus Torvalds18 years
v2.6.22-rc5commit 188e1f81ba...Linus Torvalds18 years
v2.6.22-rc4commit 5ecd3100e6...Linus Torvalds18 years
v2.6.22-rc3commit c420bc9f09...Linus Torvalds18 years
v2.6.22-rc2commit 55b637c6a0...Linus Torvalds18 years
v2.6.22-rc1commit 39403865d2...Linus Torvalds18 years
v2.6.21commit de46c33745...Linus Torvalds18 years
v2.6.21-rc7commit 94a05509a9...Linus Torvalds18 years
v2.6.21-rc6commit a21bd69e15...Linus Torvalds18 years
v2.6.21-rc5commit e0f2e3a06b...Linus Torvalds18 years
v2.6.21-rc4commit db98e0b434...Linus Torvalds18 years
v2.6.21-rc3commit 08e15e81a4...Linus Torvalds18 years
v2.6.21-rc2commit 606135a308...Linus Torvalds18 years
v2.6.21-rc1commit c8f71b01a5...Linus Torvalds18 years
v2.6.20commit 62d0cfcb27...Linus Torvalds18 years
v2.6.20-rc7commit f56df2f4db...Linus Torvalds18 years
v2.6.20-rc6commit 99abfeafb5...Linus Torvalds18 years
v2.6.20-rc5commit a8b3485287...Linus Torvalds18 years
v2.6.20-rc4commit bf81b46482...Linus Torvalds18 years
v2.6.20-rc3commit 669df1b478...Linus Torvalds18 years
v2.6.20-rc2commit 3bf8ba38f3...Linus Torvalds18 years
v2.6.20-rc1commit cc016448b0...Linus Torvalds18 years
v2.6.19commit 0215ffb08c...Linus Torvalds18 years
v2.6.19-rc6commit 44597f65f6...Linus Torvalds18 years
v2.6.19-rc5commit 80c2188127...Linus Torvalds18 years
v2.6.19-rc4commit ae99a78af3...Linus Torvalds18 years
v2.6.19-rc3commit 7059abedd2...Linus Torvalds18 years
v2.6.19-rc2commit b4bd8c6643...Linus Torvalds18 years
v2.6.19-rc1commit d223a60106...Linus Torvalds18 years
v2.6.18commit e478bec0ba...Linus Torvalds18 years
v2.6.18-rc7commit 95064a75eb...Linus Torvalds18 years
v2.6.18-rc6commit c336923b66...Linus Torvalds18 years
v2.6.18-rc5commit 60d4684068...Linus Torvalds18 years
v2.6.18-rc4commit 9f737633e6...Linus Torvalds18 years
v2.6.18-rc3commit b6ff50833a...Linus Torvalds18 years
v2.6.18-rc2commit 82d6897fef...Linus Torvalds19 years
v2.6.18-rc1commit 120bda20c6...Linus Torvalds19 years
v2.6.17commit 427abfa28a...Linus Torvalds19 years
v2.6.17-rc6commit 1def630a6a...Linus Torvalds19 years
v2.6.17-rc5commit a8bd60705a...Linus Torvalds19 years
v2.6.17-rc4commit d8c3291c73...Linus Torvalds19 years
v2.6.17-rc3commit 2be4d50295...Linus Torvalds19 years
v2.6.17-rc2commit 8bbde0e6d5...Linus Torvalds19 years
v2.6.17-rc1commit 6246b6128b...Linus Torvalds19 years
v2.6.16commit 7705a8792b...Linus Torvalds19 years
v2.6.16-rc6commit 535744878e...Linus Torvalds19 years
v2.6.16-rc5commit b9a33cebac...Linus Torvalds19 years
v2.6.16-rc4commit bd71c2b174...Linus Torvalds19 years
v2.6.16-rc3commit e9bb4c9929...Linus Torvalds19 years
v2.6.16-rc2commit 826eeb53a6...Linus Torvalds19 years
v2.6.16-rc1commit 2664b25051...Linus Torvalds19 years
v2.6.15commit 88026842b0...Linus Torvalds19 years
v2.6.15-rc7commit f89f5948fc...Linus Torvalds19 years
v2.6.15-rc6commit df7addbb45...Linus Torvalds19 years
v2.6.15-rc5commit 436b0f76f2...Linus Torvalds19 years
v2.6.15-rc4commit 5666c0947e...Linus Torvalds19 years
v2.6.15-rc3commit 624f54be20...Linus Torvalds19 years
v2.6.15-rc2commit 3bedff1d73...Linus Torvalds19 years
v2.6.15-rc1commit cd52d1ee9a...Linus Torvalds19 years
v2.6.14commit 741b2252a5...Linus Torvalds19 years
v2.6.14-rc5commit 93918e9afc...Linus Torvalds19 years
v2.6.14-rc4commit 907a426179...Linus Torvalds19 years
v2.6.14-rc3commit 1c9426e8a5...Linus Torvalds19 years
v2.6.14-rc2commit 676d55ae30...Linus Torvalds19 years
v2.6.14-rc1commit 2f4ba45a75...Linus Torvalds19 years
v2.6.13commit 02b3e4e2d7...Linus Torvalds19 years
v2.6.13-rc7commit 0572e3da3f...Linus Torvalds19 years
v2.6.13-rc6commit 6fc32179de...Linus Torvalds19 years
v2.6.13-rc5commit 9a351e30d7...Linus Torvalds19 years
v2.6.13-rc4commit 6395352334...Linus Torvalds20 years
v2.6.11tree c39ae07f39...
v2.6.11-treetree c39ae07f39...
v2.6.12commit 9ee1c939d1...
v2.6.12-rc2commit 1da177e4c3...
v2.6.12-rc3commit a2755a80f4...
v2.6.12-rc4commit 88d7bd8cb9...
v2.6.12-rc5commit 2a24ab628a...
v2.6.12-rc6commit 7cef5677ef...
v2.6.13-rc1commit 4c91aedb75...
v2.6.13-rc2commit a18bcb7450...
v2.6.13-rc3commit c32511e271...
* Bits from Jeff Garzik, Copyright RedHat, Inc. * * This driver probably works with non-Apple versions of the * Broadcom chipset... * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; see the file COPYING. If not, write to * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. * * * libata documentation is available via 'make {ps|pdf}docs', * as Documentation/DocBook/libata.* * * Hardware documentation available under NDA. * */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/blkdev.h> #include <linux/delay.h> #include <linux/interrupt.h> #include <linux/device.h> #include <scsi/scsi_host.h> #include <scsi/scsi_cmnd.h> #include <scsi/scsi.h> #include <linux/libata.h> #ifdef CONFIG_PPC_OF #include <asm/prom.h> #include <asm/pci-bridge.h> #endif /* CONFIG_PPC_OF */ #define DRV_NAME "sata_svw" #define DRV_VERSION "2.3" enum { /* ap->flags bits */ K2_FLAG_SATA_8_PORTS = (1 << 24), K2_FLAG_NO_ATAPI_DMA = (1 << 25), K2_FLAG_BAR_POS_3 = (1 << 26), /* Taskfile registers offsets */ K2_SATA_TF_CMD_OFFSET = 0x00, K2_SATA_TF_DATA_OFFSET = 0x00, K2_SATA_TF_ERROR_OFFSET = 0x04, K2_SATA_TF_NSECT_OFFSET = 0x08, K2_SATA_TF_LBAL_OFFSET = 0x0c, K2_SATA_TF_LBAM_OFFSET = 0x10, K2_SATA_TF_LBAH_OFFSET = 0x14, K2_SATA_TF_DEVICE_OFFSET = 0x18, K2_SATA_TF_CMDSTAT_OFFSET = 0x1c, K2_SATA_TF_CTL_OFFSET = 0x20, /* DMA base */ K2_SATA_DMA_CMD_OFFSET = 0x30, /* SCRs base */ K2_SATA_SCR_STATUS_OFFSET = 0x40, K2_SATA_SCR_ERROR_OFFSET = 0x44, K2_SATA_SCR_CONTROL_OFFSET = 0x48, /* Others */ K2_SATA_SICR1_OFFSET = 0x80, K2_SATA_SICR2_OFFSET = 0x84, K2_SATA_SIM_OFFSET = 0x88, /* Port stride */ K2_SATA_PORT_OFFSET = 0x100, chip_svw4 = 0, chip_svw8 = 1, chip_svw42 = 2, /* bar 3 */ chip_svw43 = 3, /* bar 5 */ }; static u8 k2_stat_check_status(struct ata_port *ap); static int k2_sata_check_atapi_dma(struct ata_queued_cmd *qc) { u8 cmnd = qc->scsicmd->cmnd[0]; if (qc->ap->flags & K2_FLAG_NO_ATAPI_DMA) return -1; /* ATAPI DMA not supported */ else { switch (cmnd) { case READ_10: case READ_12: case READ_16: case WRITE_10: case WRITE_12: case WRITE_16: return 0; default: return -1; } } } static int k2_sata_scr_read(struct ata_link *link, unsigned int sc_reg, u32 *val) { if (sc_reg > SCR_CONTROL) return -EINVAL; *val = readl(link->ap->ioaddr.scr_addr + (sc_reg * 4)); return 0; } static int k2_sata_scr_write(struct ata_link *link, unsigned int sc_reg, u32 val) { if (sc_reg > SCR_CONTROL) return -EINVAL; writel(val, link->ap->ioaddr.scr_addr + (sc_reg * 4)); return 0; } static void k2_sata_tf_load(struct ata_port *ap, const struct ata_taskfile *tf) { struct ata_ioports *ioaddr = &ap->ioaddr; unsigned int is_addr = tf->flags & ATA_TFLAG_ISADDR; if (tf->ctl != ap->last_ctl) { writeb(tf->ctl, ioaddr->ctl_addr); ap->last_ctl = tf->ctl; ata_wait_idle(ap); } if (is_addr && (tf->flags & ATA_TFLAG_LBA48)) { writew(tf->feature | (((u16)tf->hob_feature) << 8), ioaddr->feature_addr); writew(tf->nsect | (((u16)tf->hob_nsect) << 8), ioaddr->nsect_addr); writew(tf->lbal | (((u16)tf->hob_lbal) << 8), ioaddr->lbal_addr); writew(tf->lbam | (((u16)tf->hob_lbam) << 8), ioaddr->lbam_addr); writew(tf->lbah | (((u16)tf->hob_lbah) << 8), ioaddr->lbah_addr); } else if (is_addr) { writew(tf->feature, ioaddr->feature_addr); writew(tf->nsect, ioaddr->nsect_addr); writew(tf->lbal, ioaddr->lbal_addr); writew(tf->lbam, ioaddr->lbam_addr); writew(tf->lbah, ioaddr->lbah_addr); } if (tf->flags & ATA_TFLAG_DEVICE) writeb(tf->device, ioaddr->device_addr); ata_wait_idle(ap); } static void k2_sata_tf_read(struct ata_port *ap, struct ata_taskfile *tf) { struct ata_ioports *ioaddr = &ap->ioaddr; u16 nsect, lbal, lbam, lbah, feature; tf->command = k2_stat_check_status(ap); tf->device = readw(ioaddr->device_addr); feature = readw(ioaddr->error_addr); nsect = readw(ioaddr->nsect_addr); lbal = readw(ioaddr->lbal_addr); lbam = readw(ioaddr->lbam_addr); lbah = readw(ioaddr->lbah_addr); tf->feature = feature; tf->nsect = nsect; tf->lbal = lbal; tf->lbam = lbam; tf->lbah = lbah; if (tf->flags & ATA_TFLAG_LBA48) { tf->hob_feature = feature >> 8; tf->hob_nsect = nsect >> 8; tf->hob_lbal = lbal >> 8; tf->hob_lbam = lbam >> 8; tf->hob_lbah = lbah >> 8; } } /** * k2_bmdma_setup_mmio - Set up PCI IDE BMDMA transaction (MMIO) * @qc: Info associated with this ATA transaction. * * LOCKING: * spin_lock_irqsave(host lock) */ static void k2_bmdma_setup_mmio(struct ata_queued_cmd *qc) { struct ata_port *ap = qc->ap; unsigned int rw = (qc->tf.flags & ATA_TFLAG_WRITE); u8 dmactl; void __iomem *mmio = ap->ioaddr.bmdma_addr; /* load PRD table addr. */ mb(); /* make sure PRD table writes are visible to controller */ writel(ap->prd_dma, mmio + ATA_DMA_TABLE_OFS); /* specify data direction, triple-check start bit is clear */ dmactl = readb(mmio + ATA_DMA_CMD); dmactl &= ~(ATA_DMA_WR | ATA_DMA_START); if (!rw) dmactl |= ATA_DMA_WR; writeb(dmactl, mmio + ATA_DMA_CMD); /* issue r/w command if this is not a ATA DMA command*/ if (qc->tf.protocol != ATA_PROT_DMA) ap->ops->sff_exec_command(ap, &qc->tf); } /** * k2_bmdma_start_mmio - Start a PCI IDE BMDMA transaction (MMIO) * @qc: Info associated with this ATA transaction. * * LOCKING: * spin_lock_irqsave(host lock) */ static void k2_bmdma_start_mmio(struct ata_queued_cmd *qc) { struct ata_port *ap = qc->ap; void __iomem *mmio = ap->ioaddr.bmdma_addr; u8 dmactl; /* start host DMA transaction */ dmactl = readb(mmio + ATA_DMA_CMD); writeb(dmactl | ATA_DMA_START, mmio + ATA_DMA_CMD); /* This works around possible data corruption. On certain SATA controllers that can be seen when the r/w command is given to the controller before the host DMA is started. On a Read command, the controller would initiate the command to the drive even before it sees the DMA start. When there are very fast drives connected to the controller, or when the data request hits in the drive cache, there is the possibility that the drive returns a part or all of the requested data to the controller before the DMA start is issued. In this case, the controller would become confused as to what to do with the data. In the worst case when all the data is returned back to the controller, the controller could hang. In other cases it could return partial data returning in data corruption. This problem has been seen in PPC systems and can also appear on an system with very fast disks, where the SATA controller is sitting behind a number of bridges, and hence there is significant latency between the r/w command and the start command. */ /* issue r/w command if the access is to ATA */ if (qc->tf.protocol == ATA_PROT_DMA) ap->ops->sff_exec_command(ap, &qc->tf); } static u8 k2_stat_check_status(struct ata_port *ap) { return readl(ap->ioaddr.status_addr); } #ifdef CONFIG_PPC_OF /* * k2_sata_proc_info * inout : decides on the direction of the dataflow and the meaning of the * variables * buffer: If inout==FALSE data is being written to it else read from it * *start: If inout==FALSE start of the valid data in the buffer * offset: If inout==FALSE offset from the beginning of the imaginary file * from which we start writing into the buffer * length: If inout==FALSE max number of bytes to be written into the buffer * else number of bytes in the buffer */ static int k2_sata_proc_info(struct Scsi_Host *shost, char *page, char **start, off_t offset, int count, int inout) { struct ata_port *ap; struct device_node *np; int len, index; /* Find the ata_port */ ap = ata_shost_to_port(shost); if (ap == NULL) return 0; /* Find the OF node for the PCI device proper */ np = pci_device_to_OF_node(to_pci_dev(ap->host->dev)); if (np == NULL) return 0; /* Match it to a port node */ index = (ap == ap->host->ports[0]) ? 0 : 1; for (np = np->child; np != NULL; np = np->sibling) { const u32 *reg = of_get_property(np, "reg", NULL); if (!reg) continue; if (index == *reg) break; } if (np == NULL) return 0; len = sprintf(page, "devspec: %s\n", np->full_name); return len; } #endif /* CONFIG_PPC_OF */ static struct scsi_host_template k2_sata_sht = { ATA_BMDMA_SHT(DRV_NAME), #ifdef CONFIG_PPC_OF .proc_info = k2_sata_proc_info, #endif }; static struct ata_port_operations k2_sata_ops = { .inherits = &ata_bmdma_port_ops, .sff_tf_load = k2_sata_tf_load, .sff_tf_read = k2_sata_tf_read, .sff_check_status = k2_stat_check_status, .check_atapi_dma = k2_sata_check_atapi_dma, .bmdma_setup = k2_bmdma_setup_mmio, .bmdma_start = k2_bmdma_start_mmio, .scr_read = k2_sata_scr_read, .scr_write = k2_sata_scr_write, }; static const struct ata_port_info k2_port_info[] = { /* chip_svw4 */ { .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_MMIO | K2_FLAG_NO_ATAPI_DMA, .pio_mask = 0x1f, .mwdma_mask = 0x07, .udma_mask = ATA_UDMA6, .port_ops = &k2_sata_ops, }, /* chip_svw8 */ { .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_MMIO | K2_FLAG_NO_ATAPI_DMA | K2_FLAG_SATA_8_PORTS, .pio_mask = 0x1f, .mwdma_mask = 0x07, .udma_mask = ATA_UDMA6, .port_ops = &k2_sata_ops, }, /* chip_svw42 */ { .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_MMIO | K2_FLAG_BAR_POS_3, .pio_mask = 0x1f, .mwdma_mask = 0x07, .udma_mask = ATA_UDMA6, .port_ops = &k2_sata_ops, }, /* chip_svw43 */ { .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_MMIO, .pio_mask = 0x1f, .mwdma_mask = 0x07, .udma_mask = ATA_UDMA6, .port_ops = &k2_sata_ops, }, }; static void k2_sata_setup_port(struct ata_ioports *port, void __iomem *base) { port->cmd_addr = base + K2_SATA_TF_CMD_OFFSET; port->data_addr = base + K2_SATA_TF_DATA_OFFSET; port->feature_addr = port->error_addr = base + K2_SATA_TF_ERROR_OFFSET; port->nsect_addr = base + K2_SATA_TF_NSECT_OFFSET; port->lbal_addr = base + K2_SATA_TF_LBAL_OFFSET; port->lbam_addr = base + K2_SATA_TF_LBAM_OFFSET; port->lbah_addr = base + K2_SATA_TF_LBAH_OFFSET; port->device_addr = base + K2_SATA_TF_DEVICE_OFFSET; port->command_addr = port->status_addr = base + K2_SATA_TF_CMDSTAT_OFFSET; port->altstatus_addr = port->ctl_addr = base + K2_SATA_TF_CTL_OFFSET; port->bmdma_addr = base + K2_SATA_DMA_CMD_OFFSET; port->scr_addr = base + K2_SATA_SCR_STATUS_OFFSET; } static int k2_sata_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) { static int printed_version; const struct ata_port_info *ppi[] = { &k2_port_info[ent->driver_data], NULL }; struct ata_host *host; void __iomem *mmio_base; int n_ports, i, rc, bar_pos; if (!printed_version++) dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION "\n"); /* allocate host */ n_ports = 4; if (ppi[0]->flags & K2_FLAG_SATA_8_PORTS) n_ports = 8; host = ata_host_alloc_pinfo(&pdev->dev, ppi, n_ports); if (!host) return -ENOMEM; bar_pos = 5; if (ppi[0]->flags & K2_FLAG_BAR_POS_3) bar_pos = 3; /* * If this driver happens to only be useful on Apple's K2, then * we should check that here as it has a normal Serverworks ID */ rc = pcim_enable_device(pdev); if (rc) return rc; /* * Check if we have resources mapped at all (second function may * have been disabled by firmware) */ if (pci_resource_len(pdev, bar_pos) == 0) { /* In IDE mode we need to pin the device to ensure that pcim_release does not clear the busmaster bit in config space, clearing causes busmaster DMA to fail on ports 3 & 4 */ pcim_pin_device(pdev); return -ENODEV; } /* Request and iomap PCI regions */ rc = pcim_iomap_regions(pdev, 1 << bar_pos, DRV_NAME); if (rc == -EBUSY) pcim_pin_device(pdev); if (rc) return rc; host->iomap = pcim_iomap_table(pdev); mmio_base = host->iomap[bar_pos]; /* different controllers have different number of ports - currently 4 or 8 */ /* All ports are on the same function. Multi-function device is no * longer available. This should not be seen in any system. */ for (i = 0; i < host->n_ports; i++) { struct ata_port *ap = host->ports[i]; unsigned int offset = i * K2_SATA_PORT_OFFSET; k2_sata_setup_port(&ap->ioaddr, mmio_base + offset); ata_port_pbar_desc(ap, 5, -1, "mmio"); ata_port_pbar_desc(ap, 5, offset, "port"); } rc = pci_set_dma_mask(pdev, ATA_DMA_MASK); if (rc) return rc; rc = pci_set_consistent_dma_mask(pdev, ATA_DMA_MASK); if (rc) return rc; /* Clear a magic bit in SCR1 according to Darwin, those help * some funky seagate drives (though so far, those were already * set by the firmware on the machines I had access to) */ writel(readl(mmio_base + K2_SATA_SICR1_OFFSET) & ~0x00040000, mmio_base + K2_SATA_SICR1_OFFSET); /* Clear SATA error & interrupts we don't use */ writel(0xffffffff, mmio_base + K2_SATA_SCR_ERROR_OFFSET); writel(0x0, mmio_base + K2_SATA_SIM_OFFSET); pci_set_master(pdev); return ata_host_activate(host, pdev->irq, ata_sff_interrupt, IRQF_SHARED, &k2_sata_sht); } /* 0x240 is device ID for Apple K2 device * 0x241 is device ID for Serverworks Frodo4 * 0x242 is device ID for Serverworks Frodo8 * 0x24a is device ID for BCM5785 (aka HT1000) HT southbridge integrated SATA * controller * */ static const struct pci_device_id k2_sata_pci_tbl[] = { { PCI_VDEVICE(SERVERWORKS, 0x0240), chip_svw4 }, { PCI_VDEVICE(SERVERWORKS, 0x0241), chip_svw8 }, { PCI_VDEVICE(SERVERWORKS, 0x0242), chip_svw4 }, { PCI_VDEVICE(SERVERWORKS, 0x024a), chip_svw4 }, { PCI_VDEVICE(SERVERWORKS, 0x024b), chip_svw4 }, { PCI_VDEVICE(SERVERWORKS, 0x0410), chip_svw42 }, { PCI_VDEVICE(SERVERWORKS, 0x0411), chip_svw43 }, { } }; static struct pci_driver k2_sata_pci_driver = { .name = DRV_NAME, .id_table = k2_sata_pci_tbl, .probe = k2_sata_init_one, .remove = ata_pci_remove_one, }; static int __init k2_sata_init(void) { return pci_register_driver(&k2_sata_pci_driver); } static void __exit k2_sata_exit(void) { pci_unregister_driver(&k2_sata_pci_driver); } MODULE_AUTHOR("Benjamin Herrenschmidt"); MODULE_DESCRIPTION("low-level driver for K2 SATA controller"); MODULE_LICENSE("GPL"); MODULE_DEVICE_TABLE(pci, k2_sata_pci_tbl); MODULE_VERSION(DRV_VERSION); module_init(k2_sata_init); module_exit(k2_sata_exit);