Skip to content
Permalink
Tree: 28eeafaa4e
Commits on Dec 31, 2018
  1. Force base clock to 50 MHz on Rockchip SoCs. This increases the chanc…

    kettenis
    kettenis committed Dec 31, 2018
    …e that
    
    we end up with an optimal clock frequency for SD and eMMC.
    
    ok patrick@
  2. Use data structures for the RK3399 as well.

    kettenis
    kettenis committed Dec 31, 2018
  3. Add config option fib-priority to set a custom prio for routes ripd

    remi
    remi committed Dec 31, 2018
    insers into the kernel routing table.
    
    OK deraadt@
  4. nanosleep: loop tsleep(9) to ensure coverage of the full timeout range.

    skotchandsoda committed Dec 31, 2018
    tsleep(9)'s maximum timeout shrinks as HZ grows, so this ensures we do
    not return early from longer timeouts on alpha or on custom kernels.
    POSIX says you cannot return early unless a signal is delivered, so
    this makes us more compliant with the standard.
    
    While here, remove the 100 million second upper bound.  It is an
    artifact from itimerfix() and it serves no discernible purpose.
    
    ok tedu@ visa@
  5. Implement fractional PLL frequencies for RK3328 and use them for APLL…

    kettenis
    kettenis committed Dec 31, 2018
    … and
    
    GPLL like the Linux kernel does.  Use NPLL for the CPU clock such that
    adjusting the CPU frequency doesn't change the clock of other devices
    anymore.  Implement the last clocks that are used in the assigned-clocks
    property of clock controller.
    
    Don't enable the assigned-clocks processing yet as it results in a sub-optimal
    clock for for the SD and eMMC controllers.  This clock handling in dwmcc(4)
    needs some further work before we can enable this.
  6. Avoid calling setperf() with a negative level.

    kettenis
    kettenis committed Dec 31, 2018
    Avoid a potential use of an unitilized variable to pick an operating point.
    Remove an unused (but set) variable.
    
    ok patrick@
  7. Use the return value of task_add(9) to determine whether the task was

    kettenis
    kettenis committed Dec 31, 2018
    already scheduled and whether we have to unref the device ourselves.
    
    ok tedu@, ratchov@
  8. A bad uid range on the command line should be a fatal error.

    millert
    millert committed Dec 31, 2018
    Based on a diff from Stefan R. Filipek.
  9. If there is an invalid character in the uuencoded stream, uudecode(1)

    bluhm committed Dec 31, 2018
    should print the offending ASCII code in the error message.
    OK kn@ millert@ tedu@
  10. Revamp the way we handle clocks on the RK3328. Instead of having code…

    kettenis
    kettenis committed Dec 31, 2018
    … for
    
    each and every clock, use a data structure for each clock and generic code
    that handles muxing and clock division based on that data structure.
    This should reduce the amount of code and hopefully make the process of
    adding clocks less error prone as it is easy to check the data structures
    against the SoC documentation.
    
    This approach will be used for the other Rockchip SoCs in the future as well.
  11. Set floating point condition code even if the result of an emulated

    visa
    visa committed Dec 31, 2018
    floating point comparison is unordered. The setting should be skipped
    only if an invalid operation exception is taken.
    
    This fixes incorrect emulated compare behaviour with NaN values.
    
    NaN issue on octeon reported by afresh1@; OK miod@
  12. Cleanup bootloader code. Compile with -ffreestanding and add ffs.S as a

    cjeker committed Dec 31, 2018
    build dependency which is required because of that. Add various include
    files and some prototypes and change some code so that clang does not issue
    warnings anymore.
    OK kettenis@ deraadt@
  13. Cleanup, minus 25 LOC, no functional change:

    ischwarze committed Dec 31, 2018
    Delete the complicated mechanism keeping fill mode state locally in
    the man(7) HTML formatter.  Instead, use the state stored in the nodes.
  14. Cleanup, no functional change:

    ischwarze committed Dec 31, 2018
    Stop trying to keep fill mode state locally in the mdoc HTML formatter,
    rely on the state stored in the nodes instead.
    
    Note that the .Bd -literal code is buggy.  Nested literal displays
    result in nested <pre> elements, which violates HTML syntax.
    But i'm not yet fixing bugs in this commit, i'm merely deleting
    code which has no effect.
  15. Cleanup, no functional change:

    ischwarze committed Dec 31, 2018
    Since the man(7) and roff(7) validators no longer use the parser
    state flag ROFF_NOFILL, we can finally get rid of the function
    man_state(), resulting in a better separation of parsing and validation.
  16. Explicitly mention that tables created by -T{add,replace} are persistent

    kn
    kn committed Dec 31, 2018
    pf.conf(5)'s TABLE section explains it, but lets be clear about it in the
    table command descriptions, too.
    
    "go for it" jmc
  17. Zap unused <sys/socket.h>

    kn
    kn committed Dec 31, 2018
    Included since millert's sync with FreeBSD in 2004 which still has it.
    No object change.
    
    OK millert
  18. catch up with the changed order of warnings;

    ischwarze committed Dec 31, 2018
    related to man_validate.c rev. 1.115
  19. Use the new flag NODE_NOFILL in the validators, which is sometimes

    ischwarze committed Dec 31, 2018
    simpler and always more robust.  In particular, move the nesting
    warnings for .EX and .EE from man_state(), where they were misplaced,
    to the man(7) validator.
  20. Store the fill mode with a new flag NODE_NOFILL in every node,

    ischwarze committed Dec 31, 2018
    like it is already done with NODE_SYNPRETTY, such that the fill
    mode becomes more directly available to the formatters.
    Not used yet, but will be used by upcoming commits.
  21. For .EX and .EE, set the fill mode parser state directly in the

    ischwarze committed Dec 31, 2018
    macro parsing function, in the same way as the roff parser already
    does it for the .nf and .fi requests.  This is a preparation for
    getting rid of the ugly function man_state() later on.
  22. Cleanup, no functional change:

    ischwarze committed Dec 31, 2018
    Use the new parser flag ROFF_NOFILL in the mdoc(7) parser, too,
    instead of the old MDOC_LITERAL, which was an alias for the
    former MAN_LITERAL.
  23. Move parsing of the .nf and .fi (fill mode) requests from the man(7)

    ischwarze committed Dec 31, 2018
    parser to the roff(7) parser.  As a side effect, .nf and .fi are
    now also parsed in mdoc(7) input, though the mdoc(7) formatters
    still ignore most of their effect.
  24. Cleanup, minus 15 LOC, no functional change:

    ischwarze committed Dec 31, 2018
    Simplify the way the man(7) and mdoc(7) validators are called.
    Reset the parser state with a common function before calling them.
    There is no need to again reset the parser state afterwards,
    the parsers are no longer used after validation.
    This allows getting rid of man_node_validate() and mdoc_node_validate()
    as separate functions.
  25. mention -mretpoline by default on amd64

    jonathangray committed Dec 31, 2018
    ok guenther@ deraadt@
Commits on Dec 30, 2018
  1. More RK3328 clock stuff.

    kettenis
    kettenis committed Dec 30, 2018
  2. Delete unnecessary <libgen.h> #includes

    guenther
    guenther committed Dec 30, 2018
    ok deraadt@
  3. Turn on -mretpoline by default in clang on amd64, but turn it off

    guenther
    guenther committed Dec 30, 2018
    explicitly in SMALL_KERNEL kernel builds.
    
    tweaks from jsg@ and tb@
    ok deraadt@ kettenis@
  4. Define SOLIB when assembling for a shared-object library

    guenther
    guenther committed Dec 30, 2018
    ok tedu@
  5. Increase the reset timeout. The ROCK64 RK3328-based board seems to ne…

    kettenis
    kettenis committed Dec 30, 2018
    …ed a
    
    bit more time after a warm reset.
  6. Implement setting CPU-related clocks for RK3328.

    kettenis
    kettenis committed Dec 30, 2018
  7. add support for IPv6 VPN routes

    denis
    denis committed Dec 30, 2018
    The kernel bits are missing as of now. With input from claudio@ and kn@
    
    OK claudio@
Older
You can’t perform that action at this time.