Author: gber
Date: Mon Nov 25 15:34:57 2013
New Revision: 258554
URL: http://svnweb.freebsd.org/changeset/base/258554
Log:
MFC: r258387,r258425
Split raw reading/programming into smaller chunks to avoid allocating too
big chunk of kernel memory. Validate size of data. Add error handling to
Hi,
Thanks for information. Fix has been committed.
regards,
grzesiek
2013/11/20 John-Mark Gurney
> Grzegorz Bernacki wrote this message on Wed, Nov 20, 2013 at 11:10 +:
> > Author: gber
> > Date: Wed Nov 20 11:10:23 2013
> > New Revision: 258387
> > URL
Author: gber
Date: Thu Nov 21 09:19:14 2013
New Revision: 258425
URL: http://svnweb.freebsd.org/changeset/base/258425
Log:
Unbreak compilation with GCC.
Modified:
head/sys/dev/nand/nand_cdev.c
head/sys/dev/nand/nand_geom.c
Modified: head/sys/dev/nand/nand_cdev.c
===
Author: gber
Date: Wed Nov 20 11:10:23 2013
New Revision: 258387
URL: http://svnweb.freebsd.org/changeset/base/258387
Log:
Split raw reading/programming into smaller chunks to avoid allocating too
big chunk of kernel memory. Validate size of data. Add error handling to
avoid calling copyout(
Author: gber
Date: Thu Jul 4 10:40:24 2013
New Revision: 252695
URL: http://svnweb.freebsd.org/changeset/base/252695
Log:
Remove redundant clearing of the PGA_WRITEABLE flag in
pmap_remove_all()
This flag should already be cleared by pmap_nuke_pv()
Submitted by: Zbigniew Bodek
Author: gber
Date: Thu Jul 4 10:38:14 2013
New Revision: 252694
URL: http://svnweb.freebsd.org/changeset/base/252694
Log:
Fix modified bit emulation for ARMv6/v7
When doing pmap_enter_locked(), enable write permission only when access
type indicates attempt to write. Otherwise, leave the
Author: gber
Date: Tue Jun 4 09:33:03 2013
New Revision: 251371
URL: http://svnweb.freebsd.org/changeset/base/251371
Log:
Fix the passing of time on Armada XP.
In order to become independent of Coherency Fabric frequency, configure
Timer and Watchdog to operate in 25MHz mode.
Submit
Author: gber
Date: Tue Jun 4 09:21:18 2013
New Revision: 251370
URL: http://svnweb.freebsd.org/changeset/base/251370
Log:
Implement pmap_copy() for ARMv6/v7.
Copy the given range of mappings from the source map to the
destination map, thereby reducing the number of VM faults on fork.
Author: gber
Date: Mon May 27 06:24:31 2013
New Revision: 251022
URL: http://svnweb.freebsd.org/changeset/base/251022
Log:
Fix ONFI chip detection.
Submitted by: Alexander Fedorov
Modified:
head/sys/dev/nand/nand.h
head/sys/dev/nand/nandbus.c
Modified: head/sys/dev/nand/nand.h
==
Author: gber
Date: Thu May 23 12:24:46 2013
New Revision: 250931
URL: http://svnweb.freebsd.org/changeset/base/250931
Log:
Rework and organize pmap_enter_locked() function.
pmap_enter_locked() implementation was very ambiguous and confusing.
Rearrange it so that each part of the mapping c
Author: gber
Date: Thu May 23 12:23:18 2013
New Revision: 250930
URL: http://svnweb.freebsd.org/changeset/base/250930
Log:
Stop using PVF_MOD, PVF_REF & PVF_EXEC flags in pv_entry, use PTE.
Using PVF_MOD, PVF_REF and PVF_EXEC is redundant as we can get the proper
info from PTE bits.
Whe
Author: gber
Date: Thu May 23 12:15:23 2013
New Revision: 250929
URL: http://svnweb.freebsd.org/changeset/base/250929
Log:
Improve, optimize and clean-up ARMv6/v7 memory management related code.
Use pmap_find_pv if needed instead of multiplying its code throughout
pmap-v6.
Avoid poss
Author: gber
Date: Thu May 23 12:07:41 2013
New Revision: 250928
URL: http://svnweb.freebsd.org/changeset/base/250928
Log:
Switch to AP[2:1] access permissions model. Store "referenced"
bit in PTE.
Enable Access Flag in CPU control. With AF enabled each valid mapping
needs to have refer
Author: gber
Date: Thu May 16 09:43:04 2013
New Revision: 250695
URL: http://svnweb.freebsd.org/changeset/base/250695
Log:
Fix L2 cache write-back invalidate for Sheeva core.
Submitted by: Michal Dubiel
Obtained from:Netasq, Semihalf
Modified:
head/sys/arm/arm/cpufunc_asm_sheev
Author: gber
Date: Tue May 14 09:47:58 2013
New Revision: 250634
URL: http://svnweb.freebsd.org/changeset/base/250634
Log:
Port the new PV entry allocator from amd64/i386/mips to armv6/v7.
PV entries are now roughly half the size.
Instead of using a shared UMA zone for 28 byte pv entries
Author: gber
Date: Tue May 7 06:42:07 2013
New Revision: 250324
URL: http://svnweb.freebsd.org/changeset/base/250324
Log:
decode_win_sdram_fixup() function should be declared, defined and used
only by Armada XP
Obtained from:Semihalf
Modified:
head/sys/arm/mv/common.c
Modifie
In my opinion this is the simplest way to do it, however if you think it
should be done other way I can change it.
grzesiek
On 05/06/13 20:45, Adrian Chadd wrote:
.. is this really the only way to do this reliably?
adrian
On 6 May 2013 07:27, Grzegorz Bernacki wrote:
Author: gber
Date
Author: gber
Date: Mon May 6 16:11:53 2013
New Revision: 250299
URL: http://svnweb.freebsd.org/changeset/base/250299
Log:
Fix page reference emulation on ARMv6 and v7
Submitted by: Zbigniew Bodek
Obtained from: Semihalf
Modified:
head/sys/arm/arm/pmap-v6.c
Modified: head/sys/arm/arm/
Author: gber
Date: Mon May 6 15:30:34 2013
New Revision: 250297
URL: http://svnweb.freebsd.org/changeset/base/250297
Log:
Fix L2 PTE access permissions management.
Keep following access permissions:
APX AP Kernel User
1 01 R N
1 10 R
Author: gber
Date: Mon May 6 14:57:02 2013
New Revision: 250296
URL: http://svnweb.freebsd.org/changeset/base/250296
Log:
Correct comment about initial VA=>PA mapping
Modified:
head/sys/arm/arm/locore.S
Modified: head/sys/arm/arm/locore.S
Author: gber
Date: Mon May 6 14:54:17 2013
New Revision: 250295
URL: http://svnweb.freebsd.org/changeset/base/250295
Log:
Disable decoding windows with no FDT entry.
- On ARMADAXP B0 (GP development board) we are not able to use PCI due to
whole 32-bit address space used by 4GB of RAM
Author: gber
Date: Mon May 6 14:27:46 2013
New Revision: 250294
URL: http://svnweb.freebsd.org/changeset/base/250294
Log:
Avoid calling pcpu_init() simultaneously.
pcpu_init() updates queue, so cannot be called by multiple cores
at the same time
Obtained from:Semihalf
Modif
Author: gber
Date: Mon May 6 14:12:36 2013
New Revision: 250293
URL: http://svnweb.freebsd.org/changeset/base/250293
Log:
Properly initialize Armada XP MP subsystem.
- correct setting of Auxiliary Control Register for MP mode
- correct setting of Auxiliarty Debug registers
- cleanup ma
Author: gber
Date: Mon May 6 13:52:49 2013
New Revision: 250292
URL: http://svnweb.freebsd.org/changeset/base/250292
Log:
Initialize L2 cache for Armada XP.
Obtained from:Semihalf
Modified:
head/sys/arm/mv/armadaxp/armadaxp.c
head/sys/arm/mv/armadaxp/std.armadaxp
head/sys/ar
Author: gber
Date: Mon May 6 13:34:36 2013
New Revision: 250291
URL: http://svnweb.freebsd.org/changeset/base/250291
Log:
Move initialization of CESA decoding windows from common section
to driver specific files.
- window initialization is done during device attach
- CESA TDMA decoding
Author: gber
Date: Fri Feb 1 11:39:03 2013
New Revision: 246205
URL: http://svnweb.freebsd.org/changeset/base/246205
Log:
Get time of next event from other cores only if SMP is already started.
Reviewed by: mav
Obtained from: Semihalf
Modified:
head/sys/kern/kern_clocksource.c
Modifi
Author: gber
Date: Wed Oct 3 10:06:48 2012
New Revision: 241157
URL: http://svn.freebsd.org/changeset/base/241157
Log:
Correct detection of a superblock.
Obtained from:Smartcom Bulgaria AD
Modified:
head/lib/libstand/nandfs.c
Modified: head/lib/libstand/nandfs.c
===
On 09/16/12 01:27, Aleksandr Rybalko wrote:
On Fri, 14 Sep 2012 18:41:13 +0200
Grzegorz Bernacki wrote:
On 09/14/12 16:16, Aleksandr Rybalko wrote:
On Fri, 14 Sep 2012 09:33:35 + (UTC)
Grzegorz Bernacki wrote:
Author: gber
Date: Fri Sep 14 09:33:35 2012
New Revision: 240484
URL: http
On 09/14/12 16:16, Aleksandr Rybalko wrote:
On Fri, 14 Sep 2012 09:33:35 + (UTC)
Grzegorz Bernacki wrote:
Author: gber
Date: Fri Sep 14 09:33:35 2012
New Revision: 240484
URL: http://svn.freebsd.org/changeset/base/240484
Log:
Set busaddr and bussize to 0 when fdt_get_range() fails
Author: gber
Date: Fri Sep 14 10:06:56 2012
New Revision: 240493
URL: http://svn.freebsd.org/changeset/base/240493
Log:
Implement MSI support.
MSI are implemented via Inbound Shared Doorbell 1 interrupts. Interrupts
are triggered by writing to Software Triggered Interrupt registeri (PCIe
Author: gber
Date: Fri Sep 14 10:05:01 2012
New Revision: 240492
URL: http://svn.freebsd.org/changeset/base/240492
Log:
Add support for MSI in interrupt controlller.
MSI are implemented via software interrupt. PCIe cards will write
into software interrupt register which will cause inbound
Author: gber
Date: Fri Sep 14 10:01:52 2012
New Revision: 240491
URL: http://svn.freebsd.org/changeset/base/240491
Log:
Remove unused structure fields
Obtained from:Semihalf
Modified:
head/sys/arm/mv/mpic.c
Modified: head/sys/arm/mv/mpic.c
===
Author: gber
Date: Fri Sep 14 09:59:27 2012
New Revision: 240490
URL: http://svn.freebsd.org/changeset/base/240490
Log:
Enable PCI for Armada XP
Obtained from:Semihalf
Modified:
head/sys/arm/conf/ARMADAXP
head/sys/arm/mv/armadaxp/armadaxp.c
Modified: head/sys/arm/conf/ARMADAXP
Author: gber
Date: Fri Sep 14 09:57:41 2012
New Revision: 240489
URL: http://svn.freebsd.org/changeset/base/240489
Log:
pci: Implement new memory and io space allocator for PCI.
Cleanup code and move initializing bridge into separate function.
Add checking of PCI mode (RC or endpoint).
Author: gber
Date: Fri Sep 14 09:55:19 2012
New Revision: 240488
URL: http://svn.freebsd.org/changeset/base/240488
Log:
Add support for Armada XP A0.
- Add functions to calculate clocks instead using hardcoded values
- Update reset and timers functions
- Update number of interrupts
-
Author: gber
Date: Fri Sep 14 09:45:13 2012
New Revision: 240487
URL: http://svn.freebsd.org/changeset/base/240487
Log:
If virtual addresses are not set use one to one mapping.
Do not map memory and IO space at address 0.
Obtained from: Semihalf
Modified:
head/sys/dev/fdt/fdt_pci.c
Mo
Author: gber
Date: Fri Sep 14 09:38:54 2012
New Revision: 240486
URL: http://svn.freebsd.org/changeset/base/240486
Log:
Support identification of new PJ4B cores.
Obtained from:Semihalf
Modified:
head/sys/arm/arm/cpufunc.c
head/sys/arm/arm/identcpu.c
head/sys/arm/include/armre
Author: gber
Date: Fri Sep 14 09:36:35 2012
New Revision: 240485
URL: http://svn.freebsd.org/changeset/base/240485
Log:
Add fdt_get_unit() function.
Obtained from:Semihalf
Modified:
head/sys/dev/fdt/fdt_common.c
head/sys/dev/fdt/fdt_common.h
Modified: head/sys/dev/fdt/fdt_comm
Author: gber
Date: Fri Sep 14 09:33:35 2012
New Revision: 240484
URL: http://svn.freebsd.org/changeset/base/240484
Log:
Set busaddr and bussize to 0 when fdt_get_range() fails.
Obtained from:Semihalf
Modified:
head/sys/dev/fdt/fdt_common.c
Modified: head/sys/dev/fdt/fdt_common.c
On 06/02/12 20:43, Andriy Gapon wrote:
on 17/05/2012 13:11 Grzegorz Bernacki said the following:
Author: gber
Date: Thu May 17 10:11:18 2012
New Revision: 235537
URL: http://svn.freebsd.org/changeset/base/235537
Log:
Import work done under project/nand (@235533) into head.
The NAND
Author: gber
Date: Mon Jun 4 08:40:14 2012
New Revision: 236549
URL: http://svn.freebsd.org/changeset/base/236549
Log:
Restore changes accidentally removed in r235537.
Noticed by: avg
Modified:
head/sys/modules/Makefile
Modified: head/sys/modules/Makefile
Author: gber
Date: Wed May 30 13:33:27 2012
New Revision: 236308
URL: http://svn.freebsd.org/changeset/base/236308
Log:
Print userspace backtrace for current thread.
Reviewed by: imp
Obtained from:Semihalf
Modified:
head/sys/arm/arm/db_trace.c
Modified: head/sys/arm/arm/db_tr
Author: gber
Date: Wed May 30 13:31:08 2012
New Revision: 236307
URL: http://svn.freebsd.org/changeset/base/236307
Log:
Flush D and I caches after setting a breakpoint.
Reviewed by: imp
Obtained from: Semihalf
Modified:
head/sys/arm/include/kdb.h
Modified: head/sys/arm/include/kdb.h
=
Author: gber
Date: Fri May 25 06:48:42 2012
New Revision: 235975
URL: http://svn.freebsd.org/changeset/base/235975
Log:
Fix resolving symbol names on ARM.
On ARM, binutils are adding '$a' symbols in the symbol table for
every function (in addition to normal symbol). When gprof(1) looks
Author: gber
Date: Thu May 24 12:41:57 2012
New Revision: 235908
URL: http://svn.freebsd.org/changeset/base/235908
Log:
Return Supervisor SP and LR registers instead of User ones while in KDB
thread.
Obtained from: Semihalf
Modified:
head/sys/arm/arm/gdb_machdep.c
Modified: head/sys/ar
Author: gber
Date: Thu May 24 12:38:24 2012
New Revision: 235907
URL: http://svn.freebsd.org/changeset/base/235907
Log:
ARMs don't have motherboards.
Obtained from:Semihalf
Modified:
head/sys/arm/arm/nexus.c
Modified: head/sys/arm/arm/nexus.c
Author: gber
Date: Tue May 22 09:27:57 2012
New Revision: 235779
URL: http://svn.freebsd.org/changeset/base/235779
Log:
Divide nand flash for DB6281 into two partitions. One for u-boot
and second one for general use.
Obtained from: Semihalf
Supported by: FreeBSD Foundation, Juniper Net
Author: gber
Date: Tue May 22 08:33:14 2012
New Revision: 235778
URL: http://svn.freebsd.org/changeset/base/235778
Log:
Add a new geom class which allows to divide NAND Flash chip
into partitions.
Partitions are created based on data in dts file which are
extracted and interpreted by sl
Author: gber
Date: Fri May 18 15:25:43 2012
New Revision: 235611
URL: http://svn.freebsd.org/changeset/base/235611
Log:
Add localbus driver for Marvell's platforms.
Obtained from: Semihalf
Supported by: FreeBSD Foundation, Juniper Networks
Added:
head/sys/arm/mv/mv_localbus.c (conte
Author: gber
Date: Fri May 18 14:41:14 2012
New Revision: 235609
URL: http://svn.freebsd.org/changeset/base/235609
Log:
Add architecture dependent code to support NAND Framework on Marvell SoCs.
Obtained from: Semihalf
Supported by: FreeBSD Foundation, Juniper Networks
Added:
head/sys
Author: gber
Date: Fri May 18 14:12:17 2012
New Revision: 235607
URL: http://svn.freebsd.org/changeset/base/235607
Log:
Add missing include.
Modified:
head/usr.sbin/nandsim/nandsim_cfgparse.c
Modified: head/usr.sbin/nandsim/nandsim_cfgparse.c
=
==
--- head/share/man/man4/nandsim.4 Thu May 17 11:50:12 2012
(r235544)
+++ head/share/man/man4/nandsim.4 Thu May 17 11:53:38 2012
(r235545)
@@ -90,95 +90,3 @@ kernel driver was developed by
.An Grzegorz Bernacki .
This manual page was written
Author: gber
Date: Thu May 17 10:11:18 2012
New Revision: 235537
URL: http://svn.freebsd.org/changeset/base/235537
Log:
Import work done under project/nand (@235533) into head.
The NAND Flash environment consists of several distinct components:
- NAND framework (drivers harness for NAND
Author: gber
Date: Tue May 15 09:55:15 2012
New Revision: 235469
URL: http://svn.freebsd.org/changeset/base/235469
Log:
Do not call bremfree for managed buffers.
Calling bremfree for these buffers results in panic:
"bremfree: buffer %p not on a queue."
Approved by: kib
Modified:
h
Author: gber
Date: Wed Jun 29 15:17:29 2011
New Revision: 223673
URL: http://svn.freebsd.org/changeset/base/223673
Log:
Set proper root device name when legacy NFS client is compiled into kernel.
Approved by: cognet (mentor)
Modified:
head/sys/nfs/bootp_subr.c
Modified: head/sys/nfs
55 matches
Mail list logo