ddr frequency for 2GQ/~3A5/~3B4.
2. Add example code to specify wrlvl_dq_dly separately when enable ARB_LEVEL in 3a780e branch.
3. Modify the PMON print MC parameter format to print the address.
Change-Id: Ic240f2f9ddb0272883aba393d687b3e47abe51e7
Before if the pci device is not a multi-function device,it will still
initialize as a multi-function,Now fix it.
Target:Bonito3a780e Bonito3aserver Bonito3b780e Bonito3bserver
Bonito3c780e Bonito3cserver
Now we store arb leveled info seperately for each MC(up to 4 MC, tow 3A/B).
If the CLKSEL pin(DDR frequency) or DIMMs is changed, then we will do arb level
again.
Branch Bonito3a/b780e, Bonito3a/bserver, Bonito3a2h, Bonito2gq2h/780e is updated.
when start pmon below the log will display the memory
size but on 3bserver is not display correct because
on node2 and node3 always add 256M memory,Now fixed.
Target:Bonito3bserver
Original code miss IDE DMA suport in configure file, now add and
enable the option.The bug as "http://www.loongson.org/dev/bugzilla
/show_bug.cgi?id=409" described won't appear any more. It pass test
on both ls3b780e and ls3bserver board.
Target:Bonito3b780e,Bonito3bserver
Before the time of scan "Del" button is too short,
resulted into set the bios of the interface.Now
extended the time of the scan "Del" button.But in
order to improve the bios of the start-up time,this
option is off by default.
Target:Bonito3a780e Bonito3aserver Bonito3b780e Bonito3bserver
Bonito3c780e Bonito2gq780e Bonito3a2h
Original code asume pci/pcie multi-function devices share the same
interrupt line, and assign the same irq number for multi-function.
Infatc, different irq line is used between pci/pcie multi-function
devices to speed up interrupt response. Now neighboure interrupt
line attached to PIC is used, new irq number is deliveried to
multi-function pci/pcie devices. It pass test on ls3a780e board
with a multi-function card which integrated video and HDA function.
NOTICE: assume interrupt route register(offset:0x3D) of multi-funciont
pci card is default configured.
Target:all
Original code didn't dump "t8" and "t9" regiser, but client programm
need to dump "t8" and "t9". Now the function is added, and pass test
on ls3b780e board. Thanks <wanghuandong@loongson.cn>
NOTICE: user should update its ejtag client programm on x86 to match
this patch by command "git clone git://10.2.5.27/ejtag.git",otherwise
incorrect value maybe got during dump some cp0 register.
Target:Bonito3a780e,Bonito3b780e,Bonito3aserver,Bonito3bserver,Bonito3c780e
Original code made a misstake which use "==" instead of "=" during
checking interrupt line register value, however it doesn't affect
system interrupt number routing. Now all the code is changed.
Target:Bonito3a780e,Bonito3b780e,Bonito3aserver,Bonito3bserver,Bonito3c780e
Original code use register "a0" to store ejtag address for dump tlb
registers, but "a0" hasn't been saved before it's used. Now use "t2"
instead of "a0", because "t2" has been saved in stack on x86 memory.
Thanks wanghuandong@loongson.cn
Target:Bonito3a780e,Bonito3b780e,Bonito3c780e,Bonito3aserver,Bonito3bserver
Original base address of frmabe buffer test is 0xb0000000, now change it to
be BONITO_PCILO_BASE_VA to match new pci mem space.
Target:Bonito3a780e,Bonito3b780e,Bonito3aserver,Bonito3bserver,Bonito3c780e
Before this patch, user has to test a lot of options to disable/enable
gpu driver, even some branch fail to pass compilation. Now all options
related with gpu driver selection is placed together. User can disable
or enable them together. It has passed compilation in all branches both
with gpu driver and without gpu driver support. It has pased test on in
ls3a780e branch in both mode with and without gpu driver.
Target:Bonito3a780e, Bonito3b780e, Bonito3c780e,Bonito3aserver,Bonito3bserver
Before: git contains lots of unused code and can't boot up when use RDIMM.
Now: git only contains valid code and pmon can boot up normally.
Targets: Bonito3bserver
Before: Startup, the log is displayed as "PMON". It caused the problem
as Bug 281 described as http://www.loongson.cn/dev/bugzilla/show_bug.cgi?id=281
showes.
Now: In the "tgt_logo" function, change log as "loongson", now it is ok.
Test: Startup, you observe whether it display "loongson".
Targets: Bonito3bserver
Original code use symbol link to ddr_code_dir, it cause compile
error on other server execpt 10.2.5.27. Now the symbol link was
replaced with ddr_code_dir directory.
Target:Bonito3bserver
Original code only support d(d8) m(m8) command, now change client and
server code to support byte/half word/word/double word access.
Test pass on ls3b780e board with latest ejtag tool client programm.
Target:all
1. Fix ls3bserver illegal access of speculative execution
Original code for dealing with speculative execution will lead some
core on NODE2/NODE3 dead sometimes in kernel with CC-NUMA 16 core
system, now changed the file "loongson3_fixup_3b.S" to dealing with
more potential speculative execution. It pass test on ls3bserver board.
2. Add configuration for HT controler 0x3c register in ls3b5
Old LS3B chip needn't this code, but latest LS3B chip must add this
code to fix HT connection bug between two LS3B chipes. latest LS3B
chipes means chip comign back after 04/27/2012.
3. Place ejtag debug code at 0xbfc00480
Original code in "start.S" can't put ejtag debug code at 0xbfc00480,
which leads failure to use ejtag "./d" and "./m" commands to dispaly
or modify mem/cache/register content. Now change align code in "start.S"
to place ejtag debug code at 0xbfc00480.
Thanks wanghuandong@loongson.cn
Target:Bonito3bserver
Original code missed support for ls3b server board, Now the code
is added, and passed test with ls3bserver board v1.1, it can boot
2Gx4 NUMA kernle with 4 short KVR 2G DDR3 dimms.
Target:Bonito3bserver