/openbmc/linux/Documentation/mm/ |
H A D | page_migration.rst | 39 accesses and may use the result to move pages to more advantageous 81 to do the migration. It will call the function to allocate 94 1. Lock the page to be migrated. 98 3. Lock the new page that we want to move to. It is locked so that accesses to 101 4. All the page table references to the page are converted to migration 108 to access the page via the mapping to block on the spinlock. 119 9. The radix tree is changed to point to the new page. 127 to sleeping on the locked new page. 129 12. The page contents are copied to the new page. 154 pages. For compaction purposes, it is also useful to be able to move [all …]
|
/openbmc/linux/Documentation/arch/x86/ |
H A D | sva.rst | 27 use the PRI in order to request the virtual address to be paged into the 43 IOMMU to track I/O on a per-PASID granularity in addition to using the PCIe 51 work descriptor to a device. The descriptor includes the operation to be 57 submission needs to be retried or other device specific mechanisms to 61 to the hardware and also permits hardware to be aware of application context 78 - Register for mmu_notifier() to track any page-table invalidations to keep 81 future access by the device to this virtual address to participate in 93 ENQCMD and program it into the new MSR to communicate the process identity to 132 able to use the PASID allocated to the process. The IA32_PASID is not 193 consumers don't need to track queue depth. If there is no space to accept [all …]
|
/openbmc/linux/Documentation/process/ |
H A D | 6.Followthrough.rst | 17 kernel community to ensure that your code is up to the kernel's quality 18 standards. A failure to participate in this process is quite likely to 55 and requests to factor out some of your code to shared parts of 58 to get around a problem actually needs to become a generalized 62 you need to pay attention to the technical observations that they are 66 that the reviewer is asking you to fix. And respond back to the reviewer: 76 be easy to become blinded by your own solution to a problem to the point 87 responded to the comments you got the time before, you're likely to find 114 If a patch is considered to be a good thing to add to the kernel, and once 174 bugs to deal with. The stabilization period is your best opportunity to [all …]
|
/openbmc/linux/Documentation/scheduler/ |
H A D | sched-util-clamp.rst | 21 util clamp acts on that to achieve its goal by clamping the signal to a certain 25 The right way to view util clamp is as a mechanism to make request or hint on 36 performance point to operate at to deliver the desired user experience. Or one 87 scheduler to realize that. This is known to affect workloads like gaming on 128 and the scheduler needs to select a suitable CPU for it to run on. 131 performance point for a task to run on, it must be able to influence the 139 to respect to this request as well as all other requests from all of the 307 to, if any. 362 The special value -1 is used to reset the uclamp settings to the system 448 to restrict how much boosting tasks are allowed to acquire. [all …]
|
/openbmc/linux/arch/arm/nwfpe/ |
H A D | ChangeLog | 2 * Reformat all but softfloat files to get a consistent coding style. 13 - add new method to obtain integer register values. 19 It is used by users of ptrace to examine the values of the 20 floating point registers. Therefore, any changes to the 22 within) have to be well thought out. 34 * fpmodule.c - Changed version number to 0.95 68 flush_thread() in arch/arm/process.c. The change to 75 * NOTES - Added file to describe known bugs/problems 76 * fpmodule.c - Changed version number to 0.94 88 * ChangeLog - Added this file to track changes made. [all …]
|
/openbmc/linux/Documentation/core-api/ |
H A D | unaligned-memory-access.rst | 16 and how to write such code! 49 to achieve full portability. 56 to architecture. It would be easy to write a whole document on the differences 66 unaligned access to be corrected. 79 At first, the concepts above may seem a little hard to relate to actual 103 to pad structures so that accesses to fields are suitably aligned (assuming 169 able to access memory on arbitrary boundaries, the reference to a[0] causes 177 16-bit-aligned addresses. It is up to the caller to ensure this alignment or 205 The easiest way to avoid unaligned access is to use the get_unaligned() and 250 header is 14 bytes long, so in order to get proper alignment one needs to [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | rds.rst | 21 applications to use a single socket to talk to any other process in the 72 to create RDS sockets. SOL_RDS is the socket-level to be used 81 You are not allowed to queue more than SO_SNDSIZE bytes to 111 An attempt to send a message to a destination that is marked 140 However, the kernel will refuse to accept messages to 142 forever if you rely on poll to tell you what to do. 148 This allows the application to discard all messages queued to a 165 prior to binding it via the bind(2) system call. Attempts to 169 An attempt to set SO_RDS_TRANSPORT to RDS_TRANS_NONE will 272 inexpensive bit test to test if the port it's about to send to [all …]
|
/openbmc/docs/ |
H A D | CONTRIBUTING.md | 1 # Contributing to OpenBMC 52 If you're looking for a place to get started with OpenBMC, you may want to take 63 Performing code reviews is another good way to get started. Go to 152 to do what you need. 172 - Just right: "convert foo to new API" and "convert foo from tab to space" 193 all the patches from that point on would need to be pushed to maintain the 324 to identify commits that belong to the same review. Configure your git 341 refer to 353 You are expected to respond to all comments. And remember to use the "reply" 354 button to publish your replies for others to see. [all …]
|
/openbmc/linux/drivers/clocksource/ |
H A D | timer-of.h | 48 static inline void __iomem *timer_of_base(struct timer_of *to) in timer_of_base() argument 50 return to->of_base.base; in timer_of_base() 53 static inline int timer_of_irq(struct timer_of *to) in timer_of_irq() argument 55 return to->of_irq.irq; in timer_of_irq() 58 static inline unsigned long timer_of_rate(struct timer_of *to) in timer_of_rate() argument 60 return to->of_clk.rate; in timer_of_rate() 63 static inline unsigned long timer_of_period(struct timer_of *to) in timer_of_period() argument 65 return to->of_clk.period; in timer_of_period() 69 struct timer_of *to); 71 extern void __init timer_of_cleanup(struct timer_of *to);
|
/openbmc/linux/Documentation/filesystems/ |
H A D | xfs-delayed-logging-design.rst | 155 because it can't be written to the journal due to a lack of space in the 165 transaction, we have to reserve enough space to record a full leaf-to-root split 241 and need to write into the log. The reserve head is used to prevent new 369 be to able to issue enough transactions to keep the log buffers full and under 394 logical to physical formatting to do the relogging because there is no 436 3. Supply sufficient new tracing infrastructure to be able to debug 459 trying to get the lock on object A to flush it to the log buffer. This appears 535 them to be used without limitations, we need to be able to track and accumulate 629 Hence log vectors need to be able to be chained together to allow them to be 631 buffer and log vector attached to each log item needs to be attached to the [all …]
|
/openbmc/linux/Documentation/userspace-api/ |
H A D | landlock.rst | 13 The goal of Landlock is to enable to restrict ambient rights (e.g. global 109 We can now add a new rule to this ruleset thanks to the returned file 128 perror("Failed to open file"); 136 perror("Failed to update ruleset"); 183 possible. For instance, it is better to be able to have ``~/doc/`` as a 198 access, would potentially allow to move ``~/tmp/`` to a non-readable directory 219 Landlock enables to restrict access to file hierarchies, which means that these 239 then only think about file hierarchies they want to allow access to, regardless 249 Landlock rules to itself, but they will not be automatically applied to other 403 restricted. However, thanks to the `ptrace restrictions`_, access to such [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/ |
H A D | mount-matrix.txt | 3 * are the definitions unambiguous and easy to follow? 23 relative to some specific device frame of reference. 28 reference to (x,y,z) orientation, with (x,y) corresponding to these axes on the 32 to positive on the right, (y) from negative on the bottom to positive on top 38 or tilted at any angle relative to the frame of reference. 52 device relative to the center of the planet, i.e. relative to its surface at 116 closer to the poles. 120 this up to user space. 134 counter-clockwise according to the right-hand rule. 157 to orient the senor axes relative to a desired point of reference. This means [all …]
|
/openbmc/linux/Documentation/trace/coresight/ |
H A D | coresight-ect.rst | 30 The CTI driver enables the programming of the CTI to attach triggers to 56 a CTM to each other. On these systems a CTM index is declared to associate 133 This provides an easy way to attach triggers to channels, without needing 146 Most access to these elements take the form:: 167 the CTM to other connected devices. 178 * ``chan_xtrigs_sel``: write a channel number to select a channel to view, 180 * ``chan_xtrigs_in``: Read to show the input triggers attached to 182 * ``chan_xtrigs_out``:Read to show the output triggers attached to 184 * ``trig_filter_enable``: Defaults to enabled, disable to allow potentially 185 dangerous output signals to be set. [all …]
|
/openbmc/docs/designs/mctp/ |
H A D | mctp-userspace.md | 33 3. an interface to handler applications over a unix-domain socket. 39 to a specific endpoint (ie, (1) above) 42 providing a method for the core to tx/rx each packet to hardware, and defines 50 The reason for a library is to allow the same MCTP implementation to be used in 53 be compiled as "extern C" in C++ codebases), and be able to be configured to 55 all platforms; we should be able to compile the library to suit). The licence 71 The daemon's sockets to these handlers is configured for non-blocking IO, to 73 daemon would use a message queue to enable message reception/transmission to a 84 are free to adopt it as they see fit. 103 the send/recv syscalls to interact with the socket. [all …]
|
/openbmc/linux/Documentation/fb/ |
H A D | udlfb.rst | 27 * Ability to add a nearly arbitrary number of displays to any USB 2.0 36 tight relative to the functionality it provides. 38 from user mode to talk to the device, without needing to know anything 49 interface to allow mmap clients to report damage, for the benefit 55 How to use it? 67 to open and begin writing to the framebuffer of the DisplayLink device using 77 to do its thing. The one extra feature they have is the ability to report 81 udlfb to efficiently process the changed pixels. 97 ls # to see a list of parameter names 120 console Allow fbcon to attach to udlfb provided framebuffers. [all …]
|
H A D | deferred_io.rst | 12 - userspace app tries to write to mmapped vaddress 15 - we get page_mkwrite where we add this page to a list 16 - schedule a workqueue task to be run after a delay 21 the real work talking to the device. 22 - app tries to write to the address (that has now been mkcleaned) 32 to not update for each write that is occurring. 35 has mentioned a case where it is beneficial to use the page count to decide 36 whether to coalesce and issue SG DMA or to do memory bursts. 40 apps to pretend to have a normal framebuffer but reswizzle for the device 43 How to use it: (for applications) [all …]
|
/openbmc/qemu/docs/specs/ |
H A D | ppc-spapr-numa.rst | 74 belonging to the first NUMA level have distance equal to 10 from each 148 The result is that each OS is free to implement and to interpret the distance 185 is that we needed to translate NUMA distance user input to pseries 191 User input for NUMA distance can vary from 10 to 254. We need to translate 201 The reasoning behind this approximation is to avoid any round up to the local 206 have to accept that a large array of values will be translated to the same 234 Users are encouraged to use only the kernel values in the NUMA definition to 300 node 1 to 2 is 80, matching at 0x1, and distance from 1 to 3 is 40, 334 Users are welcome to use this knowledge and experiment with the input to get 372 In the example above, distance 0 to 2 is 20, 2 to 3 is 20, but 0 to 3 is 40. [all …]
|
/openbmc/linux/Documentation/sound/cards/ |
H A D | serial-u16550.rst | 5 The adaptor module parameter allows you to select either: 14 switches on the Midiator to match the driver mode you select. 21 substream. The driver provides no way to send F5 00 (no selection) or to not 22 send the F5 NN command sequence at all; perhaps it ought to. 37 module parameter is automatically set to 1. The driver sends the same data to 39 parameter to match (A=19200, B=9600). 50 the same data to all four MIDI Out connectors at full MIDI speed. 61 sent to, with midiCnD1 sending to Out 1, midiCnD2 to Out 2, midiCnD4 to 62 Out 3, and midiCnD8 to Out 4. Thus midiCnD15 sends the data to all 4 ports. 64 to send the data to no ports. M/B mode has extra overhead to select the MIDI [all …]
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | README | 46 The above command can be used to connect to an AP with a particular SSID. 76 Mount debugfs to /debugfs mount point: 90 This command is used to get driver info. 113 num_tx_pkts_err = <number of Tx packets failed to send to device> 145 num_cmd_h2c_fail = <number of commands failed to send to device> 146 num_cmd_sleep_cfm_fail = <number of sleep confirm failed to send to device> 147 num_tx_h2c_fail = <number of data packets failed to send to device> 158 cmd_resp_received = <0/1, no cmd response to process/response received and yet to process> 159 event_received = <0/1, no event to process/event received and yet to process> 177 [value]: value to be written [all …]
|
/openbmc/linux/Documentation/watchdog/ |
H A D | hpwdt.rst | 12 watchdog functionality and handler for the iLO "Generate NMI to System" 29 soft_margin allows the user to set the watchdog timer value. 32 pretimeout allows the user to set the watchdog pretimeout value. 34 NMI is delivered to the system. Setting the value to 38 be restarted or an impending ASR to be escaped. 50 interface to /dev/watchdog can be found in 54 can only be set to 9 seconds. Attempts to set pretimeout to other 56 the pretimeout value after attempting to set pretimeout or timeout. 59 panic. This is to allow for a crash dump to be collected. It is incumbent 60 upon the user to have properly configured the system for kdump. [all …]
|
/openbmc/linux/Documentation/doc-guide/ |
H A D | contributing.rst | 13 it needs to be to support a project of this size and importance. 25 There is an endless list of tasks that need to be carried out to get our 146 this information harder to find and, for example, makes Sphinx unable to 147 generate links to that documentation. Adding ``kernel-doc`` directives to 165 way to figure out how to create and send patches, and it is a useful 195 to here: 202 The best thing to do, of course, would be to bring the documentation 215 document, and you are unable to update it, the best thing to do may be to 221 to update it. 283 for PDF generation, but it turned out to not be up to the task. [all …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | vme.rst | 9 achieved via a call to :c:func:`vme_register_driver`. 13 devices your driver is able to support. 22 the number of devices probed to one: 73 transfers to be provided in the route attributes. This is typically VME-to-MEM 74 and/or MEM-to-VME, though some hardware can support VME-to-VME and MEM-to-MEM 106 :c:func:`vme_master_write` used to write to configured master windows. 108 In addition to simple reads and writes, :c:func:`vme_master_rmw` is provided to 136 Functions are provided to allow the user to allocate 139 do not have to be used, other methods can be used to allocate a buffer, though 189 an item to a list. This is due to the diverse attributes required for each type [all …]
|
/openbmc/docs/designs/ |
H A D | error-log-handling-for-phal.md | 11 Proposal to provide a mechanism to convert the failure data captured as part of 19 be converted to PEL format for logging the error entry. PEL helps to improve the 26 to the identified error. 38 Proposal is to structure the return data to a standard return code format so 78 attribute data, targets to callout, targets to guard, and targets to deconfigure 91 status need to be returned to the caller so that caller can create PEL on 113 Inventory strings for the targets to Callout/Guard/Deconfig need to be added to 116 Applications need to register callback methods in libekb library to get back the 123 Applications need to register callback methods in libipl library to get back the 130 Applications need to register callback methods to get the debug traces from [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-pci-drivers-ehci_hcd | 11 to the EHCI controller; when a full- or low-speed device 12 is plugged in, the connection is routed to the companion 15 Sometimes you want to force a high-speed device to connect 17 connection to be routed to the companion controller. 19 file causes connections on that port to be routed to the 21 number returns the port to normal operation. 23 For example: To force the high-speed device attached to 24 port 4 on bus 2 to run at full speed:: 28 To return the port to high-speed operation:: 33 to the companion controller. [all …]
|
/openbmc/openbmc/poky/documentation/migration-guides/ |
H A D | migration-2.2.rst | 15 3.2.0, due to the upgrade to ``glibc 2.24``. Specifically, for 22 to anything down to 2.6.32 if desired. 117 compared to uClibc. 146 configuration file to define the BSP's own arguments and to make it 186 such as ``bsp.conf`` to enable the BSP to be booted by ``runqemu``:: 189 QB_OPT_APPEND: Options to append to QEMU (e.g. "-show-cursor") 196 QB_KERNEL_CMDLINE_APPEND: Options to append to the kernel's -append 244 to the recipe:: 263 update the references to ensure they continue to work. 297 cache needed to be changed to support the new multi-configuration [all …]
|