Page MenuHomeFreeBSD
Feed Advanced Search

Feb 4 2016

Sgalabov_gmail.com updated the diff for D5182: Introduce INTRNG support for MIPS.

I've updated the patch, addressing kan's comments. I'll send out a separate review for enabling bus pass on MIPS (together with enabling it for the mips_pic (intr.c) tomorrow. I'll also update the bus_space_fdt removal patch tomorrow.

Feb 4 2016, 4:59 PM · MIPS
kan added inline comments to D5182: Introduce INTRNG support for MIPS.
Feb 4 2016, 4:07 PM · MIPS
kan requested changes to D5182: Introduce INTRNG support for MIPS.

I do not see mips_pic.c in this patch, which is supposed to the the generic MIPS32 intr controller and is the place where cpu_establish_hard_intr for INTRNG is implemented. If you do not need rest of the mips_pic.c, consider moving these into an independent implementation file (mips/mips/intr.c?). You will need to export the root PIC pointer from MI intr code for that and that is the reason why I kept function in the file that implements root PIC on my SOC.

Feb 4 2016, 3:59 PM · MIPS
loader removed a reviewer for D5187: U-Boot loader (ubldr) support for MIPS: loader.
Feb 4 2016, 3:43 PM · MIPS
kan accepted D5183: Proper attachment for MIPS ticker when using INTRNG.
Feb 4 2016, 3:39 PM · MIPS
skra added inline comments to D5182: Introduce INTRNG support for MIPS.
Feb 4 2016, 3:21 PM · MIPS
Sgalabov_gmail.com updated D5187: U-Boot loader (ubldr) support for MIPS.
Feb 4 2016, 3:06 PM · MIPS
Sgalabov_gmail.com updated D5187: U-Boot loader (ubldr) support for MIPS.
Feb 4 2016, 10:52 AM · MIPS
Sgalabov_gmail.com updated the test plan for D5187: U-Boot loader (ubldr) support for MIPS.
Feb 4 2016, 10:49 AM · MIPS
Sgalabov_gmail.com retitled D5187: U-Boot loader (ubldr) support for MIPS from to U-Boot loader (ubldr) support for MIPS.
Feb 4 2016, 10:36 AM · MIPS
Sgalabov_gmail.com retitled D5184: Remove bus_space_fdt for MIPS and make bus_space_generic handle things properly from to Remove bus_space_fdt for MIPS and make bus_space_generic handle things properly.
Feb 4 2016, 7:20 AM · MIPS
Sgalabov_gmail.com retitled D5183: Proper attachment for MIPS ticker when using INTRNG from to Proper attachment for MIPS ticker when using INTRNG.
Feb 4 2016, 7:16 AM · MIPS
Sgalabov_gmail.com retitled D5182: Introduce INTRNG support for MIPS from to Introduce INTRNG support for MIPS.
Feb 4 2016, 7:14 AM · MIPS

Feb 3 2016

sson abandoned D5171: Add e_flags information to ELF core files.

I will fix this in LLDB. Thanks Warner!

Feb 3 2016, 10:24 PM · MIPS
sson added a comment to D5171: Add e_flags information to ELF core files.
In D5171#110109, @imp wrote:

Also, the LLVM parser is wrong.

case llvm::ELF::EF_MIPS_ARCH_3:
case llvm::ELF::EF_MIPS_ARCH_4:
case llvm::ELF::EF_MIPS_ARCH_5:
case llvm::ELF::EF_MIPS_ARCH_64:
    return (endian == ELFDATA2LSB) ? ArchSpec::eMIPSSubType_mips64el : ArchSpec::eMIPSSubType_mips64;

This is incorrect. These arch (at least the first two) are both 32-bit and 64-bit. You know what arch you are executing based on the e_ident[EI_CLASS} telling you 32 vs 64 bit.

32-bit mips FreeBSD binaries are MIPS-3. And that's correct. And LLVM doesn't grok that. So the LLVM parser also needs work.

