The patch titled Subject: linux-next-git-rejects has been added to the -mm tree. Its filename is linux-next-git-rejects.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/linux-next-git-rejects.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/linux-next-git-rejects.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: linux-next-git-rejects Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/clk/samsung/clk-exynos5420.c | 7 drivers/gpu/drm/amd/display/dc/core/dc_link.c | 4 lib/test_xarray.c | 7 scripts/nsdeps | 12 - sound/soc/sof/topology.c | 161 ---------------- 5 files changed, 191 deletions(-) --- a/drivers/clk/samsung/clk-exynos5420.c~linux-next-git-rejects +++ a/drivers/clk/samsung/clk-exynos5420.c @@ -165,11 +165,8 @@ static const unsigned long exynos5x_clk_ GATE_BUS_CPU, GATE_SCLK_CPU, CLKOUT_CMU_CPU, -<<<<<<< HEAD -======= APLL_CON0, KPLL_CON0, ->>>>>>> linux-next/akpm-base CPLL_CON0, DPLL_CON0, EPLL_CON0, @@ -1261,12 +1258,8 @@ static struct exynos5_subcmu_reg_dump ex }; static const struct samsung_gate_clock exynos5x_g3d_gate_clks[] __initconst = { -<<<<<<< HEAD - GATE(CLK_G3D, "g3d", "mout_user_aclk_g3d", GATE_IP_G3D, 9, 0, 0), -======= GATE(CLK_G3D, "g3d", "mout_user_aclk_g3d", GATE_IP_G3D, 9, CLK_SET_RATE_PARENT, 0), ->>>>>>> linux-next/akpm-base }; static struct exynos5_subcmu_reg_dump exynos5x_g3d_suspend_regs[] = { --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c~linux-next-git-rejects +++ a/drivers/gpu/drm/amd/display/dc/core/dc_link.c @@ -3022,10 +3022,6 @@ void core_link_enable_stream( CONTROLLER_DP_TEST_PATTERN_VIDEOMODE, COLOR_DEPTH_UNDEFINED); -<<<<<<< HEAD -#ifdef CONFIG_DRM_AMD_DC_DSC_SUPPORT -======= ->>>>>>> linux-next/akpm-base if (pipe_ctx->stream->timing.flags.DSC) { if (dc_is_dp_signal(pipe_ctx->stream->signal) || dc_is_virtual_signal(pipe_ctx->stream->signal)) --- a/lib/test_xarray.c~linux-next-git-rejects +++ a/lib/test_xarray.c @@ -1132,9 +1132,6 @@ static noinline void check_move_tiny(str XA_BUG_ON(xa, !xa_empty(xa)); } -<<<<<<< HEAD -======= -static noinline void check_move_max(struct xarray *xa) { XA_STATE(xas, xa, 0); @@ -1151,7 +1148,6 @@ static noinline void check_move_max(stru XA_BUG_ON(xa, !xa_empty(xa)); } ->>>>>>> linux-next/akpm-base static noinline void check_move_small(struct xarray *xa, unsigned long idx) { XA_STATE(xas, xa, 0); @@ -1260,10 +1256,7 @@ static noinline void check_move(struct x xa_destroy(xa); check_move_tiny(xa); -<<<<<<< HEAD -======= check_move_max(xa); ->>>>>>> linux-next/akpm-base for (i = 0; i < 16; i++) check_move_small(xa, 1UL << i); --- a/scripts/nsdeps~linux-next-git-rejects +++ a/scripts/nsdeps @@ -33,17 +33,6 @@ generate_deps_for_ns() { } generate_deps() { -<<<<<<< HEAD - local mod_name=`basename $@ .ko` - local mod_file=`echo $@ | sed -e 's/\.ko/\.mod/'` - local ns_deps_file=`echo $@ | sed -e 's/\.ko/\.ns_deps/'` - if [ ! -f "$ns_deps_file" ]; then return; fi - local mod_source_files="`cat $mod_file | sed -n 1p \ - | sed -e 's/\.o/\.c/g' \ - | sed "s|[^ ]* *|${srctree}/&|g"`" - for ns in `cat $ns_deps_file`; do - echo "Adding namespace $ns to module $mod_name (if needed)." -======= local mod=${1%.ko:} shift local namespaces="$*" @@ -52,7 +41,6 @@ generate_deps() { | sed "s|[^ ]* *|${src_prefix}&|g"`" for ns in $namespaces; do echo "Adding namespace $ns to module $mod.ko." ->>>>>>> linux-next/akpm-base generate_deps_for_ns $ns "$mod_source_files" # sort the imports for source_file in $mod_source_files; do --- a/sound/soc/sof/topology.c~linux-next-git-rejects +++ a/sound/soc/sof/topology.c @@ -448,167 +448,6 @@ static enum sof_comp_type find_process_c } /* -<<<<<<< HEAD - * Standard Kcontrols. - */ - -static int sof_control_load_volume(struct snd_soc_component *scomp, - struct snd_sof_control *scontrol, - struct snd_kcontrol_new *kc, - struct snd_soc_tplg_ctl_hdr *hdr) -{ - struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); - struct snd_soc_tplg_mixer_control *mc = - container_of(hdr, struct snd_soc_tplg_mixer_control, hdr); - struct sof_ipc_ctrl_data *cdata; - int tlv[TLV_ITEMS]; - unsigned int i; - int ret; - - /* validate topology data */ - if (le32_to_cpu(mc->num_channels) > SND_SOC_TPLG_MAX_CHAN) - return -EINVAL; - - /* init the volume get/put data */ - scontrol->size = struct_size(scontrol->control_data, chanv, - le32_to_cpu(mc->num_channels)); - scontrol->control_data = kzalloc(scontrol->size, GFP_KERNEL); - if (!scontrol->control_data) - return -ENOMEM; - - scontrol->comp_id = sdev->next_comp_id; - scontrol->min_volume_step = le32_to_cpu(mc->min); - scontrol->max_volume_step = le32_to_cpu(mc->max); - scontrol->num_channels = le32_to_cpu(mc->num_channels); - - /* set cmd for mixer control */ - if (le32_to_cpu(mc->max) == 1) { - scontrol->cmd = SOF_CTRL_CMD_SWITCH; - goto out; - } - - scontrol->cmd = SOF_CTRL_CMD_VOLUME; - - /* extract tlv data */ - if (get_tlv_data(kc->tlv.p, tlv) < 0) { - dev_err(sdev->dev, "error: invalid TLV data\n"); - return -EINVAL; - } - - /* set up volume table */ - ret = set_up_volume_table(scontrol, tlv, le32_to_cpu(mc->max) + 1); - if (ret < 0) { - dev_err(sdev->dev, "error: setting up volume table\n"); - return ret; - } - - /* set default volume values to 0dB in control */ - cdata = scontrol->control_data; - for (i = 0; i < scontrol->num_channels; i++) { - cdata->chanv[i].channel = i; - cdata->chanv[i].value = VOL_ZERO_DB; - } - -out: - dev_dbg(sdev->dev, "tplg: load kcontrol index %d chans %d\n", - scontrol->comp_id, scontrol->num_channels); - - return 0; -} - -static int sof_control_load_enum(struct snd_soc_component *scomp, - struct snd_sof_control *scontrol, - struct snd_kcontrol_new *kc, - struct snd_soc_tplg_ctl_hdr *hdr) -{ - struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); - struct snd_soc_tplg_enum_control *ec = - container_of(hdr, struct snd_soc_tplg_enum_control, hdr); - - /* validate topology data */ - if (le32_to_cpu(ec->num_channels) > SND_SOC_TPLG_MAX_CHAN) - return -EINVAL; - - /* init the enum get/put data */ - scontrol->size = struct_size(scontrol->control_data, chanv, - le32_to_cpu(ec->num_channels)); - scontrol->control_data = kzalloc(scontrol->size, GFP_KERNEL); - if (!scontrol->control_data) - return -ENOMEM; - - scontrol->comp_id = sdev->next_comp_id; - scontrol->num_channels = le32_to_cpu(ec->num_channels); - - scontrol->cmd = SOF_CTRL_CMD_ENUM; - - dev_dbg(sdev->dev, "tplg: load kcontrol index %d chans %d comp_id %d\n", - scontrol->comp_id, scontrol->num_channels, scontrol->comp_id); - - return 0; -} - -static int sof_control_load_bytes(struct snd_soc_component *scomp, - struct snd_sof_control *scontrol, - struct snd_kcontrol_new *kc, - struct snd_soc_tplg_ctl_hdr *hdr) -{ - struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); - struct sof_ipc_ctrl_data *cdata; - struct snd_soc_tplg_bytes_control *control = - container_of(hdr, struct snd_soc_tplg_bytes_control, hdr); - struct soc_bytes_ext *sbe = (struct soc_bytes_ext *)kc->private_value; - int max_size = sbe->max; - - /* init the get/put bytes data */ - scontrol->size = sizeof(struct sof_ipc_ctrl_data) + - le32_to_cpu(control->priv.size); - - if (scontrol->size > max_size) { - dev_err(sdev->dev, "err: bytes data size %d exceeds max %d.\n", - scontrol->size, max_size); - return -EINVAL; - } - - scontrol->control_data = kzalloc(max_size, GFP_KERNEL); - cdata = scontrol->control_data; - if (!scontrol->control_data) - return -ENOMEM; - - scontrol->comp_id = sdev->next_comp_id; - scontrol->cmd = SOF_CTRL_CMD_BINARY; - - dev_dbg(sdev->dev, "tplg: load kcontrol index %d chans %d\n", - scontrol->comp_id, scontrol->num_channels); - - if (le32_to_cpu(control->priv.size) > 0) { - memcpy(cdata->data, control->priv.data, - le32_to_cpu(control->priv.size)); - - if (cdata->data->magic != SOF_ABI_MAGIC) { - dev_err(sdev->dev, "error: Wrong ABI magic 0x%08x.\n", - cdata->data->magic); - return -EINVAL; - } - if (SOF_ABI_VERSION_INCOMPATIBLE(SOF_ABI_VERSION, - cdata->data->abi)) { - dev_err(sdev->dev, - "error: Incompatible ABI version 0x%08x.\n", - cdata->data->abi); - return -EINVAL; - } - if (cdata->data->size + sizeof(const struct sof_abi_hdr) != - le32_to_cpu(control->priv.size)) { - dev_err(sdev->dev, - "error: Conflict in bytes vs. priv size.\n"); - return -EINVAL; - } - } - return 0; -} - -/* -======= ->>>>>>> linux-next/akpm-base * Topology Token Parsing. * New tokens should be added to headers and parsing tables below. */ _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm.patch mm-swap-disallow-swapon-on-zoned-block-devices-fix.patch rss_stat-add-support-to-detect-rss-updates-of-external-mm-fix.patch mm-pgmap-use-correct-alignment-when-looking-at-first-pfn-from-a-region-checkpatch-fixes.patch mm-introduce-reported-pages-fix.patch mm-oom-avoid-printk-iteration-under-rcu-fix.patch hugetlb-remove-duplicated-code-checkpatch-fixes.patch hugetlb-remove-unused-hstate-in-hugetlb_fault_mutex_hash-fix.patch mm-madvise-replace-with-page_size-in-madvise_inject_error-fix.patch mm-annotate-refault-stalls-from-swap_readpage-fix.patch lib-optimize-cpumask_local_spread-v3-fix.patch usb-kcov-collect-coverage-from-hub_event-fix.patch linux-next-rejects.patch linux-next-git-rejects.patch diff-sucks.patch drivers-block-null_blk_mainc-fix-layout.patch drivers-block-null_blk_mainc-fix-uninitialized-var-warnings.patch bitops-introduce-the-for_each_set_clump8-macro-fix-fix.patch drivers-tty-serial-sh-scic-suppress-warning.patch kernel-forkc-export-kernel_thread-to-modules.patch