Skip to content
Snippets Groups Projects
  1. Dec 29, 2014
    • Jeremiah Mahler's avatar
      doc: driver-model: improve wording "is provide the" · 2cd14f5d
      Jeremiah Mahler authored
      
      Improve the wording by changing it from "is provide the" to
      "is to give the".
      
      Signed-off-by: default avatarJeremiah Mahler <jmmahler@gmail.com>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      2cd14f5d
    • Henrik Austad's avatar
      Update of Documentation/dmaengine/00-INDEX · 912ee9ca
      Henrik Austad authored
      
      - client.txt was moved by f36d2e67 (dmaengine: Move the current doc to a
        folder of its own)
      - dmatmest.txt was moved by 935cdb56 (dmanegine: move dmatest.txt to
        dmaengine folder)
      - provider.txt was added by c4d2ae96 (Documentation: dmaengine: Add a
        documentation for the dma controller API).
      
      Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
      Cc: Vinod Koul <vinod.koul@intel.com>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Cc: dmaengine@vger.kernel.org
      Cc: linux-doc@vger.kernel.org
      Signed-off-by: default avatarHenrik Austad <henrik@austad.us>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      912ee9ca
    • Henrik Austad's avatar
      Update of Documentation/cgroups/00-INDEX · dcf16713
      Henrik Austad authored
      
      unified-hierarchy.txt was added by 65731578 (cgroup: add documentation
      about unified hierarchy)
      
      Cc: Tejun Heo <tj@kernel.org>
      Cc: Li Zefan <lizefan@huawei.com>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Cc: cgroups@vger.kernel.org
      Cc: linux-doc@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarHenrik Austad <henrik@austad.us>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      dcf16713
    • Henrik Austad's avatar
      Update of Documentation/arm/00-INDEX · 5f6c3ac5
      Henrik Austad authored
      
      Added:
      - arm/Makefile was added by adb19fb6 (add makefiles for more targets)
      - arm/CCN.txt was added by a33b0daa (ARM CCN PMU driver)
      
      Removed:
      - arm/Sharp-LH was removed by 82e6923e (ARM: lh7a40x: remove
        unmaintained platform support)
      
      Not updated:
      Documentation/arm/msm/ is missing 00-INDEX (1 files)
      Documentation/arm/Samsung-S3C24XX/ is missing 00-INDEX (12 files)
      Documentation/arm/nwfpe/ is missing 00-INDEX (4 files)
      Documentation/arm/OMAP/ is missing 00-INDEX (2 files)
      Documentation/arm/sunxi/ is missing 00-INDEX (2 files)
      Documentation/arm/SPEAr/ is missing 00-INDEX (1 files)
      Documentation/arm/Marvell/ is missing 00-INDEX (1 files)
      Documentation/arm/SA1100/ is missing 00-INDEX (18 files)
      Documentation/arm/pxa/ is missing 00-INDEX (1 files)
      Documentation/arm/sti/ is missing 00-INDEX (4 files)
      Documentation/arm/SH-Mobile/ is missing 00-INDEX (4 files)
      Documentation/arm/VFP/ is missing 00-INDEX (1 files)
      Documentation/arm/Samsung/ is missing 00-INDEX (3 files)
      
      Cc: Jonathan Corbet <corbet@lwn.net>
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Jiri Kosina <trivial@kernel.org>
      Cc: linux-doc@vger.kernel.org (open list:DOCUMENTATION)
      Cc: linux-kernel@vger.kernel.org (open list)
      Signed-off-by: default avatarHenrik Austad <henrik@austad.us>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      5f6c3ac5
    • Henrik Austad's avatar
      Update of Documentation/networking/00-INDEX · 9007fd32
      Henrik Austad authored
      
      - altera_tse.txt was added by 04add4ab (Add Altera Ethernet (TSE)
        Documentation)
      - cdc_mbim.txt was added by a563babe (cdc_mbim: add driver
        documentation)
      - dctcp.txt was added by e3118e83 (tcp: add DCTCP congestion control
        algorithm)
      
      CC: Jonathan Corbet <corbet@lwn.net>
      CC: "David S. Miller" <davem@davemloft.net>
      CC: linux-doc@vger.kernel.org
      CC: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarHenrik Austad <henrik@austad.us>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      9007fd32
    • Henrik Austad's avatar
      Update of Documentation/00-INDEX · 8ea8f3eb
      Henrik Austad authored
      
      Added files
      - hsi.txt was added by 3a8ab8af (HSI: Add some general description for
        the HSI subsystem)
      - lzo.txt was added by d98a0526 (lzo: document part of the encoding)
      - xillybus.txt was added by 7051924f (xillybus: Move out of staging)
      - mailbox.txt was added by 15320fbc (add documentation for mailbox
        framework)
      
      Moved files
      - xommit 214e0aed (Move locking related docs into Documentation/locking/):
        * lockdep-design.txt
        * lockstat.txt
        * mutex-design.txt
        * rt-mutex-design.txt
        * rt-mutex.txt
        * spinlocks.txt
        * ww-mutex-design.txt
      - kselftest.txt was moved by 3c415707 (kselftest: Move the docs to the
        Documentation dir)
      
      CC: Davidlohr Bueso <davidlohr@hp.com>
      CC: Willy Tarreau <w@1wt.eu>
      CC: Randy Dunlap <rdunlap@infradead.org>
      CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      CC: Sebastian Reichel <sre@kernel.org>
      CC: Eli Billauer <eli.billauer@gmail.com>
      CC: Jonathan Corbet <corbet@lwn.net>
      CC: Jiri Kosina <trivial@kernel.org>
      CC: linux-doc@vger.kernel.org
      CC: linux-kernel@vger.kernel.org
      Cc: Tim Bird <tim.bird@sonymobile.com>
      Cc: Shuah Khan <shuahkh@osg.samsung.com>
      
      Signed-off-by: default avatarHenrik Austad <henrik@austad.us>
      Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
      8ea8f3eb
  2. Dec 17, 2014
  3. Dec 15, 2014
  4. Dec 14, 2014
  5. Dec 13, 2014
    • SeongJae Park's avatar
      cgroups: Documentation: fix trivial typos and wrong paragraph numberings · 29d293b6
      SeongJae Park authored
      
      Signed-off-by: default avatarSeongJae Park <sj38.park@gmail.com>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Cc: Tejun Heo <tj@kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      29d293b6
    • Christoph Lameter's avatar
      percpu: update local_ops.txt to reflect this_cpu operations · 7d94a82e
      Christoph Lameter authored
      
      Update the documentation to reflect changes due to the availability of
      this_cpu operations.
      
      Signed-off-by: default avatarChristoph Lameter <cl@linux.com>
      Cc: Tejun Heo <tj@kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      7d94a82e
    • Manfred Spraul's avatar
      ipc/msg: increase MSGMNI, remove scaling · 0050ee05
      Manfred Spraul authored
      
      SysV can be abused to allocate locked kernel memory.  For most systems, a
      small limit doesn't make sense, see the discussion with regards to SHMMAX.
      
      Therefore: increase MSGMNI to the maximum supported.
      
      And: If we ignore the risk of locking too much memory, then an automatic
      scaling of MSGMNI doesn't make sense.  Therefore the logic can be removed.
      
      The code preserves auto_msgmni to avoid breaking any user space applications
      that expect that the value exists.
      
      Notes:
      1) If an administrator must limit the memory allocations, then he can set
      MSGMNI as necessary.
      
      Or he can disable sysv entirely (as e.g. done by Android).
      
      2) MSGMAX and MSGMNB are intentionally not increased, as these values are used
      to control latency vs. throughput:
      If MSGMNB is large, then msgsnd() just returns and more messages can be queued
      before a task switch to a task that calls msgrcv() is forced.
      
      [akpm@linux-foundation.org: coding-style fixes]
      Signed-off-by: default avatarManfred Spraul <manfred@colorfullife.com>
      Cc: Davidlohr Bueso <dave@stgolabs.net>
      Cc: Rafael Aquini <aquini@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      0050ee05
    • Joonsoo Kim's avatar
      Documentation: add new page_owner document · 16a7ade8
      Joonsoo Kim authored
      
      page owner is for the tracking about who allocated each page.  This
      document explains what is the page owner feature and what is the merit of
      it.  And, simple HOW-TO is also explained.  See the document for detailed
      information.
      
      Signed-off-by: default avatarJoonsoo Kim <iamjoonsoo.kim@lge.com>
      Cc: Mel Gorman <mgorman@suse.de>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Cc: Minchan Kim <minchan@kernel.org>
      Cc: Dave Hansen <dave@sr71.net>
      Cc: Michal Nazarewicz <mina86@mina86.com>
      Cc: Jungsoo Son <jungsoo.son@lge.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      16a7ade8
    • Joonsoo Kim's avatar
      mm/page_owner: keep track of page owners · 48c96a36
      Joonsoo Kim authored
      
      This is the page owner tracking code which is introduced so far ago.  It
      is resident on Andrew's tree, though, nobody tried to upstream so it
      remain as is.  Our company uses this feature actively to debug memory leak
      or to find a memory hogger so I decide to upstream this feature.
      
      This functionality help us to know who allocates the page.  When
      allocating a page, we store some information about allocation in extra
      memory.  Later, if we need to know status of all pages, we can get and
      analyze it from this stored information.
      
      In previous version of this feature, extra memory is statically defined in
      struct page, but, in this version, extra memory is allocated outside of
      struct page.  It enables us to turn on/off this feature at boottime
      without considerable memory waste.
      
      Although we already have tracepoint for tracing page allocation/free,
      using it to analyze page owner is rather complex.  We need to enlarge the
      trace buffer for preventing overlapping until userspace program launched.
      And, launched program continually dump out the trace buffer for later
      analysis and it would change system behaviour with more possibility rather
      than just keeping it in memory, so bad for debug.
      
      Moreover, we can use page_owner feature further for various purposes.  For
      example, we can use it for fragmentation statistics implemented in this
      patch.  And, I also plan to implement some CMA failure debugging feature
      using this interface.
      
      I'd like to give the credit for all developers contributed this feature,
      but, it's not easy because I don't know exact history.  Sorry about that.
      Below is people who has "Signed-off-by" in the patches in Andrew's tree.
      
      Contributor:
      Alexander Nyberg <alexn@dsv.su.se>
      Mel Gorman <mgorman@suse.de>
      Dave Hansen <dave@linux.vnet.ibm.com>
      Minchan Kim <minchan@kernel.org>
      Michal Nazarewicz <mina86@mina86.com>
      Andrew Morton <akpm@linux-foundation.org>
      Jungsoo Son <jungsoo.son@lge.com>
      
      Signed-off-by: default avatarJoonsoo Kim <iamjoonsoo.kim@lge.com>
      Cc: Mel Gorman <mgorman@suse.de>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Cc: Minchan Kim <minchan@kernel.org>
      Cc: Dave Hansen <dave@sr71.net>
      Cc: Michal Nazarewicz <mina86@mina86.com>
      Cc: Jungsoo Son <jungsoo.son@lge.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      48c96a36
    • Joonsoo Kim's avatar
      mm/debug-pagealloc: make debug-pagealloc boottime configurable · 031bc574
      Joonsoo Kim authored
      
      Now, we have prepared to avoid using debug-pagealloc in boottime.  So
      introduce new kernel-parameter to disable debug-pagealloc in boottime, and
      makes related functions to be disabled in this case.
      
      Only non-intuitive part is change of guard page functions.  Because guard
      page is effective only if debug-pagealloc is enabled, turning off
      according to debug-pagealloc is reasonable thing to do.
      
      Signed-off-by: default avatarJoonsoo Kim <iamjoonsoo.kim@lge.com>
      Cc: Mel Gorman <mgorman@suse.de>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Cc: Minchan Kim <minchan@kernel.org>
      Cc: Dave Hansen <dave@sr71.net>
      Cc: Michal Nazarewicz <mina86@mina86.com>
      Cc: Jungsoo Son <jungsoo.son@lge.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      031bc574
    • Luiz Capitulino's avatar
      hugetlb: fix hugepages= entry in kernel-parameters.txt · 27ec26ec
      Luiz Capitulino authored
      
      The hugepages= entry in kernel-parameters.txt states that 1GB pages can
      only be allocated at boot time and not freed afterwards.  This is not
      true since commit 944d9fec ("hugetlb: add support for gigantic page
      allocation at runtime"), at least for x86_64.
      
      Instead of adding arch-specifc observations to the hugepages= entry,
      this commit just drops the out of date information.  Further information
      about arch-specific support and available features can be obtained in
      the hugetlb documentation.
      
      Signed-off-by: default avatarLuiz Capitulino <lcapitulino@redhat.com>
      Cc: Andi Kleen <andi@firstfloor.org>
      Acked-by: default avatarDavid Rientjes <rientjes@google.com>
      Cc: Rik van Riel <riel@redhat.com>
      Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
      Cc: Yinghai Lu <yinghai@kernel.org>
      Cc: Davidlohr Bueso <dave@stgolabs.net>
      Acked-by: default avatarNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      27ec26ec
    • Christoffer Dall's avatar
      arm/arm64: KVM: Turn off vcpus on PSCI shutdown/reboot · cf5d3188
      Christoffer Dall authored
      
      When a vcpu calls SYSTEM_OFF or SYSTEM_RESET with PSCI v0.2, the vcpus
      should really be turned off for the VM adhering to the suggestions in
      the PSCI spec, and it's the sane thing to do.
      
      Also, clarify the behavior and expectations for exits to user space with
      the KVM_EXIT_SYSTEM_EVENT case.
      
      Acked-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
      Signed-off-by: default avatarChristoffer Dall <christoffer.dall@linaro.org>
      cf5d3188
    • Christoffer Dall's avatar
      arm/arm64: KVM: Clarify KVM_ARM_VCPU_INIT ABI · f7fa034d
      Christoffer Dall authored
      
      It is not clear that this ioctl can be called multiple times for a given
      vcpu.  Userspace already does this, so clarify the ABI.
      
      Also specify that userspace is expected to always make secondary and
      subsequent calls to the ioctl with the same parameters for the VCPU as
      the initial call (which userspace also already does).
      
      Add code to check that userspace doesn't violate that ABI in the future,
      and move the kvm_vcpu_set_target() function which is currently
      duplicated between the 32-bit and 64-bit versions in guest.c to a common
      static function in arm.c, shared between both architectures.
      
      Acked-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
      Signed-off-by: default avatarChristoffer Dall <christoffer.dall@linaro.org>
      f7fa034d
    • Christoffer Dall's avatar
      arm/arm64: KVM: Correct KVM_ARM_VCPU_INIT power off option · 3ad8b3de
      Christoffer Dall authored
      
      The implementation of KVM_ARM_VCPU_INIT is currently not doing what
      userspace expects, namely making sure that a vcpu which may have been
      turned off using PSCI is returned to its initial state, which would be
      powered on if userspace does not set the KVM_ARM_VCPU_POWER_OFF flag.
      
      Implement the expected functionality and clarify the ABI.
      
      Acked-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
      Signed-off-by: default avatarChristoffer Dall <christoffer.dall@linaro.org>
      3ad8b3de
  6. Dec 12, 2014
    • Yoshihiro Kaneko's avatar
      [media] rcar_vin: Add DT support for r8a7793 and r8a7794 SoCs · 76deaff8
      Yoshihiro Kaneko authored
      
      Based on platform device work by Matsuoka-san.
      
      Signed-off-by: default avatarYoshihiro Kaneko <ykaneko0929@gmail.com>
      Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
      76deaff8
    • Alexander Duyck's avatar
      arch: Add lightweight memory barriers dma_rmb() and dma_wmb() · 1077fa36
      Alexander Duyck authored
      
      There are a number of situations where the mandatory barriers rmb() and
      wmb() are used to order memory/memory operations in the device drivers
      and those barriers are much heavier than they actually need to be.  For
      example in the case of PowerPC wmb() calls the heavy-weight sync
      instruction when for coherent memory operations all that is really needed
      is an lsync or eieio instruction.
      
      This commit adds a coherent only version of the mandatory memory barriers
      rmb() and wmb().  In most cases this should result in the barrier being the
      same as the SMP barriers for the SMP case, however in some cases we use a
      barrier that is somewhere in between rmb() and smp_rmb().  For example on
      ARM the rmb barriers break down as follows:
      
        Barrier   Call     Explanation
        --------- -------- ----------------------------------
        rmb()     dsb()    Data synchronization barrier - system
        dma_rmb() dmb(osh) data memory barrier - outer sharable
        smp_rmb() dmb(ish) data memory barrier - inner sharable
      
      These new barriers are not as safe as the standard rmb() and wmb().
      Specifically they do not guarantee ordering between coherent and incoherent
      memories.  The primary use case for these would be to enforce ordering of
      reads and writes when accessing coherent memory that is shared between the
      CPU and a device.
      
      It may also be noted that there is no dma_mb().  Most architectures don't
      provide a good mechanism for performing a coherent only full barrier without
      resorting to the same mechanism used in mb().  As such there isn't much to
      be gained in trying to define such a function.
      
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
      Cc: Michael Ellerman <michael@ellerman.id.au>
      Cc: Michael Neuling <mikey@neuling.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: Oleg Nesterov <oleg@redhat.com>
      Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: David Miller <davem@davemloft.net>
      Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Acked-by: default avatarWill Deacon <will.deacon@arm.com>
      Signed-off-by: default avatarAlexander Duyck <alexander.h.duyck@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1077fa36
  7. Dec 11, 2014
Loading