Feb 3 2016, 5:42 PM · MIPS
sson added a comment to D5171: Add e_flags information to ELF core files.
In D5171#110106, @imp wrote:

I don't like this interface. The CPU specific eflags aren't a property of the CPU, but rather are a property of how the binary was compiled. These should be in the header for the binary being executed, which is completely ignored. On arm, there's at least two flavors we support executing today. On mips we support 3 different binary ABIs. And we wish to support more flavors of those ABIs (soft-float, hard-float, cheri) and you can't know based on the kernel which one of these you are running.

Feb 3 2016, 5:33 PM · MIPS
imp added a comment to D5171: Add e_flags information to ELF core files.

Also, the LLVM parser is wrong.

Feb 3 2016, 5:29 PM · MIPS
imp added a comment to D5171: Add e_flags information to ELF core files.

I don't like this interface. The CPU specific eflags aren't a property of the CPU, but rather are a property of how the binary was compiled. These should be in the header for the binary being executed, which is completely ignored. On arm, there's at least two flavors we support executing today. On mips we support 3 different binary ABIs. And we wish to support more flavors of those ABIs (soft-float, hard-float, cheri) and you can't know based on the kernel which one of these you are running.

Feb 3 2016, 5:21 PM · MIPS
sson retitled D5171: Add e_flags information to ELF core files from to Add e_flags information to ELF core files.
Feb 3 2016, 4:02 PM · MIPS

Feb 2 2016

adrian closed D5079: Use the correct cpu option for rt305x hardware by committing rS295152: Use MIPS24K now..
Feb 2 2016, 4:26 PM · MIPS
adrian closed D5078: Move MIPS32 Release 2 and Release 3 CPUs to use the EHB instruction for clearing hazards by committing rS295150: Move MIPS32 Release 2 and Release 3 CPUs to use the EHB instruction for.
Feb 2 2016, 4:00 PM · MIPS
adrian closed D5077: Rename some CPU_MIPSxxx options and add new CPU_MIPSxxx options by committing rS295138: Rename some CPU_MIPSxxx options and add new CPU_MIPSxxx options.
Feb 2 2016, 7:47 AM · MIPS
Sgalabov_gmail.com added a comment to D5077: Rename some CPU_MIPSxxx options and add new CPU_MIPSxxx options.

I meant to talk to you about possibly moving the Atheros SoCs to MIPS24K, but then got distracted with other things :-)
Yeah, I guess we can move the SoCs later. I did that for the Ralink SoCs in sys/mips/ralink for now, will be using the new cpu options with the Ralink/Mediatek FDT stuff too.

Feb 2 2016, 7:14 AM · MIPS
adrian added a comment to D5077: Rename some CPU_MIPSxxx options and add new CPU_MIPSxxx options.

This fine by me; it reminds me that we never started using the mips24k pieces for those atheros SoC cores (all the ar71xx, ar91xx, ar933x, etc) that are actually mips24k. They're mips4k.

Feb 2 2016, 7:11 AM · MIPS

Jan 27 2016

Sgalabov_gmail.com updated the diff for D5079: Use the correct cpu option for rt305x hardware.

After discussion with imp@, removed the CPU_MIPS24KE option, as 24KE is not really different than 24K, apart from having DSP ASE, which can be detected dynamically via Config3 register.

Jan 27 2016, 7:49 AM · MIPS
Sgalabov_gmail.com updated the diff for D5078: Move MIPS32 Release 2 and Release 3 CPUs to use the EHB instruction for clearing hazards.

After discussion with imp@, removed the CPU_MIPS24KE option, as 24KE is not really different than 24K, apart from having DSP ASE, which can be detected dynamically via Config3 register.

Jan 27 2016, 7:49 AM · MIPS
Sgalabov_gmail.com updated the diff for D5077: Rename some CPU_MIPSxxx options and add new CPU_MIPSxxx options.

