1. 01 7月, 2012 1 次提交
  2. 23 6月, 2012 1 次提交
    • D
      ARM: 7428/1: Prevent KALLSYM size mismatch on ARM. · 9973290c
      David Brown 提交于
      ARM builds seem to be plagued by an occasional build error:
      
          Inconsistent kallsyms data
          This is a bug - please report about it
          Try "make KALLSYMS_EXTRA_PASS=1" as a workaround
      
      The problem has to do with alignment of some sections by the linker.
      The kallsyms data is built in two passes by first linking the kernel
      without it, and then linking the kernel again with the symbols
      included.  Normally, this just shifts the symbols, without changing
      their order, and the compression used by the kallsyms gives the same
      result.
      
      On non SMP, the per CPU data is empty.  Depending on the where the
      alignment ends up, it can come out as either:
      
         +-------------------+
         | last text segment |
         +-------------------+
         /* padding */
         +-------------------+     <- L1_CACHE_BYTES alignemnt
         | per cpu (empty)   |
         +-------------------+
      __per_cpu_end:
         /* padding */
      __data_loc:
         +-------------------+     <- THREAD_SIZE alignment
         | data              |
         +-------------------+
      
      or
      
         +-------------------+
         | last text segment |
         +-------------------+
         /* padding */
         +-------------------+     <- L1_CACHE_BYTES alignemnt
         | per cpu (empty)   |
         +-------------------+
      __per_cpu_end:
         /* no padding */
      __data_loc:
         +-------------------+     <- THREAD_SIZE alignment
         | data              |
         +-------------------+
      
      if the alignment satisfies both.  Because symbols that have the same
      address are sorted by 'nm -n', the second case will be in a different
      order than the first case.  This changes the compression, changing the
      size of the kallsym data, causing the build failure.
      
      The KALLSYMS_EXTRA_PASS=1 workaround usually works, but it is still
      possible to have the alignment change between the second and third
      pass.  It's probably even possible for it to never reach a fixedpoint.
      
      The problem only occurs on non-SMP, when the per-cpu data is empty,
      and when the data segment has alignment (and immediately follows the
      text segments).  Fix this by only including the per_cpu section on
      SMP, when it is not empty.
      Signed-off-by: NDavid Brown <davidb@codeaurora.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      9973290c
  3. 21 6月, 2012 28 次提交
  4. 20 6月, 2012 2 次提交
    • L
      Merge tag 'sound-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · f40759e7
      Linus Torvalds 提交于
      Pull sound fixes from Takashi Iwai:
       "Most of changes are fairly small and driver-specific.
      
        A remaining regression fix for USB-audio sync pipe check, a fix for
        HD-audio power-up sequence, fixes for ASoC pxa-ssp compile issues, and
        bunch of ASoC codec and trivial fix patches."
      
      * tag 'sound-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: 6fire: use NULL instead of 0 for pointer assignment
        ALSA: hda - Handle open while transitioning to D3.
        ALSA: snd-usb: make snd_usb_substream_capture_trigger static
        ALSA: snd-usb: fix sync pipe check
        ASoC: tegra+wm8903: turn of mic detect when card is removed
        ASoC: wm8996: Mark the CODEC as cache only when powering off on boot
        ASoC: wm8996: Move reset before the initial regulator disable
        ASoC: wm8996: Remove spurious regulator_bulk_free()
        ASoC: wm8904: Fix cache only management
        ASoC: wm8904: Fix GPIO and MICBIAS initialisation for regmap conversion
        ASoC: fix pxa-ssp compiling issue under mach-mmp
        ARM: MMP: add pxa910-ssp into ssp_id_table
      f40759e7
    • L
      Merge tag 'regulator-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator · 2fe8ac60
      Linus Torvalds 提交于
      Pull regulator fixes from Mark Brown:
       "One small bug fix, plus a rename of all the ST Ericsson regulators in
        the device tree since all the device trees had been written with
        different names and some infelicities in the test proceedures meant
        that the device tree code had apparently never actually been run
        against the upstream device tree."
      
      * tag 'regulator-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator:
        regulator: Change db8500-prcmu match names to reflect Device Tree
        regulator: Change ab8500 match names to reflect Device Tree
        regulator: Fix the s5m8767a problem of the division by null
      2fe8ac60
  5. 19 6月, 2012 8 次提交