After discussion with imp@, removed the CPU_MIPS24KE option, as 24KE is not really different than 24K, apart from having DSP ASE, which can be detected dynamically via Config3 register.

Jan 27 2016, 7:47 AM · MIPS
imp accepted D5078: Move MIPS32 Release 2 and Release 3 CPUs to use the EHB instruction for clearing hazards.
Jan 27 2016, 6:05 AM · MIPS
imp accepted D5079: Use the correct cpu option for rt305x hardware.
Jan 27 2016, 6:03 AM · MIPS
imp accepted D5077: Rename some CPU_MIPSxxx options and add new CPU_MIPSxxx options.
Jan 27 2016, 6:02 AM · MIPS

Jan 26 2016

Sgalabov_gmail.com updated D5078: Move MIPS32 Release 2 and Release 3 CPUs to use the EHB instruction for clearing hazards.
Jan 26 2016, 11:14 AM · MIPS
Sgalabov_gmail.com updated the diff for D5078: Move MIPS32 Release 2 and Release 3 CPUs to use the EHB instruction for clearing hazards.

Backed out the sys/mips/include/asm.h change as it is probably too risky at the moment.

Jan 26 2016, 11:13 AM · MIPS
Sgalabov_gmail.com retitled D5079: Use the correct cpu option for rt305x hardware from to Use the correct cpu option for rt305x hardware.
Jan 26 2016, 10:50 AM · MIPS
Sgalabov_gmail.com retitled D5078: Move MIPS32 Release 2 and Release 3 CPUs to use the EHB instruction for clearing hazards from to Move MIPS32 Release 2 and Release 3 CPUs to use the EHB instruction for clearing hazards.
Jan 26 2016, 10:47 AM · MIPS
Sgalabov_gmail.com added reviewers for D5077: Rename some CPU_MIPSxxx options and add new CPU_MIPSxxx options: adrian, imp.
Jan 26 2016, 10:43 AM · MIPS
Sgalabov_gmail.com retitled D5077: Rename some CPU_MIPSxxx options and add new CPU_MIPSxxx options from to Rename some CPU_MIPSxxx options and add new CPU_MIPSxxx options.
Jan 26 2016, 10:41 AM · MIPS

Oct 18 2015

kan abandoned D3852: Fix MIPS TLS support.

Abandon in favor of fix in qemu. Changing ABI is too heavy-handed.

Oct 18 2015, 12:41 AM · MIPS

Oct 10 2015

kan updated the diff for D3852: Fix MIPS TLS support.

Updates diff to remove hdwr value fixup

Oct 10 2015, 9:20 PM · MIPS

Oct 9 2015

emaste added a comment to D3852: Fix MIPS TLS support.

Fine with me, make sure to include Relnotes: YES and comment on ABI concerns in the commit message.

Oct 9 2015, 7:30 PM · MIPS
sbruno accepted D3852: Fix MIPS TLS support.

This fixes my ability to use unmodified qemu-user code to build mips/mips64 packages.

Oct 9 2015, 7:28 PM · MIPS
adrian accepted D3852: Fix MIPS TLS support.
Oct 9 2015, 4:52 AM · MIPS
kan added a comment to D3852: Fix MIPS TLS support.

The alternative approach of fixing sysarch(GET/SET_TLS) in qemu-bsd-user might be called for, pending confirmation from sbruno.
Our kernel does unnatural things in rdhwr emulation codem qemu-user might have to follow.

Oct 9 2015, 4:02 AM · MIPS
kan retitled D3852: Fix MIPS TLS support from to Fix MIPS TLS support.
Oct 9 2015, 3:46 AM · MIPS

Jul 29 2015

sbruno closed D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.
Jul 29 2015, 8:48 PM · MIPS
sbruno accepted D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.

Committed at svn r286040

Jul 29 2015, 8:47 PM · MIPS

Jul 27 2015

alc accepted D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.
Jul 27 2015, 9:23 PM · MIPS
kbowling updated the diff for D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.

Regenerating diff from top of /usr/src. Sorry for the noise.

Jul 27 2015, 8:55 PM · MIPS
kbowling updated the diff for D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.

Ok, I had no interest in the function just ran into the build error while investigating unrelated problems on a device. Removed per review.

Jul 27 2015, 7:59 PM · MIPS
kbowling retitled D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds from Fix mips DEBUG build to Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.
Jul 27 2015, 7:56 PM · MIPS
alc added a comment to D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.

The changes to pads() for 64-bit processors aren't quite right. In particular, the second access to segtab[] isn't correct. The changes should look more like what you see in the DDB function just above pads().

Jul 27 2015, 5:39 PM · MIPS
kbowling added a comment to D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.
Jul 27 2015, 9:11 AM · MIPS
kbowling updated the diff for D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.

Trying to incorporate feedback. I don't understand the pads changes, nor am I sure if all the ifdef I added is necessary.

Jul 27 2015, 9:09 AM · MIPS
kbowling commandeered D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.
Jul 27 2015, 9:07 AM · MIPS
alc added inline comments to D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.
Jul 27 2015, 7:23 AM · MIPS

Jul 26 2015

kbowling accepted D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.
Jul 26 2015, 11:21 PM · MIPS
sbruno added inline comments to D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.
Jul 26 2015, 10:16 PM · MIPS
sbruno updated the diff for D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.

How about I don't put the rest of my tree in this review.

Jul 26 2015, 10:15 PM · MIPS
sbruno updated the diff for D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.

Drop casts to (void *)

Jul 26 2015, 10:14 PM · MIPS
alc added inline comments to D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.
Jul 26 2015, 8:20 PM · MIPS
alc added a comment to D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.

Note that the warning says "argument 3", which is the pv_va parameter, not "argument 2", which is the pmap parameter. Remove the (void *) from before the pmap parameter.

Jul 26 2015, 8:17 PM · MIPS
sbruno added inline comments to D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.
Jul 26 2015, 7:24 PM · MIPS
sbruno added a comment to D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.
In D3206#64342, @alc wrote:

That's a different problem. If you're going to fix the printf()s, then remove the silly casting of the variable "pmap".

Jul 26 2015, 7:24 PM · MIPS
alc added a comment to D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.

That's a different problem. If you're going to fix the printf()s, then remove the silly casting of the variable "pmap".

Jul 26 2015, 6:58 PM · MIPS
sbruno updated the diff for D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.

Please give this a once over. I've testbuilt this for the RSPRO(mips32) and MALTA64(mips64) kernels.

Jul 26 2015, 6:52 PM · MIPS
sbruno commandeered D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.

Let me do a thing to update this change so that it builds for mips/mips64 debug kernels.

Jul 26 2015, 6:51 PM · MIPS
sbruno added a comment to D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.

Hrm, since this is used for MIPS64, I did a test build and it fails.

Jul 26 2015, 6:37 PM · MIPS
alc accepted D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.

The change is correct. Commit it.

Jul 26 2015, 4:52 PM · MIPS
sbruno added a comment to D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds.

This also matches the pmap_pvdump() function in arm/arm/pmap-v6-new.c

Jul 26 2015, 2:56 PM · MIPS
sbruno edited reviewers for D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds, added: alc, brooks; removed: sbruno.
Jul 26 2015, 2:53 PM · MIPS
kbowling retitled D3206: Remove dead pmap-pvdump from i386, arm, mips. Fixes mips DEBUG builds from to Fix mips DEBUG build.
Jul 26 2015, 12:30 PM · MIPS

Jul 25 2015

sbruno removed a member for MIPS: sbruno.
Jul 25 2015, 7:53 PM

May 13 2015

sson updated D2535: New, experimental PMAP implementation for MIPS64.
May 13 2015, 3:19 PM · MIPS
sson retitled D2535: New, experimental PMAP implementation for MIPS64 from to New, experimental PMAP implementation for MIPS64.
May 13 2015, 3:16 PM · MIPS